Skip to content
suit Harnesses
Login

Harnesses

Facts about the three harnesses suit knows, as written in a [harness NAME] stanza (see conf-format.md). Checked on 2026-11-12 against Claude Code 2.1.323 and Codex 0.166.0, both installed on this machine. pi is not installed here; its entries come from its published documentation.

Each path is marked one of:

Claude Code

[harness claude]
skills.user       = ~/.claude/skills
agents.user       = ~/.claude/agents
commands.user     = ~/.claude/commands
instructions.user = ~/.claude/CLAUDE.md
Key Status
skills.user verified: the folder on this machine holds skills Claude Code loads, and make live places a skill there under a scratch home and the model lists it
agents.user verified: the folder holds agent files (implementer.md, reviewer.md and others) that Claude Code lists as its agent types
commands.user verified: the folder exists on this machine and holds command files Claude Code offers as slash commands
instructions.user verified: make live places the file under a scratch home and the model repeats a marker from it

Codex

[harness codex]
skills.user       = ~/.codex/skills
commands.user     = ~/.codex/prompts
instructions.user = ~/.codex/AGENTS.md

Codex reads its home from CODEX_HOME, default ~/.codex (the binary carries that default and the variable name).

Key Status
skills.user verified: make live places a skill there under a scratch home and the model lists it; the folder on this machine holds skills Codex loads
instructions.user verified: make live places the file there and the model repeats a marker from it, and repeats the new marker after an edit with no suit command
commands.user from the first version's adapter (unverified). The folder exists on this machine and holds a file, but Codex 0.166.0 shows no sign of loading it: its binary names codex-home-skills, .agents/skills, .codex/agents and AGENTS.override.md, and no prompts folder. Custom prompts may be retired in this version. Treat as a guess until a Codex slash-command session shows the file loaded.
agents no agents.user is declared. The binary mentions .codex/agents, which is not checked here.

Codex also reads ~/.agents/skills (the binary calls it user-agent-skills). That is a second skills folder; suit does not use it.

pi

[harness pi]
skills.user       = ~/.pi/agent/skills
commands.user     = ~/.pi/agent/prompts
instructions.user = ~/.pi/agent/AGENTS.md

pi's folder is ~/.pi/agent, changeable with PI_CODING_AGENT_DIR.

Key Status
skills.user verified from the tool's documentation (the readme of the @mariozechner/pi-coding-agent package: "Place in ~/.pi/agent/skills/")
commands.user verified from the same readme, which calls these prompt templates: ~/.pi/agent/prompts/
instructions.user verified from the same readme: pi loads AGENTS.md (or CLAUDE.md) from ~/.pi/agent/AGENTS.md
agents pi has no folder for agents, so there is no agents.user key

Not run live. pi is not installed on this machine (the only pi on the PATH is a wrapper script from the cmux terminal, and no pi program exists outside it), and ~/.pi does not exist. To get live proof, install pi, then point it at the proxy through ~/.pi/agent/models.json (the readme says a provider that speaks the OpenAI or Anthropic API can be added there) and run pi -p PROMPT --no-session. Until then pi is at path-level proof only: the paths are documented, not exercised.

Adding a harness

Add a [harness NAME] stanza with the paths it reads. Nothing else changes: no code, no other file. A kind with no key in the stanza has no folder for that harness; suit skips those assets for it and reports each one as skipped, it does not fail and does not guess a path. record and event keys are there for harnesses that need them (see conf-format.md).

The live test

make live runs test/live.sh. It proves, with real harnesses and not fixtures, that what suit places is what the harness reads: an instruction file's marker comes back, a skill's marker shows in the harness's skill list, an edit made in the store with no suit command changes the answer, and after suit off the edit is gone. It does this for Claude Code and for Codex. All of it runs under a scratch HOME and a scratch working folder.

It is not part of make all or make ci. It needs the local proxy (cliproxyapi) listening on 127.0.0.1:8317, and it spends model calls: about six per harness, each with a tiny prompt. Every call asks for the model in SUIT_LIVE_MODEL (default deepseek/deepseek-v4.1-flash-1017). Claude Code reports which model answered and the test fails if it is not the one asked for. Codex does not report it, so the test prints the model asked for.

Non-interactive flags:

The shim pitfall: resolve every real program path before changing HOME. Under a scratch HOME, a version manager's shim for claude, perl or python cannot find its own state and starts installing tools. So the script saves the real claude and codex paths first and uses /usr/bin/perl and /usr/bin/python3. The timeout is perl's alarm, since macOS has no timeout.

Checked against the fixtures

test/fixtures/wear/suit.conf and the stanzas in test/live.sh match the blocks above. The one entry not verified is Codex's commands.user; the fixture keeps it because the wardrobe there has a command to place, and no evidence shows the path is wrong, only that it is unconfirmed. No path was changed.