Skip to content
ccmods.app

token-pilot

v1.0.4

Cuts code-reading tokens: big Reads come back as outlines, heavy Grep and Bash calls are redirected, and savings show above the prompt.

by @Digital-Threads5Updated Broad accessGitHub

Installation

  1. Install from your shell (answer y to add the marketplace)

    $ claude plugin install token-pilot --marketplace Digital-Threads/token-pilot

Already in a session? Type this at the Claude Code prompt:

$ /plugin install token-pilot --marketplace Digital-Threads/token-pilot

Pick a scope and the mod is active right away. Needs Claude Code 2.1.287 or later, in a terminal. Full install guide

What does token-pilot do?

  • A whole-file Read of a large code file returns its smart_read outline instead
  • Blocks heavy Grep and Bash patterns in the default deny mode; advisory and strict modes via TOKEN_PILOT_MODE
  • 25 MCP tools such as smart_read, read_symbol and read_for_edit
  • Savings line with 5-hour and 7-day rate limits in a band above the prompt
  • /tp-stats opens the session's analytics in a side pane

What do you need?

  • Claude Code 2.1.287 or later (terminal)
  • Node.js 18+
  • ast-index (npx token-pilot install-ast-index)

What can this mod access?

Read from the mod's code with claude plugin validate on Claude Code 2.1.296, synced Oct 12, 2026. This is a capability list, not a security audit. Mods run with your permissions, so install only from authors you trust.

Broad access
  • Runs programs on your machine
  • Can approve tool calls or change settings
  • Intercepts or rewrites tool calls
  • Reads or rewrites your prompts
  • Reads files
  • Reads environment variables or settings
Hooks and engine calls (16 + 19)

hooks

  • classic.SessionStart
  • classic.SessionStart{source=clear|resume|compact|fork}
  • command.run{command=?}
  • prompt.compose
  • session.start
  • session.start{isInteractive=true}
  • tool.call
  • tool.call{tool=/"^Grep$"/}
  • tool.call{tool=Agent}
  • tool.call{tool=Bash}
  • tool.call{tool=Edit}
  • tool.call{tool=Read}
  • tool.call{tool=Write}
  • turn.complete
  • ui.render{component=AbovePrompt}
  • ui.render{component=Pane, requestId=tp-stats}

calls

  • $.command.register
  • $.env.get
  • $.env.set
  • $.fs.exists
  • $.fs.list
  • $.fs.read
  • $.fs.stat
  • $.process.run
  • $.session.cwd
  • $.session.id
  • $.session.root
  • $.session.usage
  • $.state.get
  • $.state.set
  • $.tool.call
  • $.ui.open
  • $.ui.resolve
  • $.ui.status
  • $.ui.toast

How do you uninstall token-pilot?

$ claude plugin uninstall token-pilot

To switch it off without removing it, use claude plugin disable with the same name.

Do you maintain token-pilot?

Add this badge to your README so users can jump to this page for the install command and access report.

Listed on ccmods.app
[![Listed on ccmods.app](https://ccmods.app/badge.svg)](https://ccmods.app/mods/token-pilot)

contextsaver

AlmogBaku/ContextSaver

26

Stops wasteful tool calls in real time so Claude Code spends fewer tokens on work that does not help.

UIPromptToolsBroad access
$ claude plugin install contextsaver --marketplace AlmogBaku/ContextSaver

constellation

ShiftinBits/constellation-claude

2

Connects Claude Code to Constellation's code graph: impact, dependency and dead-code commands, a /constellation pane and search nudges.

UIPromptToolsBroad access
$ claude plugin install constellation --marketplace ShiftinBits/constellation-claude

context-view

kongyo2/context-view

1

Shows context window usage as a meter above the prompt, with tokens used and tokens left before auto-compact.

UIPromptToolsModerate access
$ claude plugin install context-view --marketplace kongyo2/context-view