/ai-literacy-superpowers:cost-trackingfrom ai-literacy-superpowers
Captures and tracks AI tool costs, reviews spending trends, sets budgets, and integrates cost data into health snapshots and model routing decisions.
Ships in ai-literacy-superpowers. 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.
Capture, record, and track AI tool costs over time. Cost data feeds into health snapshots and informs model routing decisions.
This skill does not access billing APIs directly — it guides the user through checking their provider dashboards and recording the data in a structured format that the plugin can read.
Without cost data:
With cost data:
This skill owns two actuals formats under observability/costs/:
/cost-capture.cost-estimator as a kind: calibration source. It lives under
observability/costs/per-pr/ and is defined in
references/per-pr-actuals-format.md.
The two never share a file or directory.Cost data is captured in observability/costs/YYYY-MM-DD-costs.md.
Each file records one capture session (typically quarterly).
# Cost Snapshot — YYYY-MM-DD
## Provider Spend
| Provider | Period | Spend | Tokens (input) | Tokens (output) |
| --- | --- | --- | --- | --- |
| Anthropic | YYYY-MM to YYYY-MM | $X,XXX | XXM | XXM |
| OpenAI | YYYY-MM to YYYY-MM | $X,XXX | XXM | XXM |
## Model Breakdown (if available)
| Model | Tokens (input) | Tokens (output) | Estimated cost |
| --- | --- | --- | --- |
| claude-sonnet-4 | XXM | XXM | $XXX |
| claude-opus-4 | XXM | XXM | $XXX |
| claude-haiku-4 | XXM | XXM | $XXX |
## Per-Project Estimate
| Project/Repo | Estimated share | Rationale |
| --- | --- | --- |
| ai-literacy-superpowers | XX% | Primary development repo |
| ai-literacy-exemplar | XX% | Secondary, used for testing |
## Observations
- [Any patterns noticed — cost spikes, model tier shifts, etc.]
- Cost-estimate grounding: grounds | proxied (<absent tier(s)>) | omitted (no estimating-tier family) | omitted (no per-model breakdown)
## Budget Status
- Monthly budget: $X,XXX (or "not set")
- Current monthly average: $X,XXX
- Trend: increasing / stable / decreasing
- Action needed: yes / no
cost-estimation siblingA captured snapshot's Model Breakdown coverage determines whether the
prospective cost-estimation sibling can ground a dollar figure. The
estimator binds its routing tiers to model families by stem
(claude-opus-4 → Most capable, claude-sonnet-4 → Standard; see the
cost-estimation binding table). So:
claude-haiku-4 row — a valid
breakdown entry, but Haiku is not an estimating tier) means estimates
omit cost; and a snapshot with no Model Breakdown at all omits for a
structural reason./cost-capture reports which of these applies at capture time and records
it in the Cost-estimate grounding: Observations line above, so the gap is
visible when a human can act on it — not discovered estimate-by-estimate.
Guide the user to their billing pages:
Anthropic:
Check your usage at: https://console.anthropic.com/settings/billing
Look for: monthly spend, token usage by model, usage over time
OpenAI:
Check your usage at: https://platform.openai.com/usage
Look for: monthly spend, model breakdown, daily usage chart
Other providers: Ask the user where to find their billing data.
Create observability/costs/YYYY-MM-DD-costs.md using the format
above. Ask the user for each field:
If a previous cost snapshot exists in observability/costs/, read it
and compute:
If the cost data reveals patterns that should change routing:
Update the Sovereignty Considerations section with observed data.
The next /harness-health run will read the latest cost snapshot
and populate the Cost Indicators section. The skill does not update
the snapshot directly — it produces the cost data file that the
snapshot reads.
mkdir -p observability/costs
git add observability/costs/YYYY-MM-DD-costs.md MODEL_ROUTING.md
git commit -m "Cost snapshot: YYYY-MM-DD ($X,XXX monthly average)"
Quarterly, aligned with the assessment cadence. The recommended workflow:
/assess (quarterly)/cost-capture (same session or same week)/harness-health (reads both)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
cost-tracking, ai-costs, budget-tracking, spending-trends, cost-capture
npx claudepluginhub habitat-thinking/ai-literacy-superpowers --plugin ai-literacy-superpowers41 skills in this plugin
/advocatus-diaboliUse when acting as the adversarial spec reviewer — raises steel-manned objections across six categories before plan approval, requires evidence per objection, and discloses what was not challenged/ai-literacy-assessmentThis skill should be used when the user asks to "assess AI literacy", "run an assessment", "check literacy level", "evaluate our AI collaboration", "where are we on the framework", or wants to determine their team's AI literacy level using the ALCI instrument./auto-enforcer-actionUse when setting up automatic PR constraint enforcement via GitHub Actions — covers the advisory-vs-blocking split, workflow installation, configuration options, and reading the output/carpaccioUse when acting as the cadence governor — slices a raw task description into thin, end-to-end-complete pieces before any spec is written; produces a structured slicing record for human disposition; runs at orchestrator step 0/choice-cartographerUse when acting as the decision-archaeology agent — surfaces decisions a spec has made (including the silent ones), emits each material choice as a Henney-style pattern story for human disposition, and pays down intent debt before plan approval/codaUse when closing an agentic session deliberately rather than by attrition — carries the four-step ritual (survey, park, closure summary and reflection, close), the anchor grammar behind the next-action question, the evidence for why a specific written plan releases an unfinished thread, and the anti-patterns that would turn a closing ritual into a gate on the person2 plugins ship this exact skill · first indexed Jul 17, 2026
Other plugins' skills for the same job