Transcriptmeter — Development skill for Claude Code
What your agent sessions cost, from the transcripts on your disk: tokens, cache hit ratio, peak context, list-price cost, tool output — Claude Code and Codex CLI, sizes only, nothing leaves the machin.
How to install Transcriptmeter
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Allan-Nava/transcriptmeter and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Transcriptmeter does
What your agent sessions cost, from the transcripts on your disk: tokens, cache hit ratio, peak context, list-price cost, tool output — Claude Code and Codex CLI, sizes only, nothing leaves the machine.
Alternatives in Development
- System Cache Cleanup — Clean temporary files and caches to free disk space: $ARGUMENTS 23.4k ★
- Dao Code — Open-source TypeScript terminal coding agent for DeepSeek-V4 — builds on DeepSeek's strong price-performance a 1.3k ★
- Opik Openclaw — 🦞 Official plugin for OpenClaw that exports agent traces to Opik 725 ★
README
transcriptmeter — what your agent sessions cost, from the transcripts on your disk
Claude Code writes every session to `~/.claude/projects//.jsonl` with the API's `usage` on every response; Codex CLI writes `~/.codex/sessions/…/rollout-*.jsonl` with a `token_usage_record` per response. Everything you need to know about what a session cost is already there — tokens by class, how much of the prompt came from cache, how big the context got, what the tools returned. transcriptmeter reads it back as numbers. Nothing leaves the machine; it keeps **sizes and identifiers only** and never shows message text or a command beyond its first word or two.
npx transcriptmeter # totals across sessions, both harnesses
npx transcriptmeter sessions --since 7d
npx transcriptmeter session
npx transcriptmeter tools --cap 8000
npx transcriptmeter prices # the list-price table and its date
**Status: 0.1.0, measured and cross-checked on one machine.** The readers follow the field shapes of Claude Code 2.1.280 and Codex CLI 0.155.1 as read on 2026-09-23. The deduplication rule that makes the Claude Code numbers right — one API response is written as several lines with the same `requestId` — is the kind of fact this tool depends on; `CLAUDE.md` lists them all with their dates.
What it reports
| Number | From | Why it matters |
|---|---|---|
| Tokens by class: uncached input, cache read, cache write (5 min and 1 h), output | usage on each response, counted once per requestId |
the sum is what you paid for; the split says whether caching worked |
| Cache hit ratio — cache read over the whole prompt | same | KPI 4 of the token-efficiency skill: over 70% in an implement session, or something in the prefix is moving |
| Cache misses after a warm |
Related Skills
Offline Telemetry Script
Offline analyzer for Claude Code session transcripts (~/.claude/projects/.jsonl). Pure-stdlib Python, no API c
Claude Code Shadow Bill
Price your Claude Code transcripts at API list rates: request leaderboard, per-session costs, and the 60-minut
Quantified Claude
Counts which Claude Code skills you actually reach for, plus the agents, models, and tokens behind them—read f
Myelin
Myelin makes working with Claude Code legible. Our VS Code extension turns Claude's on-disk transcripts and me
Earheart
Talk to your coding agents — press a hotkey, speak your prompt, and it lands in Claude Code, Codex, or Cursor.
Bough
Visualize your Claude Code session history as a diagram of the work you actually did: days, tasks, prompts and
Related Agents
Stripe Specialist
Stripe payments + billing — the money layer: the server Stripe client, product/price catalog, Checkout Session
Recall
Runs the recall CLI over the user's past Claude Code sessions and returns the one actionable item — a command,
Batch Session Reader
Reads multiple Fullstory session transcripts in parallel using isolated contexts. Use when you need to investi