Skip to content
Back to skills

Cast Learn

ASecurity

Turn what this session learned into guidance the next session and the team will read. Extracts corrections the human made, decisions taken, and gotchas found; writes project guidance into the repository's agent instructions, records decisions where they are searchable, and files the rest as a doc. Use at the end of a piece of work, after a correction, or when asked to remember something.

  • 34 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 23, 2026
ai-agentsgogit

Security analysis

A100/100

Scanned September 23, 2026

npx -y skills add codecast-sh/codecast --skill cast-learn --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cast Learn?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cast Learn
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/codecast-sh-cast-learn/badge)](https://www.skillsdirectory.com/skills/codecast-sh-cast-learn)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cast-learn
description: Turn what this session learned into guidance the next session and the team will read. Extracts corrections the human made, decisions taken, and gotchas found; writes project guidance into the repository's agent instructions, records decisions where they are searchable, and files the rest as a doc. Use at the end of a piece of work, after a correction, or when asked to remember something.
argument-hint: "[scan | write]"
---

A correction that lives only in this transcript is made again by the next
session. This moves it to where the next session looks first.

## Harvest

Read back through this session for three kinds of learning:

- Corrections: moments the human said no, stop, not like that, or redirected
  the approach. Each is a rule the next session should already know.
- Decisions: a choice between approaches with a reason, whether the human
  made it or you did and they accepted it.
- Gotchas: a fact about this codebase or environment that cost time to find
  and is not written anywhere: a flag that must be set, a test that needs a
  service, a file that two systems own.

Skip anything derivable from the code or the git history, and anything that
was true only for this task.

## Route each one

- A rule that applies to every session in this repository goes into the
  project's agent instructions (CLAUDE.md or AGENTS.md) under the section
  that fits, in one or two sentences. Read the file first; edit an existing
  rule when one is close, never add a duplicate.
- A decision: `cast decisions add "<title>" --reason "<why>" --tags <area>`.
- A gotcha that needs more than two sentences: `cast doc create "<title>"
  -t insight -c -` with the body on stdin, and one line in the instructions
  pointing at it.
- A rule about how the human wants to be worked with, not about the code,
  goes into memory rather than the shared instructions.

With `scan`, list the candidates and the route for each without writing.
With `write` or no argument, write them and report what went where.

## Keep the file short

Instruction files lose adherence as they grow. When an addition would push
the file past a couple of hundred lines, tighten what is there before adding
to it, and prefer a pointer to a doc over a paragraph.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.