cost

cost is a skill for Claude Code from getagentseal/codeburn. It costs 36 tokens per session (147 once invoked), scanned A, original, MIT.

A cost-reporting skill that reads local logs from AI coding tools such as Claude Code, Codex, and Cursor to summarize the day's spending and token use.

In plain words
What is it for?
Use it to review total spend, compare model and project costs, spot unusual usage, and identify one way to spend less.
Why use it?
It shows where today's AI budget went, including the models and projects responsible for the most cost, without requiring manual log review.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code; mentions Codex.

Part of the codeburn plugin — 1 skill, 1 MCP server shipped together

Good fit Use it to review total spend, compare model and project costs, spot unusual usage, and identify one way to spend less.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/getagentseal/codeburn/cost
About the project

CodeBurn is a local tool that reads session files from AI coding tools and shows token usage and cost by tool, model, project, and task. Developers use it to understand their AI spending without an account or sign-up. Its catalogue add-ons support workflows involving the tracked coding agents and tools.

getagentseal/codeburn · 11,605 stars · on GitHub · codeburn.app

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add getagentseal/codeburn --skill cost
Clone the repo
git clone --depth 1 https://github.com/getagentseal/codeburn

Made for: Claude Code.

Or install codeburn, the plugin that ships this one along with the rest of its 1 skill, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cost

README.md
[![agentmods](https://agentmods.dev/badge/skills/getagentseal/codeburn/cost/github.svg)](https://agentmods.dev/skills/getagentseal/codeburn/cost)
Your own site
<a href="https://agentmods.dev/skills/getagentseal/codeburn/cost"><img src="https://agentmods.dev/badge/skills/getagentseal/codeburn/cost/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cost

Your own site · 80×15
<a href="https://agentmods.dev/skills/getagentseal/codeburn/cost"><img src="https://agentmods.dev/badge/skills/getagentseal/codeburn/cost.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 147 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00036 $0.00147
Opus 5.5 $0.00014 $0.00059
Sonnet 5.5 $0.00007 $0.00029
Haiku 4.5 $0.00004 $0.00015

Measured 8d ago against content hash a1a6c6a62bec, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cost scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/codeburn/skills/cost/SKILL.md · 12 lines

What it actually says

Today's AI coding usage, from CodeBurn. It reads the session logs that Claude Code, Codex, Cursor and other tools keep on this machine:

!npx -y [email protected] today

Summarize this in at most five short bullets: the total cost, the models and projects that cost the most, anything unusual, and one concrete way to spend less. Use only the numbers above.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 12 lines · 36 tokens per session scan A a1a6c6a62bec

Subscribe to this mod's changes

cost is a skill published in the GitHub repository getagentseal/codeburn (11,605 stars, last pushed 2d ago), licensed MIT. It adds 36 tokens to every session and 147 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-21.