agentleFS
ryanjmichie-gitryanjmichie-git/ste-explain/CLAUDE.md

ste-explain

CLAUDE.md3 starsChanged 56 days agoMITView on GitHub

The product is one skill: skills/ste-explain/ (SKILL.md + references/rules.md). Everything else in this repo exists to measure and improve it. Read specs/skill-spec.md before changing the skill; it is the contract. - python3 scripts/ste_lint.py <file> — deterministic STE structure check (--procedure: 20 words for steps and warnings, 25 for notes and prose; --json; --self-test) - python3 scripts/validate_skill.py — frontmatter + size constraints - python3 scripts/check_consistency.py — README, manifests, spec, evals and skill agree (rule count, line count, description, rule 7 wording,…

  • In this repositoryOne other file it gives its agents.

The file

We split this CLAUDE.md into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Never edit the skill without re-running /eval.

    line 39
  2. Very specific:

    Keep SKILL.md lean. For every line ask: would removing it cause failures?

    line 44
  3. Distinctive:

    If not, cut it. Bloat makes the model ignore the rules that matter.

    line 45
  4. Distinctive:

    Use subagents for eval runs and reviews (fresh context, no bias toward text this session just wrote).

    line 46
  5. Distinctive:

    NEVER copy text from the ASD-STE100 specification PDF.

    line 54

≈ “Common” is an estimate: at least 1 in 5 of the 29,248 CLAUDE.md 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
CLAUDE.md

ste-explain — dev guide

The product is one skill: skills/ste-explain/ (SKILL.md + references/rules.md). Everything else in this repo exists to measure and improve it. Read specs/skill-spec.md before changing the skill; it is the contract.

Commands

  • python3 scripts/ste_lint.py <file> — deterministic STE structure check (--procedure: 20 words for steps and warnings, 25 for notes and prose; --json; --self-test)
  • python3 scripts/validate_skill.py — frontmatter + size constraints
  • python3 scripts/check_consistency.py — README, manifests, spec, evals and skill agree (rule count, line count, description, rule 7 wording, lint)
  • python3 scripts/trigger_eval.py — trigger evals via headless claude -p (3 runs × 20 queries). --ref <git-ref> pairs the old and new description in one batch; --queries evals/trigger-heldout.json runs the held-out set. --token-file <file> (a claude setup-token token) gives each session an empty config; evals/trigger-cued-dev.json and -test.json are the cued set
  • python3 scripts/tabulate_eval.py workspace/iteration-N — grades and lint errors per eval, arm and run
  • python3 scripts/screen_blind.py make|tally — blind copies and majority tally when several arms are screened on one assertion
  • python3 scripts/test_tools.py — checks for trigger_eval, tabulate_eval, screen_blind and build_release with the claude call faked (no session starts)
  • python3 scripts/package_skill.py — build dist/ste-explain.zip for claude.ai upload
  • python3 scripts/build_release.py vX.Y.Z — commit the shipped files of a tag onto the release branch that the plugin directory tracks
  • /eval [name] — run all evals with-skill + baseline, grade, summarize
  • /hillclimb [n] — n eval→diagnose→edit→re-eval climbs, logged
  • /lint <file> — lint one file
  • /package — package and print the three install routes

On Windows, use python where python3 is not on PATH. The hook already resolves this itself.

Workflow: spec → eval → climb

  1. Change specs/skill-spec.md deliberately, never as a side effect of an edit.
  2. Never edit the skill without re-running /eval. Log every climb in docs/hillclimb-log.md (change, scores before/after).
  3. Generalize from failures. The five evals are proxies for a million future prompts: if a fix only helps one eval, it is probably overfitting. Prefer explaining why over adding ALL-CAPS MUSTs.
  4. Keep SKILL.md lean. For every line ask: would removing it cause failures? If not, cut it. Bloat makes the model ignore the rules that matter.
  5. Use subagents for eval runs and reviews (fresh context, no bias toward text this session just wrote). The writer must not grade its own work.
  6. Judge every edit against a control arm in the same batch, and every description edit with trigger_eval.py --ref. Totals and trigger rates from different days are not comparable.

Hard rules

  • NEVER copy text from the ASD-STE100 specification PDF. It is copyrighted. Distill in original wording and link to https://www.asd-ste100.org.
  • The skill ships with zero scripts and zero dependencies, so it runs unchanged on claude.ai, Claude Code, and the API. Lint/eval tooling stays in scripts/ and must never be referenced from SKILL.md.
  • Frontmatter constraints (hook-enforced): name ≤64 chars, [a-z0-9-], no "claude"/"anthropic"; description ≤1024 chars, single line; SKILL.md body ≤150 lines.
  • The skill's own prose must pass scripts/ste_lint.py in description mode. A readability skill that is hard to read is dead on arrival.

Repo etiquette

  • Branch main; conventional commit subjects (feat:, fix:, docs:, eval:).
  • workspace/ and dist/ are disposable and gitignored.
  • Bump version in .claude-plugin/plugin.json on any user-visible change.

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.