agentleFS
spizganedspizganed/skills/skill-curator/SKILL.md

skill-curator

Skill0 starsChanged 6 days agoMITView on GitHub

Improve your own skills from your newest chat transcripts, under rules against bloat. Finds turning points (corrections, user ideas, repeated complaints), proposes case swaps with evidence and an eval run. Run only when the user types /skill-curator.

10 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 6 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Prune: Delete a case that no turning point matched in the last 3 curator runs, or that duplicates another case.

    line 19
  2. Distinctive:

    Guards stay: Never cut a rule about security, data loss or an irreversible action to save lines.

    line 21

“Common” is measured: kept by at least 6 in 10 of the 6 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.

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

Skill curator

The curator reads your recent Claude Code chats and proposes changes to your own skills. It proposes. You approve. It applies nothing to a skill without your "yes".

Private data: the transcripts and all files that the curator makes stay in $CURATOR_DIR (default ~/.cache/skill-curator). Never copy a quote, a name, a path or a secret from a transcript into a skill. A case in a skill describes the situation in general words.

Rules against bloat

  1. Cap. Each skill has a line cap: 150 lines for SKILL.md, cases included. A skill at the cap gets a swap: a new case replaces a weaker case, or two cases merge.
  2. Evidence. Each change names its evidence: 2 or more turning points from different sessions (1 is enough at strength 3). No evidence, no change.
  3. Owner. One lesson has one owner. Update the case that owns the lesson. Do not add a second case with the same lesson.
  4. Eval gate. Each change passes a 3-arm eval: no skill, current skill, changed skill. Same scenarios, 3 runs for each arm. Include at least 1 scenario that the change can break. The changed skill must not score lower than the current skill on any scenario group.
  5. Prune. Delete a case that no turning point matched in the last 3 curator runs, or that duplicates another case. Deletion needs the eval gate too.
  6. Own skills only. Edit only skills that the user wrote. Read owners.md in this folder. For a skill from another author, propose a note in an own skill that points to it.
  7. Guards stay. Never cut a rule about security, data loss or an irreversible action to save lines.

Procedure

  1. Find the start date: line 1 of $CURATOR_DIR/LAST-RUN. With no file, use 14 days ago.
  2. Extract and filter. Add each extra transcript folder that the user keeps (for example synced copies) as an argument:
    python3 <this folder>/scripts/extract.py --since <date> [extra dirs]
    python3 <this folder>/scripts/filter.py
    Report the counts in one line.
  3. Label. For each chunks/cNN.md, start one subagent (Sonnet, effort medium) with the label prompt in references/label-prompt.md. Each subagent writes labels/LNN.jsonl.
  4. Map. Read all labels. For each label with strength 2 or 3, find the owner case in the user's skills. Sort into: matches an existing case (count it as a hit), new lesson, contradicts a case.
  5. Propose. For each new lesson or contradiction with enough evidence (rule 2), write a delta: add, replace <case>, merge <case> <case> or delete <case>. Write the new case text in the skill's own format. Write the deltas to $CURATOR_DIR/proposal.md.
  6. Eval. Run the eval gate (rule 4) with references/eval.md. Put the scores next to each delta.
  7. Show the user each delta: the case text, the evidence in one line for each session, and the scores. Ask for "yes", "no" or an edit for each.
  8. Apply only the approved deltas. Check the line cap. Write today's date to $CURATOR_DIR/LAST-RUN and add the hits from step 4 to $CURATOR_DIR/hits.tsv (case, date, count).

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.