Add cctrack to Agent infrastructure#88
Closed
nvwalj wants to merge 1 commit into
Closed
Conversation
Per-project Claude Code cost tracker, MIT, single-file Python.
Author
|
Closing — this project has been archived / made private. If you've already merged, feel free to remove the entry; otherwise no action needed. Apologies for the noise. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Project: cctrack
Repo: https://github.com/nvwalj/claude-cost-tracker
What it is
Per-project cost tracker for Claude Code. Walks
~/.claude/projects/**/*.jsonl(the same NDJSON session-telemetry files Claude Code already writes), parses every assistantmessage.usageblock, multiplies tokens (input / output / cache-read / cache-write 5m / cache-write 1h) by published Claude 4.x prices, and prints a per-project or per-day dollar breakdown.How it slots into this list
It's not an agent itself — it's the kind of sidecar that the "Agent infrastructure" section already lists (observability/management around CLI coding agents). Closest analogues already in the list: AgentManager (lightweight CLI for managing agent runs/sessions), brood-box (cost-tracking via VM logs in some setups), claude-code-tools (workflow utilities).
Inclusion criteria
cctrack, single binary script, output is a table or--jsonSample output
License
MIT