Use when the person wants to review, confirm, remove, restore or correct what Claudalyst learned from their sessions, save the current work as a skill, choose Claudalyst's settings, or check its status, pause it, resume it or backfill from older sessions.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Learn?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/catanet-learn)
---
name: learn
description: Use when the person wants to review, confirm, remove, restore or correct what Claudalyst learned from their sessions, save the current work as a skill, choose Claudalyst's settings, or check its status, pause it, resume it or backfill from older sessions.
---
# Claudalyst: learned rules and skills
## When to use
Review or change learnings, capture a skill, or manage settings.
## Steps
Run every command as `sh "<base directory>/../../hooks/launch.sh" <command>`, `<base directory>` being the skill's "Base directory for this skill". If it is missing, stop and tell the person. Default: `review`. Browse with `claudalyst` in a terminal.
- `review [--page N]`: prints changes since the last review, then proposed edits (`--page 2`: older ones). Show it as printed; offer to confirm, remove or correct.
- `confirm --all --receipt R` or `confirm ID...`: confirms items; `R` is the agreed review's receipt.
- `remove ID...` or `forget ID...`: removes and remembers items; `--repo R` limits it to one repository.
- `restore ID... [--repo R]`: brings a removed item back; use the removal's own scope.
- `proposal ID` shows a proposed edit; `accept ID...` or `reject ID...` keeps or drops it; `reject` restores the stored version.
- `edit ID` prints the fields as JSON; to apply a stated correction, change only what it touches, keep `revision`, write the JSON to a temporary file outside the repository, then `save ID --file PATH`.
- `capture [--session ID] [--hint "TEXT"]`: queues the current session's recent part. Always pass `--session ${CLAUDE_SESSION_ID}`; if it shows no id, stop and tell the person.
- `status`: prints counts, runs, failures, plan usage and locking problems.
- `pause` and `resume`: stop or restart learning here.
- `backfill [--days N] [--session ID]`: queues older sessions of this repository. In a session, pass `--session ${CLAUDE_SESSION_ID}`.
- `config` prints settings; `config set KEY VALUE` changes one. To set up, ask each question below and `config set` every answer.
- `shared_edits` `local` or `global`: an edit to a shared skill stays a copy here, or changes it everywhere.
- `edits_confirm` `yes`, `no` or `propose`: a folder edit is imported confirmed, imported unconfirmed, or held for `accept`.
- `personal_rules` `hold` or `immediate`: whether a rule for everywhere waits.
- `git_exclude` `on` or `off`: whether skill folders go in the git exclude file.
- `credits` `pause` or `use`: at a plan limit, pause after one call billed to credits, or keep using them.
Use ids as printed.
To save the current work as a skill, run `capture --hint` naming the procedure; a skill exists only if screening returns one.
## Pitfalls
- A line `claudalyst: <code>` means the command was refused. Tell the person the code; stop, unless noted.
- `session-unknown` means the session is not recorded for this repository under this shell's account. Tell the person that; hooks may still capture it.
- `save` refused as `conflict` or `stale`: the item changed after `edit`; rerun `edit` and redo it.
- Never hand-edit learned folders; use `edit`.
- Never run `purge` or any removal unless the person explicitly asks.
- Confirm only what the person agreed to.
## Verification
- Exit code 0 means success. `capture` and `backfill` only queue sessions; an immediate `review` may not show results.
- Run `review`, `status` or `config` for the result.