Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.

setup

Install integrations in a project or your home directory. With no target, setup manages hooks and skills for Claude Code and Codex, plus Git integration when a Git repository is available. Use --agent to select another adapter.

Usage

span setup [hooks | skills | git | agents] [options]
Coding-agent integrations use the Git root when available. --global uses your home directory and skips Git integration. See supported agents for adapter availability.

Subcommands

CommandPurpose
setup hooksInstall supported lifecycle callbacks.
setup skillsInstall halfspan-share and halfspan-board.
setup gitInstall Git post-commit integration.
setup agentsInstall agent hooks and skills together.

Options

FlagPurpose
--agent AGENTSelect 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 DIRProject directory; defaults to the current directory. Cannot combine with --global.
--globalInstall user-level integrations in your home directory. Required for Kimi, Hermes, and OpenClaw hooks. Unavailable with git or Vercel AI SDK.
--reasoning-summariesInclude 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, -hPrint setup and removal help.
Automatic CLI uploads use your saved login session. Run login before launching the agent, or configure a workspace API key for automation. Server-side SDK integrations use ingest credentials in their server environment.

Examples

span setup span setup agents --cwd ./my-project span setup hooks --agent kimi --global