Skip to content
C

cost-tracking

Track and report Claude Code token usage, spending

by affaan-mFree

#212in AI Skills
0In stores

Description

cost-tracking is an agent skill from the ECC collection by affaan-m, listed on skills.sh. It reads the local metrics log written by ECC's st…

Highlights

  • Reports usage and spend from the local log
  • Correct totals from the latest row per session
  • Budget checks from recorded costs
  • No outside service is called

Ratings & Reviews

No ratings yet

Be the first to rate cost-tracking.

People also visit

C

caveman-stats

Real token usage and estimated savings metrics from your Claude Code session log

AI Skills
Get
M

model-usage

Summarize CodexBar local cost logs by model for Codex or Claude

AI Skills
Get
R

receipts

Generate a personal Claude Code usage & impact report

AI Skills
Get
S

session-report

Generate an explorable HTML report of Claude Code session usage

AI Skills
Get
T

token-efficiency

Token optimization best practices for cost-effective Claude Code usage

AI Skills
Get
T

Token Monitor

Local-first desktop widget for tracking token usage, costs, limits

AI
Launch

cost-tracking FAQ

What does the cost-tracking skill read?

A metrics file the stop cost-tracker hook writes, in the Claude folder under metrics, as JSON lines.

Why does it use only the latest row per session?

Each row is a cumulative snapshot for its session, so adding every row would count spend more than once.

Does it send my usage anywhere?

The skill works from the local log file and does not call an outside service.

How do I install it?

Run: npx skills add https://github.com/affaan-m/ecc --skill cost-tracking

Is it free?

Yes. It is free and open source.

Are there security findings?

The skills.sh listing shows Gen Agent Trust Hub, Socket and Snyk all passing.

What are the best cost-tracking alternatives?

Popular alternatives to cost-tracking include caveman-stats, model-usage and receipts. See all cost-tracking alternatives

Developer Stuff

Badges