workflow
AGENTS.md4 starsChanged 6 days agoMITView on GitHub
for any coding agent that opens this repo, Claude Code or not. read SETUP.md and follow it. it looks at the machine, asks once, installs into ~/.claude/, tailors, proves it worked and ends with a hand test. do not copy files blind. clone it first, then read SETUP.md: markdown skills, one rules file, two installers and six scripts (the size probe, its runner, the brand check, the ref reader, the ref check, the recorder). no build. the skills are plain…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 33,398 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
The file
We split this AGENTS.md into the rules it gives an agent
7 rules. About 0 are common, 2 are distinctive, and 5 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.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 26
after changing tools/responsive-probe.js, run node tools/probe-test.mjs (needs playwright with chromium: npx playwright install chromium, …
- Very specific: line 27
after changing tools/brand-check.mjs, run node tools/brand-check.mjs --self-test and show every line passes.
- Very specific: line 28
after changing tools/ref-read.mjs or tools/ref-check.mjs, run their --self-test and show every line passes.
- Very specific: line 29
after changing tools/record.mjs, run node tools/record.mjs --self-test and show every line passes.
- Very specific: line 30
after changing an installer, run bash scripts/test-install.sh (and bash scripts/test-install.sh ps1 where pwsh exists).
- Distinctive: line 37
no commit, push, pr or merge without the user's yes that specific time.
- Distinctive: line 38
no ai or tool authorship in commits, prs or files.
≈ “Common” is an estimate: at least 1 in 5 of the 43,423 AGENTS.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
AGENTS.md
for any coding agent that opens this repo, Claude Code or not.
you were asked to set someone up
read SETUP.md and follow it. it looks at the machine, asks once, installs into ~/.claude/, tailors, proves it worked and ends with a hand test. do not copy files blind.
you were sent only the link
clone it first, then read SETUP.md:
git clone --depth 1 https://github.com/gntrs/workflow.git ~/.claude/workflowyou are working on this repo itself
markdown skills, one rules file, two installers and six scripts (the size probe, its runner, the brand check, the ref reader, the ref check, the recorder). no build.
- skills live in
skills/<name>/SKILL.md, depth inskills/<name>/references/. frontmatternamematches the folder. rules/RULES.mdis always on. a skill never contradicts it. nothing tells the reader to edit an installed file: what is personal goes in~/.claude/RULES.local.md(template insetup/RULES.local.md).- generic only. no names, emails, hosts, private projects or personal paths.
- lowercase, direct prose. zero em dashes.
bash scripts/check.shbefore you hand back. it must printok. put your own private strings in.claude/denylist.txt(gitignored, one regex per line) and it scans for them too.- after changing
tools/responsive-probe.js, runnode tools/probe-test.mjs(needs playwright with chromium:npx playwright install chromium, or pointPLAYWRIGHT_MODULEat an installed copy) and show it still catches the planted cases. - after changing
tools/brand-check.mjs, runnode tools/brand-check.mjs --self-testand show every line passes. - after changing
tools/ref-read.mjsortools/ref-check.mjs, run their--self-testand show every line passes. ref-read's needs playwright like the probe runner. - after changing
tools/record.mjs, runnode tools/record.mjs --self-testand show every line passes. it needs playwright like the probe runner, and ffmpeg for the mp4 lines (without it, those check the webm fallback). - after changing an installer, run
bash scripts/test-install.sh(andbash scripts/test-install.sh ps1wherepwshexists). it installs into throwaway homes: fresh, an upgrade from old commits, with edits, uninstall. a new behavior gets a case there. keepinstall.shandinstall.ps1doing the same thing. npm ci && npm testruns the check, the installer cases and every tool self test. playwright is pinned inpackage.json.- a release: bump
VERSIONandpackage.json, add theCHANGELOG.mdentry, tagv<version>. ln -sf ../../scripts/pre-commit .git/hooks/pre-commitonce per clone, so the check runs before every commit.
the rules that hold here too
- no commit, push, pr or merge without the user's yes that specific time.
- no ai or tool authorship in commits, prs or files.
- end with a numbered hand test plan: what to run, what to see, what means broken.
without slash commands
the skills are plain markdown. an agent with no skills support reads skills/cook/SKILL.md when the user says "cook this" and follows it. everything else follows from there.
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.

