tack
AGENTS.md0 starsChanged 13 days agoMITView on GitHub
A stack-agnostic harness for AI-assisted development: one verification contract (tack.toml), guardrail hooks, skills and subagents, installed into any project (new or existing). These rules apply to every coding agent (Claude Code, Codex, Cursor, Gemini, ...) and every human. The commands for each check live in tack.toml, one entry per component (each language or package in the repo). Run them all with python3 .claude/hooks/tack verify, or pick some with --only lint,test and --component <name>. If a check is missing or wrong,…
- Reads credentials
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 35,117 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
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
14 rules. About 0 are common, 6 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 8
After changing runtime.py or templates, run uv run tack update .
- Very specific: line 15
Get your bearings: Read SPEC.md (what we are building and why) and PROGRESS.md (where we left off).
- Distinctive: line 16
Plan anything non-trivial: Write a short plan with the files to touch, the approach, and how you will prove it works.
- Distinctive: line 17
Test first: Write or update a failing test, make it pass, then clean up.
- Very specific: line 18
Verify: Run python3 .claude/hooks/tack verify --changed.
- Very specific: line 20
Record: Update PROGRESS.md: what changed, decisions made and why, and what's next.
- Very specific: line 26
Run them all with python3 .claude/hooks/tack verify, or pick some with --only lint,test and --component <name>.
- Very specific: line 27
If a check is missing or wrong, fix tack.toml.
- Very specific: line 31
Never weaken a check to make it pass: no deleting tests, no skip, no broad lint ignores, no any or # type: ignore without a written reason.
- Distinctive: line 32
Never edit lockfiles by hand.
- Very specific: line 33
Never read, print, or commit secrets (.env, keys, tokens).
- Distinctive: line 34
Add a dependency only when it clearly earns its place, and say why in the commit message.
- Distinctive: line 35
Keep changes small and in scope.
- Distinctive: line 36
When unsure about intent, ask.
≈ “Common” is an estimate: at least 1 in 5 of the 45,344 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
tack
A stack-agnostic harness for AI-assisted development: one verification contract (tack.toml), guardrail hooks, skills and subagents, installed into any project (new or existing).
src/tack/runtime.py: stdlib-only engine (detect, verify, hooks). Vendored into user projects, so it must stay dependency-free and Python 3.11 compatible.src/tack/install.py: safe file writer (managed / block / merge / seed kinds plus the lock file).src/tack/templates/: what gets installed (dot-maps to.,.tmplfiles are rendered).- After changing
runtime.pyor templates, runuv run tack update .so this repo's own.claude/copy stays in sync.
<!-- tack:begin (managed by tack; edit outside this block, refresh with `tack update`) -->How we work
These rules apply to every coding agent (Claude Code, Codex, Cursor, Gemini, ...) and every human.
- Get your bearings. Read
SPEC.md(what we are building and why) andPROGRESS.md(where we left off). - Plan anything non-trivial. Write a short plan with the files to touch, the approach, and how you will prove it works. Get it approved before large changes.
- Test first. Write or update a failing test, make it pass, then clean up.
- Verify. Run
python3 .claude/hooks/tack verify --changed. Work is not done until it passes. Show the output; don't just claim success. - Review your diff as if someone else wrote it: correctness, edge cases, naming, dead code, secrets.
- Record. Update
PROGRESS.md: what changed, decisions made and why, and what's next. - Commit small, focused changes with Conventional Commit messages (
feat:,fix:,refactor:,test:,docs:,chore:).
Checks
The commands for each check live in tack.toml, one entry per component (each language or package in the repo).
Run them all with python3 .claude/hooks/tack verify, or pick some with --only lint,test and --component <name>.
If a check is missing or wrong, fix tack.toml. Don't skip the check.
Rules
- Never weaken a check to make it pass: no deleting tests, no
skip, no broad lint ignores, noanyor# type: ignorewithout a written reason. - Never edit lockfiles by hand. Use the package manager.
- Never read, print, or commit secrets (
.env, keys, tokens). Use.env.examplefor documentation. - Add a dependency only when it clearly earns its place, and say why in the commit message.
- Keep changes small and in scope. Match the existing style before introducing a new one.
- When unsure about intent, ask. When unsure about code, read it or run it.
Memory
SPEC.md: the goal, users, scope, and non-goals. Update it when the scope changes.PROGRESS.md: current status, decisions (with reasons), and next steps. Update it before you stop.
<!-- tack:end -->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.

