# Claude Code가 매 턴 숨은 토큰 수만 개를 청구하고 있었다 > Author: Tony Lee > Published: 2026-07-07 > URL: https://tonylee.im/ko/blog/claude-code-cut-hidden-tool-tokens/ > Reading time: 1 minutes > Language: ko > Tags: claude-code, tokens, anthropic, settings, mcp, productivity ## Canonical https://tonylee.im/ko/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 - `/context`가 숨은 청구서를 보여 줍니다 - settings.json 두 레버 - deny 함정 ## Content Claude Code에 메시지를 보낼 때마다 tool 정의·skill 카탈로그·안 쓰는 기능 지시문이 같이 나갑니다. 보통 모릅니다. 매 턴 수만 토큰이 붙는 걸 보기 전까지요. TypeScript 교육자 Matt Pocock이 측정하고 자르는 방법을 공개했습니다. ([원문](https://lnkd.in/gB4XE-73)) ## `/context`가 숨은 청구서를 보여 줍니다 세션에서 `/context`를 치면 system prompt, tools(대개 최대), MCP, memory(`CLAUDE.md`·rules)로 나뉩니다. 안 쓰는 tool 스키마도 매 턴 들어갑니다. 개별 크기는 작은 로깅 프록시로 랭킹할 수 있습니다. ## settings.json 두 레버 **disable 플래그**: `disableBundledSkills`, `disableWorkflows`(종종 단일 tool 최대), `disableRemoteControl`. **`permissions.deny`**: 쓰는 기능은 남기고 `EnterPlanMode`/`ExitPlanMode`, `DesignSync`, `NotebookEdit`, `SendMessage`, `PushNotification`, `CronCreate` 등을 이름만으로 제거. `~/.claude/settings.json` 또는 프로젝트 `.claude/settings.json`. ## deny 함정 `"NotebookEdit"`처럼 이름만 쓰면 정의가 페이로드에서 빠집니다. `"Bash(rm *)"`처럼 스코프를 주면 호출만 막고 정의는 남습니다. 토큰이 목적이면 이름만. 적용 후 재시작 → `/context` 재실행. tool 수와 총량이 줄어야 합니다. 그 차이가 매 턴 절약분입니다. 코드 미세 최적화 전에 settings.json 1분이 먼저입니다. ## Related URLs - Author: https://tonylee.im/ko/author/ - Publication: https://tonylee.im/ko/blog/about/ - Related article: https://tonylee.im/ko/blog/ai-subscription-stack-by-budget-and-role/ - Related article: https://tonylee.im/ko/blog/agent-transition-starts-with-initial-setup/ - Related article: https://tonylee.im/ko/blog/codex-starter-guide-vible/ ## Citation - Author: Tony Lee - Site: tonylee.im - Canonical URL: https://tonylee.im/ko/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/ko/blog/ This content is original and authored by Tony Lee. Please attribute when quoting or referencing.