skill-from-scars
Skill99 starsChanged 3 months agoMITView on GitHub
Mine repeated pain from transcripts, project retrospectives, debugging logs, failed prompts, deployment notes, or work history and decide whether it deserves to become a reusable Agent Skill. Use when the user wants to turn hard-earned experience into open-source knowledge, avoid publishing generic prompts, generate a SKILL.md package with references and evaluations, or identify which repeated mistakes contain a real decision procedure worth sharing.
In this repository17 other files it gives its agents.
- aliyun-fullstack-deploySkill
- anti-slop-personal-brandSkill
- build-in-public-launcherSkill
- cross-domain-translatorSkill
- csdn-technical-writingSkill
- deep-talk-to-podcastSkill
- deployment-proofSkill
- fitness-recovery-coachSkill
- one-week-founder-modeSkill
- personal-boardroomSkill
- small-server-fitSkill
- social-signal-and-tactSkill
- student-money-four-bucketsSkill
- trend-to-microbetSkill
- vibe-to-specSkill
- voice-dump-to-todoSkill
- voice-with-temperatureSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Do not turn every lesson into a Skill.
- Distinctive: line 39
Create at least one baseline-versus-Skill evaluation where a normal model is likely to fail.
- Distinctive: line 40
Run privacy and secret checks before public packaging.
- Very specific: line 41
Use scripts/scaffold_skill.py when a local file tree is requested.
- Distinctive: line 68
After reviewing the design record, scaffold it locally with:
- Distinctive: line 80
If every candidate looks generic, return to the raw incidents and identify the decision that changed the outcome.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Skill From Scars
Purpose
Do not turn every lesson into a Skill. Turn repeated, generalizable pain into a tested workflow whose value can be demonstrated against a baseline.
Instructions
- Collect the raw scar: failed runs, repeated corrections, incident notes, long conversations, or a recurring manual procedure.
- Extract candidate pains. Merge variants that share the same underlying failure.
- Score each candidate with
references/skill-worthiness.md. - Reject candidates that are:
- one-off personal preferences with no external user;
- generic advice the base model already handles well;
- private procedures that cannot be safely generalized;
- impossible to evaluate;
- mostly branding with no behavior change.
- For the strongest candidate, define:
- trigger;
- painful failure mode;
- decision procedure;
- hard gates;
- required references and scripts;
- expected output;
- evaluation case.
- Draft a compact main instruction file. Put long taxonomies and templates in supporting reference or asset files.
- Create at least one baseline-versus-Skill evaluation where a normal model is likely to fail.
- Run privacy and secret checks before public packaging.
- Use
scripts/scaffold_skill.pywhen a local file tree is requested. - End with the next real-world test required before calling the Skill mature.
Requirements
The optional scaffolder requires Python 3 and a local JSON design record. It uses only the Python standard library and does not require an API key.
Available Scripts
| Script | Purpose | Arguments |
scripts/scaffold_skill.py | Create a minimal local Skill tree from an approved design record | source.json [output-directory] |
Output
- candidate list and scores;
- selected Skill concept;
- rejected concepts and why;
- complete Skill package plan;
- seed eval;
- external proof plan.
Examples
- Input: three deployment retrospectives show repeated failures around environment checks and rollback proof.
- Output: one narrowly scoped Skill candidate, rejected alternatives, a compact package plan, and an evaluation that tests the recovered decision procedure.
After reviewing the design record, scaffold it locally with:
python scripts/scaffold_skill.py source.json <output-directory>Limitations
A vivid story is not enough evidence of a reusable Skill. Do not publish private procedures, secrets, one-off preferences, or an untested prompt as mature guidance.
Troubleshooting
If every candidate looks generic, return to the raw incidents and identify the decision that changed the outcome. If no baseline can expose the failure, keep the lesson as documentation instead of packaging it as a Skill.
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.

