EveryDev.ai
Subscribe
Home
Tools

5,681+ AI tools

  • Featured
  • Gems
  • Trending
  • New
  • Rate tools
  • Compare
  • Arena
Categories
  • Agents2872
  • Coding2155
  • Infrastructure1015
  • Projects796
  • MCP743
  • Research708
  • Analytics549
  • Marketing519
  • Design463
  • Testing460
  • Data430
  • Security393
  • Integration281
  • Communication274
  • Prompts270
  • Extensions234
  • Voice198
  • DevOps187
  • Commerce180
  • Web127
  • Learning116
  • Finance41
AI Tools by Topic
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • Users
  • Rate Tools
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai ©
    1. Home
    2. Tools
    3. tokendoctor
    tokendoctor icon

    tokendoctor

    AI Coding Assistants
    Featured

    A Claude Code plugin that shows where your tokens go, audits your settings against the docs, and applies reversible fixes.

    Visit Website

    At a Glance

    Pricing
    Open Source

    MIT-licensed Claude Code plugin that runs locally on your machine. Claude Code usage itself is an external cost.

    Engagement

    Available On

    Windows
    Web
    API
    CLI

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    AI Coding AssistantsPerformance MetricsContext Engineering

    Alternatives

    tarepxpipeclauditor
    Developer
    Saryev RustamBackend Developer

    Listed Nov 2026

    About tokendoctor

    tokendoctor is an open-source, MIT-licensed plugin for Claude Code, published by rsaryev. It replays your own sessions to estimate what a smaller context window would have saved, shows where tokens went, and proposes settings changes as diffs that are applied only on approval. It runs on your machine.

    What It Is

    tokendoctor is a cost-optimization and audit plugin for Claude Code. It reads local session transcripts and settings files, then reports where tokens and spend went. It also checks the setup against Claude Code's current documentation. Costs are computed at each model's Claude API list price, so on a subscription plan they show what the same work would cost on the API.

    How the workflow runs

    The flow is see, look, fix, slide and undo.

    • /tokendoctor:sessions replays your sessions at smaller compaction windows and estimates the savings for each, then breaks down where tokens went. It is read-only.
    • /tokendoctor:dashboard builds a local HTML file with spend by day, token type, model, reasoning effort, main thread and subagent type, context size, project and hour.
    • /tokendoctor:audit and /tokendoctor:optimize run 38 setting checks, each tied to the docs. Changes are shown as a diff first and applied only when you approve.
    • /tokendoctor undo lists every change the plugin made and restores any one of them, without a model call.

    Slide instead of summarize

    The optional slide feature is off by default. Where Claude Code would compact, tokendoctor elides old tool outputs into short pointers instead of summarizing, so the conversation stays word for word and there is no summary pause. In one recorded session, the author reports a summary taking 65.3 s against 0.04 s for the slide. On Team or Enterprise logins, the slide needs a one-time sudo install of a machine-level copy.

    Measured results and limits

    The author reports a 38% lower main-thread cost per request over six weeks of their own use. The README also publishes benchmark runs, with results that vary by task. It states that there is no one pill: if sessions rarely pass 400K tokens, a smaller window changes little. Sessions on other machines and transcripts Claude Code has already cleaned up are not counted. The audit fetches two public Claude Code docs pages once a day and sends nothing of yours.

    tokendoctor - 1

    Community Discussions

    Be the first to start a conversation about tokendoctor

    Share your experience with tokendoctor, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source

    MIT-licensed Claude Code plugin that runs locally on your machine. Claude Code usage itself is an external cost.

    • MIT License
    • /tokendoctor:sessions replays your sessions at smaller windows
    • /tokendoctor:dashboard local dashboard
    • /tokendoctor:optimize with 38 checks and diffs
    • Slide instead of summarize

    Capabilities

    Key Features

    • Session replay estimating savings at smaller compaction windows
    • Local HTML usage dashboard by day, model, effort, subagent, project and hour
    • 38 setting checks linked to Claude Code docs
    • Fixes shown as a diff and applied only on approval
    • Slide mode that elides old tool outputs instead of summarizing
    • Reversible changes with a list-and-undo command
    • Session findings such as late compaction and idle cache rebuilds
    • Status line script installable through a fix
    • Shell commands for audit, sessions, replay, set, apply and undo

    Integrations

    Claude Code
    API Available
    View Docs

    Ratings & Reviews

    No ratings yet

    Be the first to rate tokendoctor and help others make informed decisions.

    Rate other tools you’ve used

    Developer

    Saryev Rustam

    Backend Developer

    Read more about Saryev Rustam
    WebsiteGitHubLinkedInX / Twitter
    1 tool in directory

    Similar Tools

    tare icon

    tare

    A Claude Code skill that reads session logs to diagnose token usage, explain limit hits, and surface usage patterns — all in plain English, entirely on your machine.

    pxpipe icon

    pxpipe

    A local proxy that reduces Claude Code token costs by rendering bulky text context (system prompts, tool docs, history) as compact PNG images before sending requests.

    clauditor icon

    clauditor

    A CLI tool that monitors Claude Code session token usage, auto-rotates oversized sessions, and preserves context to prevent quota exhaustion.

    Browse all tools

    Related Topics

    AI Coding Assistants

    AI tools that help write, edit, and understand code with intelligent suggestions.

    1154 tools

    Performance Metrics

    Specialized tools for measuring, evaluating, and optimizing AI model performance across accuracy, speed, resource utilization, and other critical parameters.

    98 tools

    Context Engineering

    Techniques for optimizing context windows to improve AI responses.

    112 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions