本文由 AI 分析生成
建立時間: 2026-05-23 來源: https://x.com/regent0x_/status/2057419591618302029
Summary
A detailed guide arguing that most Claude Code plugins are unnecessary and harmful to performance because they consume context window tokens at session start. The author reduced from 23 plugins (62,000 tokens of baseline overhead) to 3 extensions (~4,000 tokens), tripling session length and halving token spend. The post catalogs built-in commands that replace common plugins: /context, /compact, /clear, /resume, /rewind, /cost, /model, /effort, /review, /plan, and custom .claude/commands/.
這篇指南主張大多數 Claude Code 插件是多餘的,因為它們在每次 session 開始就消耗上下文視窗。作者從 23 個插件(62,000 tokens 基線佔用)精簡到 3 個擴充(~4,000 tokens),session 長度提升 3 倍、token 花費減半。文章系統整理了可取代插件的內建指令。
Key Points
- Every plugin/skill/MCP server adds baseline context overhead loaded at session start, whether used or not
- 62,000 tokens of pre-prompt overhead = 31% of 200k window consumed before first message
- Key built-in commands: /context (breakdown), /compact (surgical compression), /clear (full reset), /resume, /rewind, Esc Esc (checkpoint browser), /cost, /model, /effort, Option+T (extended thinking toggle), /init, /doctor, .claudeignore, /review, /diff, /security-review, /plan, /btw
- Custom commands: create .claude/commands/name.md → becomes /name with zero overhead
- Three plugins worth keeping: superpowers framework, Karpathy’s 4 behavioral rules, context-mode MCP (sandboxes MCP tool output)
Insights
The math is simple but underappreciated: context overhead from idle plugins compounds across every message, not just the first. The /compact command’s ability to accept focus instructions (“compress everything except auth module decisions”) makes it significantly more powerful than most context management plugins. The custom commands pattern (.claude/commands/*.md → slash commands with zero overhead) means most plugin functionality can be replicated without any token cost at all — this is the key insight most users miss. The /btw command (side question without interrupting main task context) is non-obvious and valuable for maintaining task focus.
Connections
Raw Excerpt
the math is simple: fewer plugins = more context = longer sessions = better output. Every plugin, every skill, every MCP server you install adds baseline overhead to your context window. They’re loaded at the start of every session whether you use them or not.