dotfiles / references
AGENTS.md13 starsChanged 4 days agoMITView on GitHub
Keep each instruction layer focused: the global persona owns durable personal preferences, project instructions own repository invariants, and skills own reusable procedures. Lead every rule with a bold summary, **<2–6 word rule>**: <detail>, stating the rule rather than its topic, so reading only the bold conveys every rule; reference entries (workflows, paths, fields) may lead with their name, and link lists need none. Give an agent the repository-specific information required to change the project correctly without copying global defaults. Keep…
1 other project uses a version of this.
Adopted by
Most recently taken up by
- fmind/dotword for word, first seen Nov 8, 2026
Other versions1 project uses a version of this.
Word for word · 1
- fmind/dot★ 13100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
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,843 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 repository67 other files it gives its agents.
- AGENTS.mdAGENTS.md
- dot_agents/AGENTS.mdAGENTS.md
- chezmoiSkill
- dot-developmentSkill
- dot-releaseSkill
- dot-skillsSkill
- dot-verifySkill
- acliSkill
- agent-evaluationSkill
- agent-frameworksSkill
- agent-harnessesSkill
- agent-projectSkill
- agent-protocolsSkill
- agySkill
- airflowSkill
- auth-statusSkill
- awsSkill
- bfSkill
- chrome-devtoolsSkill
- clipboardSkill
- cloud-runSkill
- code-securitySkill
- colabSkill
- databricksSkill
- diagrams-as-codeSkill
- dockerSkill
- documentation-siteSkill
- dot-cliSkill
- dprintSkill
- draft-docSkill
- draft-mailSkill
- duckdbSkill
- fmind-visualsSkill
- full-reviewSkill
- gcloudSkill
- ghSkill
- git-deliverySkill
- github-actionsSkill
- github-issuesSkill
- github-pull-requestSkill
- github-repositorySkill
- google-developerSkill
- gwsSkill
- hfSkill
- infra-as-codeSkill
- kaggleSkill
- kubernetesSkill
- lesson-learnedSkill
- mcp-setupSkill
- miseSkill
- model-providersSkill
- playwrightSkill
- project-scaffoldingSkill
- python-mlopsSkill
- python-stackSkill
- python-webSkill
- repository-docsSkill
- scheduled-jobsSkill
- skillifySkill
- <name>Skill
- The first 60 shown.
The file
We split this agents.md into the rules it gives an agent
5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 7
Ground preferences: use explicit requests, repeated corrections, and a bounded sample of user-authored prompts.
- Distinctive: line 9
Resolve friction: check whether blanket rules cause unnecessary questions, redundant research, speculative abstractions, or unsafe …
- Distinctive: line 17
Inspect the contract: read ancestor and local instructions, manifests, mise tasks, hooks, CI, and the relevant source tree.
- Distinctive: line 22
Verify and trim: run safe documented commands and link or format checks.
- Very specific: line 24
Keep one instruction body in AGENTS.md and use host bridges instead of copies.
≈ “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
AGENTS.md Guidance
Keep each instruction layer focused: the global persona owns durable personal preferences, project instructions own repository invariants, and skills own reusable procedures. Lead every rule with a bold summary, **<2–6 word rule>**: <detail>, stating the rule rather than its topic, so reading only the bold conveys every rule; reference entries (workflows, paths, fields) may lead with their name, and link lists need none.
Global persona
- Ground preferences: use explicit requests, repeated corrections, and a bounded sample of user-authored prompts; distinguish these from assistant suggestions, stale plans, or one-off project choices. Do not copy private transcripts into shared files.
- Keep frequent decisions close: communication, initiative, engineering taste, scope, authorization, and completion standards belong in the persona; tool inventories and authoring recipes belong with their owning skills.
- Resolve friction: check whether blanket rules cause unnecessary questions, redundant research, speculative abstractions, or unsafe automation. Preserve the underlying intent with a concrete decision rule.
- Offload without losing meaning: map each removed requirement to an existing skill, move uncovered guidance to its owner, and repair inbound references. Retain only useful routing cues; never require loading the whole catalog.
- Review behavior: walk through a small fix in a dirty tree, an advice-only request, a broad review, an authorized release, a blocked check, and a stop request. Verify each yields a clear next action; prose review and package checks do not establish live host compliance.
Project instructions
Give an agent the repository-specific information required to change the project correctly without copying global defaults.
- Inspect the contract: read ancestor and local instructions, manifests, mise tasks, hooks, CI, and the relevant source tree; identify rules that differ from global defaults.
- State identity and scope: give a short project purpose, supported stack, and links to human setup documentation; explain which subtree a nested instruction file governs.
- Document verified commands: setup, focused checks, complete gate, build, and watch using actual task names; separate workstation checks and consequential release or deploy operations.
- Record local invariants: architecture seams, generated-file ownership, source versus deployed paths, private-data constraints, and non-obvious validation requirements.
- Map the layout: list important top-level paths with one sentence each; link multi-step workflows to
.agents/skills/<name>/SKILL.mdor the relevant shared skill. - Verify and trim: run safe documented commands and link or format checks; remove stale advice, copied global rules, and commands the repository does not provide.
Keep one instruction body in AGENTS.md and use host bridges instead of copies. Distinguish hard invariants from recommendations, use repository-relative or ~-relative paths, preserve the repository's Markdown style, and never include credentials or transient session state.
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.

