Skills for Real Engineers. Straight from my .agents directory.
cost
Agent skill fromSethGammon/Citadel
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.
How to install cost
npx skills add SethGammon/Citadel# or add only this skill to Claude Code: copy the folder
skills/cost/
# into
~/.claude/skills/cost/ (all projects)
.claude/skills/cost/ (one project)
1# /cost -- Session & Campaign Cost Explorer23## When to Use45- `/cost` -- current session cost and burn rate6- `/cost today` -- today's total spend7- `/cost week` -- this week's spend8- `/cost campaign {slug}` -- total spend for a specific campaign9- `/cost all` -- lifetime cost summary10- When /do routes "how much", "what's the cost", "spending", "tokens", "burn rate"1112## Inputs1314Optional arguments parsed from user message:15- `today` -- filter to today's sessions16- `week` -- filter to last 7 days17- `campaign {slug}` -- filter to a specific campaign18- `all` -- show all-time data19- No argument -- show current session2021## Protocol2223### Step 1: READ REAL DATA2425Run the session-tokens.js script to get real token data:2627```bash28node scripts/session-tokens.js # current/latest session29node scripts/session-tokens.js --today # today's sessions30node scripts/session-tokens.js --all # all sessions (use for week/all/campaign)31```3233Also read:34- `.planning/telemetry/cost-tracker-state.json` for live burn rate35- `.planning/telemetry/session-costs.jsonl` for campaign attribution36- `scripts/pricing.json` to show which pricing is being used3738If `session-tokens.js` is not available or fails, fall back to session-costs.jsonl39data and clearly mark output as "(estimated)".4041### Step 2: RENDER BASED ON SCOPE4243**Current session (`/cost` with no args):**4445```46=== Session Cost Report ===47Session: {sessionId (first 8 chars)}48Started: {relative time} ({absolute time})49…
Excerpt shown under the repository's MIT license.
More skills in Citadel
Similar skill repositories
Public repository for Agent Skills
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Production-grade engineering skills for AI coding agents.
The 1st Collaborative AI Design Agent Workspace. Local-first and open source. Create motion, prototypes, websites, apps, dashboards, presentations, images, and videos with your team and AI agents. Share work, exchange feedback, and iterate together in one workspace.
Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.
