extract
Extract decisions and learnings from Claude session transcripts. Triggers: "extract learnings", "process pending", SessionStart hook.
npx skills add majiayu000/claude-skill-registry --skill extract --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Extract Skill **Typically runs automatically via SessionStart hook.** Process pending learning extractions from previous sessions. ## How It Works The SessionStart hook runs: ```bash ao extract ``` This checks for queued extractions and outputs prompts for Claude to process. ## Manual Execution Given `/extract`: ### Step 1: Check for Pending Extractions ```bash ao extract 2>/dev/null ``` Or check the pending queue: ```bash cat .agents/ao/pending.jsonl 2>/dev/null | head -5 ``` ### Step 2: Process Each Pending Item For each queued session: 1. Read the session summary 2. Extract actionable learnings 3. Write to `.agents/learnings/` ### Step 3: Write Learnings **Write to:** `.agents/learnings/YYYY-MM-DD-<session-id>.md` ```markdown # Learning: <Short Title> **ID**: L1 **Category**: <debugging|architecture|process|testing|security> **Confidence**: <high|medium|low> ## What We Learned <1-2 sentences describing the insight> ## Why It Matters <1 sentence on impact/value> ## Source Session: <session-id> ``` ### Step 4: Clear the Queue ```bash ao extract --clear 2>/dev/null ``` ### Step 5: Report Completion Tell the user: - Number of learnings extracted - Key insights - Location of learni
- How It Works
- Manual Execution
- Step 1: Check for Pending Extractions
- Step 2: Process Each Pending Item
- Step 3: Write Learnings
- Step 4: Clear the Queue
- Step 5: Report Completion
- The Knowledge Loop
- Key Rules
ao extract ao extract 2>/dev/null cat .agents/ao/pending.jsonl 2>/dev/null | head -5 ao extract --clear 2>/dev/null
What does the extract skill do?
Extract decisions and learnings from Claude session transcripts. Triggers: "extract learnings", "process pending", SessionStart hook.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill extract --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
