hedge
AGENTS.md0 starsChanged 12 days agoMITView on GitHub
The public Hedge engine: the hedge CLI, get.sh, and the public packs. GLOSSARY.md holds the words to use. - Use Bun. Do not use npm or Yarn. - Keep owned code small and typed. Write no comments; let names explain the code. - Run bun run test and bun run typecheck after every change. Keep bun run test under 5 seconds, and never wait on real time. - The Hedge site is generated, with one HTML file for each route.…
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,196 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.
- packs/base/AGENTS.mdAGENTS.md
- packs/communication/AGENTS.mdAGENTS.md
- packs/memory/AGENTS.mdAGENTS.md
- packs/orchestration/AGENTS.mdAGENTS.md
- packs/pull-requests/AGENTS.mdAGENTS.md
- packs/security/AGENTS.mdAGENTS.md
- src/reconciler/fixtures/engine/packs/base/AGENTS.mdAGENTS.md
- src/reconciler/fixtures/engine/packs/pull-requests/AGENTS.mdAGENTS.md
- writing-voiceSkill
- hedge-hubSkill
- dreamSkill
- mode-autoSkill
- mode-fullSkill
- mode-supervisedSkill
- writing-voiceSkill
- full-stopSkill
The file
We split this AGENTS.md into the rules it gives an agent
5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
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 6
Use Bun. Do not use npm or Yarn.
- Distinctive: line 7
Keep owned code small and typed.
- Very specific: line 8
Run bun run test and bun run typecheck after every change.
- Very specific: line 19
Never draw, change, or generate one.
- Distinctive: line 27
Write documentation in simplified technical English.
≈ “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
Hedge engine
The public Hedge engine: the hedge CLI, get.sh, and the public packs.
GLOSSARY.md holds the words to use.
- Use Bun. Do not use npm or Yarn.
- Keep owned code small and typed. Write no comments; let names explain the code.
- Run
bun run testandbun run typecheckafter every change. Keepbun run testunder 5 seconds, and never wait on real time. - The Hedge site is generated, with one HTML file for each route. No built
file is in the repository.
bun scripts/build-page.tswrites the site tosite/, which git ignores, and the Pages workflow builds it on each push tomain. After you change apack.json,presets.json, orpage/, build the site and look at each route in a browser. The lessons are left out unless you download thelessonsrelease withgh release download lessons --dir lessons/mediaand add--lesson-media lessons/media. - The hedgehogs and the PostHog logo in
page/art/are PostHog's own files. Never draw, change, or generate one.page/art/README.mdnames the source of each file. - Tests that touch a home directory use a temporary
HOME. Never runhedge applyorget.shagainst a real home directory from an agent. - This repo will be public. Never commit private hostnames, Slack IDs, private
repo names, email addresses, internal numbers, customer data, or secrets.
The
privacyCI job enforces this with gitleaks and a deny-list that lives outside this repo. - Write documentation in simplified technical English.
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.

