agent-skills / claude-agents-md
AGENTS.md0 starsChanged 3 months agoUnlicenseView 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,774 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 repository16 other files it gives its agents.
- claude-agents-md/CLAUDE.mdCLAUDE.md
- bash-skillSkill
- bug-recordingSkill
- bundle-sizeSkill
- changelog-skillSkill
- container-skillSkill
- fact-checkerSkill
- git-gh-skillSkill
- html-researchSkill
- index-html-skillSkill
- macos-electron-appsSkill
- pr-splitterSkill
- readme-skillSkill
- rerenderSkill
- scripts-skillSkill
- stacks-skillSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
46 rules. About 0 are common, 42 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈42
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
- Distinctive: line 3
Every 30s you will share progress x/y done and what you doing in 1-2 lines.
- Distinctive: line 6
Never use comments, never comment anything.
- Distinctive: line 7
Never use the words: "demo", "demonstration" or "example", never ever.
- Distinctive: line 8
Make sure the code is as simple as possible.
- Distinctive: line 9
Make sure the code is well written and make sense.
- Distinctive: line 10
Do not do things I did not ask for in explicit prompts.
- Distinctive: line 11
Use the least number of libraries as possible, if possible no libraries.
- Distinctive: line 14
Never add Co-Authored-By lines to commits
- Distinctive: line 17
Always explain the task
- Distinctive: line 18
Always put the whole prompt on the PR description
- Distinctive: line 19
Always run the tests and get the test output on the PR.
- Distinctive: line 22
Never use comments, never ever.
- Distinctive: line 23
Never do sleep bigger than 1
- Distinctive: line 24
When need to wait for a POD or a docker container in docker or k8s make sure you will use a loop and check the condition and do max sleep 1.
- Distinctive: line 25
Dont use icons and enomjis on bash script.
- Distinctive: line 28
Prefer name the file as Containerfile
- Distinctive: line 29
Never use Docker, always use podman and podman-compose
- Distinctive: line 30
Make sure you are using the latest versions
- Distinctive: line 31
Do not write comments, never comment.
- Distinctive: line 32
Make sure you dont do ENTER between commands make it compact
- Distinctive: line 35
Never use docker-compose always use podman-compose
- Very specific: line 38
always have a start.sh where you start docker-compose.
- Very specific: line 39
always have a stop.sh to stop docker-compose.
- Very specific: line 40
always have a test.sh where you show the feature is working.
- Distinctive: line 41
dont use timeouts more than 1 min
- Distinctive: line 44
Never do ACII ART for architecture diagrams
- Distinctive: line 45
Always do Excalidraw-style diagram.
- Distinctive: line 46
When there is UI always use Playwright MCP to take print screens, add on printscreens/ folder on the project and always load, refer, render …
- Distinctive: line 47
IF there is a logo, always display/render in the begining of the README
- Distinctive: line 57
Always make sure it's just one version and one version only of the app installed
- Distinctive: line 58
Make sure there are install/uninstall scripts
- Distinctive: line 59
When making changes make sure remove, rebuild, re-install the app
- Distinctive: line 62
Always light themed (never DARK - unless user asked for)
- Very specific: line 63
IF does not have code, should be self contained (CSS/JS) inside single index.html (Not the case for apps with backend code)
- Distinctive: line 73
Stop when confused. Name what's unclear.
- Distinctive: line 77
No features beyond what was asked.
- Distinctive: line 78
Test: would a senior engineer say this is overcomplicated?
- Distinctive: line 82
Don't "improve" adjacent code, comments, or formatting.
- Distinctive: line 83
Don't refactor what isn't broken.
- Distinctive: line 87
Don't follow steps. Define success and iterate.
- Distinctive: line 91
If two patterns contradict, pick one (more recent / more tested).
- Distinctive: line 93
Don't blend conflicting patterns.
- Distinctive: line 96
Before adding code, read exports, immediate callers, shared utilities.
- Distinctive: line 105
Don't continue from a state you can't describe back.
- Distinctive: line 106
If you lose track, stop and restate.
- Distinctive: line 111
Default to surfacing uncertainty, not hiding it.
≈ “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
CODEX Guidelines
- For borwser use always do npx playwright
- Every 30s you will share progress x/y done and what you doing in 1-2 lines.
General Guidelines
- Never use comments, never comment anything.
- Never use the words: "demo", "demonstration" or "example", never ever.
- Make sure the code is as simple as possible.
- Make sure the code is well written and make sense.
- Do not do things I did not ask for in explicit prompts.
- Use the least number of libraries as possible, if possible no libraries.
Git Commits
- Never add Co-Authored-By lines to commits
Github Pull Request(PR) Guidelines
- Always explain the task
- Always put the whole prompt on the PR description
- Always run the tests and get the test output on the PR.
When Writing BASH scripts
- Never use comments, never ever.
- Never do sleep bigger than 1
- When need to wait for a POD or a docker container in docker or k8s make sure you will use a loop and check the condition and do max sleep 1.
- Dont use icons and enomjis on bash script.
Containerfile
- Prefer name the file as Containerfile
- Never use Docker, always use podman and podman-compose
- Make sure you are using the latest versions
- Do not write comments, never comment.
- Make sure you dont do ENTER between commands make it compact
podman-compose
- Never use docker-compose always use podman-compose
- This section only apply if you have podman-compose requirements otherwise ignore it.
- docker-compose it's alias to podman, keep that in mind.
- always have a start.sh where you start docker-compose.
- always have a stop.sh to stop docker-compose.
- always have a test.sh where you show the feature is working.
- dont use timeouts more than 1 min
README.md
- Never do ACII ART for architecture diagrams
- Always do Excalidraw-style diagram. Rendered a hand-drawn flow diagram (wobble filter + "Caveat" handwriting font, pastel boxes, solid capture path.
- When there is UI always use Playwright MCP to take print screens, add on printscreens/ folder on the project and always load, refer, render the images and explain on README.md
- IF there is a logo, always display/render in the begining of the README
- README of solutions must have:
- Architecture
- Stack (list list with 1 line explaining why)
- Contracts/APIs
- key datastructures and software design decision if any
- How to run the app/tests
- How it Works? (3-15 lines max)
Electron/Swift MacOS Apps
- Always make sure it's just one version and one version only of the app installed
- Make sure there are install/uninstall scripts
- When making changes make sure remove, rebuild, re-install the app
Websites Design (index.html)
- Always light themed (never DARK - unless user asked for)
- IF does not have code, should be self contained (CSS/JS) inside single index.html (Not the case for apps with backend code)
CLAUDE.md — 12-rule template
These rules apply to every task in this project unless explicitly overridden. Bias: caution over speed on non-trivial work. Use judgment on trivial tasks.
Rule 1 — Think Before Coding
State assumptions explicitly. If uncertain, ask rather than guess. Present multiple interpretations when ambiguity exists. Push back when a simpler approach exists. Stop when confused. Name what's unclear.
Rule 2 — Simplicity First
Minimum code that solves the problem. Nothing speculative. No features beyond what was asked. No abstractions for single-use code. Test: would a senior engineer say this is overcomplicated? If yes, simplify.
Rule 3 — Surgical Changes
Touch only what you must. Clean up only your own mess. Don't "improve" adjacent code, comments, or formatting. Don't refactor what isn't broken. Match existing style.
Rule 4 — Goal-Driven Execution
Define success criteria. Loop until verified. Don't follow steps. Define success and iterate. Strong success criteria let you loop independently.
Rule 7 — Surface conflicts, don't average them
If two patterns contradict, pick one (more recent / more tested). Explain why. Flag the other for cleanup. Don't blend conflicting patterns.
Rule 8 — Read before you write
Before adding code, read exports, immediate callers, shared utilities. "Looks orthogonal" is dangerous. If unsure why code is structured a way, ask.
Rule 9 — Tests verify intent, not just behavior
Tests must encode WHY behavior matters, not just WHAT it does. A test that can't fail when business logic changes is wrong.
Rule 10 — Checkpoint after every significant step
Summarize what was done, what's verified, what's left. Don't continue from a state you can't describe back. If you lose track, stop and restate.
Rule 12 — Fail loud
"Completed" is wrong if anything was skipped silently. "Tests pass" is wrong if any were skipped. Default to surfacing uncertainty, not hiding it.
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.

