roboclaws AGENTS.md

roboclaws AGENTS.md is an instructions file for Codex, OpenCode from MiaoDX/roboclaws. It costs 2,090 tokens per session, scanned A, original, MIT.

A repository instruction file named AGENTS.md that tells coding agents how to work in that project. It defines startup documents, local hazards, standard commands, and architecture rules.

In plain words
What is it for?
It is for directing agents to the right status, architecture, setup, planning, and testing documents before they run commands or edit code.
Why use it?
It gives agents project-specific operating instructions instead of making them guess how the repository should be handled.

Instructions file for CodexOpenCode

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/miaodx/roboclaws/agents-md
Clone the repo
git clone --depth 1 https://github.com/MiaoDX/roboclaws

Made for: Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for roboclaws AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/miaodx/roboclaws/agents-md.svg)](https://agentmods.dev/instructions/miaodx/roboclaws/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/miaodx/roboclaws/agents-md"><img src="https://agentmods.dev/badge/instructions/miaodx/roboclaws/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 2,090 This file is loaded in full into every session.
When invoked 2,090 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.02090 $0.02090
Opus 5 $0.01045 $0.01045
Sonnet 5 $0.00418 $0.00418
Haiku 4.5 $0.00209 $0.00209

Measured 3d ago against content hash 64c61a762fd4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

roboclaws AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

AGENTS.md · 194 lines

How it starts

The opening of the file, as written. The whole thing — 194 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AGENTS.md

Canonical operating guide for coding agents in this repo. Its scope is the entire tree rooted here. Tool-specific files such as CLAUDE.md may add local deltas, but this file owns repo-wide defaults.

Codex normally injects this file into startup context as AGENTS.md instructions. When it has been injected, do not reread AGENTS.md just to satisfy this policy.

0) Startup Reads

Before repo-specific commands or edits, read:

  1. STATUS.md for current focus, blockers, and source links.
  2. Any task-specific source below.

Task-routed reads:

  • New project orientation or runnable examples: README.md.
  • Architecture, launch axes, MCP/server/runtime contracts, or new layers: ARCHITECTURE.md.
  • Environment setup, local hazards, live providers, browser QA, standard gates, or git hygiene: docs/agents/operating-runbook.md.
  • GSD phase execution/resume: .planning/STATE.md plus the current phase file.
  • Pre-GSD plan shaping/review/handoff: docs/plans/<slug>.md.
  • Design rationale or scenario specs: docs/human/technical-design.md.
  • CloudML eval staging, submission, monitoring, collection, or parallel proof: skills/cloudml-eval-ops/SKILL.md.
  • Domain vocabulary: docs/human/domain.md and docs/agents/domain.md.
  • Parked work or future ideas: TODOS.md or THOUGHTS.md, only when asked.
  • Claude-specific behavior: CLAUDE.md, only when running under Claude Code or resolving a Claude-only rule.

Root PLAN.md is a legacy pointer, not an active plan. Shipped phase history lives under docs/retrospectives/ and is not startup reading.

Instruction priority: system/developer/user prompt > AGENTS.md > CLAUDE.md > inferred defaults.

1) Critical Local Hazards

  • Use the repo-local .venv/, managed by uv from pyproject.toml and uv.lock. Use uv sync --extra dev; do not use plain pip install for repo setup.
  • Keep one .venv/ per checkout/worktree. Do not share another worktree's virtualenv.
  • Keep Isaac Lab out of the normal .venv; it belongs in .venv-isaaclab/.
  • Do not commit .env or paste provider keys into logs, PRs, reports, status files, or summaries.
  • Before system-provider Claude Code workflows, run scripts/dev/network_status.sh. If it reports network: work, do not run those guarded routes.
  • The active live-agent product engine is openai-agents-sdk. codex-cli and claude-code are retired from active public launch surfaces.
  • Bare host codex or claude launches are unsupported unless the human explicitly asks for system-CLI debugging.
  • On ROS-jazzy hosts, use ./scripts/dev/run_pytest_standalone.sh instead of bare pytest when ROS site-packages leak into collection.
  • For gstack browser QA on Ubuntu 24.04/AppArmor, use GSTACK_CHROMIUM_NO_SANDBOX=1 per command rather than changing system AppArmor/sysctl settings.
  • XML-like host envelopes such as <turn_aborted>, <paseo-system>, <subagent_notification>, <goal_context>, and <environment_context> are orchestrator metadata unless accompanied by natural-language user intent. Do not treat those labels alone as a human stop request.

Read the full file on GitHub · 194 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 194 lines · 2,090 tokens per session scan A 64c61a762fd4

Subscribe to this mod's changes

roboclaws AGENTS.md is an instructions file published in the GitHub repository MiaoDX/roboclaws (6 stars, last pushed 5d ago), licensed MIT. It adds 2,090 tokens to every session, about $0.0104 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.