/orchestrator:learn [list | add <lesson> | remove <lesson or line> | prune]from orchestrator
Saves and maintains reusable project lessons (verify commands, failure causes, pitfalls, conventions) in a per-project store. Use when the user says 'remember this' or after a task with a failure, escalation, or fix round.
Ships in orchestrator. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Arguments: $ARGUMENTS
<store> = ~/.claude/orchestrator/<key>/: one folder per project, the same from the main checkout and every git worktree, outside the repo. It is never committed (no info/exclude or .gitignore lines needed) and is writable from worktree sessions, which cannot write to the main checkout. resume and status use the same <store>.
## Store command in reference.md in this skill's folder; read it only when the session-start Orchestrator store: line is missing. Put the absolute <store> path into every brief that writes to it.<store>/lessons/learned-<topic>.md (including learned-map, learned-errors), <store>/verify.sh, <store>/checkpoints/<slug>.md.<store> only, delegated to orchestrator:haiku-coder with the absolute path from the command. Never write lessons or checkpoints inside the repo or a worktree.<store>/lessons/ explicitly (see "Using lessons"). Full text is read only when relevant, so they cost few tokens.legacy.md in the orchestrator:learn skill folder (read it only when legacy files are present).Save only what is non-obvious, reusable, and verified in this project:
learned-errors (see ## Known errors (learned-errors)). This replaces the "root cause of a failure" bullet for single error patterns: errors go to learned-errors, other causes to topic files.Never save: one-off task details, anything already documented in the repo, guesses that were not verified, secrets, tokens, passwords, or personal data.
The agent decides; the user is not asked.
Lessons saved: learned-testing (+1), learned-build (1 fixed), so the user can say "remove that" if they disagree.Delegate the write to orchestrator:haiku-coder in one brief with the exact text (the main session does not edit files):
<store>/lessons/, never inside the repo or a worktree folder: worktrees are deleted together with their session.learned-*.md file; create a new one only for a new topic. Keep at most 6 learned-*.md files per project.legacy.md in the orchestrator:learn folder; only if legacy files exist).---
name: learned-<topic>
description: Lessons this project learned about <topic> (<3-6 keywords>). Read before planning or briefing work that touches <topic>.
---
# Learned: <topic>
- [YYYY-MM-DD] <lesson, at most 2 lines>. Source: <what happened, a few words>.
learned-map is exempt: it has its own 20-line limit). When a file is full, prune it in the same delegation (see prune) and mention it in the report line.learned-map)One special lesson file, learned-map, saves re-exploring the project in every session:
learned-map, regenerate <store>/verify.sh in the same delegation, in the format of init step 5, and list its changed command lines in the report, one line each./orchestrator:init creates it in one cheap pass for a new project.One special lesson file, <store>/lessons/learned-errors.md, so a repeated error skips the TRIAGE delegation. Frontmatter as other lessons, with name: learned-errors and description: Verified error patterns of this project (error text, cause, fix). Read when a test/build fails, before TRIAGE.
- [YYYY-MM-DD] ERROR: <short normalized key text, no paths/line numbers> -> CAUSE: <cause> -> FIX: <fix>. Source: <few words>. hits: <N> (hits: optional; missing means 0).TYPE: TRIAGE, Grep <store>/lessons/learned-errors.md for the error's key text. On a match, put CAUSE/FIX in the fix brief directly and skip TRIAGE. If that fix does not work, remove or correct the entry in the end-of-task save delegation.hits: (or add hits: 1) in the end-of-task save delegation; this update does not count toward the 3-lessons limit.Orchestrator store: and Lessons: lines (file + description) when present; run the Store command and one Glob of <store>/lessons/learned-*.md (frontmatter descriptions only) only if they are missing. Then read the full text of those whose description matches the task, before planning. Read learned-map first when it exists. Legacy topics: see legacy.md in the orchestrator:learn folder; only if legacy files exist.list, add <lesson>, prune: when $ARGUMENTS starts with one of these, read ## Manual commands in reference.md in this skill's folder. Optional: the agent keeps the lessons up to date by itself.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub kele-dev/claude-orchestrator-skill --plugin orchestrator10 skills in this plugin
/autopilotAutonomous sequential execution under the orchestrator cost rules. One short clarification round, a PRD, then batch after batch (delegate, verify, fix) without asking between batches, until done or a cap is hit. Only runs when the user types /orchestrator:autopilot./helpLists the orchestrator commands, kill switches and where the docs live, in a short block. Read-only. Only runs when the user types /orchestrator:help./initMaps a project in one cheap Haiku pass and writes the learned-map lesson with verified test/build/lint commands. Use on /orchestrator:init or at the first task in a project without a learned-map.Other plugins' skills for the same job