agentleFS
thenavidmthenavidm/skill-builder/skills/skill-tidy/SKILL.md

skill-tidy

Skill0 starsChanged 29 days agoMITView on GitHub

Tidies a working skill that grew long, repetitive or stale while keeping its behaviour, proven by the same eval results at fewer tokens. Not for wrong output (skill-improve).

  • Installs packages

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    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. Very specific:

    If the skill has no evals, write a few for what it does now first (the format is in skill-eval): without them there is nothing to prove the …

    line 22

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

Tidy a skill

Cutting is easy; proving nothing broke is the job. Change how the skill is written, never what it does.

The engine runs as npx -y @thenavidm/skill-builder@latest. Where skill-builder is installed (npm install -g @thenavidm/skill-builder), run skill-builder instead: it's the same engine, without the download.

1. Save it and measure it

Copy the whole skill folder to .agents/skill/history/<name>/<date-and-time>/ and confirm the copy matches: it's the baseline and the way back. Then take the before numbers:

npx -y @thenavidm/skill-builder@latest check <skill>
npx -y @thenavidm/skill-builder@latest tokens <skill>
npx -y @thenavidm/skill-builder@latest eval <skill> --runs 3

If the skill has no evals, write a few for what it does now first (the format is in skill-eval): without them there is nothing to prove the tidy against.

2. Find what to change

ProblemChange
The same rule in several placesKeep it once, where it's needed
Two rules that contradictAsk which wins; keep that one
Generic advice the model follows anywayRemove it
A rule without its reasonAdd the reason in a sentence, or remove the rule if nobody knows why it's there
Detail only some cases needMove it into a reference, linked from the step that needs it
Links to files that movedFix or remove them
A long descriptionWhat it does, when, one boundary, about 300 characters

3. One approval

Show the changes grouped by kind, with what each saves, and get a yes for the set. Apply them.

4. Prove nothing changed

Run the same three commands. eval must give the same results as before (within the usual spread between runs), check must be as clean or cleaner, and tokens shows what was saved. If any eval result got worse, find the change that caused it, undo that one change, and run again. Two tries; after that, put the saved version back and report what you found.

Report the before and after numbers side by side and where the old version is kept.

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.