token pilot for Gemini CLI
io.github.digital-threads/token-pilot
Save up to 80% tokens when AI reads code via AST-aware structural reading
client:Gemini CLI
transport:stdio
runtime:npm
Install token pilot in Gemini CLI
~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json
{
"mcpServers": {
"token-pilot": {
"command": "npx",
"args": [
"-y",
"token-pilot"
]
}
}
}
Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs