Install any skill in seconds. Free to start, no credit card required.
Get Started Free →When a session contains a significant failure, misunderstanding, or repeated mistake, analyse the root cause and draft a new skill that would have prevented it. The skill library should grow from real failures, not hypothetical improvements. Use when something goes significantly wrong during a session.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-08 | ✗→✓ | ▲ Improved | 43% | 0% |
| case-02 | ✗→✓ | ▲ Improved | 15% | 0% |
| case-04 | ✗→✓ | ▲ Improved | 9% | 0% |
| case-05 | ✗→✓ | ▲ Improved | 33% | 0% |
| case-06 | ✗→✓ | ▲ Improved | 25% | 0% |
The best skills come from real pain. When something goes wrong - wasted hours, misunderstood requirements, broken code that looked correct - there's a lesson embedded in that failure. This skill extracts that lesson and encodes it as a new skill, so the same mistake becomes impossible to repeat.
Most skill libraries are written in advance, based on what someone THINKS will be useful. They're theoretical. Abstract. Generic.
The best skills are written AFTER failure, based on what actually went wrong. They're specific. Battle-tested. Born from real pain.
This skill is meta: it creates other skills. The skill library becomes a living document of hard-won lessons. Every entry is a scar that healed into armour.
Trigger at session end or mid-session when you observe:
Wasted Time:
Misunderstandings:
Repeated Patterns:
Near Misses:
User Frustration:
What specifically went wrong?
Failure Analysis:
What happened:
[Specific description of the failure]
What should have happened:
[The correct outcome]
Time/effort wasted:
[Rough estimate]
Root cause:
[Why did this actually happen?]Is this a general pattern or a one-off?
Questions to ask:
markdown--- name: [kebab-case-name] description: When [trigger condition], [action that prevents the failure]. [Why this matters]. --- # [Skill Name] ## Purpose [One paragraph: what problem this prevents, born from real experience] ## When To Activate [Specific triggers based on the failure pattern] ## Instructions [Steps to prevent the failure] ## NEVER [Anti-patterns that led to the failure] ## ALWAYS [Behaviours that would have prevented it] ## The Failure That Spawned This Skill [Brief description of the original failure - keeps it grounded]
Before adding to the library:
Skill Validation:
Would this skill have prevented the original failure?
[ ] Yes - clear trigger and action
[ ] Partially - helps but doesn't fully prevent
[ ] No - need to rethink
Is the trigger specific enough to activate?
[ ] Yes - clear condition
[ ] No - too vague, won't trigger reliably
Is it general enough to be useful again?
[ ] Yes - pattern will recur
[ ] No - too specific to this one case
Does a similar skill already exist?
[ ] No - new pattern
[ ] Yes - maybe enhance existing skill insteadNew Skill Proposal:
Name: [skill-name]
Born from: [brief description of the failure]
Would have prevented: [specific outcome]
Skill file:
[full SKILL.md content]
Add to library?The Failure: User asked to "add authentication." Agent built a full OAuth2 implementation. User wanted a simple username/password. Wasted 2 hours.
The Pattern: Assumed complexity when simplicity was wanted. Didn't ask "what kind?"
The Skill:
markdown--- name: how-fancy description: When a task has multiple complexity levels (auth, database, UI), ask which level before implementing. One question saves hours. --- # How Fancy? ## Purpose Tasks like "add auth" or "set up database" have wildly different implementations based on needs. A question takes 10 seconds. The wrong assumption wastes hours. ## When To Activate Before implementing anything with multiple complexity tiers: - Authentication (basic, session, OAuth, SSO) - Database (SQLite, Postgres, distributed) - Caching (memory, Redis, CDN) ## Instructions Ask: "Before I start: what level of [X] do you need? Simple: [description] Standard: [description] Robust: [description]" ## The Failure That Spawned This Skill Built full OAuth2 when user wanted username/password. 2 hours wasted.
If this skill fails to capture a lesson properly, that itself is a failure to learn from. The skill should be updated based on its own shortcomings.
Every skill in this library that wasn't written after real failure. The theoretical ones are weaker than the battle-tested ones. This skill ensures future additions come from real pain.
Other measured skills in the registry, with their headline benchmark lift.