learn
Installation
SKILL.md
Learn Skill
YOU MUST EXECUTE THIS WORKFLOW. Do not just describe it.
Capture knowledge manually for future sessions. Fast path to feed the knowledge flywheel without running a full retrospective.
Flags
| Flag | Default | Description |
|---|---|---|
--global |
off | Write to ~/.agents/learnings/ instead of .agents/knowledge/pending/. Use for knowledge that applies across all projects. |
--promote |
off | Promote a local learning to global. Reads local file, abstracts repo context, writes to ~/.agents/learnings/, marks local with promoted_to:. |
When to use
--global: Use for knowledge that applies across all your projects (e.g., language patterns, tooling preferences, debugging techniques). Use default (no flag) for repo-specific knowledge (e.g., architecture decisions, local conventions).When to use
--promote: Use when an existing local learning turns out to be transferable. The skill reads the local file, rewrites it to remove repo-specific references, writes the abstracted version to~/.agents/learnings/, and marks the local copy withpromoted_to:frontmatter soao injectskips it.
Execution Steps
Related skills