--agent to select another adapter.1span setup [hooks | skills | git | agents] [options]
--global uses your home directory and skips Git integration. See supported agents for adapter availability.| Command | Purpose |
| setup hooks | Install supported lifecycle callbacks. |
| setup skills | Install halfspan-share and halfspan-board. |
| setup git | Install Git post-commit integration. |
| setup agents | Install agent hooks and skills together. |
| Flag | Purpose |
--agent AGENT | Select a supported agent; claude aliases claude-code. Defaults to Claude Code and Codex. Unavailable with git. Use vercel-ai-sdk with hooks or no target. |
--cwd DIR | Project directory; defaults to the current directory. Cannot combine with --global. |
--global | Install user-level integrations in your home directory. Required for Kimi, Hermes, and OpenClaw hooks. Unavailable with git or Vercel AI SDK. |
--reasoning-summaries | Include available summary text on Stop for Claude Code and Codex hooks. Native hooks reject this option; configure summaryForStep in Vercel AI SDK applications instead. |
--help, -h | Print setup and removal help. |
123span setup span setup agents --cwd ./my-project span setup hooks --agent kimi --global