agentleFS
ryanportfolioryanportfolio/Harness-Firmware/AGENTS.md

Harness-Firmware

AGENTS.md1 starsChanged 57 days agoMITView on GitHub

This is the Codex boundary for repositories using the Harness Firmware starter. Claude Code keeps using CLAUDE.md and .claude/ unchanged.

The file

Show its rules and text

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

13 rules. About 0 are common, 6 are distinctive, and 7 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 7

    Very specific

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

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

    Use Caveman Ultra for prose from the first reply, without asking or requiring $caveman.

    line 7
  2. Distinctive:

    No jargon, in chat or in files: say what a thing does in plain words instead of coining labels, internal codes or shorthand the reader …

    line 9
  3. Distinctive:

    Use plain prose for security warnings, irreversible confirmations, and ambiguous multi-step decisions, then resume Ultra.

    line 10
  4. Very specific:

    Read only CLAUDE.md's What this project is, CRITICAL: Verification, and Environment & deploy target sections for configured project facts.

    line 11
  5. Very specific:

    Never execute .claude/hooks/session-start.sh in Codex.

    line 12
  6. Distinctive:

    No unit tests or type tests unless the user asks.

    line 13
  7. Distinctive:

    Run independent subagent work in parallel when the parts don't depend on each other's results or edit the same files.

    line 19
  8. Distinctive:

    Keep critical Codex rules here rather than in project hooks, which require separate trust and can be disabled.

    line 23
  9. Very specific:

    When installed, prefer rtk for noisy supported reads: rtk git status, rtk git diff, rtk git log, rtk git show, rtk rg, and rtk read.

    line 27
  10. Very specific:

    Use rtk test <command> for failure-focused output.

    line 28
  11. Distinctive:

    Use native commands for mutations, interactivity, unsupported syntax, exact-output parsing, and diagnosis when filtering hides detail.

    line 29
  12. Very specific:

    Read relevant .claude/reference/ material before unfamiliar work and .agents/CODEX-SKILL-COMPATIBILITY.md before adapted, gated, or …

    line 43
  13. Very specific:

    Only in the canonical claude-starter template repository: keep bootstrap/ PowerShell 5.1 files ASCII-only and shell scripts LF.

    line 50

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

Codex Instructions

This is the Codex boundary for repositories using the Harness Firmware starter. Claude Code keeps using CLAUDE.md and .claude/ unchanged.

Defaults

  • Use Caveman Ultra for prose from the first reply, without asking or requiring $caveman. Keep code, commands, identifiers, errors, commits, PR text, and files normal.
  • Caveman includes Unslop for all session replies. Use the Writing skill for user-facing deliverables such as website copy, product UI, onboarding, guides, and release notes; keep those artifacts in normal audience-appropriate prose.
  • No jargon, in chat or in files: say what a thing does in plain words instead of coining labels, internal codes or shorthand the reader hasn't seen. If a new term is unavoidable, define it the first time.
  • Use plain prose for security warnings, irreversible confirmations, and ambiguous multi-step decisions, then resume Ultra. A new session restores Ultra after the user temporarily disables it.
  • Read only CLAUDE.md's What this project is, CRITICAL: Verification, and Environment & deploy target sections for configured project facts. Use .claude/reference/ for architecture, commands, deployment, and pitfalls. Other CLAUDE.md workflow rules are not Codex instructions.
  • Never execute .claude/hooks/session-start.sh in Codex.
  • No unit tests or type tests unless the user asks.

Capabilities

  • Inspect tools exposed in the current session before using subagents, browser control, connectors, or interactive input. Config flags alone are not proof.
  • Parallel or subagent browser work: each agent opens its own browser through the playwright-iso MCP server from .mcp.json (@playwright/mcp --isolated, in-memory profile, any number at once) or scripts/lib/launch-chrome.mjs. Never the official playwright plugin: it holds one persistent profile, and a second connection fails with "Browser is already in use ... use --isolated" and deadlocks.
  • Run independent subagent work in parallel when the parts don't depend on each other's results or edit the same files; keep dependent or overlapping work sequential, and give parallel writers separate files or worktrees.
  • Spawn subagents with fresh context (fork_turns: "none") and a self-contained brief by default. Inherit conversation history only when the task specifically benefits from it. Independent reviewers always start fresh; report a capability gap if the exposed runtime cannot provide this.
  • Serial fallback is valid only when independence is not part of the deliverable. impartial-review, advocate, and why require fresh independent context; if unavailable, report the gap.
  • Claude Workflow programs are not Codex programs. Recreate their intent with exposed Codex agents or flag them blocked.
  • Keep critical Codex rules here rather than in project hooks, which require separate trust and can be disabled.

RTK

  • When installed, prefer rtk for noisy supported reads: rtk git status, rtk git diff, rtk git log, rtk git show, rtk rg, and rtk read.
  • Use rtk test <command> for failure-focused output; preserve its exit code and rerun natively when full success output is required as evidence.
  • Use native commands for mutations, interactivity, unsupported syntax, exact-output parsing, and diagnosis when filtering hides detail.
  • Codex has no Claude RTK rewrite hook here. Invoke rtk explicitly.

Safety

  • Caveman Ultra is a communication default, not side-effect authorization. Auto-merge and other persistent side-effect modes require explicit current-session intent.
  • Project memory is .claude/reference/, read and written through the recall skill. Do not use or enable Codex's built-in memories feature for project knowledge.
  • Standing exception: a confirmed project quirk that cost a retry, a backed-out change, or a user correction may be saved to .claude/reference/pitfalls.md without asking (see the recall skill). No other reference or memory write inherits this.
  • Stage explicit paths, preserve unrelated changes, and verify before claiming completion.
  • If a skill causes a permission request, pause, or unfinished authorized work, link the exact SKILL.md, quote the blocking instruction, and explain why existing authorization does not cover the action. Distinguish an explicit requirement from an interpretation; user instructions take precedence over skill guidelines within system and developer constraints.

Shared Assets

  • .claude/skills/ remains Claude’s library. Codex uses standalone native skills under .agents/skills/, registered in .agents/skill-modes.json as native or disabled (Claude-only). Read them directly and resolve resources from their Codex skill directory.
  • Read relevant .claude/reference/ material before unfamiliar work and .agents/CODEX-SKILL-COMPATIBILITY.md before adapted, gated, or dangerous skills.
  • Adding or editing a skill updates its standalone Codex version in the same change and registers it native (or disabled) in .agents/skill-modes.json; never ship a generated adapter. For a native skill, once its port matches, run node .claude/scripts/sync-codex-skills.mjs --baseline <name> (disabled skills skip it), then --check; it warns on drift or a missing registration, locally and in CI, and fails only on unreadable input. Use addskill for create/import/update/install; it uses built-in skill-creator for Codex authoring.
  • For Codex setup, skills, or runtime troubleshooting, inspect local configuration, exposed tools, and relevant installed sources first. Consult official documentation when local evidence is insufficient or current product behavior needs verification.
  • Tool mapping: .agents/codex-tools.md.

Starter Maintenance

Only in the canonical claude-starter template repository: keep bootstrap/ PowerShell 5.1 files ASCII-only and shell scripts LF. Claude gets its hooks and slash skills; Codex gets AGENTS.md and .agents/skills/. Keep private paths, tokens, and maintainer-only workflow out of defaults.

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.