Tokendoctor analyzes and trims Claude Code costs locally
What happened
Tokendoctor is a locally run Claude Code plugin that replays sessions to estimate savings from a smaller context window. It also offers config checks, a usage dashboard and reversible optimizations. The post describes 38 settings checks, diffs shown before any change with user confirmation, and a slide feature that drops old tool output instead of auto-summarizing.
Written by AI from the coverage · updated 3 days ago
Coverage
Follow the reports to see the story from different sides.
- Hacker News front pagePickTokendoctor inspects Claude Code spend with local analysis and reversible fixes
Tokendoctor is a local plugin for Claude Code that replays sessions to estimate the savings from shrinking the context window. It also offers config checks, a usage dashboard and reversible optimizations. It runs 38 setting checks, shows a diff before any change and asks for confirmation, and a slide feature that removes old tool output can replace auto-summarization.
Heat over time
Heat now 3·Comparable peak 9(Nov 17 15:00)·Comparable change over 24 hours -50%
The trend only compares accounts observed without gaps, so its range may be smaller than the current heat. Hover or tap the chart for each hour; the left and right arrow keys step through it.