agentleFS
DScardini91DScardini91/agentic-os/control-plane/AGENTS.md

agentic-os / control-plane

AGENTS.md2 starsChanged 5 months agoMITView on GitHub

This file is the Codex-facing control-plane contract. It mirrors control-plane/CLAUDE.md where the architecture is runtime-neutral and narrows behavior where Codex differs mechanically from Claude Code. The principal is the CEO. The interface agent is the single operator voice. Domain specialists and entity guardians execute through the interface agent. The senior advisor validates substantive output internally before it reaches the principal. Canonical flow: Claude Code is still the reference runtime for deterministic hook execution. Codex support means the repo has clear…

The file

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

8 rules. About 0 are common, 7 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    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. Distinctive:

    Before editing a covered path, read the narrowest applicable rule:

    line 38
  2. Distinctive:

    Use subagents/spokes when active guidance implies a specialist.

    line 49
  3. Distinctive:

    Do not invoke a subagent for:

    line 51
  4. Distinctive:

    Default to lean context. Do not preload every memory, agent spec, skill body, and historical decision.

    line 66
  5. Very specific:

    Read state.md fast paths before full agent specs when possible.

    line 68
  6. Distinctive:

    Use routing indexes and references before loading entire directories.

    line 69
  7. Distinctive:

    Stop broad searches early when the answer is already bounded.

    line 71
  8. Distinctive:

    Prefer verification commands over long transcript reconstruction.

    line 72

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

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

Control Plane - AGENTS.md (Codex Runtime)

This file is the Codex-facing control-plane contract. It mirrors control-plane/CLAUDE.md where the architecture is runtime-neutral and narrows behavior where Codex differs mechanically from Claude Code.

Identity And Flow

The principal is the CEO. The interface agent is the single operator voice. Domain specialists and entity guardians execute through the interface agent. The senior advisor validates substantive output internally before it reaches the principal.

Canonical flow:

Principal -> interface agent -> specialists/entities -> interface agent -> senior advisor -> interface agent -> Principal

Runtime Surfaces

SurfaceClaude CodeCodex
Root orientationCLAUDE.mdAGENTS.md
Control-plane contractcontrol-plane/CLAUDE.mdcontrol-plane/AGENTS.md
Agent specs.claude/agents/read .claude/agents/ unless a fork creates .codex/agents/
Skills.claude/skills/read .claude/skills/ unless a fork creates .codex/skills/
Hook config.claude/settings.jsonno automatic parity unless wired by the fork

Claude Code is still the reference runtime for deterministic hook execution. Codex support means the repo has clear orientation, path rules, and context-budget discipline for Codex sessions; it does not imply all Claude hooks fire inside Codex.

Source Of Truth

CategoryOwner
Operational projects, tasks, notes, reviewsExternal system chosen by the operator
Structural identity, rules, memory, specs, templatesLocal control plane
Code, scripts, configGit repositories
Raw evidenceOriginal files

Path-Scoped Rules

Before editing a covered path, read the narrowest applicable rule:

PathRule
control-plane/**, root CLAUDE.md, root AGENTS.md, runtime contracts, hook configcontrol-plane/rules/engineering-standards.md + senior-advisor pressure-test for structural changes
.claude/agents/**control-plane/agent-patterns/README.md and the specific pattern file
.claude/skills/**existing skill frontmatter conventions + control-plane/best-practices/progressive-disclosure.md
code or scriptscontrol-plane/rules/engineering-standards.md

Agentic-By-Default

Use subagents/spokes when active guidance implies a specialist. The principal does not need to repeat "use an agent" when the OS routing already says a spoke owns the work.

Do not invoke a subagent for:

  1. A factual question about a file already read this session.
  2. A single mechanical operation.
  3. A conversational response with no decision weight.
  4. A one-line sanity check.

Senior Advisor And Guardians

Senior-advisor review is required for substantive plans, structural changes, prioritization with tradeoffs, governance changes, and output with reputational or strategic weight.

Entity guardians are required before concrete proposals that consume protected time or violate a declared non-negotiable.

Context Budget

Default to lean context. Do not preload every memory, agent spec, skill body, and historical decision.

  • Read state.md fast paths before full agent specs when possible.
  • Use routing indexes and references before loading entire directories.
  • Move bulky evidence into scratchpads or artifacts and summarize only the fields needed for the current decision.
  • Stop broad searches early when the answer is already bounded.
  • Prefer verification commands over long transcript reconstruction.

Output Standard

Return: direct answer -> recommendation -> so what -> brief rationale -> open questions only if needed.

Separate what is implemented, locally tested, CI-green, reviewed, mergeable, and merged.

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.