# "7 Ways To Cut Your Claude Code Token Usage In Half"
<!--
ref: @content/youtube/sean-kochel/7-ways-to-cut-your-claude-code-token-usage-in-half
tags: [Claude Code, token usage, context window, CLAUDE.md, code graphs, RTK, handoff]
version: 2
updated_at: 2026-11-22T13:42:50.621Z
-->
**[Watch on YouTube](https://www.youtube.com/watch?v=bhB57Meachc)**
# 7 Ways To Cut Your Claude Code Token Usage In Half
*Synthesized from Sean Kochel, 2026-05-27.*
Sean Kochel presents solo, demoing seven tools and habits against three kinds of waste: session startup, input tokens and output tokens.
## Core Thesis
Sean argues that token waste is best attacked by first auditing where it occurs, then trimming output verbosity, giving the agent structured pointers into the codebase, managing context between sessions, keeping CLAUDE.md lean, using a code graph, and filtering command output. He says four of the seven are in his weekly routine.
## Key Insights
- Token Optimizer (a plugin) runs six review agents over CLAUDE.md, memory files, skills, MCPs, slash commands and hooks/settings. His setup loaded about 25,000 tokens at startup: roughly 1,000 from CLAUDE.md, 9,000 from skills (82 installed), 750 from commands and 450 from MCPs. He notes much of the audit could be a deterministic script.
- Caveman (a Matt Pocock skill) makes the model terse while keeping technical accuracy. In his test, the terse explanation cost 42 cents of Opus 4.7 in about 40 seconds, while the normal one was about 20 percent more expensive. The skill claims about 75 percent savings; he saw perhaps 30 to 40 percent, mostly output tokens.
- Intent Layers adds nested agent markdown files where a directory exceeds about 20,000 tokens, plus global invariants and anti-patterns (for example, never bypass a get-or-create Stripe customer function). He calls it the easiest, highest-impact item for existing projects.
- Matt Pocock's handoff skill writes a detailed summary so you can clear the session rather than compact; he limits large 1M-token windows to 25 to 30 percent use.
- CLAUDE.md should stay under about 300 lines and hold: a project one-liner of intent, non-obvious tooling and versions (such as Next.js proxy file replacing middleware), a concise architectural map of deviations, verifiable rules ("parameterize all SQL queries"), hard constraints and anti-patterns, pointers to deeper docs, and gotchas. Naming conventions are mostly wasted. He says the founder of Claude Code updates his weekly.
- Code graphs (his example: code-review-graph, built with `code review graph build`) let the agent query function and import relationships, including blast-radius analysis. He found speed and accuracy gains more than token savings, not the claimed 49x.
- RTK, installed via `brew install rtk`, proxies shell commands through a hook and filters noise, groups similar items, truncates and deduplicates. `rtk gain` showed about 192,000 tokens saved during recording, roughly 160,000 from git diffs and status.
## Actionable Takeaways
1. Audit startup context first and disable unused skills and MCPs.
2. Use a terse-output skill during planning and research.
3. Run Intent Layers on existing codebases.
4. Use handoff and a fresh session instead of compacting.
5. Keep CLAUDE.md under about 300 lines, documenting only what is not inferable.
6. Install RTK and check `rtk gain`.
## Notable Quotes
> "you can't really solve that what you do not know is a problem." — Sean Kochel
> "the real intent of this file is to tell it anything that it couldn't know by just inferring it from the code" — Sean Kochel
---
*Related: `@content/youtube/zazencodes/build-your-own-ai-software-factory-with-claude-code` · `@protocol/memento` · `@content/youtube/sean-kochel/opus-4-7-is-insanely-powerful-and-insanely-expensive` · `@content/youtube/yifan-bth/i-reverse-engineered-claude-code-learn-these-agent-tricks` · `@content/youtube/yifan-bth/let-the-agent-write-the-tests-and-the-fixes`*
---
*You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).*
*Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*