WEBVTT

00:00:00.060 --> 00:00:04.019
With that, we have the base usage left
and obviously you can open it, you

00:00:04.040 --> 00:00:07.260
can type a prompt, I know.
But there's a bit more to that.

00:00:07.320 --> 00:00:10.880
For one, it's worth noting that there
are many slash commands

00:00:10.900 --> 00:00:13.520
by simply typing slash
and then some command.

00:00:13.540 --> 00:00:17.400
And these change over time. New ones
are added, some are deprecated.

00:00:17.460 --> 00:00:20.720
One important one, for example,
is the clear command, which I just ran,

00:00:20.740 --> 00:00:24.300
run again.
The clear command simply clears the

00:00:24.580 --> 00:00:28.420
and, important,
the context window related to the session

00:00:28.440 --> 00:00:32.280
can start a new clean session. Of course,
that session and the

00:00:32.320 --> 00:00:36.040
AI running in there won't know anything
about the previous one, but you typically

00:00:36.180 --> 00:00:38.160
want that when you clear a session.

00:00:38.180 --> 00:00:41.680
You want to free up the context memory
and start fresh.

00:00:41.720 --> 00:00:45.449
This can, for example, also be helpful
if the AI agent got stuck and

00:00:45.660 --> 00:00:49.620
can't figure out or fix a problem or
if you're simply working on a different

00:00:49.660 --> 00:00:53.610
problem. Obviously,
you can also just start a new session by

00:00:53.640 --> 00:00:56.410
a new terminal window
and starting Claude in there too.

00:00:56.440 --> 00:00:59.790
You can have multiple Claude code sessions
run in parallel.

00:00:59.820 --> 00:01:03.370
You can work on the same project with
multiple Claude code sessions.

00:01:03.540 --> 00:01:07.180
You just wanna steer it such
that the agents don't work against each

00:01:07.240 --> 00:01:11.170
other in the same file, for example.
But hey, that's why you're a developer.

00:01:11.200 --> 00:01:14.860
You can control what you're doing with
those AI assistants.

00:01:14.880 --> 00:01:17.240
Now,
there are many other useful tools in there

00:01:17.260 --> 00:01:20.940
For example, context tells you how the

00:01:21.000 --> 00:01:24.500
context window for this session
is currently being used or

00:01:24.620 --> 00:01:28.370
occupied. And since I just cleared it,
it's almost

00:01:28.420 --> 00:01:32.100
empty. Well, kind of.
Interestingly enough,

00:01:32.460 --> 00:01:36.120
20,000 of the 200,000 tokens that
are available for

00:01:36.260 --> 00:01:40.160
Claude Code Opus,
the model I'm using here

00:01:40.240 --> 00:01:44.200
already occupied by default.
And you see that a part

00:01:44.240 --> 00:01:48.060
of that is the system prompt that
was set up by the Claude Code engineers

00:01:48.140 --> 00:01:51.680
and Anthropic. A decent chunk
is occupied by system

00:01:51.740 --> 00:01:55.570
tools, so tool descriptions that
are exposed to Claude

00:01:55.600 --> 00:01:59.440
Code to give it some hints on
when to use which tool, and

00:01:59.480 --> 00:02:03.310
we'll get back to that. Some small part is

00:02:03.340 --> 00:02:07.160
occupied by MCP tools because I already
added some MCP servers, but

00:02:07.180 --> 00:02:11.160
I'll also get back to that. And, well,
you see the distribution, but you

00:02:11.260 --> 00:02:13.940
also see there's a lot of free space.

00:02:14.000 --> 00:02:17.540
Also interesting is this auto compact
buffer, and we'll get back to

00:02:17.600 --> 00:02:21.440
compaction. But in the end,
it's there to ensure that

00:02:21.560 --> 00:02:25.320
limits of the context window for your
session, Claude

00:02:25.329 --> 00:02:29.160
Code will automatically compact it by
generating a summary

00:02:29.260 --> 00:02:33.130
of the work that was done
and the work that still needs to be done

00:02:33.160 --> 00:02:36.890
it can throw away all the old context and

00:02:37.000 --> 00:02:40.920
just keep that summary,
that compaction summary, and continue

00:02:40.960 --> 00:02:44.860
based on that. And since that compaction,
generating that

00:02:44.880 --> 00:02:48.820
summary requires some tokens too, there is

00:02:48.860 --> 00:02:52.820
this reserved auto compact buffer
which you can't use,

00:02:52.860 --> 00:02:56.120
which is always reserved.
Also interesting is the slash

00:02:56.340 --> 00:02:59.580
usage tab which shows you your remaining

00:02:59.920 --> 00:03:03.400
usage per your Claude Code plan

00:03:03.680 --> 00:03:07.240
so that you can see how hard you can go on
Claude Code or if

00:03:07.300 --> 00:03:11.020
you should maybe decelerate
and write more code from

00:03:11.080 --> 00:03:14.280
hand again,
or maybe pay extra for the extra

00:03:14.320 --> 00:03:16.080
usage.
