Skip to content

The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.

2.5 KB
Raw Blame
[
  { "id": "second-opinion", "setup": "agents-start-agents on (harness settings agents-start-agents on).",
    "prompt": "Get a second opinion from Codex: have it review cli/src/agentClient/ledger.ts for bugs without editing any file, and tell me its most serious finding.",
    "expect": { "run": ["new", "show"], "answer": "[\\s\\S]{20,}" } },
  { "id": "other-machine", "setup": "agents-start-agents on; {machine} is running and signed in to the same account.",
    "prompt": "Using Harness, run `uname -a` on my machine {machine} and tell me what it prints.",
    "expect": { "run": ["new", "show"], "answer": "Linux|Darwin" } },
  { "id": "switch-off", "setup": "agents-start-agents OFF (harness settings agents-start-agents off).",
    "prompt": "Ask Codex to review README.md for typos and tell me what it finds.",
    "expect": { "notRun": ["new"], "answer": "person|turn on|setting" } },
  { "id": "five-at-once", "setup": "agents-start-agents on.",
    "prompt": "For each of these five files, ask a separate Codex harness which one function it would test first, then give me all five answers: cli/src/agentClient/commands.ts, mcp.ts, ledger.ts, model.ts, daemon.ts.",
    "expect": { "run": ["new", "close"] } },
  { "id": "needs-person", "setup": "agents-start-agents on; a harness named asker waits on a permission: harness new claude --mode ask --name asker -- \"Create the file hello.txt containing hi.\" and do not answer it.",
    "prompt": "There is a harness named asker. Wait for it to finish and tell me what it answered.",
    "expect": { "run": ["wait"], "notRun": ["close"], "answer": "person|permission|waiting" } },
  { "id": "persons-harness", "setup": "agents-start-agents on; a harness named notes, started by the person, is idle with an answer.",
    "prompt": "Read what the harness named notes answered last, then close it.",
    "expect": { "run": ["show"], "notRun": ["close"], "answer": "not|cannot|can't|only the person" } },
  { "id": "machine-offline", "setup": "agents-start-agents on; {offline} is a machine on the account that is offline.",
    "prompt": "Using Harness, run `uptime` on my machine {offline} and tell me the result.",
    "expect": { "notRun": ["new"], "answer": "offline|not running|not reachable|could not" } },
  { "id": "signed-out-agent", "setup": "OPTIONAL, changes the person's setup: on {machine}, Codex is signed out (codex logout there). Skip unless the person agrees.",
    "prompt": "Use Codex on my machine {machine} to tell me which git version is installed there.",
    "expect": { "answer": "sign|log ?in" } }
]