contextbudget for Gemini CLI
io.github.cloudcorprecords/contextbudget
Token budget auditor for agent context: per-file estimates, top offenders, exclusion advice.
client:Gemini CLI
transport:stdio
runtime:npm
Install contextbudget in Gemini CLI
~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json
{
"mcpServers": {
"contextbudget": {
"command": "npx",
"args": [
"-y",
"@reneturcios/contextbudget"
]
}
}
}
Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs