active/ag-learn/SKILL.md
Improve skills from observed agent friction in sessions, PRs, or audits.
npx skillsauth add kevinslin/skills ag-learnInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill to turn agent mistakes, repeated friction, or useful workflow discoveries into better skills.
LEARN_ROOT: $HOME/.llm/skills/learnLEARN_ARCHIVE: $HOME/.llm/skills/learn/.archiveSKILL_TOKEN: ag-learn./references/session-forensics.md and scan the active rollout JSONL before choosing the final learning focus.
./references/session-forensics.md.none when the lesson is too situational or not skill-shaped.$sc and edit only the canonical source tree.trigger:<shortcut> cases, resolve the shortcut through $dev.shortcuts before classifying the mistake.LEARN_ROOT, read ./references/templates.md.templates.md; the compact output format below is only for the user-facing summary.## Evidence Inspected, ## Coverage, ## Known Gaps, at least one ## [number] Improvement Opportunity, and ### Routing../references/session-forensics.md.review [time interval] [path]: read ./references/review-mode.md.code: read ./references/code-mode.md.$sc../references/templates.md../references/session-forensics.md and ./references/ledger.md; use $ag-ledger and $dev.llm-session as needed.The compact numbered format below is for chat summaries only. Do not use it as the saved-note file format.
For each improvement, keep the user-facing summary compact:
1. [short title]
Evidence: [durable evidence checked]
Skill gap: [what the skill should have made easier or prevented]
Target: [existing skill, proposed skill, or none]
Proposed change: [implementation-ready change, or n/a]
Promote: [yes|no]
When saving a note, write it under LEARN_ROOT with a filename containing the literal ag-learn token. Verify the saved path exists before reporting it.
When the user archives a learning, move it to LEARN_ARCHIVE.
development
Create, rename, audit, or close a tracked Codex task whose turns and status are persisted in the local thread ledger. Only use when directly invoked.
testing
Manage Git preflight, branch and worktree creation, and completed-work cleanup. Use when explicitly invoked.
databases
Automatically use for durable knowledge, configured project-context lookup, and schema-backed artifact layouts.
content-media
Create, update, or optimize skills and SKILL.md content.