Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

codeburn

БесплатноБез исполняемых скриптовНе проверен

Drive CodeBurn, a free open-source local-first CLI/TUI/web/menubar tool that reads the session files already on disk from 40 AI coding tools (Claude Code…

akillnessот akillness★ 63 звезды на GitHub

Об этом скилле

CodeBurn — see where your AI coding spend goes

CodeBurn is a free, open-source, local-first tool that tracks AI coding token usage and cost across 40 tools and agents (Claude Code, Cursor, Codex, Gemini, Grok, OpenCode, and more), broken down by model, project, and task. It reads the session files those tools already write to disk — no wrapper, no proxy, no API keys — and prices every call from LiteLLM's daily-refreshed pricing data. Four surfaces (terminal TUI, browser dashboard, macOS menu bar / GNOME panel, and an MCP server) all read the same on-disk source of truth.

When to use this skill

  • Getting a quick answer to "where did my AI budget go this week/month?" (codeburn, codeburn overview, codeburn report)
  • Finding concrete token/dollar waste in a Claude Code setup — re-read files, bloated CLAUDE.md, unused MCP servers, ghost agents/skills — and applying the fix (codeburn optimize, codeburn optimize --apply)
  • Capping runaway session spend before it happens, or flagging projects with known waste at session start (codeburn guard install)
  • Deciding which model is actually worth its price for a given kind of work (codeburn compare)
  • Checking whether AI-assisted work actually shipped, or was reverted / abandoned (codeburn yield)
  • Exposing live usage/savings data to an agent mid-conversation (codeburn mcp)
  • Diagnosing why a tool shows $0 or no data (codeburn doctor)

When not to use this skill

  • The user wants to change how much a model costs per call (pricing policy, rate limits) — CodeBurn only measures and reports spend, it does not set prices or throttle API calls itself (guard's caps stop a session, they don't change billing)
  • The user wants cloud/team-wide spend analytics with a hosted backend as the primary need — CodeBurn's sync feature is a preview push-to-your-own-URL telemetry channel, not a hosted SaaS dashboard
  • The task is about the AI tools' own behavior/config unrelated to cost (e.g., writing a new Claude Code skill, debugging an MCP server's logic) and no spend/waste/token question is actually in play

Instructions

Step 1: Run it instantly, no install

npx [email protected]          # opens the interactive TUI dashboard, last 7 days

For a permanent command: npm install -g codeburn (or bunx/pnpm dlx/ brew install codeburn on macOS). Requires Node.js 22.13+.

Step 2: Get the month at a glance, as text you can paste

codeburn overview                                    # this month, clean tables
codeburn overview --no-color                         # plain text for a PR/Slack/tweet
codeburn overview -p all                              # last 6 months
codeburn overview -p lifetime                         # full history
codeburn overview --provider claude                   # one tool only
codeburn status                                        # compact one-liner: today + month
codeburn report --format json                          # full dashboard data as JSON

Most commands accept --provider, --project/--exclude, and a period flag (-p today|week|30days|month|all|lifetime) or --from/--to.

Step 3: Find waste before fixing anything

codeburn optimize                       # scan the last 30 days
codeburn optimize -p week               # scope to the last 7 days
codeburn optimize --format json         # setup health + findings as JSON

Scans sessions and the ~/.claude/ setup for re-read files, low Read:Edit ratio, uncapped bash output, unused MCP servers, ghost agents/skills, bloated CLAUDE.md, and low-value expensive sessions. Each finding carries an estimated token/dollar saving, a ready-to-paste fix, and an urgency ranking rolled into an A–F setup-health grade.

Step 4: Apply fixes safely, and be able to undo them

codeburn optimize --apply --dry-run   # print the plan, change nothing — do this first
codeburn optimize --apply --yes       # apply every appliable fix without prompting
codeburn act list                     # every change CodeBurn has made
codeburn act undo --last              # roll the most recent change back
codeburn act report                   # realized vs estimated savings, 3+ days later

Every applied change is backed up and journaled before it lands; always preview with --dry-run before --apply --yes in an automated flow.

Step 5: Guard the budget going forward

codeburn guard install            # hooks into this project's .claude/settings.json
codeburn guard install --global   # or into user-level Claude settings
codeburn guard status             # caps, install locations, flagged projects
codeburn guard allow              # lift the hard cap for the current session only

Soft cap (default $5) warns once; hard cap (default $15) stops the session; a checkpoint nudge fires on sessions that end with no edits/commits past a threshold. Caps live in ~/.config/codeburn/guard.json; hooks fail open

Полный SKILL.md на GitHub

Установить codeburn в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Bash
Read
Write
Edit
Glob
Grep

Вложенные файлы

references/commands.md

FAQ

Что делает скилл codeburn?

Drive CodeBurn, a free open-source local-first CLI/TUI/web/menubar tool that reads the session files already on disk from 40 AI coding tools (Claude Code, Codex, Cursor, Gemini CLI, Grok, OpenCode, and more) and breaks down token usage and dollar cost by task, model, tool, and project. Use when the user wants to see where their AI coding spend went, find and fix token waste in a Claude Code / agent setup, cap a session's budget before it runs away, compare which model is actually worth its price, check whether AI spend shipped or was reverted, or wire live usage/savings data into an agent over MCP. Triggers on: "codeburn", "codeburn CLI", "AI token usage", "AI coding cost", "where did my Claude spend go", "codeburn optimize", "codeburn guard", "codeburn compare models", "codeburn yield", "token waste in CLAUDE.md", "AI spend dashboard".

Как установить скилл codeburn?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл codeburn запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить codeburn с