cost

Extract token usage, session costs, and campaign spend from Claude Code session data.

820|78|Updated Mar 20, 2026
One-click install
npx skills add https://github.com/SethGammon/Citadel --skill cost-sethgammon
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cost
Source: https://github.com/SethGammon/Citadel/tree/main/skills/cost
Command: npx skills add https://github.com/SethGammon/Citadel --skill cost-sethgammon

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Deep cost exploration and transparency. Shows real token usage, session costs, campaign spend, burn rates, and model breakdown. Reads Claude Code's native session data for exact numbers. Complements /dashboard with focused cost views.

Core Features & Use Cases

  • Reads real token data from Claude Code's session files and combines it with Citadel's campaign attribution to answer: how much did this cost, where did the money go, and is it worth it?
  • Breaks down costs by session, campaign, and model to show detailed spend.
  • Provides quick Start-ready reports for current, today, week, and all-time views.

Quick Start

Ask your agent to run /cost to view the current session cost, burn rate, and breakdown.

Frequently Asked Questions about cost

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

FAQPage Schema
How do I track token usage and session costs in Claude Code?

Track token usage and session costs in Claude Code by reading native session data and combining it with campaign attribution. This provides exact numbers for real-time spend, burn rates, and model breakdowns.

What's the best way to analyze campaign spend and burn rate?

Analyze campaign spend and burn rate by extracting session token data and applying pricing rules to render detailed reports. This breaks down costs by session, campaign, and model.

Can I view all-time token costs for my Claude Code sessions?

View all-time token costs for Claude Code sessions by querying historical session data. The system provides quick Start-ready reports for current, today, week, and all-time views.

Does the cost reporting work when planning telemetry files are missing?

Cost reporting works when planning telemetry files are missing by using fallback mechanisms. It specifies data sources like session-tokens.js and applies pricing rules to render accurate reports.

How do I break down Claude Code costs by model?

Break down Claude Code costs by model by extracting real token data from native session files. This combines session data with campaign attribution to show detailed spend distributions.