Interactive scaffolder for AI coding harnesses. Creates project files and folders for Claude Code, Codex, or both. Project existing files are left unchanged.
brew install shawanga/tap/agent-initmkdir -p ~/.local/bin
cp agent-init.sh ~/.local/bin/agent-init
chmod +x ~/.local/bin/agent-initIf ~/.local/bin is not on your PATH:
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc
source ~/.zshrcThen run agent-init from any directory.
agent-init .
agent-init /your/directory/hereChoose where to create the harness files. Use . for the current directory and select as prompted:
- Harness — Claude Code, Codex, or both
- Components — comma-separated numbers,
7for everything, or8for a custom directory
| # | Component | Claude Code | Codex |
|---|---|---|---|
| 1 | Skills directory | .claude/skills/ |
.agents/skills/ |
| 2 | Agents directory | .claude/agents/ |
.codex/agents/ |
| 3 | MCP | .mcp.json |
.codex/config.toml |
| 4 | Settings | .claude/settings.json |
.codex/config.toml |
| 5 | Project instructions | CLAUDE.md |
AGENTS.md |
| 6 | Commands | .claude/commands/ |
.codex/commands/ |
| 7 | Everything | all of the above | all of the above |
| 8 | Custom directory | user-specified path | user-specified path |