agentleFS
PostHogKnown publisherPostHog/hedge/packs/base/AGENTS.md

hedge / base

AGENTS.md0 starsChanged 12 days agoMITView on GitHub

Each guide binds like this file. Read it when its trigger fires.

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
  1. Common:

    Keep private data out of public repositories: customer data, usage and revenue numbers, internal metrics, private hostnames, and secrets …

    line 7
  2. Distinctive:

    Put each question for me in your final message, after your last tool call, or ask it with your harness's question tool.

    line 9
  3. Very specific:

    Wait in one call that blocks until the event, such as gh run watch <id> --exit-status.

    line 10

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

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_secret tool, 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 --holders shows 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, omit mode: 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. When delivery says queued, leave the message as it is. Send mode: "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 send mode: "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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.