cost

Calculate token-level costs for sessions and campaigns from Claude Code files.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/mferris77/SpringBoard --skill cost-mferris77
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cost
Source: https://github.com/mferris77/SpringBoard/tree/main/vscode-citadel-harness/skills/cost
Command: npx skills add https://github.com/mferris77/SpringBoard --skill cost-mferris77

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Calculates and presents token-level costs for sessions and campaigns, enabling precise cost awareness and budgeting decisions.

Core Features & Use Cases

  • Real-time session cost and burn-rate reporting
  • Campaign attribution and per-campaign spend visibility
  • Historical summaries (today, week, all-time) to support budgeting and audits
  • Use Case: A product team traces costs to a specific feature testcase and evaluates cost-per-outcome

Quick Start

Run /cost to view the current session cost report.

Frequently Asked Questions about cost

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I track real-time token cost and burn rate for my current session?

Track real-time session cost and burn rate by running the /cost command, which reads Claude Code session files to calculate token-level costs for your current activity. It uses pricing references to present an immediate cost report.

How do I calculate historical token costs for today, the week, or all-time?

Calculate historical token costs for today, week, or all-time by analyzing Claude Code session files and campaign attribution data. The tool generates historical summaries to support budgeting and cost audits.

What happens to session cost tracking when real billing data is unavailable?

When real billing data is unavailable, session cost tracking applies estimated costs as a fallback. It uses scripts/pricing.json for pricing references to ensure continuous cost awareness and spend optimization.

Can I audit token spend and budget for specific feature testcases?

You can audit token spend and budget for specific feature testcases by tracing costs to individual campaigns or sessions. This per-campaign analysis evaluates cost-per-outcome and supports precise spend optimization.