skill-forge
Skill60 starsChanged 10 months agoMITView on GitHub
When Claude discovers a non-obvious solution, unusual pattern, or hard-won insight during a session, automatically forge it into a new skill. Don't just note the learning - create the actual skill file so future sessions benefit immediately. This is the flywheel: work → discovery → skill → smarter future sessions → repeat.
26 other projects use a version of this.
Adopted by
Most recently taken up by
- GodModeAI2025/skill-forgetheir own version, first seen Sep 19, 2026
- bjcoombs/ai-native-toolkittheir own version, first seen Sep 19, 2026
- PeyHunter/skillstheir own version, first seen Sep 14, 2026
- frankxai/Starlight-Intelligence-Systemtheir own version, first seen Sep 6, 2026
- sailwaelan-dotcom/the-agencytheir own version, first seen Sep 4, 2026
- svy04/ballasttheir own version, first seen Aug 23, 2026
Other versions26 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 26
- sanyuan0704/sanyuan-skills★ 3.9ksame name
- AgriciDaniel/skill-forge★ 177same name
- Rune-kit/rune★ 88same name
- svy04/ballast★ 74same name
- motiful/skill-forge★ 46same name
- WilliamSaysX/skill-forge★ 42same name
- bjcoombs/ai-native-toolkit★ 32same name
- GodModeAI2025/skill-forge★ 18same name
- frankxai/Starlight-Intelligence-System★ 10same name
- Megaprompting/torque-loop★ 9same name
16 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 repository38 other files it gives its agents.
- agent-auditSkill
- battle-planSkill
- breadcrumbsSkill
- careful-deleteSkill
- debug-to-fixSkill
- dont-be-greedySkill
- dripSkill
- etaSkill
- fan-outSkill
- geordieSkill
- granola-syncSkill
- keep-it-simpleSkill
- learn-from-thisSkill
- loose-endsSkill
- map-reduceSkill
- obsidian-base-createSkill
- obsidian-canvas-createSkill
- obsidian-daily-driverSkill
- obsidian-note-createSkill
- obsidian-session-syncSkill
- obsidian-vault-initSkill
- obsidian-vault-searchSkill
- pair-modeSkill
- pipelineSkill
- pre-mortemSkill
- prove-itSkill
- retrospectiveSkill
- rubber-duckSkill
- safe-refactorSkill
- sanity-checkSkill
- skill-creatorSkill
- skill-gateSkill
- split-decisionSkill
- stay-in-laneSkill
- trace-itSkill
- you-sureSkill
- youtube-transcriptSkill
- zero-inSkill
The file
We split this skill into the rules it gives an agent
12 rules. 0 are common, 9 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 21 edited versions we read keep these.
9
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 36
Do NOT trigger for:
- Distinctive: line 56
If not generalizable, stop - add to breadcrumbs instead, not a skill.
- Distinctive: line 70
Create the skill structure:
- Distinctive: line 123
Create the skill directory and file:
- Very specific: line 156
Use kebab-case: cache-invalidation, not cacheInvalidation
- Very specific: line 159
Avoid generic names: helper, utils, misc </naming>
- Distinctive: line 165
Create skills for obvious things
- Distinctive: line 167
Create duplicate skills - check existing ones first
- Very specific: line 173
Add <failed-attempts> documenting what doesn't work
- Distinctive: line 175
Test that the skill makes sense out of context
- Distinctive: line 176
Keep skills focused (one insight per skill)
- Distinctive: line 253
Every session, Claude learns things.
“Common” is measured: kept by at least 6 in 10 of the 21 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 Forge
<purpose>
Knowledge that stays in one session is wasted. When Claude discovers something
non-obvious - a debugging technique, a gotcha, a pattern that works - it should
become a skill automatically. Not "maybe document this later" but "forge it now."This is the flywheel that makes the skill library self-improving.
</purpose>
When To Activate
Trigger when:
- Claude solves a problem that took multiple attempts
- Claude discovers a non-obvious pattern or gotcha
- A debugging session reveals something others would hit
- User says "we should remember this" or "make this a skill"
- Claude catches itself about to make a mistake it's made before
- A workaround is found for a tool/library limitation
- The solution was counter-intuitive
Do NOT trigger for:
- Obvious solutions anyone would find
- Project-specific knowledge (not generalizable)
- Things already covered by existing skills
- Minor learnings not worth the overhead
Instructions
Step 1: Identify the Insight
Capture what was learned:
Discovery: [One sentence summary]
Context: [What task/problem led to this]
Why non-obvious: [Why someone else would miss this]
Generalizable: [YES/NO - is this useful beyond this specific case?]If not generalizable, stop - add to breadcrumbs instead, not a skill.
Step 2: Extract the Pattern
Generalize from the specific case:
Specific case: [What happened here]
General pattern: [The reusable insight]
Triggers: [When should future Claude activate this]Step 3: Draft the Skill
Create the skill structure:
---
name: [kebab-case-name]
description: |
[2-3 sentence description that would trigger activation]
allowed-tools: |
[appropriate tools]
---
# [Skill Name]
<purpose>
[Why this skill exists - the problem it prevents]
</purpose>
## When To Activate
Trigger when:
- [Condition 1]
- [Condition 2]
## Instructions
### Step 1: [First step]
[Instructions]
### Step 2: [Second step]
[Instructions]
## NEVER
- [Anti-pattern 1]
## ALWAYS
- [Required behaviour 1]
## Examples
### Example 1: [Scenario]
[Concrete example]
<failed-attempts>
What DOESN'T work:
- [Failed approach and why]
</failed-attempts>
## Origin
Forged from: [Brief description of the session/problem that spawned this]Step 4: Write the Skill File
Create the skill directory and file:
skills/[skill-name]/SKILL.mdStep 5: Confirm Creation
Skill forged: [skill-name]
Location: skills/[skill-name]/SKILL.md
Trigger: [When it will activate]
This skill will now be available in future sessions.Quality Checks
Before forging, verify:
<quality-checks>
| Check | Requirement |
|-------|-------------|
| Generalizable | Useful beyond this specific project |
| Non-obvious | Not something Claude would naturally do |
| Actionable | Clear instructions, not just "be careful" |
| Triggered | Clear conditions for when to activate |
| Distinct | Not duplicate of existing skill |
</quality-checks>Skill Naming Conventions
<naming>
- Use kebab-case: `cache-invalidation`, not `cacheInvalidation`
- Be specific: `async-cleanup` not `async-stuff`
- Verb or noun that implies action: `trace-imports`, `validate-env`
- Avoid generic names: `helper`, `utils`, `misc`
</naming>NEVER
- Forge project-specific knowledge as skills (use breadcrumbs)
- Create skills for obvious things
- Forge without the
<failed-attempts>section (failures teach) - Create duplicate skills - check existing ones first
- Forge trivial learnings (overhead not worth it)
ALWAYS
- Include the origin story (what spawned this skill)
- Add
<failed-attempts>documenting what doesn't work - Make triggers specific and unambiguous
- Test that the skill makes sense out of context
- Keep skills focused (one insight per skill)
Examples
Example 1: Debugging Discovery
During debugging, Claude discovers that a React hook was causing infinite re-renders because of object reference comparison.
Discovery: useEffect with object dependency causes infinite loops
Context: Debugging React component that kept re-rendering
Why non-obvious: Object looks the same but reference changes each render
Generalizable: YES - common React gotcha
Forging skill: react-dependency-checkResulting skill would include:
- Triggers: React debugging, infinite loops, useEffect issues
- Instructions: Check dependency array for objects/arrays
- Failed attempts: "Tried adding object directly to deps - still loops"
Example 2: API Gotcha
Claude discovers that an API returns different formats based on count (single object vs array).
Discovery: API returns object for 1 result, array for multiple
Context: Parsing API response failed on single-result queries
Why non-obvious: Only manifests with exactly one result
Generalizable: YES - common API pattern
Forging skill: api-response-normalizationExample 3: Not Worth Forging
Claude fixes a typo in a config file.
Discovery: Config had typo in key name
Generalizable: NO - specific to this project
[Not forging - adding to breadcrumbs instead]The Flywheel
Session 1: Struggle with problem X
↓
Solve it after 30 min
↓
Forge skill "handle-X"
↓
Session 2: Encounter similar problem
↓
skill-gate activates "handle-X"
↓
Solved in 2 min
↓
Time saved: 28 min
↓
Compound over hundreds of sessionsIntegration with Other Skills
- learn-from-this: Analyzes failures, skill-forge turns them into skills
- retrospective: Reviews session, skill-forge captures key learnings
- breadcrumbs: For project-specific notes (not generalizable)
- skill-gate: Ensures forged skills get activated
Why This Skill Exists
Every session, Claude learns things. Most of that knowledge evaporates when the session ends. Skill-forge captures it.
The goal isn't to document everything - it's to capture the non-obvious wins that would otherwise need to be rediscovered. Each forged skill is future time saved.
Build the library. Close the loop. Make the system smarter over time.
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.

