You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
saver-audit replays lean-ctx on users' own logs: method check?
#1871
Hi! I built saver-audit (npx saver-audit, MIT, fully offline). It reads a developer's local Claude Code and Codex logs, shows where their tokens went (priced with prompt-cache costs), and replays recorded tool outputs through token savers using the user's own installed copy.
For lean-ctx (3.10.3) it runs lean-ctx compress diff - --shell "<cmd>" --json for shell output and compress diff - --json for file reads, on each output of 500+ tokens, with HOME in a temporary folder. It takes your before/after counts and applies that ratio to its own token count of the same output. On my last 30 days: $125.57 of $4,209 (3.0%), labelled "replayed".
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Hi! I built saver-audit (
npx saver-audit, MIT, fully offline). It reads a developer's local Claude Code and Codex logs, shows where their tokens went (priced with prompt-cache costs), and replays recorded tool outputs through token savers using the user's own installed copy.For lean-ctx (3.10.3) it runs
lean-ctx compress diff - --shell "<cmd>" --jsonfor shell output andcompress diff - --jsonfor file reads, on each output of 500+ tokens, with HOME in a temporary folder. It takes your before/after counts and applies that ratio to its own token count of the same output. On my last 30 days: $125.57 of $4,209 (3.0%), labelled "replayed".Manifest: https://github.com/VladUZH/saver-audit/blob/main/src/savers/builtin/lean-ctx.json
Two questions:
compress diffthe right entry point for what the live hooks do?I'm sharing results publicly this week and will update them if you spot a problem.
All reactions