agent-harness-docs
Installation
SKILL.md
agent-harness-docs
One source of truth, thin pointers everywhere else. Every coding-agent harness looks for
its own file (CLAUDE.md, .cursor/rules, opencode config, AGENTS.md), but you write the
guidance once in AGENTS.md and make every other file a one-line redirect. Duplicated
per-harness docs rot out of sync; a single AGENTS.md with pointers does not.
1. AGENTS.md is the canonical doc
AGENTS.md is the emerging cross-harness standard (Codex, Cursor, opencode, and others
read it natively). Put ALL real guidance here. Structure that works:
- Mental model — the one paragraph an agent needs to not misuse the tool.
- The interfaces — SDK / CLI / MCP, one line each.
- MCP tools table — tool name → when to call it.
- The task loop — the ordered steps an agent follows to do the main job (e.g. "wire tracking": list → check → setup → verify → dry-run → wire).
- Rules — the hard constraints (what never to do), stated as imperatives.