# Claude Codeは毎ターン何万トークンも隠れて請求していた > Author: Tony Lee > Published: 2026-07-07 > URL: https://tonylee.im/ja/blog/claude-code-cut-hidden-tool-tokens/ > Reading time: 1 minutes > Language: ja > Tags: claude-code, tokens, anthropic, settings, mcp, productivity ## Canonical https://tonylee.im/ja/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は毎ターン何万トークンも隠れて請求していた 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カタログ・使わない機能の指示が乗る。通常は気づかない。毎ターン何万トークンが乗るのを見るまでは。 Matt Pocockが測って削る方法を公開。`/context`でsystem・tools・MCP・memoryを分解。未使用toolスキーマも毎ターン乗る。 `disableBundledSkills` / `disableWorkflows` / `disableRemoteControl`と、bare名の`permissions.deny`。`"NotebookEdit"`は定義削除、`"Bash(rm *)"`は呼び出し遮断のみで定義は残る。 再起動後`/context`で減っているか確認。コード最適化の前にsettings.jsonを1分。 ## Related URLs - Author: https://tonylee.im/ja/author/ - Publication: https://tonylee.im/ja/blog/about/ - Related article: https://tonylee.im/ja/blog/ai-subscription-stack-by-budget-and-role/ - Related article: https://tonylee.im/ja/blog/agent-transition-starts-with-initial-setup/ - Related article: https://tonylee.im/ja/blog/codex-starter-guide-vible/ ## Citation - Author: Tony Lee - Site: tonylee.im - Canonical URL: https://tonylee.im/ja/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/ja/blog/ This content is original and authored by Tony Lee. Please attribute when quoting or referencing.