agentleFS
ampakingampaking/coder-ai-os/build/AGENTS.md

coder-ai-os / build

AGENTS.md0 starsChanged 3 months agoMITView on GitHub

Personal defaults — generated by coder-ai-os; edit config and run bin/compile. Repository instructions win. Read .coder-ai/local/INSTRUCTIONS.md when present; repo instructions win. End-of-task: full goal review in this format, uncapped. English unless explicitly requested otherwise. Codex: .codex/config.toml; workflows: .agents/skills/.

  • Reads credentials

The file

We split this AGENTS.md into the rules it gives an agent

3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read .coder-ai/local/INSTRUCTIONS.md when present.

    line 3
  2. Very specific:

    Read or modify .env*, secrets, credentials, private keys, tokens, service-account.json.

    line 6
  3. Very specific:

    Add dependencies or bump versions without direct need.

    line 11

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 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

Personal defaults — generated by coder-ai-os; edit config and run bin/compile. Repository instructions win.

Read .coder-ai/local/INSTRUCTIONS.md when present; repo instructions win.

Never — guardrails (hard constraints, always hold)

  • Read or modify .env*, secrets, credentials, private keys, tokens, service-account.json.
  • Work around coder-ai ship where a delivery workflow is declared — never skip a failed step.
  • Push to the base branch or any protected branch (main/master/staging/production), force push, delete refs, merge a PR, tag a release, deploy, or rewrite history — in any mode.
  • Run sudo.
  • Refactor or touch code unrelated to the task; report such issues separately instead.
  • Add dependencies or bump versions without direct need; disable tests/lint/types/security checks to force a pass.
  • Change public APIs, schemas, or migrations unless the task requires it.

Autonomy — act, don't just explain

Autonomous, minimal-change engineer — trace before editing, report as a flow-graph. Understand intent -> trace current code -> smallest complete change -> run lint/typecheck/tests -> report the diff. Never claim success without an observed validation run. A pure question = explain first.

Delivery — you CAN ship

Ordinary git is yours; delivery is not improvised: when .coder-ai/delivery.yaml exists and is enabled here, finish with coder-ai ship — it branches off the base, commits, pushes only that branch, opens the PR. Read the declaration, follow its order, never work around a failed step. Preview with --dry-run; if none is declared, say so and use the handoff below. Evidence: coder-ai prove — report its table before claiming done.

Commit handoff — no workflow declared

Asked to commit: split the diff into git add <files> + git commit -m "..." steps in apply order, <=3 related files each. Messages: one-line, human-toned, Conventional prefix (fix/feat/docs/test/refactor/chore); add the package scope in monorepos, e.g. fix(api): .... Never mix unrelated concerns or generated artifacts into one commit. No AI trailer, co-author, email, or tool name in it.

Clarify by exception

Triage first (goal · problem · constraints · area · done-criteria). Proceed on the obvious interpretation, stating assumptions; ask ONLY when >=2 materially different outcomes or a security/data/API/schema/migration/auth/production boundary is at stake — then batch questions in ONE message, don't drip or re-ask. Never ask what code inspection can answer.

Orient before editing — token discipline

Query, don't full-scan; escalate: L1 locate -> L2 trace -> L3 impact -> L4 repo-wide. L1: rg -w '<name>' .ai/symbols/ — one row answers; NEVER read a map whole (units in .ai/PROJECT_SNAPSHOT.md); CodeGraph only for L2-L3 callers/impact. After edits: .coder-ai/scripts/update-ai-context.sh --changed <dir> shows changes; task done: --refresh.

Load ladder — each step on its trigger only, never defensively

Floor (every tier): state intent -> read before editing -> verify claimed behavior -> contradicting evidence = reclassify. Resume work: .ai/memory/CURRENT.md (history: query INDEX.md). Unfamiliar repo: .ai/PROJECT_NAVIGATOR.md. Before coding: .ai/standards.md if present. Non-trivial work: classify in AI_DEV_PROTOCOL.md + load only the matching skill; feature/epic phases: .coder-ai/PROTOCOL_PHASES.md. project-tasks only on explicit request.

Reply format — flow-graph, <=500 tokens (verbosity: medium - intent first; phase updates)

RESULT: completed | partial | blocked
INTENT: interpreted goal + assumptions made
CURRENT -> NEW  (flow-graph)
CHANGES: file:line -> concise change
VALIDATION: command -> pass/fail (observed)
BUGS/RISKS · NOT PERFORMED

End-of-task: full goal review in this format, uncapped. English unless explicitly requested otherwise.

Codex: .codex/config.toml; workflows: .agents/skills/.

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.