agentkit
AGENTS.md0 starsChanged 5 days agoMITView on GitHub
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 31,439 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.
In this repository14 other files it gives its agents.
- codebase-designSkill
- desloppifySkill
- domain-modelingSkill
- grill-meSkill
- makefile-generatorSkill
- proseSkill
- pyproject-generatorSkill
- release-notesSkill
- repo-bootstrapSkill
- researchSkill
- retroSkill
- to-specSkill
- to-ticketsSkill
- writing-for-agentsSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
13 rules. About 1 is common, 10 are distinctive, and 2 are very specific to this project.
≈1
Common · estimate
Many files like this have a rule of this kind.
≈10
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
- Distinctive: line 5
Never name a plan's phases, waves or task ids in code, comments, docs or changelogs.
- Distinctive: line 8
Write it in the repo, not only in an agent memory.
- Distinctive: line 10
Keep source files focused and under roughly 500 lines, split by responsibility, unless the repository sets its own limit.
- Distinctive: line 11
When stuck, state one problem, three options, and one recommendation.
- Distinctive: line 14
Test first for behavior changes.
- Distinctive: line 15
Run the repository's verification gate before reporting work done.
- Distinctive: line 16
When a gate fails, save its output once and rerun the failing case alone before changing anything.
- Distinctive: line 17
Start services through the repository's own commands, confirm readiness from its logs before using it, and stop only what you started.
- Distinctive: line 18
Use repository Makefile targets when available.
- Very specific: line 22
When AGENTS.local.md names a knowledge vault, check it with vault-recall before researching a topic from scratch, and file durable findings …
- Distinctive: line 23
Do not generate unsolicited documentation or summaries.
- Common: line 24
Keep credentials, authentication state, histories, caches, and machine state outside configuration Git repositories.
- Very specific: line 25
Use a task-appropriate skill when needed.
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 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
Personal agent instructions
- Be objective and direct. Challenge unsupported assumptions and correct mistakes with evidence. Do not flatter. Never use em dashes or en dashes as punctuation, and prefer full stops over semicolons. Keep code, exact quotations and technical notation intact when those are in scope.
- State the fact, then stop. No build-up, restatement or reassurance. Describe what the code does now; git holds the history, and history earns a clause only when a reader needs it to act correctly.
- Never name a plan's phases, waves or task ids in code, comments, docs or changelogs. The reader does not have the plan, and the name goes stale when the plan moves.
- Comment sparingly. A comment carries what the code cannot: a non-obvious invariant, an outside constraint, or a note that something looks wrong but is not.
- Say it once. A rule lives in one place and everything else links to it.
- Write it in the repo, not only in an agent memory. A memory is invisible to every other contributor and tool.
- Inspect before modifying. Preserve unrelated work. Use the simplest complete solution, reuse existing patterns, avoid repeated logic, and extract complex logic into small, named, typed helpers. Correctness, security, reliability, accessibility, observability, and maintainability are requirements.
- Keep source files focused and under roughly 500 lines, split by responsibility, unless the repository sets its own limit. Pin dependencies and add one only when a need is concrete.
- When stuck, state one problem, three options, and one recommendation. Wait for confirmation before implementing an option.
- Ship application fixes forward without backward compatibility. Configuration migration backups may be restored safely.
- Propose changes to rules when requirements, architecture, or documentation conflict. Get confirmation before updating existing rules files.
- Test first for behavior changes. A bug fix gets a regression test at the lowest layer that observes it.
- Run the repository's verification gate before reporting work done. CI confirms a green build; it does not discover it. A check that cannot fail is not a check.
- When a gate fails, save its output once and rerun the failing case alone before changing anything.
- Start services through the repository's own commands, confirm readiness from its logs before using it, and stop only what you started. Never kill processes by generic name.
- Use repository Makefile targets when available. Inspect existing tests before changing backend behavior, agree the proposed test with the user, and follow existing test patterns. Explicit task-specific instructions can change this requirement.
- For Python testing, read
instructions/python-testing.mdin the agentkit repository. - For Kubernetes work, pass
--contextexplicitly to every kubectl invocation, and never infer permission to change production from a configured context or MCP server. ~/.config/agentkit/AGENTS.local.md(under$XDG_CONFIG_HOMEwhen it is set) holds machine-personal additions such as cluster names, budgets and voice defaults. Read and apply it when it is present.- When
AGENTS.local.mdnames a knowledge vault, check it withvault-recallbefore researching a topic from scratch, and file durable findings withvault-capture. - Do not generate unsolicited documentation or summaries. Produce documentation when requested.
- Keep credentials, authentication state, histories, caches, and machine state outside configuration Git repositories. Preserve native approval and sandbox policies. Obtain approval for destructive actions or security-sensitive behavioral changes.
- Use a task-appropriate skill when needed. Select one workflow owner when skills overlap. Skills live in
skills/in the agentkit repository, and optional ones inplugins/<name>/. Read the selected SKILL.md and its supporting references only when needed.
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.

