7 Claude Code Tools To Stop Wasting Tokens
A 28-minute practical breakdown of seven tools that attack token waste at session startup, during input, and in model output.
May 27thA Meta staff engineer who lives in Claude Code 12 hours a day shares 50 tips in 4 acts.
Claude Code is fundamentally a context management tool, and mastering it means learning to keep your context window fresh, condensed, and relevant through deliberate architectural choices like cloud.md files, lazy-loaded project memory, and parallel multi-instance workflows.
Claude Code, built on the Claude Sonnet model, functions as a command-line agent that pairs with your terminal to build software at the direction of natural language prompts. In this video, a Meta staff engineer explains their real workflow: keeping tasks small and well-scoped, staying in the loop rather than delegating blindly, and treating Claude Code like a highly capable but context-limited colleague. The key insight is that Claude Code performs best when you provide clear context upfront, break work into short verifiable chunks, and validate each output before moving forward. Used this way, the tool becomes a genuine force multiplier for shipping faster without sacrificing code quality.
Sign in and you get 23 free chat messages on us — ask for the hook, quote a framework, find the exact transcript moment, generate a markdown action plan. Bring your own key when you want unlimited.
Create a free account →
Meta engineer, 12 hours a day in Claude Code, no longer writing code by hand. Promises 50 tips he wishes he'd known.

Full-screen act break — Getting Started, Keyboard Shortcuts, Essential Commands, CLAUDE.md Deep Dive — Tips 1–25.

Run claude in your project root because the initial context window is built from whatever directory you launch from.

/init reads the codebase and produces an initial CLAUDE.md. Always your first move on a new project.

Global at ~/.claude/CLAUDE.md, project-level at ./CLAUDE.md, subdirectory rules also. Most-specific wins. /memory shows the stack.

It's prepended to every prompt. A bloated rules file eats context and degrades performance. Aim ~300 lines.

The three sections every CLAUDE.md needs: what the stack is, domain context for each part, and validation commands (build/lint/type-check).

Section transition card.

Cycle between plan mode, accept edits, and normal. John lives in plan mode for every new feature.

Don't be afraid to hit escape when Claude goes off-rails. Up-arrow returns to your last input. Course-correcting is encouraged.

Wipe a big pasted block without backspacing. Vim keybindings also available.

Restores the conversation to a previous point. The undo button for Claude's mistakes.

Mac shortcut Cmd+Shift+4 then drag the image straight into the terminal. Claude sees it.

'This button is broken on Safari' beats just-dropping-an-image. Tell Claude what you're looking at.

Section transition card — slash-commands act.

When switching to a new feature, wipe the old context instead of letting it poison the new task.

Audit your context. See which MCPs and memory files are the biggest token offenders.

Don't manually /compact. Trust auto-compaction. Lazy-load context documents instead of preloading.

Default Opus 4.5 when budget allows; Sonnet for cost-sensitive workflows; Haiku for fast lookups.

Sessions saved 30 days. Escape hatch when you accidentally kill the wrong terminal.

MCPs eat tokens. Every tool adds weight. Be selective; project-scope over global.

Forgot a command? /help lists everything — commands, shortcuts, flags.

Commit often. Use Claude to write summaries with your own templates. Git beats /rewind.

Transition into deeper rules-file engineering.

Top-to-bottom priority. 'Never do X' / 'Always do Y'. Document mistakes here once and never repeat them.

Don't hand-edit CLAUDE.md. Say 'add this to my rules' and let Claude maintain it.

Trigger words in CLAUDE.md — 'when user says deploy, run deploy script' — turn Claude into a workflow engine.

Compound engineering: commit your rules so the whole team's AI coding improves. Strip personal paths first.

YOLO mode. Use only in throwaway envs / unpushed branches / Docker containers.

Even with --dangerously-skip-permissions, use /permissions to whitelist what's allowed.

Tips 26–32. How John actually works inside Claude Code every day.

Shift+Tab twice. Claude reads but can't execute. Explore the codebase, argue with it, build a plan before you let it touch files.

The next-level engineering move is juggling Claude instances. Once execution starts, generation is the easy part — building the context was the hard part.

Sessions are temporary. CLAUDE.md is permanent. Save important context before /exit.

Index at root pointing to subdirectory docs. Claude loads detail only when needed. Second Brain pattern.

Test, lint, type-check commands in CLAUDE.md. This 2–3x's output quality because the AI can self-correct against the build.

Opus is slower per call but you steer it less. Almost always faster wall-clock on multi-step tasks.

When Claude says 'I assume...' or 'I'm not sure...' — interrupt and course-correct before it commits to the wrong path.

Composability Framework — tips 33–40.

Skills, Commands, MCPs, Subagents. How they compose is what separates casuals from power users.

Templates that load context when triggered. Lazy-loaded — don't eat tokens until needed.

.claude/commands/ + git. Power users run /commit-push-pr dozens of times daily.

Tell Claude 'create a command that does X.' Let it manage the file structure.

Not just API connections. Structured documentation for databases, browsers, systems.

Give the repo URL. 'Install this MCP.' Claude handles configuration.

Task() spawns clones for parallel work. Each gets a fresh context window — but only the output returns. Use for atomic side-effects.

Context is best served fresh and condensed. Quality over quantity.

Tips 41–50 — Parallel Workflows + Hooks & Automation.

Different terminals, different tasks. No shared context = feature, not bug. This is the Starcraft-style next-level engineering.

Cmd+D split, Cmd+[]/[ navigate, Cmd+L jump. Optimal for parallel work.

Custom sound when Claude finishes. Context-switch while Claude works.

Multiple Claude instances, same repo, isolated files. Each worktree = separate checkout.

Claude controls Chrome. Navigate, click, fill forms, capture screenshots, record GIFs, debug with console + network requests.

Navigate, click, fill forms, read console. 'Fix the error in console.' One flow.

Section transition card — tips 47–50.

PreToolUse = before, PostToolUse = after, PostToolUseFailure, Notification, UserPromptSubmit.

Format after edits. Catches CI edge cases. Never commit ugly code.

PreToolUse blocks before execution. Guardrails for destructive ops like rm -rf or DB drops.

Plugins = pre-built combinations of skills, commands, hooks, MCPs, subagents. Install and use immediately.

Keep context fresh, keep it relevant. Give Claude what it needs and nothing more. Soft CTA to two prior videos (AI coding thought process + Second Brain).
Fifty numbered tips, four acts, one mental model — shot once, becomes a week of feed.
“I'm one of those engineers that are basically not writing code anymore. I'm still in Claude Code, like, twelve hours a day, actively pair programming with Claude Code.”
“Tips I wish I knew when I was first getting started.”
“Validation, as a side tip, is probably one of the most important topics that you should really think about when you're thinking about trying to build good AI agentic coding systems.”
“Once Claude Code builds up that context and has good execution specs, the generation of the code is actually the easy part.”
“It really feels like I'm playing Starcraft to some degree. And all of this, I'm just doing with my keyboard.”
“Context is king. You gotta keep it fresh, keep it relevant. You essentially need to give Claude the context that it needs and nothing more.”
“Take your CLAUDE.md and start committing it into the code base... once that's in, you essentially make that AI coding experience better for your teammates.”
“A lot of people are using subagents incorrectly... you really want to have this concept of bringing the work to the context rather than trying to spread out the context that gets created.”
See every word as it's spoken — crank it to 2× and still catch all of it. The same dual-channel trick behind Amazon's Kindle + Audible.
The hook is the credential. Forty-seven seconds in, John has already told you he's at Meta, he's in Claude Code twelve hours a day, and he's not writing code by hand anymore. Then comes the promise: the best tips he's learned, the ones he wishes he'd known. Then a 4-act roadmap card. Forty-six minutes of dense, numbered insight follows, with one mental model — context is king — quietly threaded through every single slide.
The four building blocks of advanced Claude Code workflows. All of them compose with each other — a Skill can trigger an MCP that spawns a Subagent attached to a Bash script. Plugins are just shipped combinations of these four.
Every CLAUDE.md should be organized into these three sections. The Validation section is the unlock — it gives the AI a self-correcting loop.
Commit your AI configuration (CLAUDE.md, skills, subagents) into the repo so the team's AI-coding experience improves with every PR. Each landed rule is a permanent productivity boost for the whole team.
'Context is king. Keep it fresh, keep it relevant. Give Claude the context it needs and nothing more.' Every Claude Code feature is reframed as a context-management primitive — slash commands manage it, skills lazy-load it, subagents isolate it, MCPs blow it up.
Always Shift+Tab into Plan Mode before letting Claude execute. Argue with it. Spend tokens on the plan, because once execution starts, generation is the easy part — context was the hard part.
If your AI is regressing, your validation loop is broken. Declare your build/lint/test commands in CLAUDE.md so the AI can self-correct against the build instead of asking you.
“Go and build something amazing. I hope this was valuable to you. If you're interested in this kind of video on Claude Code, I did a whole video on the high-level thought process of AI coding and also talked a little bit about my Second Brain thing. Those two videos are right here.”
Soft, low-pressure. No newsletter, no Patreon, no sponsor. Two end-card video pointers — both his own back-catalog. The entire 46-minute video is the audience-build; he doesn't pitch anything else. This is the trust-first move.
00:00
00:33
00:57
01:06
01:11
01:15
01:24
01:37
01:49
02:00
02:25
02:44
02:59
03:10
03:21
03:32
03:40
03:56
04:14
04:53
05:19
05:36
05:47
05:54
06:11
06:19
06:38
06:50
07:11
07:32
07:45
07:51
07:56
08:04
08:14
08:24
08:31
08:36
08:41
08:48
08:55
09:06
09:09
09:26
09:40
09:46
09:57
10:07
10:28
10:57
11:27
11:49
12:01
12:16
12:27
12:36
12:44
12:54
13:05
13:15
13:30
13:50
14:09
14:21
14:26
14:30
14:41
14:58
15:14
15:27
15:39
15:51
16:04
16:26
16:55
17:14
17:27
17:39
17:52
18:06
18:20
18:41
19:00
19:22
19:34
20:06
20:28
20:42
20:49
20:55
21:09
21:18
21:33
21:59
22:43
23:13
23:54
24:07
24:28
24:34
24:46
24:57
25:14
25:36
25:58
26:22
26:50
27:18
27:39
27:55
28:10
28:25
28:39
28:55
29:04
29:17
29:31
29:37
29:44
29:50
30:10
30:43
31:16
31:40
31:55
32:10
32:25
32:40
32:54
33:10
33:27
33:43
33:55
34:03
34:11
34:44
35:42
37:07
37:16
37:29
37:41
37:49
37:57
38:01
38:07
38:34
38:55
39:20
39:49
40:18
40:39
40:51
41:03
41:15
41:25
41:35
41:49
42:27
43:16
43:17
43:22
43:26
43:30
43:34
43:38
43:45
43:55
44:05
44:12
44:17
44:21
44:27
44:33
44:39
44:51
45:07
45:23
45:38
45:52
46:07A 28-minute practical breakdown of seven tools that attack token waste at session startup, during input, and in model output.
May 27thA no-fluff synthesis of Anthropic's official best practices and Boris Cherny's personal Claude Code workflow, distilled into 15 concrete sections.
February 28thFour prompt-layer upgrades that fix the documented failure modes quietly killing your Claude output quality.
June 25thA 13-minute walkthrough of every workflow one founder uses to replace a full team — from lead gen to a self-updating second brain.
June 22ndA 14-minute demystification of agent loops for non-hardcore-coders: what they are, why the done-check matters most, and three live demos that prove loops get you closer — not perfect.
June 19thA reluctant 28-minute tour of the Claude Code features every competing harness should steal.
June 17th