Auto-disabling idle Claude Code plugins can save up to 4,000 tokens per session
A developer running Claude Code at scale discovered that having over 50 plugins enabled silently consumes thousands of context-window tokens every session, even when those plugins are never used. Each enabled plugin causes Claude Code to enumerate all its tool names in a system-reminder block at startup, with a single plugin like Playwright alone listing nearly 30 tool names. This fixed token overhead degrades response accuracy and can push useful information out of long conversations. To address the problem, the developer built an automated system that disables any plugin with zero activity over the past 30 days, running every Sunday without human intervention. The approach reflects a broader philosophy that maintaining an AI development environment proactively is more effective than managing it manually on an ad-hoc basis.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in