learn
Skill16 starsChanged 8 months agoMITView on GitHub
Trigger: /learn or "extract patterns" or "learn from this session" Description: Extracts reusable patterns, lessons, and decisions from the current session and saves them to memory files. Run before End Session or before /compact to capture what was learned. Allowed Tools: Read, Edit, Write, Glob, Grep 3. Conflict check before saving: For each new lesson or decision, run: Scan the results for contradictions — existing memory that says the opposite. If found: - Show both the old and new entry…
133 other projects use a version of this.
Adopted by
Most recently taken up by
- garrytan/gstacktheir own version, first seen Oct 7, 2026
- wardawgmalvicious/agent-configtheir own version, first seen Oct 7, 2026
- prathish-ks/isthmustheir own version, first seen Oct 6, 2026
- Boxline-dev/examplestheir own version, first seen Oct 5, 2026
- morodomi/dev-crewtheir own version, first seen Oct 5, 2026
- ContextLab/claude-skill-compoundertheir own version, first seen Oct 4, 2026
Used with
Projects with it also use open-gstack-browser, design-html and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
seek888Skillopen-gstack-browser
Launch GStack Browser — AI-controlled Chromium with the sidebar extension baked in. Opens a visible browser window where you can watch every action in real time. The sidebar shows a live activity feed and chat. Anti-bot stealth built in. Use when asked to "open gstack browser", "launch browser", "connect chrome", "open chrome", "real browser", "launch chrome", "side panel", or "control my browser". Voice triggers (speech-to-text aliases): "show me the browser".
Also in 6 projects that use this
seek888Skilldesign-html
Design finalization: generates production-quality Pretext-native HTML/CSS. Works with approved mockups from /design-shotgun, CEO plans from /plan-ceo-review, design review context from /plan-design-review, or from scratch with a user description. Text actually reflows, heights are computed, layouts are dynamic. 30KB overhead, zero deps. Smart API routing: picks the right Pretext patterns for each design type. Use when: "finalize this design", "turn this into HTML", "build me a page", "implement this design", or after any planning skill. Proactively suggest when user has approved a design or has a plan ready. (gstack) Voice triggers (speech-to-text aliases): "build the design", "code the mockup", "make it real".
Also in 7 projects that use this
chloropineSkillsetup-gbrain
Set up gbrain for this coding agent: install the CLI, initialize a local PGLite or Supabase brain, register MCP, capture per-remote trust policy. One command from zero to "gbrain is running, and this agent can call it." Use when: "setup gbrain", "connect gbrain", "start gbrain", "install gbrain", "configure gbrain for this machine". (cgstack)
Also in 4 projects that use this
TomGranotSkilladd-anydoc
Add local office-document-to-Markdown conversion to NanoClaw agent containers with the pinned Firecrawl AnyDoc CLI. Use when agents need to read attached Word, PowerPoint, Excel, OpenDocument, RTF, EPUB, CSV, or text-based PDF files without uploading them to a hosted parser.
Also in 3 projects that use this
TomGranotSkilladd-clidash
Add clidash — a zero-dependency, read-only web dashboard that derives its tabs and tables at runtime from any CLI that lists resources as JSON. Ships pre-wired for NanoClaw's ncl CLI (agent groups, sessions, channels, users, roles), plus message-activity charts, a log tail, and a read-only file viewer for group skills/CLAUDE.md/profiles.
Also in 3 projects that use this
chloropineSkillplan-tune
Self-tuning question sensitivity + developer psychographic for cgstack (v1: observational). Review which AskUserQuestion prompts fire across cgstack skills, set per-question preferences (never-ask / always-ask / ask-only-for-one-way), inspect the dual-track profile (what you declared vs what your behavior suggests), and enable/disable question tuning. Conversational interface — no CLI syntax required.
Also in 4 projects that use this
- +1 more from seek888
- +5 more from TomGranot
Other versions133 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 133
- garrytan/gstack★ 143ksame name
- rohitg00/ai-engineering-from-scratch★ 64ksame name
- nanocoai/nanoclaw★ 31ksame name
- tigerless-labs/autoharness★ 7.8ksame name
- tw93/Waza★ 7.1ksame name
- HughYau/AcademicForge★ 2.6ksame name
- pedrohcgs/claude-code-my-workflow★ 1.6ksame name
- nagisanzenin/engram★ 1.4ksame name
- fancyboi999/ai-engineering-from-scratch-zh★ 1.2ksame name
- nykooi1/vibe-wise★ 1.1ksame name
123 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository45 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/agents.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- security-checkSkill
- environment-checkSkill
- run-verificationSkill
- refactorSkill
- actSkill
- debug-sessionSkill
- generate-guardsSkill
- check-anthropicSkill
- code-reviewerSkill
- code-reviewSkill
- debug-sessionSkill
- end-sessionSkill
- evolve-checkSkill
- evolveSkill
- fix-bugSkill
- forgetSkill
- frontend-designSkill
- guardSkill
- kit-healthSkill
- map-codebaseSkill
- modeSkill
- parallel-prototypesSkill
- planSkill
- powershell-safeSkill
- product-riskSkill
- progress-reportSkill
- prototype-hypothesisSkill
- recallSkill
- refactoring-uiSkill
- scan-codebaseSkill
- scan-conventionsSkill
- search-firstSkill
- search-memorySkill
- shadow-codeSkill
- skill-creatorSkill
- smart-resumeSkill
- start-sessionSkill
- strategic-compactSkill
- tourSkill
- ux-heuristicsSkill
- verification-loopSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. 0 are common, 10 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 114 edited versions we read keep these.
10
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Allowed Tools: Read, Edit, Write, Glob, Grep
- Distinctive: line 34
Ask: "This conflicts with an existing memory.
- Very specific: line 35
If replacing: use /forget to invalidate the old entry, then save the new one
- Very specific: line 36
If keeping both: add a note (supersedes [old filename]) to the new entry
- Distinctive: line 67
If it worked: log a single N row silently — no further questions needed.
- Distinctive: line 72
If it needed a correction: ask two follow-up questions:
- Distinctive: line 89
If the user's answer is too vague to extract step + produced + needed, ask one more time:
- Very specific: line 92
Only write INSUFFICIENT DATA as a last resort — never skip scoring entirely.
- Very specific: line 96
Velocity log: If this session had an estimated task, append to tasks/velocity.md: | [date] | [task] | [estimated] | [actual] | [complexity …
- Distinctive: line 101
If any pattern appeared 3+ times: "Suggest creating skill: [name] — run /evolve to cluster"
- Distinctive: line 107
Never delete existing entries — only append
- Distinctive: line 108
Keep entries concise — one lesson per entry
- Distinctive: line 109
Run before End Session to preserve session knowledge
- Very specific: line 110
Run before /compact to avoid losing insights
- Distinctive: line 111
If a pattern recurs across sessions, it belongs in a skill not just lessons.md
“Common” is measured: kept by at least 6 in 10 of the 114 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Skill: learn
Trigger: /learn or "extract patterns" or "learn from this session"
Description: Extracts reusable patterns, lessons, and decisions from the current session and saves them to memory files. Run before End Session or before /compact to capture what was learned.
Allowed Tools: Read, Edit, Write, Glob, Grep
Steps
- Check
tasks/corrections_queue.md— if it has entries, read each one. These are prompts where you were corrected mid-session (auto-captured by hook). Convert each into a lesson entry using the format in step 3, then clear the file back to its header only (keep the two comment lines, delete the## dateentries). - Review the current conversation for:
- Bugs fixed and their root causes
- Patterns that worked well
- Mistakes made and how they were corrected
- Architectural decisions made
- Stack-specific gotchas discovered
- Conflict check before saving:
For each new lesson or decision, run:
Scan the results for contradictions — existing memory that says the opposite. If found:python tools/memory.py --search "[key term from lesson]" --top 3- Show both the old and new entry side by side
- Ask: "This conflicts with an existing memory. Replace it? (yes / keep both / skip)"
- If replacing: use
/forgetto invalidate the old entry, then save the new one - If keeping both: add a note
(supersedes [old filename])to the new entry
- Categorize findings:
- Bugs/errors → append to
.claude/memory/lessons.md(create if missing) - Architectural decisions → append to
.claude/memory/decisions.md(create if missing) - Rejected approaches → append to
tasks/regret.md(format:| Date | Approach | Why Rejected |) - Repeated patterns (3+ times) → flag as skill candidate
- Bugs/errors → append to
- Format each entry as:
## [YYYY-MM-DD] - [short title] **Context:** what you were doing **Problem:** what went wrong or what was learned **Solution/Pattern:** what works **Apply when:** trigger conditions - Global lessons check: For each lesson, ask: "Does this apply beyond this project?" If yes, also append to
~/.claude/global-lessons.md:## [YYYY-MM-DD] - [title] **Source:** [project name] **Pattern:** [what works] **Apply when:** [trigger] Skill scoring (interactive — ask, don't assume):
For each skill that fired this session, ask the user:
"Did [skill name] work correctly this session, or did it need a correction?"
If it worked: log a single N row silently — no further questions needed.
| [date] | [skill] | all | [what it was used for] | N | minor | - | - | - |If it needed a correction: ask two follow-up questions:
"Which step went wrong — and what did it produce vs what you needed?" "How bad was it? (minor = small fix / major = wrong approach / silent = not caught until later)"
Take their natural-language answer and translate it into the structured row:
| [date] | [skill] | step [N] | [used for] | Y | [severity] | Step [N]: produced [X], needed [Y]. Fixed by: [Z]. | manual | - |Translation rules:
- Extract a step number from their description (or infer from the skill's step list)
- "Produced X" = what Claude actually did or output
- "Needed Y" = what should have happened
- "Fixed by Z" = the correction given (brief)
Code Fixed=manual(code was corrected in the session) or-(no code change needed)Skill Patched= always-when first logged; /evolve fills this in when it patches the skill
If the user's answer is too vague to extract step + produced + needed, ask one more time:
"What specifically did it produce vs what you wanted?"
Only write
INSUFFICIENT DATAas a last resort — never skip scoring entirely.Severity guide:
minor= small correction, close output |major= wrong approach or significant rework |silent= failure not caught until later, discovered downstream- Velocity log: If this session had an estimated task, append to
tasks/velocity.md:| [date] | [task] | [estimated] | [actual] | [complexity 1-5] | [notes] | - After writing:
- Report: "Extracted N lessons: [list titles]"
- If any pattern appeared 3+ times: "Suggest creating skill: [name] — run /evolve to cluster"
Notes
- Never delete existing entries — only append
- Keep entries concise — one lesson per entry
- Run before End Session to preserve session knowledge
- Run before
/compactto avoid losing insights - If a pattern recurs across sessions, it belongs in a skill not just lessons.md
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

