/agent-statusline:setupfrom 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.
Ships in agent-statusline. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole 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.
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.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub alleneubank/agent-statusline --plugin agent-statusline