Agent-HTML
AGENTS.md542 starsChanged 5 months agoApache-2.0View on GitHub
This repo is indexed by GitNexus as Agent-HTML. Use GitNexus MCP for code exploration, impact analysis, and change verification. Rules: - Before editing any function, class, method, or shared API, run gitnexus_impact({ target: "<symbol>", direction: "upstream" }). - Before finishing a code-change task, run gitnexus_detect_changes({ scope: "all" }) and confirm the affected scope is expected. - If the index is stale, re-index only with npx gitnexus analyze --skip-agents-md. - Do not run bare npx gitnexus analyze; it rewrites the GitNexus…
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,700 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 repository8 other files it gives its agents.
- agent-html/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- shadcnSkill
- ui-ux-pro-maxSkill
- wranglerSkill
- shadcnSkill
- ui-ux-pro-maxSkill
- wranglerSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
13 rules. About 0 are common, 9 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
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
- Very specific: line 7
Before editing any function, class, method, or shared API, run gitnexus_impact({ target: "<symbol>", direction: "upstream" }).
- Very specific: line 8
Before finishing a code-change task, run gitnexus_detect_changes({ scope: "all" }) and confirm the affected scope is expected.
- Very specific: line 9
If the index is stale, re-index only with npx gitnexus analyze --skip-agents-md.
- Very specific: line 10
Do not run bare npx gitnexus analyze.
- Distinctive: line 23
Use high-information wording that locks direction with the fewest sufficient terms.
- Distinctive: line 24
Do not add broad, repeated, or low-marginal words when existing terms already identify the concept.
- Distinctive: line 25
Keep one source of truth for each fact, principle, or decision.
- Distinctive: line 26
Keep one stable name for each concept.
- Distinctive: line 27
Keep route files narrow: one page should own one kind of question.
- Distinctive: line 28
Write docs as agent context routes and owner maps.
- Distinctive: line 30
Avoid human-oriented background or tutorial framing unless it changes the next correct agent action.
- Distinctive: line 32
Prefer restrained, minimal, sufficient writing over exhaustive explanation.
- Distinctive: line 36
Use the smallest route for the task before searching broadly.
≈ “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
<!-- gitnexus:start -->GitNexus
This repo is indexed by GitNexus as Agent-HTML. Use GitNexus MCP for code exploration, impact analysis, and change verification.
Rules:
- Before editing any function, class, method, or shared API, run
gitnexus_impact({ target: "<symbol>", direction: "upstream" }). - Before finishing a code-change task, run
gitnexus_detect_changes({ scope: "all" })and confirm the affected scope is expected. - If the index is stale, re-index only with
npx gitnexus analyze --skip-agents-md. - Do not run bare
npx gitnexus analyze; it rewrites the GitNexus sections inAGENTS.mdandCLAUDE.md.
Useful resources:
gitnexus://repo/Agent-HTML/contextgitnexus://repo/Agent-HTML/processesgitnexus://repo/Agent-HTML/process/{name}
<!-- gitnexus:end -->Docs Writing Rules
Apply these rules when writing or editing docs.
- Use high-information wording that locks direction with the fewest sufficient terms.
- Do not add broad, repeated, or low-marginal words when existing terms already identify the concept.
- Keep one source of truth for each fact, principle, or decision; link to it instead of restating it.
- Keep one stable name for each concept.
- Keep route files narrow: one page should own one kind of question.
- Write docs as agent context routes and owner maps. Human-readable prose is the interface agents parse, cite, and follow.
- Avoid human-oriented background or tutorial framing unless it changes the next correct agent action.
- Prefer restrained, minimal, sufficient writing over exhaustive explanation.
Content Routes
Use the smallest route for the task before searching broadly.
- Canvas:
apps/docs/content/docs/index.mdx, thenagent-html/README.md - Taste and agent ergonomics:
taste/README.md - Archive:
_archive/README.md
Canvas Constitution
Canonical source: apps/docs/content/docs/index.mdx.
Canvas governs the current isolated React artifact workspace for agents. Use
the canonical source before changing Canvas docs, agent-html, artifact/block
composition, local resources, host inspection, or block prompt behavior.
Archive Rule
_archive/* is historical reference only. Do not use archived material as a
current architecture source, package target, product route, navigation target,
or implementation path.
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.

