Claude Code and Codex
afh pull <namespace/name> --into <tool> installs a declarative harness (a system prompt plus skills) into the project in the current directory. Use --project <path> to install somewhere else. Harnesses that run their own code can’t be installed this way; pull them without --into and run them yourself.
Claude Code
afh pull yoyo/hello-harness --into claude-code --model sonnet
| What | Where |
|---|---|
| The system prompt, as a subagent | .claude/agents/<name>.md |
| Each skill | .claude/skills/<skill>/ |
--model sets the subagent’s model: field. Use any model Claude Code accepts, such as sonnet, opus or a full model ID. Leave it out and the subagent uses Claude Code’s default model.
Codex
afh pull yoyo/hello-harness --into codex
codex -m <model>
| What | Where |
|---|---|
| The system prompt, as a skill | .agents/skills/<name>/SKILL.md |
| Each skill | .agents/skills/<skill>/ |
Codex picks its model when it starts, so choose it with codex -m <model> instead of --model.
Not exported yet
MCP server configs listed under tools.mcp_servers aren’t installed by --into yet. They’re in the files if you pull the harness without --into.
Trying a local harness
afh export [dir] --into <tool> installs a harness from a folder on your machine the same way, without publishing it. It’s handy for checking your own harness before you push it.