agentleFS
FAIRY123456789FAIRY123456789/human-edge-agent-skills/skills/skill-from-scars/SKILL.md

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.

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
  1. Distinctive:

    Do not turn every lesson into a Skill.

    line 17
  2. Distinctive:

    Create at least one baseline-versus-Skill evaluation where a normal model is likely to fail.

    line 39
  3. Distinctive:

    Run privacy and secret checks before public packaging.

    line 40
  4. Very specific:

    Use scripts/scaffold_skill.py when a local file tree is requested.

    line 41
  5. Distinctive:

    After reviewing the design record, scaffold it locally with:

    line 68
  6. Distinctive:

    If every candidate looks generic, return to the raw incidents and identify the decision that changed the outcome.

    line 80

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

  1. Collect the raw scar: failed runs, repeated corrections, incident notes, long conversations, or a recurring manual procedure.
  2. Extract candidate pains. Merge variants that share the same underlying failure.
  3. Score each candidate with references/skill-worthiness.md.
  4. 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.
  5. For the strongest candidate, define:
    • trigger;
    • painful failure mode;
    • decision procedure;
    • hard gates;
    • required references and scripts;
    • expected output;
    • evaluation case.
  6. Draft a compact main instruction file. Put long taxonomies and templates in supporting reference or asset files.
  7. Create at least one baseline-versus-Skill evaluation where a normal model is likely to fail.
  8. Run privacy and secret checks before public packaging.
  9. Use scripts/scaffold_skill.py when a local file tree is requested.
  10. 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

ScriptPurposeArguments
scripts/scaffold_skill.pyCreate a minimal local Skill tree from an approved design recordsource.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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.