Modern Creator
John Kim · YouTube

How I use Claude Code (Meta Staff Engineer Tips)

A Meta staff engineer who lives in Claude Code 12 hours a day shares 50 tips in 4 acts.

Posted
3 months ago
Duration
Format
Tutorial
educational
Views
429.4K
10K likes
Big Idea

The argument in one line.

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.

Who This Is For

Read if. Skip if.

READ IF YOU ARE…
  • A software engineer actively using Claude Code who wants to optimize your daily workflow and learn patterns from someone with six months of intensive hands-on experience.
  • A staff or senior engineer at a large tech company who pair programs with Claude Code and reviews AI-generated code, seeking specific techniques to manage context and maintain code quality.
  • An engineer new to Claude Code who's setting up projects and wants foundational knowledge about keyboard shortcuts, slash commands, and Claude.md configuration before scaling up.
SKIP IF…
  • You don't use Claude Code or prefer other AI coding tools — this is Claude-specific and won't translate to your workflow.
  • You're looking for general software engineering advice or architecture patterns — this is narrowly focused on Claude Code mechanics and context management, not broader engineering principles.
TL;DR

The full version, fast.

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.

Members feature

Chat with this breakdown.

Modern Creator members can chat with any breakdown — ask for the hook, quote a framework, find the exact transcript moment. Unlocks at T2: refer 3 friends + add your own API key.

Create a free account →
Chapters

Where the time goes.

00:0001:04

01 · Cold open + credential drop

Meta engineer, 12 hours a day in Claude Code, no longer writing code by hand. Promises 50 tips he wishes he'd known.

01:0401:18

02 · Act 1 card: FOUNDATIONS

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

01:1801:56

03 · Tip 1: Run from root directory

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

01:5602:54

04 · Tip 2: Run /init immediately

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

02:5403:27

05 · Tip 3: CLAUDE.md is hierarchical

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

03:2703:58

06 · Tip 4: Keep CLAUDE.md concise

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

03:5805:36

07 · Tip 5: What / Domain / Validation

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

05:3605:58

08 · Keyboard Shortcuts section

Section transition card.

05:5806:40

09 · Tip 6: Shift+Tab toggles modes

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

06:4007:43

10 · Tip 7: Escape interrupts

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

07:4307:59

11 · Tip 8: Double-Escape clears input

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

07:5908:29

12 · Tip 9: Double-Escape on empty = rewind

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

08:2908:44

13 · Tip 10: Screenshot and drag

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

08:4409:09

14 · Tip 11: Add context to screenshots

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

09:0909:41

15 · Essential Commands section

Section transition card — slash-commands act.

09:4110:13

16 · Tip 12: /clear resets context

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

10:1311:42

17 · Tip 13: /context shows token usage

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

11:4212:23

18 · Tip 14: Let auto-compaction work

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

12:2312:49

19 · Tip 15: /model switches models

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

12:4913:21

20 · Tip 16: /resume recovers sessions

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

13:2114:19

21 · Tip 17: /mcp shows MCP status

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

14:1914:33

22 · Tip 18: /help shows all commands

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

14:3315:24

23 · Tip 19: Git is your safety net

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

15:2415:52

24 · CLAUDE.md Deep Dive section

Transition into deeper rules-file engineering.

15:5217:08

25 · Tip 20: Add a Critical Rules section

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

17:0817:46

26 · Tip 21: Ask Claude to update rules

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

17:4618:27

27 · Tip 22: Use workflow triggers

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

18:2719:34

28 · Tip 23: Commit CLAUDE.md to git

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

19:3420:39

29 · Tip 24: --dangerously-skip-permissions

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

20:3920:59

30 · Tip 25: Combine skip with allowlists

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

20:5921:38

31 · Act 2 card: DAILY WORKFLOW

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

21:3823:46

32 · Tip 26: Start features in Plan Mode

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

23:4624:29

33 · Tip 27: Fresh beats bloated context

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

24:2925:03

34 · Tip 28: Persist before ending sessions

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

25:0326:09

35 · Tip 29: Lazy load context

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

26:0927:32

36 · Tip 30: Give verification commands

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

27:3228:18

37 · Tip 31: Consider Opus for complex work

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

28:1829:01

38 · Tip 32: Read thinking blocks

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

29:0129:34

39 · Act 3 card: POWER USER

Composability Framework — tips 33–40.

29:3429:54

40 · Tip 33: Four composability primitives

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

29:5431:33

41 · Tip 34: Skills = recurring workflows

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

31:3332:18

42 · Tip 35: Commands = quick shorthand

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

32:1833:02

43 · Tip 36: Never create commands manually

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

33:0233:52

44 · Tip 37: MCPs = external service docs

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

33:5234:15

45 · Tip 38: Ask Claude to install MCPs

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

34:1537:10

46 · Tip 39: Subagents = isolated context

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

37:1037:48

47 · Tip 40: Avoid instruction overload

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

37:4838:02

48 · Act 4 card: ADVANCED

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

38:0239:06

49 · Tip 41: Run multiple instances

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

39:0640:33

50 · Tip 42: iTerm split panes

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

40:3341:10

51 · Tip 43: Enable notifications

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

41:1041:40

52 · Tip 44: Git worktrees for isolation

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

41:4043:17

53 · Tip 45: /chrome connects browser

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

43:1743:28

54 · Tip 46: Powerful for debugging

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

43:2843:41

55 · Hooks & Automation section

Section transition card — tips 47–50.

43:4144:10

56 · Tip 47: Hooks intercept actions

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

44:1044:24

57 · Tip 48: Auto-format with PostToolUse

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

44:2444:43

58 · Tip 49: Block dangerous commands

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

44:4345:32

59 · Tip 50: Explore the plugin ecosystem

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

45:3246:12

60 · Context is King (outro + CTA)

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).

Atomic Insights

Lines worth screenshotting.

  • Context is king — every tool in Claude Code, from slash commands to sub-agents to compaction, is ultimately a context-management tool.
  • Starting every new feature in plan mode before writing a single line of code dramatically improves the quality of what gets generated when execution begins.
  • A bloated context window causes regression — Claude gets confused about what was good versus bad in a long session, which is why fresh context beats long context.
  • The CLAUDE.md file is read top to bottom with priority from top to bottom, so your most critical rules must appear first, not last.
  • Around 300 lines is the right size for a CLAUDE.md file — larger files increase token cost and reduce the precision of every instruction inside it.
  • Treat your CLAUDE.md like a lint file: when Claude makes a mistake, fix it manually once, then ask Claude to update the rules so the mistake never happens again.
  • Multiple parallel Claude Code instances running different features simultaneously is the new Starcraft — the bottleneck becomes how much context switching your own brain can handle, not what the AI can do.
  • Bringing work to the context is better than spreading context across agents — a sub-agent for testing needs to see the code that was just written, so isolating it loses exactly what it needs.
  • The slash Chrome tool lets Claude navigate a real browser, take screenshots, and click through UI — making it a composable validation layer for any web-based workflow without needing API access.
  • Sub-agents are valuable for atomic side-effect tasks, not for things that need the full context of the session to work correctly.
  • Validating AI-generated code inside a build-and-test loop that Claude controls is more powerful than reviewing output manually — the AI self-corrects until the build passes.
  • A second brain of saved project context that you lazy-load into sessions is a form of personal RAG that compounds across weeks and months of work.
  • Git worktrees solve the problem of running multiple Claude instances on the same codebase — without them, parallel instances fight over the same working tree.
  • Skills are just markdown files with a system prompt stored in a directory Claude watches — which means creating, editing, and triggering them never requires manual file management.
  • Hooks on pre- and post-tool-use give you guardrails against destructive actions like database deletions without requiring you to review every step Claude takes.
  • The era of engineers writing code by hand is effectively over for people using Claude Code 12 hours a day — the new job is context engineering and reviewing every line that ships.
Takeaway

Steal the format.

The '50 tips' tutorial template

Fifty numbered tips, four acts, one mental model — shot once, becomes a week of feed.

  • Pick a tool/stack you have 12-hours-a-day expertise in. Substitute Claude Code with JoeFlow, $6 Stack, MCN, ClipLab — same scaffold works.
  • Write 50 tips you genuinely wish you'd known earlier. Quantity here is what makes it a library, not a video.
  • Split into 4 acts of ~12 tips each: Foundations, Daily Workflow, Power User, Advanced. Insert full-screen act-break cards as reset moments.
  • Build one slide template: numbered colored badge top-left, H1 title, one-line subtitle, screen recording underneath, webcam PiP bottom-right with a brand-colored glow during transitions. That's the entire visual system.
  • Open with the credential drop (47 seconds — 'I do X for Y hours a day') + the promise ('tips I wish I knew') + the roadmap card. No fluff, no story, no 'subscribe before we start.'
  • Thread one mental model through every single tip. John's is 'context is king.' Joe's could be 'own your stack' or 'fresh beats fancy.' One thesis quietly reinforced 50 times beats 50 unrelated lessons.
  • Close with a soft, trust-first CTA pointing at two prior videos. No newsletter pitch, no sponsor read. The 46-minute video IS the build.
  • Cut all 50 tips into 50 vertical shorts. One long-form shoot = 50 shorts = a full feed week.
Glossary

Terms worth knowing.

Claude Code
Anthropic's command-line coding agent that runs in a terminal, reads and edits files in a project, runs shell commands, and pair-programs with the user instead of just suggesting completions in an editor.
CLAUDE.md
A Markdown rules file the Claude Code agent loads at startup to learn a project's architecture, conventions, and validation steps. It can live at the project root or in a user's home directory for global rules.
/init
A Claude Code slash command that scans a codebase, infers its architecture and stack, and writes a starter CLAUDE.md rules file so the agent has baseline project context.
Context window
The finite span of tokens a language model can consider at once, including system prompts, files, and conversation history. Once it fills, older content gets summarized or dropped.
Context engineering
The practice of deliberately shaping what information an AI agent sees — adding what it needs, removing noise, refreshing stale state — to improve the quality and reliability of its output.
Token
The unit of text a language model reads and bills for, roughly a short word or word fragment. More tokens in context means higher cost and slower responses.
Plan mode
A Claude Code mode where the agent researches and proposes an implementation plan without editing files, letting the user review and refine before any code is written.
Accept edits mode
A Claude Code mode in which the agent is allowed to modify files in the project, as opposed to plan mode where it only proposes changes.
Slash command
A command typed inside Claude Code starting with a forward slash, such as /clear or /context, that triggers a built-in or user-defined action rather than sending text to the model.
/clear
A Claude Code command that wipes the current conversation's context so a new task starts fresh without prior history influencing the model.
/context
A Claude Code command that visualizes what is currently loaded into the agent's context window, including which files, tools, and MCP servers are consuming tokens.
Auto-compaction
A Claude Code behavior that automatically summarizes a long conversation when it nears the context limit, replacing raw history with a condensed version so work can continue.
/resume
A Claude Code command that reopens a previous session and restores its conversation context, useful after accidentally closing or killing a terminal instance.
Opus, Sonnet, Haiku
Anthropic's model tiers in Claude's lineup — Opus is the most capable and expensive, Sonnet is balanced, and Haiku is the fastest and cheapest. Choosing one trades quality against cost and speed.
MCP
Model Context Protocol, an open standard that lets language model agents call external tools and data sources through a uniform interface. MCP servers expose actions like browsing a database or driving an app.
Sub-agent
A secondary Claude instance spawned by the main agent to handle a scoped task in isolation. It runs with its own context window and returns only a final summary to the parent.
Skill
A reusable Claude Code workflow saved as a Markdown file in a known directory. When triggered by keyword or slash command, the agent reloads its instructions and re-runs the procedure.
Hooks
Scripts Claude Code runs automatically before or after specific events such as a tool call or a file edit. They are used for things like auto-formatting code or blocking dangerous commands.
Plugin
A shareable bundle of Claude Code customizations — skills, slash commands, MCP servers, sub-agents, or hook scripts — packaged together so others can install the same workflow in one step.
--dangerously-skip-permissions
A Claude Code flag that disables the per-action permission prompts so the agent can run shell commands and edit files unattended. Risky in production environments because mistakes can't be caught before they execute.
Resources Mentioned

Things they pointed at.

24:27channelSecond Brain concept (his previous video)
44:00toolAnthropic claude-plugins-official repo (GitHub)
08:44toolFigma MCP
41:40tool/chrome (Claude in Chrome extension)
40:55toolGit worktrees
39:06tooliTerm2
18:27conceptCompound engineering (recent industry term)
23:46channelNode.js creator (Ryan Dahl) — 'era of writing code by hand is over'
40:10toolWhisper (voice-to-text dictation)
Quotables

Lines you could clip.

00:08
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.
credential drop + status quo violation in one line — perfect for cold-open hookTikTok hook↗ Tweet quote
01:00
Tips I wish I knew when I was first getting started.
universal frame for any 'learnings from the trenches' contentnewsletter pull-quote↗ Tweet quote
04:40
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.
the actual unlock buried inside a tutorial — the meta-lessonX thread opener↗ Tweet quote
23:46
Once Claude Code builds up that context and has good execution specs, the generation of the code is actually the easy part.
inverts the popular take that AI coding is about better prompts — it's about better contextIG reel cold open↗ Tweet quote
40:00
It really feels like I'm playing Starcraft to some degree. And all of this, I'm just doing with my keyboard.
vivid metaphor for the multi-instance workflow — sticky imageTikTok hook↗ Tweet quote
45:40
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.
the thesis statement — buries 46 minutes of tutorial into one bumper-sticker lineend card / pull quote↗ Tweet quote
18:27
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.
compound-engineering distilled — names a new behavior, gives the why in one sentenceX thread↗ Tweet quote
34:15
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.
contrarian take with a tight prescription — the strongest 'most people are doing X wrong' moment of the videoTikTok hook↗ Tweet quote
The Script

Word for word.

metaphoranalogy
00:00Well, hello there. How's it going, everybody? Today, we're gonna go over my 50 Cloud Code tips.
00:05I've been working with Cloud Code basically every day for about six months now, and I feel like I've learned a ton of things. And, yes, I am one of those engineers that are basically not writing code anymore.
00:18I'm still in Cloud Code, like, twelve hours a day, actively pair programming with Cloud Code, basically, and reviewing a ton of code. I still read every single line of code.
00:28That's actually my biggest bottleneck right now, the reviewing of the code. But I thought it would be great to show you kind of the best tips that I've learned along the way, and these are kind of tips that I wish I knew when I was first getting started. We're gonna start off with some foundation stuff like setting up very quick setup stuff, a little bit about, like, Cloud.
00:47MD rules, like, what you should put in, what you should think about, and kinda some of the advanced stuff for later. But without further ado, let's dive into 50 Cloud Code So I got my terminal here, and I just have some slides behind to tell you guys what I'm doing.
01:04So here is the foundations that I mentioned. We're gonna cover getting started, keyboard shortcuts, some essential, like slash commands, and a little bit of a deep dive into the Cloud.
01:15Md. So let's get started. Alright.
01:18So for tip number one, you wanna run Cloud Code in your root directory of whatever project you're working on. So for example, I have this Pomodoro app that I'm, like, kinda been working on.
01:29So I'll type in, like, Claude here, and that's essentially how you get started. And you really wanna do this because later we'll talk about this, but if you have rule files or any kind of setup, the initial root directory is where Cloud is gonna zip up the context into that first token.
01:46So if you ever wonder why you had a bunch of tokens used even though you just opened up Cloud, this is probably the reason why. It's because Cloud's getting your project ready. Alright.
01:55So one of the first things that you wanna do is run slash init like that. And what this does is cloud will go and look at your code base and do an analysis of your code base and then create that initial cloud dot m d file in the dot cloud directory of your code base.
02:12Now there is, like, different directories that you could source from. Like, you could have a global one or, this one.
02:19But, yeah, at a high level, what this is doing right now is just is just looking at the code base, looking for the architecture, and then, basically, it's creating that Cloud. Md.
02:29Alright. So it just finished. It does take some time.
02:31And as you can see, it's kinda going and saying, oh, this is this is like a Next. Js 15 app.
02:39It's like a portfolio site. But, yeah, it's just going over high level things about this particular project, and then you could just essentially hit yes to commit that to your dot clot.
02:50So this is, like, really important for new projects, so I highly recommend you to run it. Alright. So the tip number two is that clot dot m d file that we just created, it kinda runs on a hierarchy.
03:01So if you go to memory slash memory, you could kinda see right here that there is a checked in memory, which is the current root directory, and then there's a user memory. This is like your global one.
03:12So that's, like, in your tilde dot claud slash claud. So you could kinda choose between it, but it's it's really there so you can know what the core rule that the cloud code is operating on right now.
03:24Looking at the cloud.md that Cloud just created, like, this is a pretty good one to get started. Right?
03:30It just has, like you you don't want it to be too large. It's, like, very small. Right?
03:34I I think around 300 lines is about a decent place that you wanna aim for. And to be honest, going larger is fine, but just remember that every time you increase that initial context window, you're gonna use more tokens, first of all, but also the more bloat you have in your context, the less likely the AI will do exactly what you're trying to do.
03:56Alright. So for structure and what you should be thinking about putting into your Cloud. Md, I just opened another project.
04:05This one is my Anime Pomodoro. This is an iOS app, so I wanted to show you a little bit more examples. But, basically, the things I like to put is, like, high level technical architecture and the requirements, You know?
04:17Like, what is the project? Like, that's kind of important. And then you wanna give it, like, some domain context.
04:23Right? Like, oh, it's using Swift UI, and I probably would add high level architecture and, like, kinda the file path and things like that. And just some of the high level design patterns, like, you'll see, like, all of that should go in here.
04:38And then one of the important thing is kind of having your build flow, like, your validation flow, and this is, like, kinda where my build and validation is. So you can see that I'll, like, build the Xcode and then build a project, make sure things compile. Just having this loop of validation is so amazing because the AI will just be able to self improve and keep going until it fixes itself.
05:03So, like, if you're ever in that situation where you just, like, ask cursor to do something or ask some AI code agent to do something and it just doesn't work, a lot of that gets resolved when you fix the validation. And validation, I think, 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, like, coding systems or any workflows is really what is the validation loop because that will dramatically improve how good your AI will be.
05:36Alright. So let's go to some keyboard shortcuts. And the reason why I even have this entire section for this is because if you're gonna be in Cloud Code all day, every day, like, you're an engineer, you're just gonna be on this workhorse for quite a while.
05:53So you should learn how to actually use most useful hotkeys, and there's essentially shift tab toggle modes is pretty useful, and that's just like hitting shift and tab. And then you can see right here that we're switching from accept edits to plan mode.
06:10I actually use plan mode quite heavily. I I think I use plan mode almost exclusively whenever I start a new feature.
06:18It's rare that I start in edit mode. I always just want to verify and double check that my assumptions about the code base that I'm working on and the the direction that I'm trying to go with is the best option. So I usually start in plan mode and spend a decent amount of time before I go to accept and just, like, start execution.
06:38Alright. Escape interrupts. Let me just get something started here.
06:42Tell me a good way to plan a live activity for when I background the app.
06:48Okay. So I'm gonna let this go to show you guys what escaping the interrupts is, but you can see that Claude is, like, thinking here, and it's, like, going through and doing things.
06:59Sometimes if especially during plan mode, you wanna kinda, like, look at this and look at the thinking and see if it's going off track. If it is, you just hit escape, and then it interrupts.
07:10Now a lot of people might be, like, kind of, like, scared to interrupt it, but you can just, like, hit up and then go right back to where you're doing, or you could just interrupt it and tell it something else. The whole point is Cloud Code has a really good way of, like, deducing and entering prompts in a nice queue.
07:28It, like, it logically knows what to do. So you don't have to be so scared to, like, enter more than one prompt and also, like, escaping early and interrupting and changing course. Like, it's actually recommended to do that.
07:42Tip number eight is if you ever had something, like, really big where you copy paste something and you're like, oh, I don't wanna delete everything, a handy shortcut here is just double tap escape, and it'll clear the input. There's also a VIN mode if you're into that, but I use this all the time.
07:58Another thing is when you're on an empty input, if you double tap escape, you'll see that you can rewind to, like, a previous point and then restore that context point. This is kinda common with clock code, but a lot of the tools, I feel like, is really built to manage your context and context engineering.
08:16And then there's just, an agent that is wrapped around the orchestration. But a lot of the, like, slash commands and stuff that we'll be going over, I feel like it's it's really to manage that context window.
08:28Alright. Screenshots is obviously a pretty common thing to do. There's a lot of ways to do it, but you can essentially take a screenshot and then drag it over and just drop it in.
08:40And then, obviously, another good tip is to add context. This is a cool picture of the Clockholm mascot. Do something with it.
08:48I don't know. But yeah.
08:50So that's a really good example of, like, taking a screenshot and bringing it over. If you are doing any kind of UI work, you'll definitely use this workflow. I also highly recommend finding, like, a Figma MCP or some form of MCP that works really good with the specific validation that you're trying to do.
09:09Alright. Moving on to essential commands, and this is slash commands. Before I end on the keyboard shortcuts, there's a lot more keyboard shortcuts, things that I don't use all the time.
09:19If you just go to, like, slash help, you'll be able to see a bunch of them. But the ones that I covered, I use all the time every day. So definitely just memorize it.
09:27I think it would be really useful. Now essential commands is, like, the slash commands that I think you should know about. There's way more slash commands, and you could, like, make your own slash commands, but these are the ones that I think is useful.
09:40Alright. So slash clear is basically a way to clear the context.
09:46Now you could actually do this by just creating another instance of Claude. Right? That's basically the same thing.
09:53But if you don't wanna, like, do that, you could just clear the context. And this is really good if you wanna start a new feature and you're completely done with the old task, and you don't want the old context to blow up the new context and influence the new project that you're doing. Alright.
10:08So I just loaded some stuff. Let's go into slash context. What this does is it will give you, like, a visual representation of the current context that Cloud Code is operating in.
10:22Now why is this useful? So the main reason why this is useful is because it gives you an opportunity to reason about the context that Cloud Code is making assumptions on on your code base. Now I always say context is best served fresh and condensed, and you really want to take a look at this from time to time.
10:44If you ever felt like Cloud Code has regressed and, like, things are not working the way it is or your, like, cost and usage, like, bill is going up, you really wanna look at this and then see which are, like, the most biggest offenders. Right? You just wanna, like, audit it.
11:00Like, MCPs are one of those very common things that blows up your tokens. I mean, like, look at all of this Xcode related MCPs. And every time it runs, they're like I mean, these are not a lot because I haven't been doing that much in this particular workflow, but you could just imagine that once I start doing those iteration cycles, this, like, usage will, like, blow up.
11:21But So if you look at this and you're like, oh, this MCP is using so much, then you could remove it or just disable it for this directory. So slash context is something that you probably should not ignore. Again, I think Cloud Code, all of the tools is really there to manage a lot of the context and doing really good context engineering, so this is a good slash command.
11:41Alright. So in terms of compaction, like, if you use CloudCode at all, if you had a long session, it'll start auto compacting at some point. All auto compaction does is it takes your current context window, like context that you created, and then it will just summarize it.
11:56And then it does a pretty good job. For my projects, I usually just let the auto compaction work, but if you really want to compact what you have right now, you could just compact. But I I rarely use this.
12:08The only time I use this is if I wanna save some version of my context into, like, my local, like, second brain.
12:16If you haven't seen that video, go and check it out. But I have the second brain concept when I work on projects, and that's where that goes. So for slash models, this is, like, very useful, I think, if you have unlimited tokens.
12:28Like, if you're doing this at work, for me, I usually just default it to Opus 4.5. But if you're very, like, cost sensitive and you know certain workflows work well in Sonnet or, like, Haiku, then you could just go and change that. Keeping at default is fine too, but I would try to use Opus as much as possible.
12:48Alright. So slash resume is really useful if you accidentally, like, lost your instance. Let's say you created another one and then you accidentally killed it or something like that.
12:59Right? Oh, you killed the wrong one or something. Then when you go back into ClawCode, you could just slash resume like so, and then it'll give you kind of the old context, and then you could, like, recover your context so that you don't lose the all the work that you did in building up that context window.
13:18Alright. Slash m c p is really about showing the MCPs that you have installed.
13:25If I have to be honest, I try very, very hard to not use MCPs because I think they blow up your context window. So I only install ones that are needed for that very specific project, and I try to just leverage Cloud Code and write scripts and, like, these kind of things manually, like myself, to do the validations and things like that.
13:47But some projects, you just do need MCPs. Like, this Xcode one, you kinda need it. And for other projects like my Next.
13:55Js apps, I have, like, a whole set of MCPs for that. But just be careful with MCPs, but it's a really fantastic way to teach Claude how to do certain things, especially with, like, third party software and things like that.
14:08You know, it's a protocol. Right? Model context protocol.
14:11So it's basically used everywhere, but, again, it's known to blow up your token usage and your context window. So just be careful. Alright.
14:18So slash help is the last thing I'm gonna teach you, you know, teach a man how to fish. So this, like, little wizard here will just teach you what they are and give you, like, descriptions of everything. So just go ahead and, like, try these out and just take a look and, you know, explore.
14:32Alright. So the next thing is around git. So you could ask Cloud Code to manage your Git.
14:37I think there's a bunch of, like, skills you could download to Cloud Code to manage all your Git, and I think that's something that you should do. Like, I write a lot of my summaries and test plans all using, like, Cloud Code now. Obviously, I have my own templates that I wrote, so Cloud kind of sounds more like me and is not too verbose and things like that.
14:56So I highly recommend you to use Git as a safety net. There is actually a rewind feature, like I think I told you, where you could restore the code in the conversation, but this is a little confusing to me. Like, Git is just better.
15:09I use this as, like, a last resort if I didn't have Git for a certain checkpoint. So now that you know how to just navigate around Cloud Code and things like that and just kinda high level important, like, commands and things like that, I think it's a good time to deep dive into the cloud dot m d file.
15:28I think for most people, most users, like, 80% of users, if you just have a really good cloud dot m d file for your project, you could get really, really far without learning, like, all the advanced stuff. Just having a really good rules file will save you a lot of headaches.
15:48Let's kinda dive a little bit deep into this. Okay. So one of the most important things in the claw dot m d files is first of all, it's like, it actually reads top to bottom, and it keeps the priority from top to bottom.
16:02I think that's, like, a very small nuance. I'm pretty sure that's true. I think I read that somewhere.
16:07But So you wanna go top to bottom as, like, important to least important. And you wanna add things that are, like, never do something, but always do this. And then have, like, clear snippets of examples, I think, is really good.
16:20And I don't have that many on this particular project because it's stock SwiftUI, but the context here is that you should really think about how unique is your project, how many things about your project is, like, homegrown and, essentially, like, the AI may have never seen. Like, remember, a lot of this code is, like basically, a lot of the AI, like, coding is basically just an accumulation of, like, the best code that the AI is trained on.
16:50So it might not know your, like, super special DSL language that you created or, like, some random archaic patterns that your company has, and that's where you'll be like, oh, why is the AI never doing this?
17:04So whenever you run into something like that, you wanna fix it manually, and then you just update your cloud.md rules so that it never does that mistake again.
17:14Think of it as, like, Lint files kind of. And then when you ask Cloud to update the rules, you shouldn't ever do it manually. You should just go here into Cloud and and say, hey.
17:25Can you update that rule for me so we never do it again? Something like that. Like, as simple as that, we'll go and update the your Cloud dot m d files.
17:35You see how it's trying to do it? Obviously, there's nothing that I just did, so it says nothing to add. But yeah.
17:41Okay. It it added something that I thought, but you get the point. Alright.
17:45So this next one is really around using, like, keywords to trigger your skills.
17:51So, basically, I have these, like, build commands inside of my rules. So when I say, hey. Use my Xcode MCP to build, it'll try to build the app, for example.
18:02Use my Xcode MCP to build the app. Okay. My whisper stuff is, like, failing a little bit, but maybe you'll get the gist of it from build the app.
18:14And as you can see, it's it's asking if I can use the Xcode Build MCP. So that's kind of the high level of, like, using skills and, like, trigger words to be able to trigger a certain behavior. This next one is something called, like, compound engineering.
18:28That's, like, kind of a new term that is being discussed, but it's essentially to take your Cloud. M d and start, like, committing it into the code base.
18:40Now, obviously, you need to get rid of anything that's, like, generic for your code, like file paths and things like that, and you also wanna be mindful of how large this file becomes. Right? Because, like I said, every time someone hits Claude in that directory or Claude is trying to read that directory, it will load that Claude dot m d file.
19:01So you don't wanna blow up other people's context windows, so you really wanna be have this be, like, a high bar when you're committing it. But the nice thing is once that's in, you essentially make that AI coding experience better for your teammates. But you just need to make sure that whatever you're landing is actually helping.
19:18There's a lot of school of thoughts around this right now. I don't think it's, like, completely solved, but there's gotta be some form of evaluations here.
19:25And a lot of people are just using, like, Vibes. So you just, like, test it for, like, a few weeks, and then you just try to land it aft and then ask for feedback, essentially. So dangerously skip is essentially like claw code in YOLO mode.
19:40You know? Like, just basically, if you use claw code, it'll ask you to accept a bunch of stuff.
19:45It could get really annoying. So a lot of people, they use, you know, clawed and then dash dash dangerously skip.
19:53Okay. So it's dash dash dangerously skip permissions.
19:58And when you run this, Claude code will no longer ask you essentially to accept that. I think it will completely just ignore it except for, like, anything you put into your slash permissions, which we'll talk about.
20:12But you only really wanna do this in in environments that you can kinda throw away and you're doing specific work that is not, like, super dangerous.
20:21Like, if you're gonna start touching the OS and stuff like that, you could really mess it up. I've messed up some of my Linux machines because I was just going too aggressive, and I was just testing it out, and I was trying to set up some of my Linux stuff using ClockCode, and then, like, I had to reflash the entire thing.
20:37Like I said, you can use slash permissions here to kind of, like, tell which ones are like, you still want to accept.
20:47So it does you know, like, r m dash r f or something, like, don't do that. Or yeah.
20:52Just like mutations. Like, just be careful with mutations, like, deletion mutations. Right?
20:58Alright. The next big one, I think, now that we talked a little bit about the CloudNMD rule of files, I think we should talk about workflows because I have a very specific way I'd like to work, and I've actually refactored my entire work so that it's works with Cloud Code.
21:17You know, I used to use Cursor or, like, Android Studios mostly and Versus Code to do a lot of coding and stuff like that, but I dropped basically all of that, and I use just iTerms now. Some people use, obviously, Vim, but I think iTerms is fine. So I'm gonna show you guys a few things.
21:36So like I said, I always start with plan mode.
21:41Let's go in, like, plan, like, a little feature for this Pomodoro app that I've been, like, kinda working on. I don't know. I actually need to remove a bunch of audio stuff.
21:49So let's just say, audit my code base and make sure that we're removing all of the audio playback and references to the audio of part of the Pomodoro app. I'll always start with plan mode, and I'm, like, iterating with Cloud Code.
22:06I'm arguing with it. I'm having a conversation with it. You know, Clocko, you're so beautiful.
22:11You're so amazing. No. But, like, I'm really treating it as, like, another, like, just good engineer that I'm, like, working with, and I'd never just, like, purely accept the first answers that it gives to me.
22:24I'm always kinda challenging it, and I spend a lot of time and put a lot of effort at this stage of the development. Because I feel like once CloudCode builds up that context and have good execution specs, the generation of the code is actually the easy part.
22:41And I I do wanna take a moment and talk about, like, kinda the news cycle about people saying, oh, like, people are no longer writing code. I think, like, the creator of Node.
22:53Js said, like, the era of, like, people writing code by hand is essentially over, and I actually truly believe that. And the thing is I love, like, being in the zone and writing code. At least I used to.
23:06The thing is it's really hard to get back into that mode. It's, like, very different levels of abstractions of the way you're working. And right now, I'm just doing one instance of it, but you could imagine just having, like, multiple cloud instances like this, and and and then you're just actively working on a bunch of different things at the same time.
23:28Because you have this, like, new superpower, the new next level of engineering is really, like, jumping between cloud instances and and really context engineering that instance and then getting it good enough to start executing.
23:44And I keep talking about this, like, context. Right? And this tip is really around, like, fresh context beats, like, bloated context.
23:52I think I kinda cover this throughout this, but that's why you wanna start with plan mode, make sure it's good, and then just go and execute. Instead of, like, having a bunch of, like, try this and then try that and then try this and then try that.
24:06Like, that will just bloat that context and then the AI will get really confused at some point because it it can't remember what what part of what was good and not good. So that's why you wanna spend the time in the beginning building up the good context, have a good plan doc. So it always has something that initially was good to reference, and then it builds little by little.
24:28Alright. So this next one is really around persisting that context.
24:33I have a full video on this about, like, the second brain concept, so I'll link it here. But the idea here is that, let's say, you've finished something.
24:42You could just say, save this to my local cloud.md in my project's directory. Save the work that we just did.
24:50So you you could say something like that, and then, um, I I essentially have a full workflow for this to manage this. But, yeah, you you could do that. Load my context from my local projects.
25:04So once you have that second brain concept, you could say a command like this, and it will pull that context and then load it for your new session.
25:14So here's a good example. I like to do a lot of my to dos inside of Cloud Code itself. These are kind of the high level things that I still need to do for this next feature that I'm working on.
25:24So I'm, like, working on a widget for this Pomodoro app, and I have, like, a live activity, for example. And I'm also, like, deleting all the music stuff because I don't think it adds value. So I have a bunch of stuff that I'm tracking, but because I keep all the to dos in my local index, like, that I'm lazy loading, I don't always load it.
25:43I only lazy load it when I ask for it. It allows me to, like, context switch from project to project without, like, carrying around, like, complex, I don't know, Asana boards or whatever. I just keep it all in here, and it's this is this works because it's my own project.
25:57But you can technically do this with, like, an MCP with Asana or, I don't know, Jira or whatever as long as you can whatever project management that you can think of. Alright.
26:08So I think we covered this a little bit, but really think about the build cycle. Like, obviously, if you're mobile, think about x code building the x code.
26:17But there's a lot of other workflows that you could think of. Like, for example, you could ask Cloud Code to like, let's say you're debugging something that's, like, kinda tricky, has, like, race conditions or things like that. You could ask Cloud Code to, like, add debug logs, for example, and then run the app and then have Cloud Code control the emulator.
26:37You could just ask it to do that and then, like, do the actions that you're trying to do and then read the logs through a tail log or something and then debug that way. Or you could use, like, Perfetto or something like that for kind of performance things. You could hook into Perfetto MCPs, do a run, and then have it read the traces, and then see if it can find jank just from, like, the timings.
26:59Right? There's just so many validation loops that you could think of. Like, for web, you could do, like, Puppeteer and have Claude navigate it using a slash Chrome command and then just actually do the navigation or have it write just test or have, like, integration end to end integration test.
27:15You know, there's there's a lot of things that Cloud Code could do, and it really is up to your imagination. But it's the single most important thing in my opinion if you wanna have a more automated loop that, like, generates good code on, like, the first try.
27:30So going back to the slash models, really just consider using Opus if you can afford it. It's just the best way.
27:38All of these are a little bit slower, but because the way I work is I have multiple cloud instances, obviously, it's, like, very small, right, in here, but I have multiple cloud instances running at all times. And then the way I work is basically just juggling these cloud instances.
27:55So even if one of them takes a long time, it doesn't matter because I'm like, I gave the command, and I go to the next one.
28:03I'm building the context. I give a command, and I go to the other one, and then I give a command. So so, like, you end up, like, still can get into the zone, but it's, a different style.
28:15So I talked a little bit about interrupting earlier, but you really want to, like, look out for, like, assumptions or the keywords are like, oh, I'm not really sure, or you'll see, like, errors happening.
28:28I'm having a hard time, like, getting it to do this in this example, but just just know that, like, when you go and look for the best ways to delete an app.
28:41I don't know. I I'm just giving it a random prompt to try to make it go off course, but if you see it going and making assumptions about certain things okay.
28:53This time, it didn't even because it's just new. But you should just interrupt it like that. You know?
28:58And then and then just course correct it. So don't worry about course correcting. Okay.
29:01So the next section is around power users. I I don't really like to say power users, but most people that I've talked to don't really know, like, the differences between a slash command or a skill. They're they're kinda interchangeable now.
29:16And MCPs, sub agents, you know, post hooks, pre hooks, like, these kind of primitives that ClockCode is, like, known for and kind of, like, invented. And we're gonna cover some of that and and how this these are all, like, composable in nature.
29:31Okay. So I call it the composability framework, but it's I just really wanted to highlight that these are composable more than anything. But there's four primitive, like, composable things.
29:42All the slash commands are technically composable with each other, not directly each other, but anyways. So we're gonna just go over the fact that, like, how these are composable.
29:53Okay? So let's first talk about skills. All a skill is is is, like, you do a workflow.
30:00So let's say that I tell Claude, go and fetch Hacker News for latest iOS news. So let's say I tell it to go and fetch Hacker News for the latest iOS news, and then and then I tell it to save that.
30:17Okay. And then save a summary to my local claud.md.
30:28Claud directory. Okay. I misspelled that.
30:32But, basically, let's say that it went and found some, and then it's save it into my local directory. Let's say I wanted to build a skill around that.
30:40So you just saw me do two things. One is fetch something from a source like Hacker News and then save that thing to my local directory. That's technically a workflow.
30:52So all you have to say do is save what we just did into a new skill called fetch hacker news. And that's basically it to create a skill. It's basically a recurring workflow that you can just tell Claude to remember.
31:07And behind the scenes, it's actually just an MD file, as you can see right here. Oops.
31:13And as you can see here, it's literally just a system prompt. It's an MD file. But Claude has specific directories that is looking for skills, and it will be able to infer this next time I say, go fetch something from Hacker News or use my Hacker News skill to fetch articles.
31:32Yeah. And then commands is basically now interchangeable. It's it's a pretty recent change, but you can see that skills is written into the skills documentary, and it there's also now a slash command called slash fetch hacker news.
31:47This is a very recent change from Anthropic where they kind of, like, combined commands and skills. But yeah.
31:53So now you can just do slash hacker news, and then now it'll rerun that system prompt, for example. It added, like, an additional, like, assumption thing. That's pretty cool.
32:03It's not exactly what I did, but it kind of inferred that I would probably want that. So those are the little cool things. And and the thing is you could update these anytime you want.
32:12You know? You could just ask Claude to do do something else. Alright.
32:18So like I said, you never wanna manually create these kind of stuff. You wanna get in the habit of asking Claude to update and manage these skills.
32:28So we could say, why don't you extend this fetch hacker news to fetch Twitter or Apple news, for example. Now sometimes it won't work 100% exactly.
32:39Right? Okay. So you see this?
32:41It doesn't have Twitter authentication access, so it's trying to just do some other ways.
32:48Yeah. Multiple sources. So you can see how it's all updating that system problem that we wrote.
32:54Right? And then fetch hacker news and so forth.
32:58You you get the idea. Alright. So MCPs, I think we covered it a little bit during the the rules, but, basically, MCPs, you just wanna find MCPs like this.
33:11Right? Like, they're just model contexts. But kind of a hack is, like, you don't actually need to search the web for an MCP.
33:20You could just be like, find me a good Figma MCP. You could just ask Claude to find it for you, and then most of the time, it does a good job.
33:29The only thing is, like, sometimes it's outdated, so it'll it'll, like, know of one that's was popular a little while ago rather than doing a web search.
33:40So you just have to be mindful. And that's why I'm saying, like, for certain actions, you wanna read how what it's doing and look at the thinking and then cancel it if you want to.
33:49And you could have Claude also install the MCPs, so you don't have to, like, manage, like, the configs and stuff yourself like you had to with cursor. Yeah.
33:58So you could ask Claude to install the MCPs. So, like, right here, it says, go and do this. Right?
34:04But instead, I could just be like, why don't you just install this for me, for example? And then it will just go and install it for you.
34:12Alright. So in terms of sub agents, I don't know if I have one for this. I might have, like, an iOS I might have one, like, an iOS, like, context gathering or, like, architecture agent.
34:26Let me try it. So spawn a iOS architecture agent sub agent and do some investigation on and on my code base and see if it's actually good or not.
34:42So you can build subagents just like you can with slash commands and skills. All you do is just ask it to make a subagent after you do the work once.
34:53The main reason why you want to create a subagent is really to do parallel work, but also it's to protect your context window. So like I said, one of the key features of Cloud Code is to manage your context and do context engineering, and subagent is a huge way.
35:13And I think a lot of people are using subagents incorrectly because they do things like this where you have, like, an iOS subagent. Right?
35:21By the way, it's not triggering the subagent. I'll just make one after it creates it and show you guys what it looks like. It, like, highlights it in, like, a different color.
35:30But a lot of them have this, like, workflow where they'll tell it to go do something that does the context gathering, and then they ask to, like, bring it back. But that part that portion of the context that's bring brings back from the sub agent, it's only, like, the output.
35:46It's not, like, how it got there, so it doesn't have the full context. So for those kinda works, I usually just keep it within the context window because those are the things that are really good. Use what we just did to create a iOS architecture sub agent.
36:03But yeah. So so oftentimes, people mistake that you wanna, like, have a validator agent.
36:10You wanna have, like, a testing agent and all these kind of things, but I try to keep the all the things that need that context to do its work within the same CloudCall session. Because, like, a good testing agent needs to know about the code that I wrote most of the time, in my opinion.
36:29Of course, sometimes things could live in isolation. So what are really good things for sub agents is really just, like, things that are atomic in nature that you wanna just have it run as side effects and just go and do.
36:42But, yeah, so that's what I use sub agents for. I don't use sub agents that often. I know some people, like, love using them.
36:48But one of the most common, like, clowny kinda use cases that I've seen is, like, CEO agent, product agent, design agent, and stuff like that, and I don't really believe in that particular workflow. Like, you really wanna have this concept of bringing the work to the context rather than trying to spread out the context that gets created.
37:07Alright. So and this kinda ties into it. Like, you wanna avoid, like, having a lot of instructions and overloading the context all the time.
37:17You wanna keep your context condensed and fresh. So that watch my video on the second brain, and you like, that's it'll teach you a lot about, like, lazy loading and then having this, like, ongoing project domain thing that builds over time, and you wanna essentially use that as your rag system to build, like, a good context and then be able to just have fresh and good context all the time for your AI to execute on.
37:44Alright. So here is some interesting, like, advanced workflows, and I really think that the big game changer, in my opinion, for Cloud Code and why I think Cloud Code is just so amazing is that you can do a lot of parallel development.
38:02This is why I had to, like, fully change how I work using, like, terminal and stuff because you could run multiple instances. And I already kinda showed you guys this, but you could just swap between these and just have, like, multiple things running at the same time.
38:18So I could say, start working on my live activities feature. So I could just have that.
38:25Obviously, I would do it in plan mode, but I'm just showing you guys. And then over here, I could just say, alright.
38:30Let's test out this iOS architecture and and then just spawn a sub agent. So as you can see, I'm doing some investigation on one side, and then I'm doing live code editing.
38:41But the thing is, I could always just create another one, go to, like, a different project like this, and then now I could be saying, hey. I wanna work on a new newsletter, for example.
38:53So I could be doing a bunch of stuff all at the same time. So that's like a really so understanding how to juggle this and doing it effectively, I think, is, like, the next step function change.
39:05And I just wanna kinda shout out iTerms. I think it's, like, really good because, you know, you could do command d to create new instances like this.
39:16Right? And then you could juggle between the terminals using command the left bracket and right bracket.
39:24Like, ignore this, like, slash. It's like I'm just saying, oh, it's left bracket or right bracket, like slash.
39:31Right? But yeah. So and you could do that.
39:33You could also if you have multiple tabs like this, you can actually swap between it. And at work, what I do is I rename, like, what I'm doing in here.
39:43Like, I'll say local, and maybe here, I'll say, like, remote SSH or something like that. And then from the remote SSH, I could have Cloud, like, running like this, and I could spawn them more. You know?
39:56And then and then I could just be going back and forth here. So it really feels like I'm playing Starcraft to some degree. Right?
40:04And all of these, I'm just doing with my keyboard. And when I'm home, I'll just, like, be in Whisper using Whisper, which is, like, this voice little thing that you see right here, and it just translates speech to text really quickly.
40:18Sometimes it's not that accurate, but so I'm just, like, switching, switching, and I'm just basically talking to it, you know, just literally working as in multiple projects all at the same time. I think my bottleneck right now is really how much context switching I can do in my head. So, yeah, another thing is enabling notifications.
40:35You could tell Cloud Code to change the notifications. Right? You could just say, the notification to ring a little sound when you finish execution, for example.
40:45And then when it's now, it'll basically ring, like, a little notification.
40:50And and you could do a lot of things. At one point, I had, like, text to speech where it, like, reads a summary of one of wherever it finishes, it will read the summary.
41:02So I could be like, okay. I gotta go back to tab two and then go do something. But that was too much, so I disabled it.
41:08Gig Worktrees is another way to do multiple code execution. So one of the bottlenecks that you'll see is if you have these kind of, like, bunch of multiple instances, you'll soon realize if you're doing local development, you won't be able to make code edits to the same project unless you use Git work trees.
41:25And I'll add some descriptions on how to use git work trees, but, basically, it's it's a way to, like, clone multiple instances of your code base and have, like, different forking branches. So you could have, like you could work on, like, code, like, executions in the same project. Slash Chrome is actually a really cool tool in my opinion.
41:44So the way you get to it is by just doing slash Chrome like this, and then it'll go to, like, slash Chrome. And then it'll open this thing.
41:53You can't see it here, but there's, like, a little button. And it just opens it, and you could actually navigate the browser.
42:00So go to tip number 46.
42:07So what it does is it will look at the website, and it'll and you can approve the plan. You can allow the action. So, basically, it'll create the plan, and then it will, like, do it.
42:16Okay. It doesn't it doesn't really know how to do it. So I'll say hit let let's just try YouTube.
42:26I think YouTube might be easier. Okay? So we'll we'll open YouTube and then say, find a video on cooking, for example.
42:39Yep.
42:43So you can see that it, like, takes a screenshot. It will, like, click. It'll type cooking, and then it will, like, find cooking videos, for example.
42:52And then so I use this whenever I don't have API access to certain things, but I can get there via my web. And and because you could control it via slash Chrome, you can have it as part like I mentioned, that all of these are composable, you can have a command that goes to Chrome, scrapes bunch of stuff, and comes back to you with the data.
43:15Okay. So moving on. Like I mentioned, it's really good for a power for, like, debugging.
43:20Right? You can navigate the web with it. That's also part of the validation thing that I was talking about.
43:26You can fill out forms and stuff. Alright. Hooks and automation is really just, like, kind of the cherry on top, and this is very similar to, like, GitHub's prehooks and GitHub's, like, post, like, commit stuff, like, recommit stuff.
43:41So, basically, these are hooks. And as you can tell, it's just, like, something to do before you start executing or after executing and after executing fails.
43:52Like, there's all these things that you can do, and you shouldn't manually do this. You should just ask Claude to, like, add these for you.
43:59You know? Like, go back to that principle that you're no longer main manually maintaining your work environment.
44:06And a good example on what to put here for the post tool use is, like, you know, things like art like linting and and formatting your code and things like that.
44:18And I'm not really using this yet, but, basically, uh, this is really good if you wanna block, like, removing your entire, like, database or something like that.
44:28It's it's just, like, good good to prevent very disruptive things. I haven't really set it up because, you know, I have, like, remote backups, and, also, this is, like, side projects.
44:38But for real world, you probably want something. And finally, with that, I think you got the vast majority of, like, the best tips that I know for ClockCode. The last thing I'll leave with you is to explore the, like, the plug in ecosystem.
44:54All a plug in is is a just a combination of any of these composable things that I talked about, like a skill that triggers an MCP that triggers, like, sub agents or something like that, or maybe there's, like, a bash script that's attached to a skill, that can all be turned into a plug in.
45:11And then a lot of people share their plug ins online. So this is, like, a really good example. You know, Anthropic has their own, like, plug ins, like, structure, and they have a bunch of plugins here that you could download, for example, um, like, colon ISP and things like that.
45:28So that's basically it. And the last thing I wanna say is context is king. You gotta keep it fresh, keep it relevant.
45:37You essentially need to give Claude the context that it needs and nothing more. But yeah.
45:45So go and build something amazing. I hope this was valuable to you.
45:49I hope you learned something. Go and build something amazing. And if you're interested in this kind of video on CloudClode, I did a whole video on, like, kind of the high level thought process of, like, AI coding and and also talked a little bit about my second brain thing.
46:06Those two videos are right here, so go and check it out. But, yeah, until I see you guys on the next video.
The Hook

The bait, then the rug-pull.

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.

Frameworks

Named ideas worth stealing.

29:34list

Four Composability Primitives

  1. Skills
  2. Commands
  3. MCPs
  4. Subagents

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.

Steal forthe JoeFlow Sessions architecture story — frame Templates, Hotkey Macros, MCP integrations, and Cooks/Crew agents as Joe's 4-primitive composability framework
03:58model

What / Domain / Validation (CLAUDE.md structure)

  1. What: tech stack
  2. Domain: what each part does
  3. Validation: tests, linters, type checkers

Every CLAUDE.md should be organized into these three sections. The Validation section is the unlock — it gives the AI a self-correcting loop.

Steal forany AI-coding tutorial Joe makes. Lift this verbatim as a section template for his own rules-file content.
18:27concept

Compound Engineering

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.

Steal forMCN+ pitch — frame the platform itself as compound engineering for creators: every workflow Joe ships becomes a permanent capability for members
45:32concept

Context-Management Mental Model

'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.

Steal forthe universal mental model for any AI tool Joe builds — frame every feature in his apps as either 'add fresh context' or 'remove stale context'
21:38concept

Plan-Mode-First Workflow

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.

Steal forBuilder Joe character — codify 'Plan Mode' as a teaching beat, the discipline that separates serious operators from prompt-and-pray users
26:09concept

Validation Loops

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.

Steal forany 'why your AI agent sucks' content — universal diagnostic: 'what's your validation loop?' is the first question to ask
CTA Breakdown

How they asked for the click.

45:40next-video
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.

Storyboard

Visual structure at a glance.

credential cold open
hookcredential cold open00:00
Act 1 — Foundations card
promiseAct 1 — Foundations card01:04
Tip 1 slate
valueTip 1 slate01:18
What/Domain/Validation tip
valueWhat/Domain/Validation tip03:58
CLAUDE.md Deep Dive begins
valueCLAUDE.md Deep Dive begins15:24
Act 2 — Daily Workflow
valueAct 2 — Daily Workflow20:59
Act 3 — Power User
valueAct 3 — Power User29:01
Four composability primitives
valueFour composability primitives29:34
Act 4 — Advanced
valueAct 4 — Advanced37:48
Parallel Workflows section
valueParallel Workflows section38:02
Tip 50 — plugin ecosystem
valueTip 50 — plugin ecosystem44:43
Context is King outro
ctaContext is King outro45:32
Frame Gallery

Visual moments.