claude-skills
CLAUDE.md2 starsChanged 45 days agoMITView on GitHub
The files here are what Claude Code runs when you start it from this checkout with claude --plugin-dir ., so an edit is live the moment it's saved. (An installed plugin runs a copy in Claude Code's plugin cache instead, which an edit here doesn't reach.) Keep every file valid at each step, and expect a skill you're editing to be the one you're running. - python3 -m unittest discover -s tests — deterministic tests for the guard, both checkers,…
In this repository5 other files it gives its agents.
- cold-reviewSkill
- ideaSkill
- implementSkill
- researchSkill
- specSkill
The file
We split this CLAUDE.md into the rules it gives an agent
6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 23
After changing an agent or skill file, run tests/agent-evals/run.sh by hand.
- Very specific: line 27
After changing a skill's steps, run tests/skill-evals/run.sh by hand too (about $0.40 a case for the skill's own session, capped at $3, …
- Very specific: line 31
Run both eval sets once per model the skills run on: Sonnet and Opus, with EVAL_MODEL=sonnet and EVAL_MODEL=opus.
- Very specific: line 44
Commit messages: spec:, research:, cold-review:, implement:, evals:, tests:, guard:, repo:, readme: — the area, then what changed.
- Distinctive: line 46
Commit from this checkout, not GitHub's web editor: its commits carry no prefix, skip the README record, and may use another email address.
- Distinctive: line 64
No secrets, credentials or account IDs anywhere, including in test fixtures and spec citations.
≈ “Common” is an estimate: at least 1 in 5 of the 26,980 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.
Files
Working in this repo
The files here are what Claude Code runs when you start it from this checkout with
claude --plugin-dir ., so an edit is live the moment it's saved. (An installed plugin runs a copy
in Claude Code's plugin cache instead, which an edit here doesn't reach.) Keep every file valid at
each step, and expect a skill you're editing to be the one you're running.
Before committing
python3 -m unittest discover -s tests— deterministic tests for the guard, both checkers,build-index.py,review-state.py,git-read.py,prepare-spike.sh,run-spike.sh,run-agent.sh,run-name.py,launch-checks.sh,agent-def.py,agent-settings.py,mdcheck.py,mine-sessions.py,scan-diff.py,prepare-verify.sh,run-verify.sh,run-implementer.sh,ledger.pyand the research scripts; that the eval runners exit 1 on a failure; that the guard's and all four sandbox settings' deny lists agree, andhooks/user-deny.jsonwith them; that no skill's allowed-tools holds a path rule Claude Code ignores; that/implement's own git commands turn off the file watcher and hooks and match its allowed-tools; and the README's index-rebuild command. CI runs these, with ruff, shellcheck andclaude plugin validate.python3 tests/replay_guard.py— the guard against real recorded commands and file reads. It exits 0 when every difference is listed intests/replay-accepted.txt, by fingerprint, never by the command (the transcripts are private). Add an entry, with its reason, only for a change the guard means.- After changing an agent or skill file, run
tests/agent-evals/run.shby hand. A full run cost $1.80 on Sonnet and $4.58 on Opus on 2026-10-04, and each case is capped at $5 (research-ideasat $10), so it isn't automatic. Add a dated section totests/agent-evals/BASELINE.mdwith every case's result and cost, including the cases you didn't expect to change. - After changing a skill's steps, run
tests/skill-evals/run.shby hand too (about $0.40 a case for the skill's own session, capped at $3, plus the agents a case launches, capped at $2 each), and record its results in the sameBASELINE.mdsection. A case fails on any call the skill's allowed-tools refused, so a call a skill needs must be pre-approved. - Run both eval sets once per model the skills run on: Sonnet and Opus, with
EVAL_MODEL=sonnetandEVAL_MODEL=opus. Record each model's results in the same datedBASELINE.mdsection, with a column for the model. Run one set after the other, never at the same time: each checks that nothing else in~/noteschanged while it ran. - A change to
skills/implement/orhooks/agents/implementer.mdneeds the implement skill-eval cases,implement-basic,implement-trapandimplement-hand-edit, on both models. The first two also run the implementer (capped at $5 under the runner) and up to two verifiers ($5 each), which the runner's printed cost leaves out: add theirs from therun.jsonfiles in the results. - A change to
skills/spec/orhooks/agents/spec-*usually needscheck-spec.pyrun overdocs/specs/too: the specs in this repo cite these files bypath:line.
Conventions
- Commit messages:
spec:,research:,cold-review:,implement:,evals:,tests:,guard:,repo:,readme:— the area, then what changed. Branch before committing; never push unless asked. - Commit from this checkout, not GitHub's web editor: its commits carry no prefix, skip the README
record, and may use another email address. Merge pull requests here too, with
git merge --no-ffand a push ofmain: GitHub's merge button authors the merge commit with another email address. .claude-plugin/plugin.jsonhas noversionon purpose: each commit onmainis a new version for installed users (README, Update), so merge only what's ready to ship.- In a skill's
allowed-tools, pre-approve writes withEdit(path), which also covers the Write tool. Claude Code never consults aWrite(path),Glob(path)orNotebookEdit(path)rule (tests/test_skill_frontmatter.py). - Skills and the files they load refer to the repo's files as
${CLAUDE_PLUGIN_ROOT}/..., which Claude Code expands to the plugin root: this checkout, or the plugin cache. Don't rewrite them as repo-relative or~paths; the guard finds its root from its own location to recognise its scripts. Dated documents (docs/specs/, everyrecords/,CHANGELOG.md,tests/agent-evals/BASELINE.md) keep the paths they were written with, andtests/test_no_stale_paths.pyfails on an old install-path reference anywhere else. - Specs live in
docs/specs/, and/spec's step 7 writes spike results todocs/specs/spikes/. skills/synced/holds skills Claude Code syncs from the claude.ai account. It's git-ignored and machine-managed: don't edit or commit it.- No secrets, credentials or account IDs anywhere, including in test fixtures and spec citations.
- Log every README change as a dated
- Not reviewed: ...line at the end ofrecords/README-record.md. The README has had its one full and one delta review, so/cold-reviewwon't review these again; they record what changed since.
The workflow diagram
- The README's diagram is
docs/workflow*.png, drawn bydocs/diagram/workflow.py. Edit the script, never the PNGs:cd docs/diagram && npm installonce, thenpython3 docs/diagram/workflow.pyredraws all four, and the social preview below. - It also draws
docs/social-preview.png, the repo's 1280x640 social media preview. GitHub can't take that from the repo: after redrawing it, upload it by hand in Settings > General > Social preview. - Text is placed by estimated widths, so look at the PNGs after changing any wording.
- The diagram's six stages (Capture, Research, Plan, Spike, Implement, Close out) match the numbered list under "From idea to merged change" in the README. Change one, change the other.
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.

