I spent $31,141 and 1000+ hrs on Claude Code to Learn This — Transcript
Full transcript
- 0:00I've spent over $30,000 on Claude Code
- 0:02over just the last few months. These are
- 0:04my real invoices. Feel free to take a
- 0:06look. I've also spent over 1,000 hours
- 0:08on models like Opus 5.5, Astra, and so
- 0:11on. And in this video, I want to give
- 0:13you guys everything that I wish I knew
- 0:14when I started. Okay, these are not
- 0:16going to be the simplest of hacks, but
- 0:17in order to really squeeze the
- 0:18proverbial wet towel of Claude Code, you
- 0:21do need to get into the nitty-gritty. Uh
- 0:22that said, I've arranged it from
- 0:24simplest to most complex so that
- 0:25regardless of where you are in the skill
- 0:27hierarchy, you guys can get some value.
- 0:29And let's start with the first, which is
- 0:30not to trust the first output. Now, I
- 0:33currently work with a multi-billion
- 0:34dollar business that I think is quite
- 0:36guilty of trusting the quality of the
- 0:38first output, and it's led to some major
- 0:40headaches down the skill chain. I'll
- 0:42talk a little bit about that later, but
- 0:44to start with, an unfortunate thing that
- 0:46most people don't realize about Claude
- 0:47and other large language models is they
- 0:50are not deterministic systems. To really
- 0:53unpack that, what I mean is if you give
- 0:55it the same prompt multiple times, every
- 0:58time it will give you a different
- 1:00result. And sometimes these different
- 1:02results might be a little bit different,
- 1:04and other times they'll be completely
- 1:05different, not at all even close to the
- 1:08same thing. And so, let's say you guys
- 1:10are coming up with a sick prompt to, I
- 1:12don't know, generate scripts for a
- 1:14YouTube video or something crazy like
- 1:16that, huh? Well, uh maybe the first time
- 1:19you pass a prompt in, it does a really
- 1:20good job. Is that enough for you to take
- 1:23that prompt and then save it in your
- 1:24business SOPs and actually standardize
- 1:27your whole company with that? No, you
- 1:29can't trust the first output. The reason
- 1:31why is if you were to run that same
- 1:33output, let's just say six times, the
- 1:35first time you ran it, you'd go, "Oh my
- 1:37god, this is awesome." But the second
- 1:38time, you might very well say, "This is
- 1:41absolute crap. This sucks." Maybe the
- 1:43third time it's okay, but the fourth and
- 1:45fifth times you go, "What the hell's
- 1:46going on here, Claude? Did you fall down
- 1:48some stairs?" before finally the sixth
- 1:50time, you know, reels you back.
- 1:51What ends up happening with prompts is,
- 1:54because there's minor deviations
- 1:55essentially in the statistical nature of
- 1:57models. Um the first time that you run
- 2:00it, you might end up in a maximum, which
- 2:02is a high-quality situation.
- 2:05But the second, third, or fourth times
- 2:06you run it, you might end up in a
- 2:07minimum, which is a low-quality,
- 2:09low-value output situation. And so your
- 2:12job as a prompt engineer, really your
- 2:14only job as somebody building systems
- 2:16maybe for yourself or for other
- 2:17companies with Claude and other models,
- 2:20is just to minimize the peaks and the
- 2:22troughs of, you know, your own usage. To
- 2:24basically standardize it so that you
- 2:26know what you're getting every time you
- 2:28ask it for something. Okay, so the way
- 2:30you do that is you run a set of prompt
- 2:33evaluations over and over and over again
- 2:35anytime you're looking to build
- 2:37something into a workflow. Now, these
- 2:39are technically termed evals, okay? So,
- 2:42if you've never heard of this term
- 2:43before, you'll see this a lot in large
- 2:45language model engineering, and evals
- 2:47are an important thing to understand
- 2:48when trying to progressively improve
- 2:49systems. It's not enough just to run it
- 2:51once, be like that's good, and then um
- 2:53put that to bed. We need to do is you
- 2:55need to run it 10 times, count the
- 2:57number of times out of 10 that it
- 2:58actually worked. If it's seven out of
- 3:0010, then it's seven out of 10. And then,
- 3:02when you make an adjustment to the
- 3:03prompt, count the number of times that
- 3:05that worked. Compare that to the former
- 3:07run, and if your new run is better,
- 3:09let's say it scores eight out of 10
- 3:11instead of seven out of 10, then keep
- 3:12that new run. This is at the core a
- 3:14statistical research process. Every time
- 3:17you do this, you're basically a
- 3:18scientist. The second thing I want to
- 3:20talk about is giving Claude and other
- 3:22models a way to check their own work.
- 3:24What I mean by this is, let's say you
- 3:25give it a task like, "Hey Claude, can
- 3:27you, I don't know, write me an essay on
- 3:29X, Y, and Z?"
- 3:31You know, a lot of the time Claude will
- 3:32do this. But let's say you didn't roll
- 3:34the lucky dice this time because you
- 3:36didn't have a good set of evals and your
- 3:37prompt is sort of all over the place.
- 3:39You know, the quality might be pretty
- 3:40poor. And so the way I like to think
- 3:42about this is uh first drafts. You know,
- 3:44if you guys have ever written an essay,
- 3:45you've probably gone through a process
- 3:47like school recommends you do, where you
- 3:48write a first draft, a second draft, you
- 3:50know, maybe a final draft, and then
- 3:52finally your actual finished revised
- 3:54paper. Well, when you only have Claude
- 3:56give it to you one time on only one
- 3:58attempt, it's not surprising the quality
- 4:00is going to be low because it's just
- 4:01like you've only ever had a first draft
- 4:03of a paper, right? Same thing, your
- 4:04first draft usually sucks balls, pardon
- 4:06my French. So, what you need to do is
- 4:08you need to give it away to check and
- 4:10then fix its own work before attempting
- 4:12it all over again. And so, what tends to
- 4:14happen is the more that you do this, the
- 4:16more the quality at the end of the day
- 4:18is going to go up. And even if you have
- 4:20a relatively poorly specified set of
- 4:22evals, a lot of the time simply giving
- 4:24it a revision loop, say through some
- 4:26sort of screenshot, some sort of example
- 4:29comparison, or maybe some sort of like
- 4:30standardized test, let's say it's a
- 4:32website, giving it a lighthouse page
- 4:33speed insights test, can usually
- 4:35significantly improve the quality since
- 4:36it now has something to actually compare
- 4:38to. The third thing I want to talk about
- 4:40is how to let the code be the context.
- 4:43So, I see this a lot and it's a
- 4:45byproduct of skills, which were, you
- 4:47know, the sort of naive way of
- 4:50operationalizing and standardizing tasks
- 4:52that Anthropic launched a couple of
- 4:54years ago and the rest of the world
- 4:55basically hopped on in exchange. But
- 4:57skills really are not the best way of
- 4:59doing things anymore. And the reason why
- 5:01is because, you know, let's say you're
- 5:03developing some sort of scale or some
- 5:05sort of app. Typically the way that, you
- 5:06know, a model or a Claude code in this
- 5:09case will work on the app is it'll work
- 5:10on both the code, but it'll also work on
- 5:13a bunch of supplementary things the same
- 5:15time. So, let's say it's working on, you
- 5:17know, some sort of code to, I don't
- 5:18know, generate thumbnails or something
- 5:19like that.
- 5:20As you go up in version number, as you
- 5:22go from V1 to V2 to V3 to V4,
- 5:25the code will have been updated, but
- 5:26often times these, you know, notes,
- 5:28let's say, will still be on V1 the spec,
- 5:30and and the log might also say V1. And
- 5:33as a result of that, essentially there
- 5:35is
- 5:36a difference between the source of truth
- 5:37and then the context that Claude and
- 5:39other models use to manage the source of
- 5:41truth. As a result, the two sources
- 5:42drift apart. A much more effective way
- 5:45of doing this now is actually just
- 5:46inlining all of your code directly into
- 5:48the app. And so, you could actually, for
- 5:50instance, scroll down to the description
- 5:51of this video, copy and paste the
- 5:53transcript, maybe specifically the part
- 5:54that I'm talking about now, and give it
- 5:56that to Claude. And I think you guys
- 5:57will find in any sort of
- 5:58programming-related task or
- 6:00skiller-related task, just bearing
- 6:02things directly into the script will
- 6:03significantly improve your evals, which
- 6:05is ultimately what we're doing all this
- 6:06for, right? And so, in this case, now
- 6:08when we say, "Hey, can you add a logout
- 6:10button to the navbar?" Now, instead of
- 6:11having to read through the notes, the
- 6:12spec, and the log, it'll actually just
- 6:14be able to go through your uh you know,
- 6:16code directly, see the inline comments,
- 6:18and so on and so forth. It sort of has
- 6:19to read that every time it does work,
- 6:21and the quality will be far better. I've
- 6:22tested this across multi-billion-dollar
- 6:24businesses and others, and this is the
- 6:26way to do things. Obviously, the main
- 6:27exception here is your Claude.md, where
- 6:30you store things like how you want it to
- 6:31work, so preferences, lessons,
- 6:33transcripts from Nick Survive YouTube
- 6:35videos, but this doesn't actually
- 6:36fundamentally change what the code does.
- 6:38Next major thing I want to talk about is
- 6:39letting Claude write your prompt. A lot
- 6:42of people are already out with their
- 6:43pitchforks for this one, but back in the
- 6:45good old days, we used to be the best
- 6:46prompt engineers. I prided my myself on
- 6:49my prompt engineering skills, and so on
- 6:50and so forth. Um the unfortunate reality
- 6:52is AI is better than us at it now. Uh
- 6:54it's better at us at it than us now
- 6:56because that's just one of the things
- 6:57that Anthropic has baked into Claude,
- 6:59its ability to communicate with other
- 7:00teammates, aka prompt other teammates.
- 7:02And so, rather than say to Claude, "Hey
- 7:05Claude, I want X for Y audience. Do it
- 7:06in this way and that way and this way
- 7:08and that way and that way, and you have
- 7:09all the info you need. Go ahead."
- 7:11Actually, just say, "Hey, I want X thing
- 7:13for Y audience. I'd like you to help me
- 7:15write a prompt." After that, Claude will
- 7:17now ask some questions to you, like,
- 7:19"Who's it for?" You'll say, "Founders."
- 7:21"What does great actually look like?"
- 7:22And you'll give it a one-page example.
- 7:24"Do you have any examples?" Then
- 7:25actually, you know, it'll give it. Um
- 7:27when you do uh prompting like this, this
- 7:29sort of meta-prompting, you actually end
- 7:31up with significantly better outcomes
- 7:32because Claude is just far highly
- 7:34effective at doing this sort of thing.
- 7:35It's just been trained or baked into the
- 7:37way that that Claude knows AI agents and
- 7:39other models tend to learn. And so, you
- 7:41know, you're still initiating the
- 7:43action, but Claude is now one level of
- 7:45abstraction up, at least compared to
- 7:46where it was a couple of years ago. Um
- 7:48the prompts themselves aren't even that
- 7:49important. It's just knowing how to
- 7:51prompt Claude to have it prompt itself.
- 7:53Now, this is a super quick and simple
- 7:55ask, you know, it's something that you
- 7:56do on a daily basis, and you understand
- 7:57the procedure. Obviously, you can skip
- 7:59that and just, you know, say, "Claude, I
- 8:00want you to go to this website in this
- 8:01way and give me this piece of
- 8:02information." That's fine. But for
- 8:04anything that's larger in scope, many uh
- 8:06projects that might be consuming large
- 8:07token budgets, doing it this way will
- 8:09achieve far better outcomes than
- 8:10anything else. The fifth thing I want to
- 8:12talk about is to really deeply watch
- 8:15what is eating your context window.
- 8:17Um in case you guys didn't know, the way
- 8:18that context works is you can actually
- 8:20type {slash} context into any chat with
- 8:23Claude models in order to see this. Um
- 8:25your context window, aka the total
- 8:27amount of context Claude can fit in its
- 8:29head while working on your work, is
- 8:31already typically taken up quite
- 8:32significantly by default things that is
- 8:35system-provided literally out of the box
- 8:37before you even type a word. So, for
- 8:39instance, um in green here is the system
- 8:40prompt. That might be your Claude.md.
- 8:43The purple here might be your built-in
- 8:44tools. The orange here might be MCP
- 8:47connectors. Next might be memories. And
- 8:49finally, here in green might be your
- 8:51skills. What that means realistically
- 8:53is, I don't know, I'm kind kind of
- 8:54eyeballing this, but about 30% of the
- 8:56context is already taken up before I say
- 8:58anything. Now, when, you know, you end
- 8:59up filling in a chat with a bunch of
- 9:02random queries and a bunch of random
- 9:03asks, obviously, the longer that context
- 9:05window goes on, the more pricey every
- 9:07request will be, but also the dumber the
- 9:09model itself becomes due to context rot
- 9:11and a bunch of other just unavoidable
- 9:12factors in our work with probabilistic
- 9:14agents like this.
- 9:15And so, what you're going to want to do
- 9:17is, if you are not actively using, you
- 9:19know, let's say all of your MCPs, you're
- 9:21going to want to turn as many of these
- 9:22off as humanly possible. If you're not
- 9:24using, you know, your skills, you're
- 9:25going to want to cut down as many of
- 9:26those as humanly possible. You know,
- 9:28when you're prompting a model, if you
- 9:29are nearly full, or if you find the
- 9:31model maybe not responding the way you
- 9:33want to, or if you spend a bunch of time
- 9:34having the model design a prompt for
- 9:36you, okay, to to feed into itself, don't
- 9:38just keep on prompting it within that
- 9:40window. Actually, just copy that prompt
- 9:42and then move to a fresh instance, okay,
- 9:44one that'll be closer to here, and then
- 9:47continue the conversation over there. As
- 9:48long as that prompt contains all of the
- 9:50context and relevance and so on and so
- 9:51forth, you should be fine. Another way
- 9:53you can do this is you can use {slash}
- 9:55compact. That's something that's quite
- 9:57good nowadays, um although there are
- 9:59some issues with how it currently
- 10:00compacts tool definitions and stuff that
- 10:02might be fixed by the time you watch
- 10:03this video. I'm using {slash} compact
- 10:05often is pretty pretty reasonable. I
- 10:07tend to {slash} compact way earlier than
- 10:09Claude will auto compact for me uh for
- 10:11that reason. Next thing I want to talk
- 10:12about is loosening the leash. Now, back
- 10:15in the good old days of AI models, God,
- 10:18I sound like an old man here, but back
- 10:20in like 2020, 2021, 2022, you needed to
- 10:23really tight leash around models. What I
- 10:25mean by that is you really had to go
- 10:26back and forth to get what you wanted.
- 10:28You really had to to give it all the
- 10:29ways not to do the thing, so that it
- 10:31knew not to do any of those things while
- 10:33it did the thing.
- 10:34What you can do now is you can drop the
- 10:37highly granular step-by-step
- 10:38instructions, and treat Claude more like
- 10:40a contractor than an in-house employee.
- 10:42You know, what I mean by that is if you
- 10:43guys aren't in business, the way you
- 10:45treat an in-house employee is typically
- 10:47you'll actually give it the task spec-
- 10:49specifications, and then you'll tell him
- 10:50or her how to do the task as well. And
- 10:53you know, in that way they'll optimize
- 10:54the processes according to the way that
- 10:56you lay it out, and then you'll get
- 10:57something pretty cool. The way that you
- 10:59work with contractors is typically they
- 11:00already have a pre-established set of
- 11:02processes. You know, they've they're a
- 11:03contractor, they're a freelancer, they
- 11:04work for themselves for all they know
- 11:05how to do the thing really well. And so,
- 11:07typically you'll pay them a little bit
- 11:08more money, and then they'll use their
- 11:10highly optimized process which they've
- 11:11built over the course of potentially
- 11:12hundreds or thousands of projects to do
- 11:14it way faster and better than maybe your
- 11:15process could look like. And then maybe
- 11:17you'll consult with them and ask them
- 11:18questions. So, rather than giving it a
- 11:20step-by-step how, okay, treat it like a
- 11:23contractor. Just give it a good
- 11:24definition of done. Hey, you know,
- 11:25you're done when this is true, that is
- 11:27true, and that is true. Assuming that
- 11:29those are true, you are good to go. If
- 11:31you have any questions, feel free to
- 11:32ask. If you don't know, you know, maybe
- 11:34you can include that in your Claude at
- 11:35MD. And also never skip tests or
- 11:37whatever. So, you don't need this crazy
- 11:39scar tissue like, you know, stuff or
- 11:41crazy never know never never statements
- 11:43from older models. Claude now is pretty
- 11:45smart and can infer a lot of what you
- 11:47want as long as you focus on high-level
- 11:49principles like, "Hey, if you if you
- 11:50don't know anything really, just ask me
- 11:51because this is pretty mission
- 11:52critical." Then you'll do just fine.
- 11:54Next major thing I want to talk about is
- 11:56diagnosing before you start a fix. And
- 11:58let's say there's some sort of bug. Um
- 12:00instead of saying, "Hey, I want you to
- 12:01fix the whole app. It's not working."
- 12:02say, "List all of the problems with this
- 12:05app." Don't rewrite or do anything yet.
- 12:08The reason for that is because if you
- 12:09have it actually do the fix, if the
- 12:11problems are not problems that you
- 12:13actually anticipated or not problems
- 12:14that you actually want solved, keeping
- 12:15in mind that Claude has his own
- 12:16definition of what a problem is and what
- 12:18might be worth solving. You simply
- 12:20saying, "It's broken, fix it." might not
- 12:21actually lead to anything. Instead, you
- 12:23really need to enumerate the problems
- 12:24and then give it the problems that you
- 12:26want it to to solve. So, for instance,
- 12:28um it'll then list a bunch of problems
- 12:30for you. Maybe four problems here. Vague
- 12:32opening says it twice, too casual and no
- 12:34example. Uh you're like, "No, actually
- 12:35the casualness is fine. That's not what
- 12:36I wanted to do." So, then you can just
- 12:37cross that out. And then what you can do
- 12:39is you can actually just give it the
- 12:40three things you actually wanted to fix.
- 12:42Um in this case, you are saving in token
- 12:44budget and you're also significantly
- 12:45improving the amount of time that it
- 12:47takes to get to that point. You can
- 12:48imagine how if you screwed this up, what
- 12:50you would have done is been like, "Hey,
- 12:51can you just fix this whole thing?" It
- 12:52would have fixed it including the two
- 12:54casual bit and now you would have had to
- 12:55recasualize this essentially in the next
- 12:58step, which would have, you know, taken
- 12:59twice as many steps, twice as much time,
- 13:00and twice as many tokens. Next major
- 13:02thing I want to talk about is MCP
- 13:04servers, which stands for a model
- 13:06context protocol. Now, generally
- 13:08speaking, the way I work nowadays is
- 13:10I'll almost always prototype a system
- 13:12for myself or for many clients that I
- 13:13work with with an MCP connector. And
- 13:16when I say MCP connector, to be clear, I
- 13:18mean things like plugins, things like
- 13:21connectors in both Codex, Claude code,
- 13:24and their, you know, analogous terms in
- 13:26other apps as well. And so, if it's a
- 13:28plug-in or it's a connector, if it's
- 13:30like an OAuth, most of the time it's
- 13:31really this MCP, model context protocol,
- 13:33under the hood, and that's what I'm
- 13:34referring to. And the reason why is
- 13:36because it takes you one click to like,
- 13:38you know, spin up the MCP, click a
- 13:39button, sign in, and then you're done.
- 13:41You can actually move on and verify that
- 13:42it works.
- 13:43Once you've verified that it works,
- 13:44though, it's suboptimal to scale. And
- 13:47so, I see a lot of processes in larger
- 13:49businesses that I work with that have
- 13:50really jumped in with both feet to try
- 13:53and implement AI across their whole
- 13:54stack where these common day-to-day
- 13:56processes are still done with MCP
- 13:58servers. The reason why MCP is great is
- 14:00because it gets you up and running
- 14:01really quick, but the downside to MCP is
- 14:04it's typically very heavy on context,
- 14:05and it includes a bunch of silly
- 14:07that you never really wanted in
- 14:08a tool spec anyway. And so, instead what
- 14:10you do is you turn what you just do did,
- 14:13you know, for economic outcomes once you
- 14:15verified it's possible, into a lean
- 14:17custom skill. And now you're
- 14:19approaching, you know, a highly more, I
- 14:21want to say, uh, nuanced and a highly
- 14:23more filtered list of tool call,
- 14:25uh, uh, you know, definitions and to and
- 14:27and the tool spec, and it'll be
- 14:28significantly easier on both contexts,
- 14:30and it'll also be significantly more
- 14:31likely to be correct.
- 14:33Another thing that really sucks is every
- 14:34time you load up Claude code with a
- 14:36bunch of MCPs, there's an additional
- 14:38like few seconds of startup time because
- 14:39Claude has to verify the MCPs work,
- 14:41actually send and receive some signals,
- 14:43sort of like housekeeping to make sure
- 14:44everything's above board. I absolutely
- 14:46hate waiting for that, so I'll try and
- 14:48prune my MCPs and my connectors list in
- 14:50Claude code's case as much as possible
- 14:52for spinning things up, and I find this
- 14:53typically saves me like 3 to 5 seconds
- 14:55every time I do. Next thing I want to
- 14:56talk about is how to run scoped tasks in
- 14:59parallel. So, the way that I personally
- 15:01use Claude is, I no longer just say,
- 15:03"Hey Claude, can you do X for me?"
- 15:04"Okay, yes, Nick, I did X." "Great. Now,
- 15:07can you move to Y?" Instead, what I'll
- 15:08do is actually highly scope specific
- 15:11tasks, and then I'll have Claude manage
- 15:13them all in parallel using sub agents,
- 15:15agent teams, or other offerings. So,
- 15:17let's say, you know, you're designing
- 15:19some cool website, what you can actually
- 15:20do is you can have multiple agents work
- 15:22on multiple parts of the website at the
- 15:23same time. Uh, Claude typically does
- 15:25this natively, but you can also
- 15:27encourage it by saying things like do
- 15:29this in parallel by running mutually
- 15:31exclusive scope to tasks. That's a
- 15:33personal favorite of mine that tends to
- 15:34significantly speed up development. The
- 15:36reason why is because now let's say
- 15:37there's a bug with the logout. Let's say
- 15:39there is some improvement to the hero
- 15:41section you you want to make and let's
- 15:42say there's some alteration of the
- 15:44feedback form you want to do. Rather
- 15:45than waiting for Claude to do all of
- 15:46these sort of in sequence, what you can
- 15:48do is you can actually have all three of
- 15:50these done simultaneously and then you
- 15:51can just have a merge step that merges
- 15:53all of them. Okay, so basically instead
- 15:55of it looking like and bear with my
- 15:57drawing here, instead of it looking like
- 15:59hey Claude do this. Okay, Nick for sure.
- 16:01I'm done this. What should I do next?
- 16:03Hey Claude, do this. Okay, Nick. I'm
- 16:04done with that for sure. What should I
- 16:06do next? Hey Claude, do this. Instead of
- 16:08these three steps, what we're doing now
- 16:10is it's more akin to this. We're
- 16:12actually saying hey Claude, I actually
- 16:13want you to do all of these things up
- 16:15ahead. You know, I want you to fix the
- 16:16hero section, the feedback form, the
- 16:18logout button, some other thing. And
- 16:19then over here, all we're going to do is
- 16:21merge. Okay, so this is you know, sort
- 16:23of like your initial instruction. This
- 16:24over here is the all the the big list of
- 16:26scope tasks that you want to do. And
- 16:28then this over here is going to be a a
- 16:29merge step which is really simple. Now
- 16:31the key part of this is obviously when
- 16:33you do the task, you need to make sure
- 16:34that you're not having multiple agents
- 16:36work on the same thing. Claude will do
- 16:37this by itself. You typically don't need
- 16:39to worry too much about that, but you
- 16:41know, what you're doing here is you're
- 16:42saving a little bit of time at the
- 16:44expense of obviously a slightly higher
- 16:45error rate and I like doing that because
- 16:47I think you need to move fast and insert
- 16:49current year here. Next up, always start
- 16:51fresh with a handoff note. What I mean
- 16:53by this is in a very long session,
- 16:55obviously you have context rot like we
- 16:57talked about earlier. The more back and
- 16:59forth you have, the more silly things
- 17:01enter Claude's mind. I'm simply as a
- 17:02byproduct of, you know, your human
- 17:04prompting skills. You will say hey,
- 17:06don't do X, but then three or four chats
- 17:08later you'll say, yeah, I want it to be
- 17:10kind of like X and it'll think, well, he
- 17:11said don't do X, but he also said kind
- 17:13of like X. I guess I'll kind of go in
- 17:14the middle and then and then you suck,
- 17:15right? Instead of doing all that, what I
- 17:17always like to do when Claude isn't
- 17:19giving me results that I want is I just
- 17:21take, you know, a simple prompt that
- 17:23says, "Summarize where we are." So, give
- 17:25me what is done, give me all the
- 17:26decisions I need to make, give me the
- 17:27things that are next, and give me a list
- 17:28of open problems. And then, I simply fix
- 17:31anything that I think is wrong in that
- 17:33summarization prompt, and then I hand it
- 17:34off to a new message. Uh typically,
- 17:36Claude will understand that, okay, this
- 17:37is obviously handed off by a previous
- 17:39session, so I should start with that in
- 17:40mind. It'll ask you anything that maybe
- 17:42is outstanding from your compacted
- 17:43summary. Uh and then you get a
- 17:45significantly higher context uh quality
- 17:47as a result of, you know, the way
- 17:48shorter prompt. And I also find, as
- 17:50mentioned earlier, that it's cheaper.
- 17:51Next up, ask side questions with
- 17:53{slash}btw. Nobody basically does this,
- 17:56which I find really funny, but I'm
- 17:58constantly {slash}btw'ing because one
- 18:00thing that you'll realize is the longer
- 18:02that Claude and other, you know, models
- 18:04grow more agentic, the harder it is to
- 18:06know what the hell is going on. I mean,
- 18:08how many times has probably happened to
- 18:09you in the last just few weeks or months
- 18:11alone? You give Claude some big task,
- 18:14like, "Hey, rewrite the checkout flow."
- 18:16It starts doing a bunch of stuff, and
- 18:17then 10 minutes later you come back to
- 18:19it, and you're like, "Hey, um where the
- 18:20hell were we again?" You start scrolling
- 18:22through all of your chats, and you
- 18:23realize like, "Dude, I have no idea
- 18:24what's going on." So, what you do is you
- 18:26wait naively for it to finish, and then
- 18:28give you the update, and then you read
- 18:29it not understanding what the hell's
- 18:30going on, ask it the same question
- 18:32again. Now you have to wait a big chunk
- 18:33of time for it to finish. Instead,
- 18:35parallelize that by asking it side
- 18:37questions with {slash}btw. So, anytime
- 18:39Claude's working, you literally type
- 18:40{slash}btw, and just say, "Hey, what is
- 18:42this thing mean?" And it will actually
- 18:44answer you while it's working on that
- 18:45other session. Um this, number one, does
- 18:48not pollute the main context with
- 18:49educational or informational questions
- 18:51about what it is that you're trying to
- 18:52do. And number two, it's just way faster
- 18:54and way easier. So, you guys should 100%
- 18:56be using {slash}btw wherever humanly
- 18:58possible. You know, I think we all
- 18:59probably sort of understand this. Uh any
- 19:01Yu-Gi-Oh! players in the chat, you know,
- 19:03these are your your your hands of Exodia
- 19:04versus like the head or the the body of
- 19:07Exodia. And you want your body to be
- 19:08really expensive, but you couldn't
- 19:09really care less about the hands, if I'm
- 19:11honest. The whole idea is, you know, if
- 19:13you have a task,
- 19:15you can almost always improve your
- 19:17ability to do the task by learning more
- 19:19about the problem.
- 19:20What I mean by this is you can research
- 19:22more about approaches that other people
- 19:24have done to, you know, try and solve
- 19:25the task. You could, you know, check all
- 19:26the papers on a subject. You can look
- 19:28through a bunch of blogs or, I don't
- 19:30know, Reddits or something like that to
- 19:32try and determine, okay, like what are
- 19:33all the things that basically people
- 19:34have tried throwing at this thing
- 19:35before.
- 19:36Um when you do this, your task quality
- 19:39significantly improves. The only issue
- 19:41with that is often times it costs a lot
- 19:43of money in order to do all that
- 19:44research. So, the optimal way to do this
- 19:46is just pay a little bit of money to a
- 19:49really cheap model to scan the search
- 19:51space as widely as humanly possible.
- 19:53Have it fan out, deliver you as much of
- 19:56this information as it can because they
- 19:57all have cheap and short contexts. And
- 20:00then just give it to your stronger model
- 20:01to actually make the call.
- 20:03So, in our case with, you know, I don't
- 20:04know, an Opus 5.5 or 6 or Fable or
- 20:06whatever model you are using at the time
- 20:08that you are watching this video, feed
- 20:10in your with something like, "Hey, I
- 20:12want a fan out and fan in strategy where
- 20:14you delegate to cheap sub agents to find
- 20:16out as much information on XYZ topic as
- 20:19humanly possible, best approaches in,
- 20:21you know, insert current year, things
- 20:23that maybe most other people don't
- 20:24currently use. And then I also want you
- 20:26to just like ideate and hypothesize a
- 20:27bunch of approaches to doing this that
- 20:29maybe aren't normally supported in the
- 20:30literature and see if there's anything
- 20:31to support that. Then I want you to
- 20:33combine that all into a mega prompt for
- 20:35a stronger model like, you know, maybe
- 20:37your your successor Opus Fable Mythos,
- 20:39whatever, and then have it make the
- 20:40decision. When you do this, you get more
- 20:42coverage, it's way faster, and also
- 20:44costs you less money than having Opus do
- 20:46it all.
- 20:47I cannot tell you just how much this
- 20:48fundamentally evolves my personal
- 20:50prompting strategy. I would highly
- 20:51recommend you guys use fan out fan in
- 20:53wherever possible. Obligatory, set up
- 20:55your Claude that MD. This is similar to
- 20:56context rot. If you're just always
- 20:58feeding in dumb things that are no
- 21:00longer relevant, like I was recently,
- 21:02whereas feeding it the deprecated
- 21:04revenue figures from a few months ago,
- 21:05and it kept on making decisions for me
- 21:07based off of a deprecated revenue
- 21:09numbers. Like, you know, my risk
- 21:10tolerance was way lower, the amount of
- 21:12money I was willing to throw at problems
- 21:13was way lower. You know, my portfolio
- 21:15wasn't as fully fleshed out, so I didn't
- 21:17have, you know, high-quality pieces that
- 21:19it recommended me to, you know, sell to
- 21:21other people and so on and so forth.
- 21:22Make sure to just check your Claude.md.
- 21:23Check it literally right now. Pause the
- 21:25video if you have to. Double-check that
- 21:27everything that is in there is actually
- 21:28relevant. There's zero point to sending
- 21:30even a single character or wasting even
- 21:32a single character of both, you know,
- 21:34your token budget and then also Claude's
- 21:36intelligence. The only information that
- 21:37should be in there is stuff that you
- 21:39genuinely want to be in there. The way I
- 21:40like to do this is I always say a
- 21:41summary of what's where. You can just
- 21:43generate that with a backslash init.
- 21:45Super easy. Then just give it some
- 21:47preferences. So, in my case, I actually
- 21:48say give me full file paths and I say
- 21:50use Python.
- 21:51Um, you know, what can it do? Hey, you
- 21:53know, feel free to do whatever the hell
- 21:55you want within these capacities. Um, if
- 21:57you're not sure, ask me before, but I
- 21:59generally trust you. Here's some
- 22:00information about me. Here's some
- 22:02lessons that I've learned and so on and
- 22:03so forth. That's fine. Just make sure
- 22:05that, you know, you're not feeding in uh
- 22:07the same thing that you were feeding in
- 22:08models of yesteryear. Every time model
- 22:10gets an update, even a highly
- 22:11incremental one, you should be going
- 22:13through this process again to ensure
- 22:14that your Claude.md and system prompts
- 22:16in general are very high quality. Next,
- 22:17keep a backup tool ready. As unfortunate
- 22:20as it is, Claude code is not always
- 22:22fantastic. Um, sometimes there are
- 22:24outages in Claude. Sometimes there are
- 22:26quality fluctuations as an unfortunate
- 22:28result of just, you know, model
- 22:29economics and tokenomics and stuff like
- 22:31that. So, what I see a lot of the time
- 22:33in MakerSchool and then all over the
- 22:35internet is when Claude code's down,
- 22:37everybody and their mom is on Twitter or
- 22:38YouTube saying Claude code is down. The
- 22:40reason why is cuz they're just not
- 22:41getting any damn work done because they
- 22:42don't have a way to back up. And so,
- 22:44what I'll do is I will run Claude code
- 22:46as my main tool, but I will always have
- 22:48a backup model like Codex or another
- 22:50model in the same folder with me.
- 22:52Usually like a Codex or an agents.md or
- 22:55something similar. And so, what I'll do
- 22:57is, you know, agents.md is like sort of
- 22:59other models versions of a Claude.md. I
- 23:02will sim link, which just means connect
- 23:04the Claude.md in my directory to the
- 23:07agents.md. I'll mirror the contents such
- 23:09that anytime Claude updates a Claude.md,
- 23:11it'll also update agents.md.
- 23:13Um, and then, you know, if it's ever
- 23:14out, I can just like drag and drop Codex
- 23:16in and say, "Hey Codex, you know, pick
- 23:17up where your brethren Claude left off."
- 23:19It says, "Claude, that guy sucks, but,
- 23:21you know, does it anyway." I never
- 23:22really have to suffer an outage. Um,
- 23:24you'd be surprised at the number of
- 23:25large teams that I've worked with, you
- 23:27know, we're talking again,
- 23:27billion-dollar teams, that do not have
- 23:29any sort of backup or any sort of like,
- 23:32you know, diversity of models. When
- 23:35Claude code goes down, they are
- 23:36legitimately hamstrung and economic
- 23:38productivity within that company grinds
- 23:39to a halt. Don't let that be you. And by
- 23:41the way, Claude recently updated such
- 23:43that it now even understands agents.md.
- 23:45So, while I'd still recommend having a
- 23:46Claude.md in your workspace, you could
- 23:48also just have an agents.md and then
- 23:49just hot swap models out anytime Claude
- 23:51needs it. Have Claude learn from its
- 23:53mistakes and build that into the
- 23:54Claude.md. So, let's say you make a
- 23:56mistake, you know, and the mistake is, I
- 23:58don't know, you are trying some old API.
- 24:01And every time Claude tries the old API,
- 24:03it fails. So, you're like, "Okay, you
- 24:04know, update the Claude.md so you know
- 24:05it doesn't do it again." It might write
- 24:06something like, "Don't retry the old
- 24:08API."
- 24:09But, that sucks. What you're telling it
- 24:10to do again is you're telling it what
- 24:12not to do. Instead of giving it like
- 24:14negatives, okay, and trying to fill the
- 24:15whole thing with a bunch of list of
- 24:16things it can't do, instead give it
- 24:18positives. Say things like batch the
- 24:20file reads, let's say, which is the
- 24:22actual solution to the problem. So,
- 24:24don't just give it a bunch of problems,
- 24:25okay, cuz, you know, that seems like
- 24:27learning, but it's not. Give it the
- 24:28solutions as well. And a simple and easy
- 24:30way I always get Claude to do this for
- 24:31me is I will just say, "How could you
- 24:33have done that faster with fewer
- 24:34tokens?" And I will generally ask this
- 24:36every single time I'm building a skill
- 24:38uh, into like an eval loop like we
- 24:40talked about before with, you know,
- 24:41prompt lucky dice rolls.
- 24:43When you do this and you feed all that
- 24:45stuff in with a tool like /insights and
- 24:47so on and so forth to uh, your
- 24:49Claude.md, your Claude.md usually
- 24:51becomes like a real powerhouse
- 24:52operation. Uh, and so my my Claude.md,
- 24:54for instance, probably saves me, you
- 24:56know,
- 24:57three or four hours a week just in all
- 24:59of the mistakes that Claude usually
- 25:01makes with, you know, a given set of
- 25:02tasks that it no longer has to. And even
- 25:05high-level instructions surrounding
- 25:06like, "Hey, could you open this file for
- 25:08me when you're done working on it?" or
- 25:09something, also save me a tremendous
- 25:10amount of time. And if you use terminal
- 25:12tools like Ghost TTY, Orca, or these
- 25:14other approaches, they can also be very
- 25:16powerful because there's just very
- 25:17difficult sort of navigation natively in
- 25:20those apps as a result. Okay, hopefully
- 25:22you guys appreciated that video. If you
- 25:23guys like learning about AI automation
- 25:25and other cool generative technologies,
- 25:27and you want to learn how to monetize
- 25:29those for your own business, freelancing
- 25:31career, or agency, definitely check out
- 25:33Maker School. It's the first link in the
- 25:35description. It's my 90-day
- 25:36accountability program where I'll
- 25:37guarantee you your very first customer
- 25:39for a paying AI automation service, or
- 25:41I'll give you all your money back, 100%
- 25:43back. You guys can check the reviews. We
- 25:44have lots of people that are absolutely
- 25:46crushing that program, more than I can
- 25:48even begin to count. If you guys also
- 25:50like this channel and want to keep
- 25:52supporting it, please like, subscribe,
- 25:53and comment down below. I'll leave you
- 25:55all with a great big thank you, and I'll
- 25:57catch you guys in the next video. Bye.
About this transcript
This page contains the full transcript of I spent $31,141 and 1000+ hrs on Claude Code to Learn This by Nick Saraev, generated from the public captions YouTube serves with the video. The transcript has 6,268 words across 885 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.