Skip to content
Back to skills

Learn

ASecurity

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.

  • 4 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 4, 2026
ai-agentsgoshellgit

Works with

  • terminal

Security analysis

A100/100

Scanned December 4, 2026

npx -y skills add catanet/claudalyst --skill learn --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Learn?

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

Security grade badge for Learn
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/catanet-learn/badge)](https://www.skillsdirectory.com/skills/catanet-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: 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.

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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

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