/polytropos:setupfrom polytropos
Install the polytropos statusline (current model, live session cost, context usage, rate-limit burn) into the user's Claude Code settings. Use when the user asks to set up or enable the cost statusline.
Ships in polytropos. 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.
Read when SKILL.md points to them.
Wire bin/statusline.py (in this plugin) into the user's ~/.claude/settings.json as the statusLine command. This edits user-level settings, so get explicit confirmation before writing.
<abs-path> — the absolute path to this plugin's bin directory — from
${CLAUDE_PLUGIN_ROOT}/bin, the env var Claude Code sets for plugin-executed content; if it is
unset, fall back to resolving ../../bin relative to this SKILL.md to an absolute path. Verify
the script exists and runs:
echo '{"model":{"id":"claude-fable-5","display_name":"Fable 5"},"cost":{"total_cost_usd":1.23},"context_window":{"used_percentage":42},"rate_limits":{"five_hour":{"used_percentage":12},"seven_day":{"used_percentage":34}}}' | python3 <abs-path>/statusline.py
Expected output shape: model | cost | ctx | 5h 12% · 7d 34% — this exercises the rate-limit
rendering the skill's description promises.~/.claude/settings.json. If a statusLine key already exists, show the user their current value and warn that proceeding replaces it.~/.claude/settings.json must be a literal absolute path — never ${CLAUDE_PLUGIN_ROOT} —
because this statusline command runs outside plugin context, where that variable is not set:
"statusLine": {
"type": "command",
"command": "python3 <abs-path>/statusline.py"
}
bin/kit_verify_hook.py hook is a PostToolUse command hook that blocks a .claude/kits/<slug>/TASKS.md task's - status: line from being edited to done unless a verify-pass marker already exists for that task (PLAN D3/D10 of the graph-convergence kit — the marker is written only by bin/kit_verify_hook.py record, itself called only from the actual verify path). It never dispatches a real claude/copilot/codex CLI, never writes outside the kit-local, gitignored .claude/kits/<slug>/verify-pass/ directory, and this skill NEVER installs it without an explicit, separate confirmation from the statusline step above.
<abs-path> the same way as the statusline step (${CLAUDE_PLUGIN_ROOT}/bin, falling back to ../../bin relative to this SKILL.md, resolved to an absolute path). Verify the script loads:
python3 <abs-path>/kit_verify_hook.py --help
~/.claude/settings.json. If a hooks.PostToolUse array already exists, show the user its current matcher groups and explain that this step ADDS a new matcher group to that array rather than replacing anything.~/.claude/settings.json must be a literal absolute path — never ${CLAUDE_PLUGIN_ROOT} — because it runs outside plugin context:
{
"hooks": {
"PostToolUse": [
{
"matcher": "Edit",
"hooks": [
{
"type": "command",
"command": "python3 <abs-path>/kit_verify_hook.py hook"
}
]
}
]
}
}
Merge this matcher group into any existing hooks object; preserve every other event, matcher, and top-level key already present in the file.Edit tool — the tool this repo's own skills and drivers actually use to flip a single - status: line — and is a silent no-op on every other file, tool, or edit, because Claude Code's PostToolUse payload for a Write rewrite carries only the new file content, never the old; a done flip performed via Write instead of Edit is therefore NOT enforced by this hook. Hook configuration loads at session start, so tell the user this change needs a restart (or new session) before it takes effect, and that claude --debug confirms the hook registered. Read references/kit-verify-hook.md before telling the user what a marker proves — what precheck freshness and the verify-command match add, and the three things it still cannot prove.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub agentmc15/polytropos --plugin polytropos17 skills in this plugin
/architectPlan a complex task once on the frontier tier (Fable 5.1 today) and write the execution kit — PLAN.md, TASKS.md, GUARDRAILS.md, and model-pinned agents — that a cheaper model then executes at near-Fable quality. Use when the user says "plan this with Fable", "architect this", "review this codebase", or escalates a complex task. Not for running a kit; that is /polytropos:execute./assess-improvementAssess an existing repository for a small, evidence-backed improvement opportunity and produce a scoped findings report and handoff briefs. Use when the user asks where a codebase could be improved, wants an evidence-driven improvement plan, or wants a harness or runtime ecosystem assessed — including multi-harness Polytropos assessments. Not for implementing, activating, enabling providers, or promoting a policy change./Other plugins' skills for the same job