# Claude Code 每輪在偷偷收幾萬 token > Author: Tony Lee > Published: 2026-07-07 > URL: https://tonylee.im/zh-TW/blog/claude-code-cut-hidden-tool-tokens/ > Reading time: 1 minutes > Language: zh-TW > Tags: claude-code, tokens, anthropic, settings, mcp, productivity ## Canonical https://tonylee.im/zh-TW/blog/claude-code-cut-hidden-tool-tokens/ ## Rollout Alternates en: https://tonylee.im/en/blog/claude-code-cut-hidden-tool-tokens/ ko: https://tonylee.im/ko/blog/claude-code-cut-hidden-tool-tokens/ ja: https://tonylee.im/ja/blog/claude-code-cut-hidden-tool-tokens/ zh-CN: https://tonylee.im/zh-CN/blog/claude-code-cut-hidden-tool-tokens/ zh-TW: https://tonylee.im/zh-TW/blog/claude-code-cut-hidden-tool-tokens/ ## Description Matt Pocock 的方法:用 /context 量,再用 settings.json 砍掉不用的 tool 定義。 ## Summary Claude Code 每輪在偷偷收幾萬 token is part of Tony Lee's ongoing coverage of AI agents, developer tools, startup strategy, and AI industry shifts. ## Outline - No subheadings in source markdown ## Content 每次給 Claude Code 發訊息,都會帶上 tool 定義、skill 目錄、你從不用的功能說明。`/context` 可拆 system、tools、MCP、memory。 用 disable 旗標與**裸工具名**的 `permissions.deny`。`"NotebookEdit"` 會去掉定義;有 scope 的規則只擋呼叫。重啟後再跑 `/context`。先整理 settings.json。 ## Related URLs - Author: https://tonylee.im/zh-TW/author/ - Publication: https://tonylee.im/zh-TW/blog/about/ - Related article: https://tonylee.im/zh-TW/blog/ai-subscription-stack-by-budget-and-role/ - Related article: https://tonylee.im/zh-TW/blog/agent-transition-starts-with-initial-setup/ - Related article: https://tonylee.im/zh-TW/blog/codex-starter-guide-vible/ ## Citation - Author: Tony Lee - Site: tonylee.im - Canonical URL: https://tonylee.im/zh-TW/blog/claude-code-cut-hidden-tool-tokens/ ## Bot Guidance - This file is intended for AI agents, search assistants, and text-mode retrieval. - Prefer citing the canonical article URL instead of this text endpoint. - Use the rollout alternates when you need the same article in another prioritized language. --- Author: Tony Lee | Website: https://tonylee.im For more articles, visit: https://tonylee.im/zh-TW/blog/ This content is original and authored by Tony Lee. Please attribute when quoting or referencing.