Set up coding agents
Install Supaterm's agent skill and set up Claude or Codex hooks.
Supaterm tracks Claude, Codex, and Pi when they run inside its panes. Basic activity works without hook setup when Supaterm can identify the foreground agent. This terminal-only state is temporary and read-only. It does not create notifications or session actions.
Claude and Codex hooks add session identity and workspace data. Pi uses terminal detection only and needs no managed integration.
Before you begin
Install the agent and make sure its executable is available from your login shell. The native Codex integration requires version 0.144.1 or newer.
Set up from the command line
Set up the skill and both managed hook integrations:
sp agent setup
Supaterm copies the skill to ~/.agents/skills/supaterm and links
~/.claude/skills/supaterm to that shared copy. It then sets up each installed agent. The command
prints progress for the skill, Claude, and Codex. It is safe to run again.
To install or refresh only the skill, run:
sp skills install
Enable Claude or Codex hooks
Open Supaterm > Settings > Coding Agents and turn on the agent. Supaterm installs the skill before it enables the selected agent. It reports whether the integration is unavailable, incomplete, changed from its managed configuration, or healthy.
- Claude installs managed hooks in
~/.claude/settings.json. - Codex enables supported hooks, writes
~/.codex/hooks.json, and registers the required trust through Codex’s public app-server API.
Supaterm preserves unrelated settings in those files. Turning an integration off removes only Supaterm-managed configuration.

Setup installs the Claude and Codex hook bridges. It also adds these defaults:
{
"terminalProgressBarEnabled": true
}
Supaterm adds terminalProgressBarEnabled to ~/.claude/settings.json.
[tui]
terminal_title = ["activity", "thread-title", "task-progress"]
Supaterm adds tui.terminal_title to ~/.codex/config.toml. It writes each default only when the
key is absent, so existing values stay unchanged. The command prints progress for each agent and is
safe to run again.
Update existing scripts
Replace per-agent hook commands with the aggregate commands:
| Previous command | Replacement |
|---|---|
sp agent install-hooks |
sp agent setup |
sp agent install-hook claude |
sp agent setup |
sp agent install-hook codex |
sp agent setup |
sp agent remove-hook claude |
sp agent remove-hooks |
sp agent remove-hook codex |
sp agent remove-hooks |
For detection troubleshooting, replace sp agent explain with sp diagnostic --json for the
current pane and sp ls --json for pane status across the live tree. Detailed rule evaluation is
no longer part of the public CLI.
Verify
Start the agent inside Supaterm and begin a task. Claude and Codex can show Working, Done, or Needs input. Pi shows Working when Supaterm can match its terminal state. If no status appears, see troubleshooting.