From agent-statusline
Install, configure, or debug the agent-statusline renderer and its Codex CLI / Claude Code activity hooks. Use when a user asks to set up the shared statusline, install the plugin, wire statusLine/custom_status_line, or verify prompt/idle activity markers.
How this skill is triggered — by the user, by Claude, or both
Slash command
/agent-statusline:setupThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill to set up the Zig renderer plus the activity hooks that keep prompt and idle timestamps accurate without changing Codex CLI or Claude Code.
Use this skill to set up the Zig renderer plus the activity hooks that keep prompt and idle timestamps accurate without changing Codex CLI or Claude Code.
zig build -Doptimize=ReleaseFast
pwd
ls -l zig-out/bin/statusline
Claude Code:
{
"statusLine": {
"type": "command",
"command": "/absolute/path/to/zig-out/bin/statusline"
}
}
Codex CLI:
[tui.custom_status_line]
type = "command"
command = "/absolute/path/to/zig-out/bin/statusline"
agent-statusline plugin for the target CLI. The plugin must be able to run the same binary through one of these routes:AGENT_STATUSLINE_BIN=/absolute/path/to/zig-out/bin/statuslinestatusline available on PATHplugins/agent-statusline can reach ../../zig-out/bin/statuslineprintf '{"session_id":"setup-check","hook_event_name":"UserPromptSubmit"}' \
| AGENT_STATUSLINE_BIN=/absolute/path/to/zig-out/bin/statusline \
sh plugins/agent-statusline/hooks/statusline-activity-hook.sh UserPromptSubmit
printf '{"session_id":"setup-check","workspace":{"current_dir":"."},"model":{"display_name":"Codex"}}' \
| /absolute/path/to/zig-out/bin/statusline
printf '{"session_id":"setup-check","hook_event_name":"Stop"}' \
| AGENT_STATUSLINE_BIN=/absolute/path/to/zig-out/bin/statusline \
sh plugins/agent-statusline/hooks/statusline-activity-hook.sh Stop
The first render after UserPromptSubmit should show the prompt emoji. The render after Stop should show the sleep emoji.
codex plugin list shows the installed cache version. When the repo-local
plugin source changes, refresh the cache with:
codex plugin add agent-statusline@agent-statusline
If the old version remains installed, remove and reinstall:
codex plugin remove agent-statusline@agent-statusline
codex plugin add agent-statusline@agent-statusline
For local-only iteration, prefer a Codex cachebuster build suffix on the plugin
manifest version, such as 0.2.2+codex.local-YYYYMMDD-HHMMSS, instead of
bumping the release semver for every edit.
STATUSLINE_STATE_DIR, XDG_STATE_HOME/agent-statusline, or ~/.local/state/agent-statusline.{} and exits 0 when it cannot find the binary.STATUSLINE_DEBUG=1 or STATUSLINE_DEBUG_LOG=/absolute/path.log only when inspecting renderer behavior.STATUSLINE_HOOK_DEBUG=1 or STATUSLINE_HOOK_DEBUG_LOG=/absolute/path.log only when inspecting hook wrapper behavior.Guides collaborative design exploration before implementation: explores context, asks clarifying questions, proposes approaches, and writes a design doc for user approval.
Creates structured, bite-sized implementation plans from specs or requirements before writing code. Useful for breaking down multi-step tasks into testable steps with file structure and task boundaries.
Synthesizes the current conversation into a structured spec (PRD) and publishes it to the project issue tracker with a ready-for-agent label, without interviewing the user.
npx claudepluginhub alleneubank/agent-statusline --plugin agent-statusline