hedge / base
AGENTS.md0 starsChanged 12 days agoMITView on GitHub
Each guide binds like this file. Read it when its trigger fires.
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.
- 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
3 rules. About 1 is common, 1 is distinctive, and 1 is very specific to this project.
≈1
Common · estimate
Many files like this have a rule of this kind.
≈1
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
- Common: line 7
Keep private data out of public repositories: customer data, usage and revenue numbers, internal metrics, private hostnames, and secrets …
- Distinctive: line 9
Put each question for me in your final message, after your last tool call, or ask it with your harness's question tool.
- Very specific: line 10
Wait in one call that blocks until the event, such as gh run watch <id> --exit-status.
≈ “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
Agent rules
Always
- Confirm with me before a destructive action I did not ask for, even with full access: deleting data, force-pushing a shared branch, or changing production.
- Never print, log, or commit a secret. Read secrets from the environment or a secret store. When you need one from me, ask for it with T3's
request_secrettool, or ask me to save it in a file or an environment variable and give you its name. - Keep private data out of public repositories: customer data, usage and revenue numbers, internal metrics, private hostnames, and secrets stay out of issues, comments, pull request bodies, commits, branch names, and files. Keep that data in a private place and refer to it there.
- Report outcomes as they are. When a test fails or a step was skipped, say so.
- Put each question for me in your final message, after your last tool call, or ask it with your harness's question tool. T3 Code folds the text you write between tool calls, so I do not see a question there.
- Wait in one call that blocks until the event, such as
gh run watch <id> --exit-status. Never poll across turns: every turn rereads the whole context. - On a devbox, run installs, builds, typechecks, and test suites with
hedge heavy -- <command>. It checks free disk first and caps how many heavy commands run at once. A waiting command prints its place in the queue;hedge heavy --holdersshows which jobs hold the slots and which wait. - Name the model and effort on every subagent or worker you start. Cast it from the model table below. An omitted model inherits mine.
- When you send a message to another thread with
t3_thread_send, omitmode: T3 steers a running turn where the provider takes a steer, and queues otherwise. On Claude and Codex a question card or approval the turn waits on stays open, and the agent reads your message once it is answered. Whendeliverysaysqueued, leave the message as it is. Sendmode: "queue"to a thread that waits on a card on any other provider, such as Antigravity, for a slash command such as/goal, and for a deliberate separate follow-up turn. Never sendmode: "restart"to a thread that waits on a card: it stops the turn and cancels the card.
Guides
Each guide binds like this file. Read it when its trigger fires.
- Coding standards,
~/.agents/guides/coding-standards.md: before you plan, write, or review code. - T3,
~/.agents/guides/t3.md: before you launch a thread or hand off a side fix, reach a thread on another machine, or switch a thread's model. - Skill settings,
~/.agents/guides/skill-settings.md: whenever a skill takes a value from "the user's agent instructions", such as a repo, channel, or 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.

