/interstat:interstat-costfrom interstat
Show API-equivalent cost analysis with model-specific pricing, context-per-turn, and completed-task cost
Ships in interstat. 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.
Calculate API-equivalent costs from interstat token data using model-specific Anthropic and OpenAI pricing.
Invoke when the user wants to:
Arguments:
0 for all-time.--json for machine-readable output--completed-tasks N, the verified completions in the same windowcd ${CLAUDE_PLUGIN_ROOT} && uv run --frozen scripts/analyze.py >/dev/null 2>&1 before the report (idempotent; ~30-60s over a month of transcripts). This also backfills exact per-request cost needed for conditional pricing. For the live lane split across Claude Code and Codex transcripts, run uv run --frozen scripts/profile.py --days $DAYS [--completed-tasks N].DAYS="${args:-30}"
if [ "$DAYS" = "0" ]; then DAYS_FLAG="--days 0"; else DAYS_FLAG="--days $DAYS"; fi
cd ${CLAUDE_PLUGIN_ROOT} && uv run --frozen scripts/cost.py $DAYS_FLAG --subscription 600 [--completed-tasks N]
Note: --subscription 600 assumes 3x Claude Max ($200 each). Adjust if the user specifies differently.--json is in args, add --format json to the command./interstat:analyze first.gpt-6-astra uses $10/M input, $1/M cached input, $12.50/M cache writes, and $50/M output. When a single request exceeds 272K input/context tokens, price the entire request at 2x input/cache rates and 1.5x output. Interstat computes this per unique assistant response before aggregating a session; applying the threshold after session aggregation is incorrect. Legacy rows without exact cost use base rates until analyze.py backfills them.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
4 skills in this plugin
interstat@interagency-marketplace is listed by mistakeknot/interagency-marketplace — review the source before installing
npx claudepluginhub mistakeknot/interagency-marketplace --plugin interstat