From co2-status-line
Configure the CO2 status line in your Claude Code settings. Run this after installing the plugin.
How this skill is triggered — by the user, by Claude, or both
Slash command
/co2-status-line:setupThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
<objective>
Step 1 — Read current settings:
CLAUDE_DIR="${CLAUDE_CONFIG_DIR:-$HOME/.claude}"
cat "${CLAUDE_DIR}/settings.json" 2>/dev/null || echo "{}"
Check if statusLine is already configured.
Step 2 — Determine setup mode:
If NO existing statusLine (or it already points to co2-status-line):
If an existing statusLine IS configured (and it's not co2-status-line):
Step 3 — Build the command:
Base command (no wrapping):
node "${CLAUDE_PLUGIN_ROOT}/src/statusline.js"
With wrapping (use their existing command):
node "${CLAUDE_PLUGIN_ROOT}/src/statusline.js" --wrap '<their existing command>'
Step 4 — Update settings.json:
Use Edit to update the statusLine key in ~/.claude/settings.json:
{
"statusLine": {
"type": "command",
"command": "<built command from step 3>"
}
}
Step 5 — Confirm:
CO2 Status Line configured.
Restart Claude Code to activate.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub stuartshields/claude-co2-status-line --plugin co2-status-line