CLAUDE CODE FULL COURSE 12 HOURS: Build Real AI Projects (2026) — Transcript
Full transcript
- 0:00Everyone is talking about and want to
- 0:02learn cloud code. And right now in 2026,
- 0:05a massive shift is forming. On one side,
- 0:08we have people who are using cloud code
- 0:10to build applications, automate their
- 0:11entire workflows, and ship things that
- 0:14used to take weeks in ours. On the other
- 0:16side, we have people who are still
- 0:18wondering, who are still doing all the
- 0:19things manually, and they are still
- 0:21limited by what they can do alone. This
- 0:24course put you on the right side of the
- 0:26divide permanently. There are tons of
- 0:28cloud code tutorials out there. Most of
- 0:30them show you one feature. Skim the
- 0:32surface or skip the hard part. This is
- 0:34not that. This is the most complete
- 0:37beginner to advanced cloud crash course
- 0:39that exists right now covering every
- 0:41single feature, every concept with real
- 0:44working example for each module. No
- 0:46matter if you're from a technical or a
- 0:48nontechnical background, if you watch
- 0:50this one crash course, you will not need
- 0:52to watch anything else. So, hey
- 0:53everyone. This is Maya Garval and I have
- 0:55been using cloud code for over an year.
- 0:57I have taught 100k plus professionals
- 0:59across platforming AI and have taken
- 1:01trainings at Google, spiny, transunion
- 1:03where I help people how to integrate AI
- 1:05into their everyday work. In this
- 1:06particular crash course, here is
- 1:08everything what we will cover. We will
- 1:10start and understand how cloud code
- 1:12actually works. The agentic loop, the
- 1:14architecture and why it behaves the way
- 1:15it does. Then we will jump on to setup
- 1:17discussing on all the operating system
- 1:19Mac, Windows, Linux so that you are able
- 1:21to run it on your machine. Post that we
- 1:23will discuss about slash commands, the
- 1:24permission modes, the UI and the entire
- 1:27dotcloud folder explained. Then we will
- 1:29jump on to clot.md and understand why
- 1:32it's the single most important file in
- 1:34your complete cloud code work. It gives
- 1:36your clot code a permanent project brain
- 1:38that remembers your rules, your stack,
- 1:40your standards forever. Then we will
- 1:42jump onto context management where we
- 1:44will discuss about context window, token
- 1:45budgeting and how to keep plot sharp
- 1:48across long sessions. Post that we will
- 1:50master skills which are reusable
- 1:52invocable playbooks that turn any
- 1:54repetitive workflows into a single slash
- 1:56commands. After that hooks the
- 1:58background script that run on every
- 1:59action automatically. Zero tokens zero
- 2:02prompting auto formatting security guard
- 2:04session logging all is possible with
- 2:06hooks. Then we will make sure that we
- 2:08give our cloud code the ultimate power.
- 2:10connecting it to our everyday apps using
- 2:12MCP live web search, browser automation
- 2:15and any external services be it GitHub,
- 2:18Slack, Telegram, anything. Then we will
- 2:20jump onto understanding sub agent where
- 2:22we will build an entire team of
- 2:23specialist that work in isolated context
- 2:26can use cheaper model and does focus job
- 2:29while our main session stays clean. Then
- 2:31we will understand about agent teams
- 2:33which are multiple cloud instances
- 2:35working in parallel on the same project
- 2:37coordinating directly with each other.
- 2:40After that, we will add more power to
- 2:42our cloud with plugins and masterplace.
- 2:44Installing entire capability bundles in
- 2:46one commands. We will make sure that now
- 2:48we are able to use AI to actually free
- 2:51oursel by scheduling and loops. We will
- 2:54automate everything to run on a timer
- 2:56even when our laptop might be closed.
- 2:58And then finally everyone, we will
- 2:59create a capstone project. A fullstack
- 3:02productivity app built live from plain
- 3:04English spec document. React front end
- 3:06fast API back end. And every module and
- 3:09every concept which we have covered will
- 3:10be used naturally in this one complete
- 3:12build. By the time this course end, you
- 3:15will not only understand cloud code, you
- 3:17would have built with it. You will have
- 3:18your own system toolkit which you can
- 3:20apply to your projects the second this
- 3:21video ends. So if you're ready, hit that
- 3:24subscribe button right now so you don't
- 3:25miss out on any future updates on cloud
- 3:27or cloud code as well. And in the
- 3:29comment just write down one thing which
- 3:31you want to build because after this
- 3:33course you will be able to do the same.
- 3:34So with that everyone let's get started.
- 3:37Hey everyone, so welcome and let's start
- 3:39with our cloud code master class and as
- 3:41I promise the same is going to be very
- 3:42much in depth and even if you are from a
- 3:44nontech background even if you have not
- 3:46written a single line of code I will
- 3:48make sure that each and everything is
- 3:49properly clear to you. We have divided
- 3:51the same into very very logical sections
- 3:53and each sections you will see that how
- 3:55I have used these awesome awesome
- 3:56diagrams which as you will see will be
- 3:58very very helpful. So do make sure that
- 4:00you download all the content and now
- 4:02let's get started. So this is the
- 4:03complete uh module division everyone in
- 4:05which we are going to master cloud code
- 4:07and as you can see there are total 13
- 4:08modules starting all the way from
- 4:10getting started like how exactly what
- 4:11cloud code is and everything then
- 4:13installation commands docloud folder
- 4:16cloud.md then we will jump onto context
- 4:19sessions skills and hooks and finally
- 4:22understanding the whole system that how
- 4:23it gets connected via MCP agents team
- 4:26plus plug-in and then finally a capstone
- 4:28project which we will be building again
- 4:30with properly making sure that
- 4:32Everything which we have learned all the
- 4:3312 modules are now getting revised and
- 4:35used in that particular project. Now one
- 4:37thing everyone uh since I have spent so
- 4:39much time I have made sure that actually
- 4:41complete month plus 200 plus hours I
- 4:43have spent on mastering clot code going
- 4:46through every documentation I have
- 4:48covered actually in depth about each and
- 4:50every module here right you will be
- 4:52astonished that okay this is also
- 4:53possible and that is the level of thing
- 4:55which I want all of you to think about
- 4:57because now many companies I heard that
- 4:59they are also providing their employees
- 5:01with cloud code credits per month or per
- 5:03day basis and they are still not able to
- 5:05take the best benefit And I have made
- 5:07sure that I have not only shared you
- 5:10what what is present on the
- 5:11documentation but going beyond that
- 5:13based on my very extensive uh like
- 5:15decade of experience of building with AI
- 5:17and building softwares as well. Right?
- 5:19Along with that if you face any issue at
- 5:20any time please make sure that you are
- 5:23commenting the same and I will clear out
- 5:25that doubt. I read every comment so I
- 5:27make sure that each and every of your
- 5:29doubt will get cleared. If you like the
- 5:30crash course as you keep on watching I
- 5:32which I hope pretty you will uh please
- 5:35let me know in the comment on that as
- 5:36well and yeah I will make sure that in
- 5:38future as well I'm able to build more
- 5:40and more projects using this thing and
- 5:42one more thing this is not just for clot
- 5:44code the way I have explained I've
- 5:45actually taught you a system so that
- 5:48even if tomorrow you are using some
- 5:49other uh let's say terminal based coder
- 5:52like coding app or normally other things
- 5:54as well you will be understanding the
- 5:56complete AI path in this so I have
- 5:58actually explained everything from
- 5:59complete scratch. So even if you are
- 6:01from a non-developer background, even if
- 6:03you have never written a single line of
- 6:04code, you will be able to easily follow
- 6:06each and everything in here. So with
- 6:08that now let's get started. So before we
- 6:12move forward everyone and we write even
- 6:13a single line of code uh let's say where
- 6:16I even open terminal or help you to
- 6:18install cloud code, I would like to take
- 6:20a step back and make sure that you
- 6:22actually understand what claude is like
- 6:24actually. And I I now I know that most
- 6:27of you will be like hey Mayang like
- 6:28let's let's quickly install it right
- 6:29people are explaining it in 20 minutes.
- 6:31Well my idea is to make sure that I am
- 6:33able to explain you clawed code in such
- 6:36a in-depth manner that not only can you
- 6:38use it every day the real thing on which
- 6:41you are spending the time but also that
- 6:43you are able to explain it to anyone as
- 6:45well. Right? So with that we are going
- 6:47to make sure that we understand the same
- 6:49completely from starting and the idea is
- 6:51pretty simple. I have seen so many
- 6:52people who uh get started with clot
- 6:54code. Maybe they are seeing some very
- 6:55quick video. Uh they just get started
- 6:57then they see that hey something is not
- 6:59working they get frustrated and they
- 7:00leave right and always the reason is
- 7:03exactly the same like they are not
- 7:05focusing on the fundamentals. Over the
- 7:07past few months I have put up awesome
- 7:08videos on claude as well as cowork as
- 7:10well and there as well you will see that
- 7:12how I have kept the understanding in so
- 7:14much depth so that you are able to
- 7:15understand and use it everywhere. Right.
- 7:17So with that everyone now let's get
- 7:18start with claude code and before I
- 7:21explain let's focus on this claude as
- 7:23well right so let's try to see it step
- 7:25by step coming to claude everyone I
- 7:27would like to explain it in line with uh
- 7:29chad GPD so pretty sure that all of you
- 7:32must have used GPD ever right so if I go
- 7:35on Google and search for chad GP then
- 7:38this is the complete chad GP everyone
- 7:41now I always say that chad GP is like
- 7:43Google of AI this is actually what kind
- 7:46of got AI famous and everything like of
- 7:48course everyone have used it right you
- 7:50must be sure or must be knowing that
- 7:53open AI builds chat GPD now majorly the
- 7:55reason is that we know Sam old man we
- 7:57have heard the name open AI a lots of
- 7:59time how it is closed as well but just
- 8:02like open AI builds chat GPD enthropic
- 8:05is uh enthropic builds your cloud right
- 8:08so there is a company everyone which is
- 8:10known as enthropic so again if you will
- 8:12go on Google and search for entropic
- 8:14then you will see entropic.com now I'm
- 8:16pretty sure that none of you must have
- 8:18uh seen this thing earlier right you
- 8:19must be not aware about entropic but
- 8:21yeah that is the company everyone which
- 8:23actually built this plot so if you will
- 8:25go on the enthropic homepage AI research
- 8:27and products that put safety at the
- 8:29frontier so this thing is very very
- 8:31important uh truth be told uh enthropic
- 8:34was actually started by people who left
- 8:36open AI and their aim or idea was pretty
- 8:38simple they don't just want to make the
- 8:40most powerful AI they wanted to make the
- 8:42most secure and safety first as well so
- 8:44that is the whole mindset that hey we
- 8:47want to build something which is going
- 8:50to be very very safe trustworthy and
- 8:52very very powerful and I think over the
- 8:54last few months uh with their releases
- 8:56and multiple overall updates they are
- 8:58moving in that direction right now
- 9:00everyone since the idea of how claude
- 9:03came into being is clear let's try to
- 9:05see the family as well because that is
- 9:06something which you will hear a lot and
- 9:08I know that many of you will not have an
- 9:10idea about this right so talking about
- 9:12the claude family everyone entropy
- 9:15creates claude Just like open AI creates
- 9:17GP. Now again since we know OpenAI and
- 9:20we kind of are aware that how it is
- 9:23launching all these things and
- 9:24everything I could ask hey which model
- 9:27are you and it will most probably tell
- 9:305.1 or something. So it is okay 5.3
- 9:32model. Now just like OpenAI has GPD and
- 9:36all its model are known as Chad GPD or
- 9:38GPD right. Entropic has claude and its
- 9:41model are kind of divided into families
- 9:43first. So plot haiku plot solid plot
- 9:46opus for GPT it is GPD4 GP3.5 5.3 so
- 9:51these are versions one right and again
- 9:53there is a distinction like how some
- 9:55models are very fast some are very
- 9:57powerful which we will talk about okay
- 9:59but the idea overall is very much same
- 10:01everyone so if you understand and have a
- 10:03understanding of this particular uh
- 10:05sorry have a clarity of this particular
- 10:07open AI side that kind of helps you to
- 10:09just quickly parallelize the
- 10:11understanding for entropic side as well
- 10:12Okay, entropic claude claude has
- 10:15multiple models. OpenAI, GPT, GPT has
- 10:19multiple models. But the main thing
- 10:21everyone that at the end of the day in
- 10:23its core all of these are just LLMs
- 10:26which are large language models. Right
- 10:28now if you're not aware about LLMs or
- 10:30what they are this is an awesome diagram
- 10:32which helps you to explain. So if you
- 10:34will see here everyone LLM practically
- 10:36explain LLM are just like your brain.
- 10:39Okay. So just like how we humans have a
- 10:40brain, LLM is also a brain. It is
- 10:43trained on vast amount of text or data
- 10:45maybe images etc as well. Just like
- 10:48again we are trained that we are trained
- 10:49on so many experiences what we read and
- 10:52then based on that training everyone it
- 10:54is having the context and it is able to
- 10:56predict the next best word. Right?
- 10:58thought best it basically creates uh
- 11:01sentences or the outputs so that based
- 11:04on its training it is able to generate
- 11:06and help you answer the same just like
- 11:08how uh if our brain gets trained in
- 11:10something or for some exam we are able
- 11:12to answer questions nicely right so if I
- 11:14can just show you quickly let's go back
- 11:15to claude now again this is the claude
- 11:17UI everyone uh very much similar like
- 11:19charg
- 11:21uh in a in a very simple sense you can
- 11:23just go to claude so let's say claude so
- 11:27just click on
- 11:28And it will ask you to uh create a new
- 11:31account. You just enter your email ID or
- 11:33sign in with Google. I think it supports
- 11:35uh Google and Apple or some Microsoft as
- 11:37well. And then you just enter your uh
- 11:39let's say mobile number. Okay. Claude uh
- 11:42if I remember I have been using it for
- 11:43the last one and one year plus for sure
- 11:46because initially it was just very good
- 11:47for coding and its UI has changed a lot
- 11:50of times right but yeah now this is the
- 11:52newest UI everyone and one thing note uh
- 11:55over the time no matter when you are
- 11:56seeing this video the UI and some
- 11:58elements might shift here and there but
- 12:00the core understanding and the
- 12:01fundamentals they are going to be
- 12:02exactly the same right so whatever you
- 12:04are learning from here I don't think uh
- 12:06that would be going outdated anytime
- 12:08soon they might move this somewhere here
- 12:11maybe they are just playing around with
- 12:13the UI but overall the screen will be
- 12:14the same. Now just like chat GPD there
- 12:17is a simple text you can ask it anything
- 12:19just to show you that how it is an LM I
- 12:21can say can you explain me
- 12:24photosynthesis
- 12:28uh like I am a 10 year old okay and it
- 12:33will now try to explain me the same
- 12:35everyone uh just I would stop it for
- 12:37once and I would just ask uh under 500
- 12:41words okay so I don't want that it
- 12:43becomes a lot longer so let's just ask
- 12:45it to explain it in under 500 words and
- 12:47you will see that how it will just uh
- 12:50basically explain the same how plants
- 12:51make their own food. What does a plant
- 12:54need? So it is explaining me like this.
- 12:56Now if you will see right if you try to
- 12:58follow it is just coming word by word.
- 13:00So the idea is that it has been trained
- 13:02on lots of photosynthesis understanding
- 13:04data text books right now it is
- 13:07generating the same word by word. So at
- 13:09the end of the day LLM is just a next
- 13:11word predictor. your chat EPD Gemini
- 13:13Claude all of them are doing the same
- 13:15thing maybe one thing one better than
- 13:17another right now if you will see
- 13:19everyone this has been explained now if
- 13:21I do now do the same as if I am a PhD
- 13:27under 500 words again so now you will
- 13:30see that it understand the context it
- 13:32understand that hey now I have to
- 13:33explain it to an audience of PhDs and
- 13:36seems like okay I can use some heavy
- 13:38language so see now it is saying the
- 13:40formula etc as
- 13:42uh which of course will not be very
- 13:43helpful to the uh let's say 10 year old
- 13:46right so it is now basically making sure
- 13:48that yes it is able to explain you in
- 13:50that manner and that is again what your
- 13:52all your different terms would do okay
- 13:54so that is the idea everyone most tools
- 13:56wherever they tell you that what to do
- 13:58or basically what you tell them they
- 14:02LLM's basically understand what you mean
- 14:04so that is the whole idea it is not just
- 14:05explaining in a similar manner this is
- 14:07actually now making sure that yes it
- 14:10explains based on what you level you are
- 14:12at and everything right so same question
- 14:15uh completely different answer because
- 14:16it understood the context as well as
- 14:18adapted and gave me the answer based on
- 14:20that so that is where LLM comes into
- 14:22picture everyone now I would like to
- 14:24open a new chat again uh for the claude
- 14:26as I said I have already covered the
- 14:28same in one of the previous videos where
- 14:30the claude was covered in complete depth
- 14:32right so I'm not explaining you claude
- 14:34here just that this fundamental
- 14:36understanding is very very important and
- 14:38yes once we cover all these things up I
- 14:39think they are very closely mimicking or
- 14:42near to claude only right the claw code
- 14:44thing so now everyone you will see these
- 14:46different different models here opus 4.7
- 14:48which was recently introduced sonnet 4.6
- 14:516 and haiku 4.5 right so along with uh
- 14:55this family it is very important with
- 14:58respect to claude now because the same
- 15:00option will be available in claw code as
- 15:02well further right in the next section
- 15:03which we will see so let's try to
- 15:05understand this family everyone if you
- 15:07will see these are the claw models
- 15:09everyone speed versus intelligence haiku
- 15:11which is very very fast right sonnet
- 15:13which is balanced good for everyday task
- 15:15and reasoning opus is like the most
- 15:17powerful one right so of course haiku is
- 15:19going to be pretty Tast
- 15:21deep reasoning any complex task anything
- 15:24which requires lots of planning opus is
- 15:26the one and since like there is a
- 15:28distinction in how powerful they are
- 15:31haiku will be very fast it will be
- 15:33consuming less number of tokens opus
- 15:36will be consuming a little bit more
- 15:37number of tokens which means that the
- 15:39brain will be getting used right so more
- 15:41power less usage unless you pay a lot or
- 15:44normally as well you can get that hey
- 15:46seems like you have used all your limit
- 15:47please come after some time if you used
- 15:49opus that can get quickly done. Okay. So
- 15:52extended thinking is also there everyone
- 15:53like if you click on this there is an
- 15:55extended thinking. Okay. This is how you
- 15:57use it. Think longer before answering
- 15:59complex problems debugging. So that is
- 16:01the whole idea. Now if I have to keep a
- 16:03thumb rule I normally try that I if the
- 16:07task is very very much in depth it is
- 16:09very much complex I go with opus and
- 16:11that same understanding will jump onto
- 16:13clawed code as well. Right? because
- 16:14there as well at the core we will be
- 16:18getting some task done. So maybe for
- 16:20planning out the task for creating the
- 16:22architecture etc you can use cloud code
- 16:24with opus right so opus is the family
- 16:26now it will have further version as well
- 16:28so as of now if I show you here opus 4.7
- 16:31but if I go on more models opus 4.6 and
- 16:34opus 3 are also present similarly sonnet
- 16:374.6 six but sonnet 4.5 is also present
- 16:41okay now I can show you the same as well
- 16:43in depth so let me see where is yeah so
- 16:46this is the one everyone models uh
- 16:47models overview uh this is the official
- 16:51claw docs right so official locks are
- 16:53the best best way to learn if you will
- 16:55see choosing a model if you're unsure
- 16:56which model to choose consider starting
- 16:57with oppus 4.7 for most complex task it
- 17:01is most capable generally available
- 17:02model all different cloud models
- 17:04supports text image and everything so
- 17:06see this is the distinction oppus 4.7
- 17:08solid 4.6 Hiku 4.5. Now again majorly
- 17:13you have to understand that what all it
- 17:15supports. So this is the part where you
- 17:18have to see extended thinking. Yes. Yes.
- 17:20Opus doesn't have that because it is
- 17:22anyway powerful. Adaptive thinking. Yes.
- 17:24Yes. And Haiku is not having this. So
- 17:26this table overall everyone tells you
- 17:28that how smart or how big of a model is.
- 17:31But yes not a lot of people can read
- 17:33this. That's why this kind of a good
- 17:34diagrams comes into pincher. And as you
- 17:36can see majorly thunderful which I
- 17:38follow solid for everything else haiku
- 17:41if I know that my task is very very
- 17:43simple it is very very quick opus if I
- 17:45know that it is very powerful even I
- 17:46cannot do it okay so that is the whole
- 17:48uh understanding and normally I keep
- 17:50extended thinking on now based on this
- 17:52understanding we will follow the same in
- 17:54the clot code as well okay so with this
- 17:56idea clear everyone now let's jump and
- 17:59understand and before we jump on to clot
- 18:01code I would like to just explain uh one
- 18:03more thing as well so that is going to
- 18:04be very very helpful And if you will see
- 18:06I've ordered like I've opened all these
- 18:08different different official talks which
- 18:10I will come to and yeah I will be
- 18:11sharing the links with all of you as
- 18:13well. So again all the like official
- 18:16website and everything. The next thing
- 18:18which I want to discuss everyone is
- 18:19something known as claude desktop right.
- 18:21So you have been using claude on your uh
- 18:24let's say web just like chat GPT but
- 18:26they come with their desktop application
- 18:27as well right? So just think of them
- 18:29like WhatsApp how we have WhatsApp on
- 18:31the let's say web as well but you can
- 18:33download the WhatsApp application and
- 18:35instead of messaging a friend you are
- 18:37messaging claude directly right so you
- 18:39can download it it's going to be
- 18:40available free of cost rather everything
- 18:42which I have covered till now it's
- 18:43totally free like you don't need to get
- 18:45uh pay anything using cloud downloading
- 18:48cloud desktop and then even starting up
- 18:50the same it is supported in all the
- 18:52major different different uh I think
- 18:54overall let's say oss so mobile as well
- 18:57it is having an iOS an Android app for
- 18:59Mac OS, Windows and Windows ARM 64 chips
- 19:01as well. Once you download the same
- 19:03everyone, it will again get opened like
- 19:05an application and you will see a very
- 19:07similar kind of a thing right. So simple
- 19:09simple kind of a chatbot and you can
- 19:11just ask it hi how are you? Now it will
- 19:14again just answer your question. So it
- 19:17is having claw here just that now it is
- 19:20installed on your system. It is still
- 19:21connecting to the web to understand and
- 19:24reach out to claw brains and yeah it is
- 19:26just answering your question right. So
- 19:27as of now as well it can help you answer
- 19:30questions but it cannot do anything on
- 19:32your machine. Okay. So clawed in overall
- 19:35and very very important distinction when
- 19:37I talk about claude on desktop app as
- 19:40well it cannot still access your folder
- 19:42or do anything. Okay. So I will come to
- 19:44that point and explain you that as well.
- 19:47But this claude and the claude on the
- 19:50app uh sorry web is exactly the same
- 19:52just a little bit more benefits. Now
- 19:54since it is running inside your uh let's
- 19:56say desktop you get this small icon in
- 19:58the top you can click on this and it
- 20:00will just try to access your let's say
- 20:02screenshot and all these things. So just
- 20:04just help you to use it better. So that
- 20:06is the whole idea everyone you can send
- 20:08it a screenshot and everything directly
- 20:09rather than doing it always and saving
- 20:12it and then uploading it. Okay. So that
- 20:14is the whole idea. Now uh again as an
- 20:18analogy because I love to teach with
- 20:20analogies. Claud as an on a desktop is
- 20:23just like a smart person on the phone.
- 20:24It can tell you that hey what you have
- 20:25to do like let's say tell you the number
- 20:27tell you multiple things but it cannot
- 20:29still act on your act on its own. Okay.
- 20:31So that is where claude desktop or
- 20:34claude comes into picture. Now the whole
- 20:36idea is pretty clear to us everyone and
- 20:38now let's move on to clot code. So great
- 20:41everyone. Now let's try to understand
- 20:42and I think this is the moment which you
- 20:44all have been waiting for. So now let's
- 20:45start with clot code. So if I go on
- 20:48let's say Google again and search for
- 20:49plot code you will find that how we have
- 20:53okay let me this and try to see yeah so
- 20:56built for developers though again if you
- 20:59are not developer I won't make sure that
- 21:00you understand everything okay uh that
- 21:02is actually how fast and better it has
- 21:04made so now everyone let's try to
- 21:06understand because all the things which
- 21:08we have done till now right entropic
- 21:09chat GPD claw different different models
- 21:12that was all just the context now I want
- 21:14to talk about cloud code and I want that
- 21:16you pay very very close attention now
- 21:18because this is where most people get
- 21:20confused. Okay, clawed code is not
- 21:22clawed with different interface. Okay,
- 21:23so it is not like hey I'm having a claw
- 21:26and it is just having a different
- 21:27interface. It is a fundamental different
- 21:30category of two, right? If your claw
- 21:32actually is a brain like that's the best
- 21:33analogy. If your claw is a brain, claw
- 21:36code is a brain but with hands as well.
- 21:38Okay. And I would like to explain you in
- 21:39a very easy and awesome manner because I
- 21:42believe that that is also very very
- 21:43important everyone. So just to show
- 21:45first I I although I have a good diagram
- 21:47as well let's see you have uh let's say
- 21:50a machine okay so I can just search for
- 21:52machine icon you see
- 21:56so say of course everyone you have this
- 21:58machine and I want again that you
- 22:00understand this thing because no one I'm
- 22:01not sure why people don't explain this
- 22:03and this is where I see that people who
- 22:05are not from tech or very strong tech
- 22:07background they they of course leave
- 22:08like even if you are doing engineering
- 22:10let's say first second third year or
- 22:11normally let's say even if you are some
- 22:13related field product managers because
- 22:15they don't understand this uh they leave
- 22:16like they get confused and everything
- 22:18right and this is very very critical see
- 22:20we have this machine everyone and we
- 22:22have already seen that how we can
- 22:23actually access our claude okay so I
- 22:26would just get cloud icon quickly we can
- 22:28quickly quickly access our clot from
- 22:30here right so this yeah so this is your
- 22:34clot which we can access via the
- 22:36internet but at the same time right at
- 22:39the same time along with the web
- 22:41everyone right I showed you that how it
- 22:44is possible to download it on your
- 22:47machine as well. Right? Now claude code
- 22:51right so this was all claw till now this
- 22:53is what we have covered next come into
- 22:55picture everyone something known as claw
- 22:57code right so let me you so let us let
- 23:01us have this like this claw code okay
- 23:03let us have it like here and I would
- 23:06just join these two so they can move now
- 23:09what happens with claw code everyone and
- 23:11why am I saying that it is not it is
- 23:14clawed with hands or it can actually do
- 23:16stuff right so understand it when we
- 23:18talk about a machine. Okay, typically it
- 23:22is just some hardware which you are
- 23:23controlling, right? So you of course
- 23:25have this very awesome graphical
- 23:26interface etc. But at the core of it
- 23:30everyone there is something known as
- 23:31terminal. Okay, so there is something
- 23:33known as terminal which uh many of you
- 23:36might have heard for many of you who
- 23:38have not heard this I would like to show
- 23:40you this as well. Okay, because that is
- 23:42where we will be learning lot as well.
- 23:45This everyone is something which is
- 23:46known as terminal and ideally this is
- 23:49where your computer can get control
- 23:50right when we talk about computer
- 23:52machines on the web as well right that
- 23:54hey where is a server and everything
- 23:55this is how you get the access so
- 23:59anyone who can run any commands here can
- 24:00get access to your uh let's say uh get
- 24:03access to your machine example if I just
- 24:06show uh let's say if I do ls so I'm in
- 24:08the main directory let me go to desktop
- 24:10everyone let me say uh clear everything
- 24:14out. So now I'm in desktop here. Now I
- 24:16can say make directory. Now you don't
- 24:18need to know these commands. Make
- 24:19directory. Uh let's say test claude code
- 24:23and I could now inside go inside this
- 24:25directory as well. Right? So now for
- 24:28people who have never seen this they
- 24:29would not have understood. But what I
- 24:30have done everyone is typically let me
- 24:32just show you the finder. So one minute.
- 24:35Yeah. If I go on let's say my main page
- 24:39then I can go on my desktop from here as
- 24:41well. And this is where it gets crazy,
- 24:43right? So I created a folder and you
- 24:45will see the test cloud code is created
- 24:48here. Now it is empty as of now. It is
- 24:50empty as of now. But all I'm saying is
- 24:52that I create a new folder like this.
- 24:54Let's say test folder.
- 24:58But at the same time if someone's get
- 25:02access to my terminal
- 25:05he can also do the same without that
- 25:07interface or without that button etc. So
- 25:09very very important thing please
- 25:10understand this clearly because once you
- 25:12understand this the whole idea that okay
- 25:14how claude actually is having the hands
- 25:17what change with cloud code will get a
- 25:18lot clear. So if I do an ls here
- 25:20everyone ls is a command which with
- 25:22which we see what is there inside the
- 25:23folder. I see a test folder. Now I what
- 25:26I can do I can do make directory test
- 25:29folder 2 and see test folder and two two
- 25:33directories are created like again there
- 25:35was a space here. So there's there's a
- 25:36different way of doing it but no worries
- 25:38I could actually give my directory three
- 25:40and you will see three is getting
- 25:41created. So all I want to prove is that
- 25:45if a very very smart person okay or very
- 25:48very smart brain get access to your
- 25:50machine in here okay then it can do
- 25:52stuff it can actually create some files
- 25:54as well so let's say touch my awesome
- 25:57code py and see I am having a file
- 26:02listener or let's say clear everything
- 26:04out touch
- 26:08my filet txt and we have a txt file as
- 26:11well so it is an
- 26:12Right? So I hope you get this complete
- 26:15idea everyone that how at the end of the
- 26:17day what claude code does it is clawed
- 26:20in the back end but now entropic said
- 26:22that hey let me somehow get installed to
- 26:26the user system and then do some changes
- 26:29in here and how did it do does that
- 26:31changes it is able to access or run
- 26:34commands on my machine. So just like I
- 26:37showed you the terminal very very
- 26:38important thing it is able to similarly
- 26:41run and that is why it says that it is
- 26:42for developers and it has to get
- 26:43installed because if clawed code will
- 26:46not be installed on your machine it will
- 26:49not be able to run these commands and
- 26:50that is where actually clawed code gets
- 26:52its hands as well. So this is the
- 26:54distinction everyone claw chat versus
- 26:57claw code same brain different
- 26:59capability claw.ai AI or even the claude
- 27:02desktop with just claude. It is claude
- 27:04chat. It is just a communication where
- 27:06it talks. Okay. At a user level, you can
- 27:08just talk to this but you do all the
- 27:10stuff. So for example, you can go on
- 27:13claude now everyone and ask it that uh
- 27:16give me a simple code so that I could uh
- 27:22I can sort an array using bubble sort.
- 27:27Right? So I'm just asking it for a
- 27:28simple code. Now what it will do
- 27:32everyone it will just make sure that it
- 27:34provides me with a simple code. Okay. So
- 27:36it is asking me some question no worries
- 27:37let me just ask uh do it in Python and
- 27:40it will give me the code right so again
- 27:42the brain is pretty simple right brain
- 27:44is just making sure that can provide you
- 27:45with some code like you can even think
- 27:47of any file
- 27:49but the difference becomes everyone is
- 27:50that now I will have to copy this I will
- 27:53have to copy this I will have to go to
- 27:56my machine let's say I go to this
- 27:57particular machine and this is what we
- 27:59used to do I think around an year or two
- 28:01years back where everything we were
- 28:03doing with uh our AI right so we used to
- 28:05ask it for code and it used to provide
- 28:07us with the code. Now I can create a new
- 28:09file everyone. So I can again create
- 28:10from here touch sort code
- 28:15py I could do pi and then just paste it.
- 28:19So again uh no worries if if you don't
- 28:20understand it. Uh now if you will see
- 28:23the code is pasted here. So again the
- 28:26brain was working and providing me with
- 28:28the code but action creating a file copy
- 28:31pasting the code I had to do all of that
- 28:34versus with claw code it is the same
- 28:37brain so it is actually the same brain
- 28:39to be very honest right which I will
- 28:40show you as well but it is able to act
- 28:42as well if you will ask it the question
- 28:44which I will show you just in a bit once
- 28:46we set up clot code in depth it will not
- 28:48only be uh telling you that hey this is
- 28:51the code it will also create a file it
- 28:54and paste the code inside it and how
- 28:56does it does that everyone the answer I
- 28:58think is right in front of you it is
- 28:59able to run these commands in the back
- 29:01end now since it is having your access
- 29:03it will be able to run the command if it
- 29:05feels that hey somewhere I need a user
- 29:07approval and everything it will ask for
- 29:08the same as well so yeah that makes you
- 29:10free a lot so user state it is relaxing
- 29:13it is able to do all these things right
- 29:15in front of you and that is the main
- 29:17understanding everyone which is should
- 29:19be now very very clear that claude code
- 29:20doesn't just answer question it takes
- 29:22action and That distinction right is
- 29:25what separates it from every other AI
- 29:27tool out there. The moment you
- 29:28understand that cloud code has hands
- 29:30then uh you it can actually reach your
- 29:32project and change things. Everything
- 29:34and how you work basically changes.
- 29:36Okay. And the main benefit is that
- 29:38actually cloud co-work also works in a
- 29:40similar manner. So that should be very
- 29:41very helpful. Now yes May uh thanks for
- 29:44this in-depth right. I'm pretty sure
- 29:46that you are liking this approach. But
- 29:48believe me this thing will help you to
- 29:49clear future updates and everything as
- 29:51well. Right. So once now that you have
- 29:53understood the whole content and
- 29:54everything now I think we can jump on to
- 29:56clot code. Just one very very important
- 29:59last part which somehow no one
- 30:00explained. So one more concept before we
- 30:02move on to the installing and everything
- 30:04and this is going to be the most
- 30:05important thing is in this entire video
- 30:07right understand this and each and
- 30:09everything like skills hooks agent MCP
- 30:12which I we are going to cover in depth
- 30:14will make a lot of sense and that's
- 30:16something everyone is known as agentic
- 30:17loop. Okay. Now again don't see anyone
- 30:20talking about this very very important
- 30:23when you type something in claw as well.
- 30:25Right. So let me just talk about claude.
- 30:27You will see that how it does a lots of
- 30:30thing in the back end. First it make
- 30:32sure that it plans what it has to do.
- 30:35Then it acts okay. So it can read let's
- 30:39say any file which you upload. It can
- 30:42run some commands internally as well. So
- 30:44if I normally let's say ask it uh
- 30:47generate a quick small PDF for the same.
- 30:51So see how it will work everyone. It
- 30:53will be working in an agentic loop where
- 30:55it will start. So see it is thinking now
- 30:57user want a PDF for bubble sort. It is
- 30:59reading some PDF skill. It is not that
- 31:02it's just giving you the answer. It is
- 31:03kind of working in a very circular
- 31:04manner. So see reading PDF skill. I will
- 31:06use a report lab to create clean PDF.
- 31:08Now it is running this script in the
- 31:11back end as well. So this is how claude
- 31:12is working. Okay, pip install something
- 31:15creating bubble PDF using report lab and
- 31:17see it is writing some code which it
- 31:19will run. So I hope the dots are now
- 31:21getting clear that claude on a machine
- 31:22which it is working it will try to run
- 31:24this code and everything and finally
- 31:26provide us with a PDF. So think act okay
- 31:30then result then it can ask if it is not
- 31:33right or everything and we can retry as
- 31:35well. So this is how claude and claude
- 31:37code works. Okay. So the same thing
- 31:40everyone will is how exactly clawed code
- 31:43it will first understand it will read
- 31:45all the files your let's say different
- 31:47if it can do the Google search as well
- 31:49then it will check and have the results
- 31:51then it will have a quick check then it
- 31:53will ask that hey do you want to make
- 31:55any changes if everything all right and
- 31:56then finally it gets reads right. So ask
- 31:59think act and that is how finally things
- 32:01gets done and that has a very very big
- 32:03role on how smart overall claude is and
- 32:06why cloud code works so better. So see
- 32:08how you've got a so awesome of a
- 32:10presentation or sorry PDF right so in
- 32:13here it is not like you're talking to an
- 32:14AI okay you're talking to a brain you
- 32:16are directing one and that is completely
- 32:18different relationship the agentic loop
- 32:19is the secret to why claude clawed code
- 32:22and everything feels like magic it is
- 32:24actually in depth now as I've shown it
- 32:26is not magic it is just some iteration
- 32:28which is at a very very good speed right
- 32:30so that is what makes the so powerful
- 32:32everyone and the same philosophy because
- 32:34the brain is same will get shifted to
- 32:35claw code as well
- 32:37So yeah, I think this should be very
- 32:39very clear. This is a very very
- 32:40important topic. As of now, we have seen
- 32:42that how or what exactly claude is, what
- 32:44is entropic, all these things. And if
- 32:46you see the cloud code official docs,
- 32:48this is the official documentation and I
- 32:51have read through the same entirely like
- 32:52completely so as to make sure that I can
- 32:55cover each and everything. So again
- 32:56installation and everything we will come
- 32:58to being and we will see the same
- 32:59everything by practically. So now let's
- 33:01move on to the next part where we will
- 33:03understand that how cloud actually gets
- 33:04installed and how to set it up on your
- 33:07machine be it Windows, Linux anything.
- 33:08So great everyone now let's move forward
- 33:10and try to understand about setup and
- 33:12installing claude on our machine. So by
- 33:14the end of this part you will actually
- 33:15understand how claude gets installed and
- 33:17various different different modes of
- 33:18installing it because yeah that is I
- 33:20think what confuses a lots of people as
- 33:22well. Uh we will be understanding and
- 33:24setuping the same in all the three
- 33:26different OS. So I will be sharing that
- 33:28what issues you might face and
- 33:29everything and yeah by the end of this
- 33:30part everyone you will be able to
- 33:32install claude make it run on your
- 33:33system as well as authenticate and see
- 33:35that how you have to use claude code
- 33:37right and this again is very very
- 33:39important so we will be making sure that
- 33:40all the errors everything is kind of
- 33:42fixed because I've seen so many people
- 33:43they see a 20 or 50 minutes video where
- 33:45the mentor is able to run everything
- 33:47he's able to create the worldass website
- 33:49and when you try to install it on your
- 33:51machine be it Windows Linux or uh let's
- 33:53say Ubuntu uh sorry Windows Linux or Mac
- 33:55you face problem and you just run away
- 33:57right so I've seen so many people who
- 33:59after seeing the tutorial gets all
- 34:00charged up but the second they try to
- 34:02install it on their machine they face
- 34:03some errors and then they run away
- 34:05because no one has taught that hey how
- 34:07to fix these errors as well in depth
- 34:08right so that would be the whole
- 34:10understanding everyone and we will make
- 34:11sure right that all the common errors as
- 34:13well we are discussing and solving the
- 34:15same as we install them and we will be
- 34:17seeing all the different different ways
- 34:18of installing and running clot code as
- 34:20well so with that let's now get started
- 34:22everyone uh this is kind of the same
- 34:24diagram which I showed you where I
- 34:26explained that how claude is a brain
- 34:29right so this was a very important
- 34:30diagram everyone this one claude chat is
- 34:32a brain and claude code is just that
- 34:34brain with hands right now the way it
- 34:37gets hand is very very important you
- 34:38could ask clot to give you a code
- 34:41something which we did here right so
- 34:43yeah we did ask that hey can you please
- 34:46create a code and maybe create this file
- 34:48as well but it will not be able to do it
- 34:50on your machine so that is why or that
- 34:52is like exactly how clawed code by
- 34:55accessing our terminal right so by
- 34:56accessing our terminal able to work on
- 34:59our machine so for sure we will have to
- 35:01install clawed code as well right so
- 35:03let's see the installation everyone and
- 35:05we are going to see the same in all the
- 35:07different different operating systems
- 35:08now I have created this terminal sign as
- 35:11well which I will come to that why I
- 35:12have done that first let's go to the
- 35:14official documentation so if you will
- 35:16see if I go on this official
- 35:18documentation of claude and I will have
- 35:20all the links and everything uh so don't
- 35:22worry around that as well there is a
- 35:23quick start uh button Now you will see
- 35:26everyone that how it is saying this will
- 35:28guide you how to install like lord code
- 35:30in every operating system and there are
- 35:32different different ways right. So the
- 35:34very first and the vanilla way is to
- 35:36make sure that when you are inside your
- 35:38terminal so this was the terminal window
- 35:40everyone I just created one more okay
- 35:42this one is the blank one where we will
- 35:43be installing clot when I write clot
- 35:46nothing is found the idea is that how
- 35:49can I give my clot okay via clot code
- 35:51access to my machine. So for the same we
- 35:55will be installing it via our terminal.
- 35:57Now people who have been using uh like
- 35:58people who are from non techch
- 35:59background product managers etc. As of
- 36:02now you must have got aexe file or the
- 36:05way you have installed your setup or
- 36:06let's say games that is little
- 36:08different. Okay in here v commands we
- 36:11normally try to install things. Okay. So
- 36:13there is no setup file something for
- 36:15that what we will do everyone if I go on
- 36:17quick start you will see that how for
- 36:19Mac OS and Linux it is saying that hey
- 36:22if you want to install this just copy
- 36:24this and run this command on your
- 36:26terminal right so the second I run this
- 36:28command the installation will start so
- 36:31we will let it install everyone it will
- 36:32take a little bit of time because in the
- 36:35back end again it is doing the same
- 36:36thing it will be downloading a script or
- 36:37a file then that script will run it will
- 36:39it may download some additional things
- 36:41and then it will be installed on your
- 36:42machine. Now people who are on Mac OS or
- 36:46Linux you have the terminal inbuilt. So
- 36:49the second you search for terminal you
- 36:51will find this terminal inbuilt on which
- 36:54you can run your commands. But on
- 36:56Windows basically we have different
- 36:59things right. So on Windows if I talk
- 37:00about uh we have something known as cmd
- 37:03okay which is command line I guess is
- 37:05the full form right? Command prompt
- 37:06sorry. Yeah command prompt something
- 37:08like this which you access by writing
- 37:10cmd. You also have something known as
- 37:13PowerShell is there. So this is
- 37:15something as well which is there on your
- 37:16machine. Now in the official
- 37:18documentation only everyone if I go on
- 37:20the overview. Yeah you will see that how
- 37:23they have given separate commands to
- 37:25install it on your Windows as well. So
- 37:27when you're installing it on your
- 37:28Windows, either you can run this command
- 37:30on PowerShell and this is very very
- 37:32important that you run this command
- 37:34exactly on PowerShell
- 37:36or you could run this command on your
- 37:39cmd and it's almost the same thing. It
- 37:42tries to get a file and tries to run
- 37:44this basically in the back end. It just
- 37:45handles each and everything and it will
- 37:47be installed. If you want to be very
- 37:51closer to the terminal of how people uh
- 37:54use it with Mac OS or Linux something
- 37:56which lots of people will be doing in
- 37:57the tutorials etc then it is very very
- 38:00important that you download this uh
- 38:03Windows terminal. Okay. So this is a
- 38:04very very awesome given by Microsoft
- 38:06only Windows terminal which you can
- 38:08download on your machine and the same
- 38:10will be pretty helpful to you. Okay. So
- 38:12with that everyone let's uh see our
- 38:14installation so that we can move
- 38:15forward. See it is still downloading 2
- 38:18uh 1.1
- 38:20119 version. If I just zoom in and show
- 38:22you. Uh the idea is pretty simple like
- 38:24it is just getting that file and
- 38:25everything. So it might be a little
- 38:26heavy. So let it run parally. And yeah
- 38:28as I said you can have a cmd. I can just
- 38:30get a cmd icon quickly. Uh yeah this one
- 38:33works
- 38:36on your windows. It can be a cmd
- 38:39or it can be a powershell as well.
- 38:42Right. So these uh you will be
- 38:44downloading these nodes. So that's why
- 38:45I'm making it very much helpful. Okay,
- 38:47let me copy this. I have to run this
- 38:49again.
- 38:51So just I can have this and this is
- 38:54where you have to run the commands
- 38:55everyone and in a similar manner it will
- 38:57get installed. Now again I will wait for
- 38:59it to get installed. Ply I could just
- 39:00have make sure that this is how you
- 39:02install it and uh in Linux and uh Mac uh
- 39:06terminal is by default there and that's
- 39:08the like main way in which I want all of
- 39:11you to install this right. So there is
- 39:12another way through which I will show
- 39:13you as well like uh another way like
- 39:15which is pretty easy honestly though it
- 39:18doesn't work on uh let's say on Linux
- 39:20but I will still show you if you will
- 39:22see so see it is saying installing cloud
- 39:24code native build it is setting up cloud
- 39:25code if you will go on your uh cloud
- 39:28desktop application everyone which we
- 39:30downloaded in the uh last part you will
- 39:33notice that how on the left if you have
- 39:36purchased so I will come that how can
- 39:38you exactly use clot code okay so don't
- 39:40get any confusion here I have that
- 39:42proper cover that properly as well. If
- 39:44you have purchased Claude Pro
- 39:46subscription or max subscription that is
- 39:48a 20 or $100 one. Okay. So if I go back
- 39:52and show you Claude
- 39:55Pro and if you go here see let me say
- 39:59just plan now you will see Claude AI
- 40:02upgrade. There is a pro and there is a
- 40:04max plan. Now these are the annual one
- 40:07and I think in the monthly one I think
- 40:11it's $20 okay with some tax etc. If you
- 40:14have purchased this plan everyone and
- 40:16when you loging in with your same ID you
- 40:18will see that on the left along with
- 40:20chat you will be getting the cowwork and
- 40:23code as well. Okay. So again we have to
- 40:26right now focus on claw code and the
- 40:28second you click on claw code it will be
- 40:30present in a graphical user interface.
- 40:32So this is a GUI right where you can
- 40:34click buttons and everything rather you
- 40:36can just select a folder here you can
- 40:37just go and open folder I can just go on
- 40:40my desktop and in here let's say test
- 40:42cloud code and I could just ask create a
- 40:47create a hello world and I can just zoom
- 40:51it in so you able to see it properly
- 40:53hello world
- 40:56python uh bad yeah python file in this
- 41:00folder and the Second I press enter it
- 41:03is just asking trust this workspace claw
- 41:05code may read write or execute files in
- 41:09this directly only proceed if you trust
- 41:11the process. So it is saying that hey
- 41:13once you install I could read the files
- 41:16what is present. So there might be some
- 41:18bank statement everything I would be
- 41:19able to read it. I can write that is
- 41:21create new files edit uh current files
- 41:23or even uh delete the files and execute.
- 41:26If you ask me that hey run this Python
- 41:27code I could run the same as well. So
- 41:29this is the warning which it is giving
- 41:30everyone and just to show you like how
- 41:33it works actually once your claw code
- 41:36gets installed unlike simple vanilla
- 41:39clot it is having these multiple tools.
- 41:41So it is having a tool through which it
- 41:44can run anything inside your uh
- 41:46terminal. So we say that okay why are
- 41:49these different different tools my
- 41:51claude will be able to do multiple
- 41:53things. So that is very very important
- 41:55distinction that in a way in the back
- 41:58end uh and that is why it is taking so
- 42:00much time to install and everything.
- 42:02Clot says that hey I have some different
- 42:04different tools via which I could run
- 42:06inside your machine. Okay. So the second
- 42:07I do trust workspace it will start
- 42:09running. See starting session now again
- 42:12it will just quickly get started. So we
- 42:14can just wait again it is just
- 42:16connecting. So it is saying clude uh
- 42:18processes with exit code one. Let me
- 42:20quickly check everyone. I think I have
- 42:22selected hypool. At least it's on it.
- 42:24Let me send the request again. I think
- 42:26that it might be the case because like
- 42:28to show you all how to install it from
- 42:30scratch. I have uninstalled claw before.
- 42:32So maybe that have caused a mismanaged
- 42:34thing. Yeah, I think it's still giving
- 42:35an error. So no worries. But uh all the
- 42:37things which we are doing we can do via
- 42:39this GUI as well. Though I will highly
- 42:42suggest not to follow this but the other
- 42:43two ways. So if I just quickly discuss
- 42:46uh we were discussing about installation
- 42:48and we have covered about first which is
- 42:51uh let's say the claude desktop I will
- 42:54quickly just search it
- 42:56get it one minute. So let's get the
- 42:59cloud desktop icon everyone. I think
- 43:01yeah this should work great. So one way
- 43:05is this everyone where we are running it
- 43:07via cloud desktop. Then another way is
- 43:10how we are running it via our terminal.
- 43:13So if I now show you everyone this has
- 43:15also been installed on my machine and
- 43:17the best way to check it out the second
- 43:19you write this claude okay and I would
- 43:21just clear everything clear everything
- 43:23and I would write cloud and it will then
- 43:26run. So see it is now able to understand
- 43:28and with this very very nice graphic it
- 43:30is coming. So welcome to cloud code this
- 43:32version choose a text style that looks
- 43:34best with your terminal. So it is asking
- 43:35that hey I will set up the theme and you
- 43:37can of course change and do all these
- 43:38things as well. Right now before I move
- 43:40forward one thing if you are in Windows
- 43:43you might get a error or something that
- 43:46hey this command is not uh let's say
- 43:49valid or is not identified. So for the
- 43:51same everyone you have to make sure that
- 43:53you uh do add the same in your path. So
- 43:55this will look something like this uh
- 43:57why windows says cloud is not recognized
- 43:59and how to fix it. So you can take the
- 44:00screenshot here. Uh let's say when you
- 44:02write cloud after installation it will
- 44:04say windows look through the path list.
- 44:06It will not be having that. I hope all
- 44:08of you remember that how if we go on
- 44:11windows
- 44:13path right we have to add just this path
- 44:15variable in here you just have to add
- 44:18clot and once you have added the same
- 44:20everyone then it will just start getting
- 44:22recognized okay so that is the whole
- 44:23idea and one more thing before we move
- 44:26forward I would just like to show you
- 44:27that to install claude on your machine
- 44:30you should be having node available
- 44:32right so again if I go back if I just go
- 44:35on here I could just say node -
- 44:37this node is installed in my system
- 44:39right so uh quickly we can check because
- 44:41I want to make sure that you don't face
- 44:43any errors right I could just actually
- 44:45open a new chat and ask what are the
- 44:48requirements
- 44:50for all OS to download and run claude
- 44:56code search and so we are using cloud
- 44:59code only to ask for it uh sorry cloud
- 45:01only to ask for it requirement majorly
- 45:03it is node and of course some basic
- 45:04configuration like 4 GB RAM etc But yeah
- 45:07once I think that is done you should be
- 45:08very good to just run it directly and I
- 45:11will tell you about a command as well in
- 45:12a bit which can help you to check if
- 45:13everything is fine. So see it is just
- 45:15going through all the documentation and
- 45:17everything and yeah that is the benefit
- 45:19like how it is running in an aentic loop
- 45:21searching then doing advanced search and
- 45:23it is telling that hey Mac OS these are
- 45:25the versions and I think overall it will
- 45:28just ask for network shell Apple Linux I
- 45:32think if even if node is not installed
- 45:34it can get that. So see native
- 45:35installation no NodeJS needed auto
- 45:37updates via npm NodeJS is required. So
- 45:40yeah that is what I remember that you
- 45:42might need to install node again if you
- 45:43face any issues you can quickly search
- 45:45but in my experience you will not face
- 45:47any problem the this kind of an issue
- 45:49where you are not able to run it on your
- 45:51machine uh windows specifically because
- 45:53of missing variable is what we want to
- 45:55fix. Now when you go back everyone and
- 45:58click lot this is the kind of very good
- 46:00uh this kind of I'm not sure if it's a
- 46:02jellyfish or something it will open I
- 46:04would just say that hey uh you can have
- 46:06like now we can see different different
- 46:08types now how it will look right so I
- 46:10could say that let's have auto or match
- 46:13terminal because that would be good and
- 46:15this is very very important everyone so
- 46:17you will see few options here now and I
- 46:19would like to take a screenshot so that
- 46:21I can explain this properly pay
- 46:22attention
- 46:24once you have installed this everyone
- 46:25once Once you have installed claude now
- 46:28claude is not free right as I told you
- 46:30that if you have the pro or the max
- 46:32subscription that is only when you will
- 46:35see claude co-work and claude code here
- 46:37else you will not see these two
- 46:40offerings right and the idea is pretty
- 46:42simple see it uh takes money for llm
- 46:45student okay so claude entropic is
- 46:47basically spending that money and we
- 46:49will have to also make sure that if we
- 46:51want to use claude use the brain we
- 46:53spend some money as well so claude code
- 46:55is not Running LLMs at this scale cost
- 46:57money and enthropic charges us for it.
- 46:59Right? So there are three options
- 47:00majorly everyone if you will see here.
- 47:03Uh first one is your cloud account with
- 47:04subscription pro max or team. Second is
- 47:07enthropic console account and third is
- 47:10third party platform. So before I could
- 47:12move forward and say that hey cloud code
- 47:14you are an awesome software please just
- 47:17make me free and run all the code and
- 47:18everything. Please take over my job so
- 47:20that I can relax. You have to tell that
- 47:22how you are going to pay for it because
- 47:24again you are just saving your time.
- 47:25Right? Three ways are there. First is
- 47:28cloud account with subscription. Now if
- 47:30I show you in my particular account
- 47:33settings
- 47:35billing I am having a subscription to
- 47:37this particular cloud account. I am
- 47:39having the pro version. Now you can go
- 47:41on adjust plan
- 47:43and here as I showed you like there is a
- 47:45pro and a max version available. Right?
- 47:47So that is the very first way everyone
- 47:48something which we are going to use.
- 47:50Second everyone is that if you are not
- 47:54uh buying claude uh let's say via this
- 47:56pro subscription and in this however you
- 47:59use claude as well so I would like to
- 48:00show you one thing as well this is a
- 48:02little tricky and very very frustrating
- 48:04but claude charges you on the basis of
- 48:06usage cla says that hey your current
- 48:09session it will be for 4 hour 53 minutes
- 48:12normally I think it is for 5 or 6 hours
- 48:14and it limits how much you can use
- 48:16inside it okay and again all models as
- 48:18well so basically clot says that Okay, I
- 48:20will be giving you some fixed limit
- 48:22weekly. You can just run your everything
- 48:24in here for the time being. And this is
- 48:26how the first option works. Claw account
- 48:29with subscription. Second, everyone is
- 48:31aware just like charg.
- 48:37So if I go back for the time being, let
- 48:40me just do cloud account with
- 48:41subscription and it has open on my
- 48:43separate browser. I would just authorize
- 48:45it. I can show you like what it is
- 48:47asking. Let me quickly get the
- 48:48screenshot from the second screen.
- 48:50So just a second
- 48:53see this is what I'm getting claude code
- 48:56would like to connect to your claude
- 48:57chat account access topic profile
- 49:00information access cloud code session
- 49:01everything basically I can authorize
- 49:05the second I would authorize uh which I
- 49:08have done see login successful please
- 49:10enter to continue so see it is saying
- 49:12claude can make mistakes due to prompt
- 49:14injection is only use it with claude
- 49:16code uterus so that we will all master
- 49:18in the in few seconds So this was the
- 49:20very first way everyone. Now I could
- 49:21just press enter and I could say for the
- 49:24optimal coding experience enable this
- 49:26recommended setting for your terminal.
- 49:27Uh we we can use a recommended setting
- 49:29not a problem. Quick safety is this a
- 49:31project you created or one of you trust.
- 49:33So I could say yes I trust this folder.
- 49:34Not a problem. And now I'm inside my
- 49:36folder everyone. So see it is asking you
- 49:37a few things because it is trying to
- 49:39access lots of things. So terminal would
- 49:42like to access data from other apps. Let
- 49:43me allow it. Uh let me let me actually
- 49:46don't allow this and don't allow this.
- 49:48Let's go to the folder. So before I can
- 49:52exit, I could just say exit cd desktop
- 49:56and test clot code. Okay. So I was
- 49:59running it in the major like directory
- 50:00outside directory. Okay. Now I could say
- 50:02clot
- 50:04and see it has started right. So we will
- 50:07come to this particular uh UI and
- 50:08everything as well. The second way
- 50:10everyone in which you can run claude is
- 50:12something by providing it an API key. So
- 50:16claude overall just like chart GPT sorry
- 50:18just like Y openai it also provides you
- 50:20with a key. So I what I can go is I can
- 50:22go to let's say enthropic let me just
- 50:25search here only anthropic
- 50:28API
- 50:30and see cloud platform. So this is the
- 50:33uh website everyone and in this you can
- 50:37make sure that you can buy credits. So
- 50:39it is on the go like to explain you in a
- 50:41very simple sense clot max or clot pro
- 50:44is like a gym membership which you
- 50:46purchase and you can let's say go once a
- 50:48day or twice a day not more than that
- 50:50they will be saying that hey you can
- 50:51just use gym for 1 hour not more than
- 50:53that okay if you're coming for a time
- 50:55whereas this API setup everyone it is
- 50:58like how you are just paying per session
- 51:00so every time you go to the gym you are
- 51:02maybe paying 500 rupees or some dollars
- 51:04so that is the best analogy to
- 51:05understand it I want that you understand
- 51:07it in depth because many many companies
- 51:09now are providing their developers with
- 51:10$300, $500 worth of monthly usage of
- 51:13cloud. Right? So now if I show you
- 51:15everyone, I would just go here in uh
- 51:17organization settings and yeah in the
- 51:20organization you will see that how like
- 51:23again I just created an organization. If
- 51:25I go on billing this is where my credits
- 51:27are zero because I was testing something
- 51:28out. I can buy credits as well. So let
- 51:31me buy just uh three credits for the
- 51:33time being. Okay. Uh let me buy five
- 51:34credits and again my card is already
- 51:36present. I will get an OTP and I could
- 51:39just purchase these credits easily.
- 51:40Right? So that is the whole idea. I
- 51:42think the I don't have that much. I
- 51:43think it was 400 something which was
- 51:45left. But anyways I will just enter the
- 51:46wrong OTP and uh like sorry I will enter
- 51:48the OTP and if I would have that level
- 51:51of uh rupees in my card it will work. So
- 51:54let me quickly just have the OTP
- 51:56everyone. Just a second it will be
- 51:58coming up in a bit and once it comes I
- 52:01could just quickly enter it so I can
- 52:02show you like again this is the way. So
- 52:04I've just got the OTP as well. Uh 1
- 52:07second.
- 52:14Okay. And I can verify and proceed.
- 52:16Right. So now again
- 52:19it will be done. Let it run.
- 52:22So it is failing. I know the reason
- 52:24because again I had some 420 rupees or
- 52:26something. So I have to recharge my
- 52:28card. But yeah that is once you uh do
- 52:30this everyone. Then what you can do you
- 52:32can go on this API keys and you can
- 52:34create a new API key. So let's say I use
- 52:36claude code here and I could just copy
- 52:39this key. Once you copy this key then
- 52:41you can use your claude code and that is
- 52:43how it's going to charge you rather I
- 52:45can go back and just do login and it
- 52:48will again ask me. So see entropic
- 52:49console account now again it is asking
- 52:51the browser and everything. So in the
- 52:53back end it is again asking that hey I
- 52:56would like to so this is the second part
- 52:59everyone and I'm showing you all these
- 53:00things in depth because I want that you
- 53:02master it completely in depth right not
- 53:03just like for fun so this is how it is
- 53:06opening for the second part now here it
- 53:08is already saying that hey I could
- 53:10create key on your behalf already access
- 53:11your entropic profile information and I
- 53:13could upload files on your behalf as
- 53:14well so I could just authorize in a
- 53:16similar manner and I think even I don't
- 53:17need to provide the key it will create
- 53:19the same itself right so now it is
- 53:21asking me for entering uh money or
- 53:23something which of course for the timing
- 53:25I'm not doing so that should be all good
- 53:27but yeah I think that is how it works
- 53:29everyone I could just escape to cancel
- 53:31for the timing again I would just make
- 53:33sure that I do it with subscription okay
- 53:36so let me authorize and it should be all
- 53:39fine okay so now it has been done
- 53:42everyone now one more thing there is one
- 53:44more option very important which is
- 53:46third party platform like Amazon bedrock
- 53:48foundry or vertex AI so these are the
- 53:50cloud-based AI rather you can use your
- 53:52claw code with a locally hosted AI as
- 53:55well. But uh though that is pretty
- 53:57simple like you used Olama and run your
- 53:59let's say uh Llama or any Quenbased
- 54:02model but that is like having a Ferrari
- 54:04and using it with cycle which doesn't
- 54:06have any engine or even with a let's say
- 54:07Maruti engine because the whole power is
- 54:11the brain right not that how it does
- 54:14these different different things the
- 54:15whole power is the brain and if you are
- 54:17just taking away that brain and putting
- 54:19up a very uh lesser of a model or very
- 54:22unsmart model then it will not run. So
- 54:24this third way everyone third party
- 54:26platform though you can use any EI as
- 54:29such but it will not be the best giving
- 54:31you the best approach. So I would
- 54:32suggest that if you are actually CH
- 54:34which you should be please just have $5
- 54:37loaded up it would be more than enough
- 54:38for this complete tutorial or if you
- 54:40have a $20 subscription that should also
- 54:42be enough like in steps of course
- 54:43because we will be running uh multiple
- 54:45codes and everything. So there will be a
- 54:47limit which I will show you as well.
- 54:48Okay. So that is more more than enough
- 54:50and that is how you can use the same.
- 54:52Okay. So yeah, I think these are all the
- 54:54ways everyone. I have created a very
- 54:56good graphics as well. Pick your cloud
- 54:57code plan subscription $20 a month.
- 54:59Cloud AI daily use pay or use API key
- 55:02learn and test. So these are the two
- 55:03major major ways and as I told you this
- 55:05is not going to be free. So that is why
- 55:07I have explained you the most important
- 55:10thing. If you're learning again as I
- 55:11said start with the API route or if you
- 55:13normally want to explore claude claude
- 55:15co-work and claude code go with a $20
- 55:17subscription. I think it is more than
- 55:19enough. I currently have three
- 55:20subscriptions because of the limits and
- 55:22because a few people in my team are also
- 55:23using it. Okay. Uh and again the money
- 55:26which you spend believe is going to give
- 55:27you way more back in the terms of value
- 55:30overall. Okay. So that is the whole
- 55:31thing I think we have covered about how
- 55:33to install it via terminal about the
- 55:35system requirements as well and overall
- 55:38just one more thing which I would like
- 55:40to show you everyone. So we have a
- 55:41claude
- 55:43doctor command now. So I think it was
- 55:45very very recently introduced in which
- 55:47if you just run this. So I think I am
- 55:49all done with this. Let me quickly
- 55:51authorize it. Same again and I could
- 55:55just say it is done. Okay. I could write
- 55:58claude doctor.
- 56:01Uh I think this should be not outside 1
- 56:03minute. So yeah see I'm outside my
- 56:04claim. Here I could write claud doctor
- 56:07and like a doctor it will just check if
- 56:09everything is great or not. So see it is
- 56:11just saying that hey diagnostic
- 56:12currently running native auto updates
- 56:14everything is done we you don't seem to
- 56:16have any issues. So this claw doctor
- 56:17command everyone is very very important.
- 56:19I would be adding the same as well. If
- 56:21node is not installed on some other
- 56:22issue will be there. It will tell you
- 56:23about the same that hey seems like you
- 56:25are having some issues and that is how
- 56:27we have installed the same everyone. We
- 56:29have talked about the path fixing as
- 56:31well. Now let's see that how we will be
- 56:33running it as running as well right. So
- 56:35let me just close clear everything out.
- 56:37CL I could just close this as well.
- 56:40Lord and see now I'm inside this desktop
- 56:43text lord folder. I have already uh done
- 56:45this part where I have it set via
- 56:49overall our particular folder and via
- 56:52our max pro subscription. Now I could
- 56:54ask it create a simple hello and I will
- 56:57talk like what all is there in this
- 56:58particular UI as well or let me let me
- 57:01just ask simple thing hi how are you let
- 57:05me just ask a simple message. So see
- 57:06thundering it will say thinking
- 57:07pondering these small small words which
- 57:09include your uh let's say things as well
- 57:12see hi I'm doing well thanks for asking
- 57:15you need to help with whatever you are
- 57:16working on what can I do for you it is
- 57:18using sonnet 4.6 six. It is saying that
- 57:20hey I'm on clot 4. So I would just get
- 57:22this particular thing as well. So I
- 57:24could explain all these things to you.
- 57:27Okay. Very very important.
- 57:31I would just go here and I think
- 57:33somewhere down the line we have yeah I
- 57:35have created this. So installing and
- 57:36path issues we have already covered
- 57:38this. Now on the terminal this is the
- 57:40kind of UI which you get. So very
- 57:43simple. This is your
- 57:46clawed model you are using. This is like
- 57:49all how it is claude pro. So it tells
- 57:51about that it is via the pro
- 57:53subscription. Then it is saying that hey
- 57:55I'm on my 953i emails colonization uh in
- 57:58it to create cloud MD and all these
- 58:00things we will cover in a bit. Then I
- 58:01just sent a message and it is replying
- 58:02me with a message as well. Right. So
- 58:04pretty simple thing. I could just now
- 58:05ask it can you create
- 58:09a simple hello python file
- 58:14in this folder and now it will run. So
- 58:17see synthesizing try setting environment
- 58:19variable and all these things. So it is
- 58:20just saying that hey you can make this a
- 58:22lot better. So see it is saying that hey
- 58:23create file hello. py do you want to
- 58:25create the hello. py file either you can
- 58:28allow it just for the time being or you
- 58:31can allow this on all edits. So every
- 58:33time it wants to get a right access
- 58:35because right access is a little tricky
- 58:36right it can change your files it can
- 58:38delete your files and everything which
- 58:39is why it is very important to use it
- 58:40properly. I could just say yes and see
- 58:43it is saying lsr plug-in recommended.
- 58:44Unless I provide cold intentions like go
- 58:46to definition and error checking. So it
- 58:48should be fine. We can install this. So
- 58:49we can see yes install this particular
- 58:51plug-in. And now it is saying that
- 58:53created hello.py. If I go back
- 58:57let me open the terminal sorry finder in
- 59:00our desktop
- 59:02test code. Hello. py created. See pretty
- 59:07simple right? So hello. py is officially
- 59:09everyone created. Now just one more
- 59:11thing I would like to show you. So if
- 59:13you will see everyone again it is just
- 59:14giving some recap as well which we can
- 59:16disable but what I would do is I would
- 59:18just open this in like another terminal
- 59:20window terminal tab and I would say
- 59:22claude - verbose right when it runs with
- 59:25this verbose command you will see that
- 59:26it's a little bit different it is again
- 59:28just having this tokens and everything
- 59:29as well here right so now if I ask that
- 59:32hey can you create a new file with
- 59:39a 10 line Python code saying hi to the
- 59:44user. So again just very simple basic
- 59:46code confusing and everything. You will
- 59:48see that how 16,000 tokens are done. It
- 59:51is again asking do you want to create
- 59:53hello user file? I could just say yes
- 59:55and high effort 16906 16943 tokens and
- 59:59it is saying that hey I have done the I
- 1:00:01have created the file which I see I see
- 1:00:03here as well. So around 10 lines it is
- 1:00:05working all good like it will surely
- 1:00:07work all good. But this is where I would
- 1:00:08like to explain you. So if you will see
- 1:00:10a v1 it is also saying that imaging
- 1:00:12clipboard click control + v to paste
- 1:00:13which I don't want to do. Uh you can
- 1:00:15press this uh this button as well right.
- 1:00:17So see all the shortcuts but I will
- 1:00:20cover about all the commands and
- 1:00:21everything. So don't worry about
- 1:00:22anything as of now we have very very
- 1:00:24dedicated parts for covering each and
- 1:00:26every part here. But now when I take
- 1:00:28this again we have seen that how
- 1:00:31it is telling me about let me just get
- 1:00:34this particular part right. So all the
- 1:00:36parts were exactly the same in the
- 1:00:38verbose. What happens everyone is that
- 1:00:40we get this particular token thing as
- 1:00:42well. And I like that I explain you
- 1:00:43tokens in depth because that would be
- 1:00:45very very important. So pay attention
- 1:00:46everyone. Now it is saying that it
- 1:00:48charged 16,991
- 1:00:51tokens just for writing this simple
- 1:00:53simple uh Python file. Okay. So to not
- 1:00:57get confused I think I can have the
- 1:00:58complete file as well so you can
- 1:00:59understand it.
- 1:01:01So in this if you will follow right all
- 1:01:04it is saying is that hey I charge you on
- 1:01:08the basis of token but I hope you know
- 1:01:10that uh it will it should not have
- 1:01:12charged this much right and for people
- 1:01:13who are not aware what a token is it
- 1:01:15will be explained like this so token is
- 1:01:17like the cost of AI see in a very simple
- 1:01:20sense you can think of token as just
- 1:01:23let's say three fourth of a word okay
- 1:01:28now every AI it charges you on the
- 1:01:30amount of tokens it either intakes input
- 1:01:32or it gives you output right so normally
- 1:01:34if I show you even in the models
- 1:01:36everyone let's go to the models page
- 1:01:38yeah you will see that how they are
- 1:01:40having the cost so sonnet is having
- 1:01:42dollar3 cost per input of million tokens
- 1:01:46and haiko is having dollar1 per input of
- 1:01:501 million tokens and for output is $15
- 1:01:52for sonnet is $1.15 so it is saying that
- 1:01:56hey for 3/4 of a million words I would
- 1:01:59be charging you somewhere around $15 or
- 1:02:01$15. So token are very very important.
- 1:02:03Token are pieces of text. Input plus
- 1:02:05output is like your final cost. So just
- 1:02:08as an example if let's say you are
- 1:02:10working with your API key. If you are
- 1:02:12using haiku if you say in 1 million
- 1:02:15words if you send it 1 million words and
- 1:02:18say that hey this is some task it gives
- 1:02:19you out 1 million words your total cost
- 1:02:21will be $6. So very very important
- 1:02:24because I've seen so many people again
- 1:02:25they don't understand this cost
- 1:02:26structure and then they are never able
- 1:02:28to optimize because now companies
- 1:02:31actually wants people not to really use
- 1:02:33AI but actually optimize the use of AI
- 1:02:35as well. So it should not that you are
- 1:02:37doing the best work but you are making
- 1:02:39or charging $2,000 worth of company
- 1:02:41credits. Okay. So that thing is very
- 1:02:43very important and of course the better
- 1:02:44the model like Opus is charging you $125
- 1:02:47for the same thing because it puts in
- 1:02:49more mind more effort more reasoning and
- 1:02:51everything right. So that is the whole
- 1:02:53understanding everyone that is why uh we
- 1:02:55have to understand and use this and now
- 1:02:59we have to see that we have to actually
- 1:03:04use a model which uh is right for the
- 1:03:07task. So for example for initial task
- 1:03:09maybe we are using uh opus for all the
- 1:03:12planning and everything and for basic
- 1:03:14task we can use hiku and everything in
- 1:03:15between we can say that hey sonet seems
- 1:03:17pretty good. So this way tokens become
- 1:03:19very very important and that is why it
- 1:03:22is saying that hey for doing this task I
- 1:03:24charge you 16,000 tokens. Now why did it
- 1:03:26charge 16,000 tokens? Because the way
- 1:03:29claude code is created everyone I told
- 1:03:31you that how it is having these multiple
- 1:03:32different different tools right and
- 1:03:35these tools are actually something which
- 1:03:36is used in the back end every time cloud
- 1:03:39runs it will be not remembering
- 1:03:41anything. So all the information about
- 1:03:43different different tools your task goes
- 1:03:44through cloud. So around 16 I think
- 1:03:4714,000 something it is taking itself and
- 1:03:50then it gives you back the reply. So
- 1:03:51this understanding is very very
- 1:03:53important. We will discuss about context
- 1:03:54in depth but I just want to make sure
- 1:03:56that you understand that yes it is not
- 1:03:58free and it why it charges so many thing
- 1:04:00and why it might be very expensive for
- 1:04:01even entropic to run because to give you
- 1:04:03this level of things I think I can just
- 1:04:05run this command as of time being.
- 1:04:08So I just run this uh context and see
- 1:04:12it is saying that hey sonet 4.6 Six 16.9
- 1:04:16out of 200k tokens so 8%. System prompt
- 1:04:19is 6k tokens. System prompt will be
- 1:04:21everything basically that hey you are a
- 1:04:22clawed code you have to run write a very
- 1:04:24good code. System tool is 8k tokens.
- 1:04:27Then there is something known as skills
- 1:04:28which we will cover. Then messages and
- 1:04:30it is saying that hey I have 183k free
- 1:04:32space. So just to give you an idea now
- 1:04:34again we will be covering these things
- 1:04:35in depth. So don't get confused or
- 1:04:37anything. I just want you to make sure
- 1:04:38that you understand that how things
- 1:04:40happen. Right? So I can close this
- 1:04:42everyone. I can just close the terminal
- 1:04:43and we are back here. Now we have also
- 1:04:45seen that how to run this inside our
- 1:04:48terminal as well. But when we are using
- 1:04:51it uh in real life, okay, of course we
- 1:04:54will be using it via some or the other
- 1:04:57IDE. Now what do I mean by ID? If I go
- 1:04:59back everyone into the official
- 1:05:01documentation,
- 1:05:03you will let me make it dark mode. You
- 1:05:04will see that how there was terminal.
- 1:05:06Then there was desktop app which you can
- 1:05:07download. So this was the claw desktop
- 1:05:09app only which in our case is not
- 1:05:11working. Maybe I will have to reinstall
- 1:05:12or restart the same. And next everyone
- 1:05:15is your VS code. Okay, VS code which is
- 1:05:19a browser or cursor or Jed brains id. So
- 1:05:21there are different different ids and I
- 1:05:23have VS code open here. Okay, so yeah,
- 1:05:26VS code is open here and just one more
- 1:05:28thing everyone I would be pasting all
- 1:05:29the links here and sharing this on
- 1:05:30GitHub and I have also very nicely
- 1:05:33prepared some questions as well. So in
- 1:05:34each and every part where you might face
- 1:05:36any questions installation and setup
- 1:05:38these are some of the questions which
- 1:05:39you might have right. So I have just
- 1:05:41made sure that all these are also
- 1:05:42answered in here as well everyone you
- 1:05:44can use clot and this is the suggestive
- 1:05:46way if you're using it on a project
- 1:05:48right so because this is where you can
- 1:05:50see each and everything happening right
- 1:05:52in front of you so we have seen about
- 1:05:53running it in cloud desktop via our
- 1:05:56terminal and now we will see that how
- 1:05:58can we run it inside an IDE like VS code
- 1:06:01cursor anti-gravity jet planes uh ids
- 1:06:04right so all of these things so now why
- 1:06:07am I this is helpful because VS code or
- 1:06:09these ids. This is where we actually
- 1:06:11develop tech projects and clawed code is
- 1:06:14kind of for creating technical things
- 1:06:16only, right? And the idea becomes very
- 1:06:18simple that we want to see the changes
- 1:06:20happening right in front of us. In here
- 1:06:22things are happening but we are not able
- 1:06:24to see them very nicely. And though this
- 1:06:27is a very good way right of using
- 1:06:29cloudin that is what will be happening
- 1:06:31in the background. We will still use uh
- 1:06:34our VS cloud code in VS code because
- 1:06:37that is how normally we develop
- 1:06:38projects. Okay. So for the same everyone
- 1:06:40now what I can do and I would like to
- 1:06:42show you one more thing when I do open a
- 1:06:44terminal here. If I write cla here you
- 1:06:47will see that it is able to run here and
- 1:06:49it is saying that hey yes I trust this
- 1:06:51uh folder and everything it is able to
- 1:06:52run via this terminal inside this
- 1:06:55folder. Okay. So this terminal is
- 1:06:57exactly the same. Once you installed it
- 1:06:58on your machine you are able to access
- 1:06:59it everywhere. Now to run it you have to
- 1:07:03install install a particular this
- 1:07:05document uh sorry extension. Just go on
- 1:07:08extension from this. It is same in every
- 1:07:11IDE be anti-gravity be uh cursor
- 1:07:14everywhere you will see this claw code.
- 1:07:16Make sure that you download the official
- 1:07:18one. Okay. I don't want that you miss
- 1:07:19out on your data on your key or
- 1:07:20anything. Please install the official
- 1:07:24one like somehow pixel engines are
- 1:07:26coming above not the cloud code and see
- 1:07:29now it is saying that hey I'm installing
- 1:07:30the same rated install. So it is
- 1:07:32installing it is from Enthropic 11
- 1:07:34million installed which tells that yeah
- 1:07:35it is the official one and in a way now
- 1:07:38it is adding an extension just like we
- 1:07:40had add blocker or any other extension
- 1:07:42right and yeah now we have the same see
- 1:07:46now we are having this particular thing
- 1:07:49to access it just like how we access
- 1:07:51your uh GitHub copilot click click on
- 1:07:54this button and see cloud code is
- 1:07:56present here I could just say hi
- 1:07:59now it is saying incubating process
- 1:08:01addressing like some of the words which
- 1:08:02tells that he is thinking and see hi how
- 1:08:05can I help you if I ask create or rather
- 1:08:09let me uh just show you one more diagram
- 1:08:11before we move forward because that
- 1:08:12would be very very helpful so this was
- 1:08:16where we have this particular thing
- 1:08:17everyone I would just be having
- 1:08:20uh one second yeah this diagram here
- 1:08:22first so port clock bit so these
- 1:08:24diagrams are pretty good takes a lot of
- 1:08:26time to create but they will be very
- 1:08:28helpful to you when you see it
- 1:08:29afterwards Right? So getting some space
- 1:08:32so that you are able to access them.
- 1:08:34Second everyone is when we installed the
- 1:08:36same in our VS code or rather any ID for
- 1:08:38that matter. So I've told that how it is
- 1:08:41best what is it is best for aspect
- 1:08:46your cockpit like terminal always
- 1:08:48available works on servers as well. So
- 1:08:50if you have a machine right if you have
- 1:08:51a hosting machine AWS or any machine it
- 1:08:53will work there. Maximum speed no setup
- 1:08:55beyond install. In here of course you
- 1:08:57have to get the install but it tells you
- 1:08:58that hey these are the different changes
- 1:09:00which I'm doing you can drag the files
- 1:09:02into your chat you can select a direct
- 1:09:03file as well code visible while building
- 1:09:06familiar editor environment and again it
- 1:09:08is best for active development. So
- 1:09:09normally this is how VS code environment
- 1:09:11works. Same cloud code just different
- 1:09:13experience. So now everyone that we have
- 1:09:15installed the same. Okay let's try to
- 1:09:17run and create something. So what I will
- 1:09:19do first I would just go to VS code. Let
- 1:09:22me just have it little clear here. Yeah
- 1:09:24this one. I will just open the terminal
- 1:09:27or let me let me get a new folder here
- 1:09:29only. Let's say uh my first session.
- 1:09:34Okay. So I just created this my first
- 1:09:36session everyone. I would just say so
- 1:09:38see here also it is exactly the same
- 1:09:40upload from computer add context browse
- 1:09:41the web it can browse the web just like
- 1:09:43clot does it these are I think all the
- 1:09:45commands so slash all the different
- 1:09:47different commands which we are going to
- 1:09:48talk about let me switch the model for
- 1:09:50the time being to hypo because I want to
- 1:09:52make sure that it like charges very less
- 1:09:55money or very less of my usage and right
- 1:09:57now it is saying that hey links txt file
- 1:09:58is open so I am having the context of it
- 1:10:00I can close this and now everyone I
- 1:10:03could just have multiple cloud instances
- 1:10:06as well so if you will It is having
- 1:10:07multiple cloud instances and I could
- 1:10:10just ask it something. I could just say
- 1:10:11that hey
- 1:10:14create a file hello. C containing the
- 1:10:16message my name is your name. So let me
- 1:10:18just quickly add may here and I will be
- 1:10:20giving you these things as well. And I
- 1:10:22just said and let me enter see
- 1:10:25marinating thinking
- 1:10:27everything. See allow right to hello.xt.
- 1:10:30So see it is showing you that hey uh I
- 1:10:32think the can get it somewhere here. One
- 1:10:35minute.
- 1:10:37Let us close this. Make this smaller as
- 1:10:39well. And now it is. See that is the
- 1:10:42benefit. It is saying that hey I'm
- 1:10:43trying to create a hello.txt file. And
- 1:10:45it's showing you the difference as well
- 1:10:47right in front of you. So whereas
- 1:10:48terminal was just creating it directly.
- 1:10:50This shows you that hey this is
- 1:10:51something which I'm doing. Now I could
- 1:10:53say yes once or I could say yes to allow
- 1:10:55all edits in session. But let me say yes
- 1:10:57for the timing. And you will see that
- 1:10:59how it will create the same. See then
- 1:11:00the file has been saved to this
- 1:11:01particular thing. And yeah I think we
- 1:11:04can see the same everyone. It is there
- 1:11:05in my first session. Let me just move
- 1:11:07it. Okay. And it is there. Now similarly
- 1:11:11everyone this is where again clot has
- 1:11:13called the write tool in the back end.
- 1:11:15If you will see it is just thinking what
- 1:11:18to do. Then it is writing this hello.txt
- 1:11:21and then it is saying that hey create
- 1:11:22the file created successfully. The full
- 1:11:24path is this file and then it is doing
- 1:11:26all these things for you. So two things
- 1:11:27happened. Claude made a decision using
- 1:11:29the write tool executed it and then
- 1:11:31verified it that it works by repeating
- 1:11:33back the path. So that is the loop that
- 1:11:34is like the agent loop all under 5
- 1:11:36seconds. Right? Now let's see that how
- 1:11:38it can read and write as well. So now
- 1:11:41what I will do everyone I would just
- 1:11:42copy another command and I would just
- 1:11:44ask cloud name. See look at what's
- 1:11:47currently in this folder and then create
- 1:11:48a python script called gre.py that ask
- 1:11:51the user for their name prints hello
- 1:11:53name welcome to cloud code. After
- 1:11:55creating it run it and show me the
- 1:11:57output as well. So I can just click it
- 1:11:58now pay attention again forming thinking
- 1:12:00incubating any word it can give. It is
- 1:12:03saying that okay it is looking now it is
- 1:12:04saying that hey allow me to run this
- 1:12:06bash command. Now if you remember right
- 1:12:08if you remember everyone this is how we
- 1:12:11also see this right. So if I show you in
- 1:12:13the terminal if I open a new terminal
- 1:12:15window for one minute sorry. Yeah if I
- 1:12:17open a new terminal window.
- 1:12:20I also write this ls command only. So of
- 1:12:22course claude is very smarter. So it is
- 1:12:24writing longer commands in me. But all I
- 1:12:26want to tell you is that it is actually
- 1:12:27just running these commands. So I can
- 1:12:29say yes. It is saying allow to write
- 1:12:31p.py. I could now I could say that yes
- 1:12:33allow all the different times. So see
- 1:12:35now it will create this particular
- 1:12:37thing. It is saying allow this bash
- 1:12:39command. Now we can always allow as well
- 1:12:40but I love when it asks me for the bash
- 1:12:42commands. So at least for the timing I
- 1:12:44can see that hey it is not deleting
- 1:12:45anything from my machine. So see it is
- 1:12:47saying script is working as expected. It
- 1:12:49is for a name and prints the
- 1:12:50personalized greeting right. So again if
- 1:12:53I go links py the file is there sorry
- 1:12:55greet.py it is there. Hello.xt it is
- 1:12:58there. Questions.xt which we created
- 1:13:00right. uh link was empty only because we
- 1:13:02created it and yeah everything seems to
- 1:13:04be working. If I want what I can do
- 1:13:06everyone let me just get it here. Not
- 1:13:08sure why it always keeps running. Let us
- 1:13:10have it like this.
- 1:13:13I can open my terminal and I could just
- 1:13:16close this for the time being. Clear
- 1:13:18everything.
- 1:13:19Uh and I could say python
- 1:13:22greetback
- 1:13:23and it ask for my name. I could say see
- 1:13:26hello welcome to clot code. So very
- 1:13:27nicely created a very workable file for
- 1:13:29me. Okay. So this is again everyone now
- 1:13:31what happened it run some command. So it
- 1:13:34again use some tool to run the command
- 1:13:36by uh listing all the files then it
- 1:13:38understood that okay what all is present
- 1:13:40and you can see this thing as well. So I
- 1:13:41highly highly suggest that when you're
- 1:13:43in the learning phase please make sure
- 1:13:44that you understand what it has done. So
- 1:13:46although it is normally uh let's say
- 1:13:48hidden you can see the same as well.
- 1:13:50Okay perfect the script run
- 1:13:51successfully. This is all what is
- 1:13:53happening. This is working as expected.
- 1:13:54If you want you can close this as well.
- 1:13:56Now this is just like a claw chat. So
- 1:13:59again why it is helpful because just
- 1:14:00like you were using cloud chat here if I
- 1:14:03just open a new chat just like you were
- 1:14:05using cloud chat here everyone you can
- 1:14:07use the same and it will make sure that
- 1:14:09instead of just providing you with the
- 1:14:11file instead of just doing these things
- 1:14:12it is doing all that on your machine
- 1:14:14okay and of course you have the full
- 1:14:15control as well now to show you if I go
- 1:14:18on settings there will be some usage
- 1:14:19increase see there is a 8% usage
- 1:14:22increase everyone uh this is directly
- 1:14:24coming from my clawed code right because
- 1:14:27I have not used claw right in front
- 1:14:28interview it was 00 0 in the starting so
- 1:14:30it is saying that hey in a session you
- 1:14:31have used 8%. So if I do it around 12
- 1:14:34times, it will say that hey come back
- 1:14:35after this 4 hours you like have done
- 1:14:38it. Okay. So that is the case. So yeah
- 1:14:40that is how you have to check this as
- 1:14:41well. So if it is a very very longer
- 1:14:43codes which we will do towards the end
- 1:14:44it will ask it will basically charge you
- 1:14:46on that matter. And one more thing just
- 1:14:49one small thing if you go on usage you
- 1:14:51can have some extra dollars uploaded as
- 1:14:53well. So I have uploaded $20 just for
- 1:14:55making sure that if in worst case
- 1:14:57something is running I could just sync
- 1:14:59up and get these dollars from there.
- 1:15:00Okay. So that is the more benefit
- 1:15:02everyone. Let me now go back and this is
- 1:15:05how you can run the claude in different
- 1:15:07different ways. Just to quickly help you
- 1:15:08revise I think we have covered each and
- 1:15:10everything in here. I would just like
- 1:15:11you quickly revise what all happened. So
- 1:15:13we discussed about setup and
- 1:15:14installation. Everyone we discussed
- 1:15:16about all the best ways of doing it in
- 1:15:17different different operating systems. I
- 1:15:19told you that how you have to install it
- 1:15:21via the command line. Claw desktop runs
- 1:15:24on Windows and your Mac OS. The reason
- 1:15:27it is not working in mine might be
- 1:15:28because I uninstalled from the back end
- 1:15:29and then installed. So I might have to
- 1:15:31restart restart it. But yeah overall you
- 1:15:33will be using it in terminal or maybe
- 1:15:35directly inside your VS code only. VS
- 1:15:37code is the most preferred way because
- 1:15:39we will be developing some actual
- 1:15:40projects and understanding things in
- 1:15:41depth. Now if you will see we have also
- 1:15:44further understood that what can be some
- 1:15:46of the issues and for the same I told
- 1:15:48that this is what you have to fix it
- 1:15:50right. So in Windows if you're getting
- 1:15:52these issues everyone you just have to
- 1:15:54set the path and it will work. Then
- 1:15:56after it you can just run clot doctor
- 1:15:58command something which I mentioned as
- 1:15:59well. So claude doctor where I mentioned
- 1:16:01it because it is all the way towards the
- 1:16:03town we can have it in here everyone
- 1:16:05once you run the claw doctor command
- 1:16:07everyone I think it will just give you
- 1:16:08that hey everything is fine this is what
- 1:16:09you have to do then we saw two ways so I
- 1:16:12think the images are bigger let me make
- 1:16:14the subtext bigger so that you are
- 1:16:17always able to connect to it so see when
- 1:16:19you will see this diagram and you will
- 1:16:20get this PDF you will be able to make
- 1:16:22sense of everything right so let me also
- 1:16:26uh one minute get this and paste it
- 1:16:34So I can just get this
- 1:16:36second and I could just make sure that
- 1:16:40I'm missing it. Okay. So pretty simple
- 1:16:43in this way you will be able to connect
- 1:16:45each and every dots because yeah I do
- 1:16:46understand that many times it is not
- 1:16:48possible to run in each and everything.
- 1:16:50So these diagrams help you to quickly
- 1:16:51revise that hey this is what my input
- 1:16:52right and yeah that is I think everyone
- 1:16:54all the things which we have covered in
- 1:16:56here. Now if you want you can also I
- 1:16:58could just give it a very big task as
- 1:16:59well. So I would just have go towards
- 1:17:03the doubt close this thing and pay the
- 1:17:05attention. Now create a small Python
- 1:17:06script called number facts that takes a
- 1:17:08number as a command line argument. Check
- 1:17:09if it's prime check if it's a perfect
- 1:17:11square. Check if it's a Fibonacci
- 1:17:13number. Print all three result neatly
- 1:17:16formatted. Then run it with number 144
- 1:17:18and show me the output. So I'm just
- 1:17:20increasing the level. First I just ask
- 1:17:21it for uh writing creating a file. Then
- 1:17:24I asked it that hey read what is inside
- 1:17:26and then also make sure that you uh
- 1:17:28write something create a file. Now I'm
- 1:17:30kind of running a multi-step process
- 1:17:32okay which corrects itself altogether.
- 1:17:34So this time it will run and everything
- 1:17:36it will be maybe it might give an error
- 1:17:38and it will try to fix it as well. One
- 1:17:39more thing all these previous chat is
- 1:17:41also going in the context just like how
- 1:17:43it happens with claude on web. So if you
- 1:17:45want to have a new chat don't share the
- 1:17:47context please just open a new chat and
- 1:17:49start from here. Okay. So let me just
- 1:17:51run this and I will make sure that I
- 1:17:53cover again as I said like context and
- 1:17:54everything in depth. So see user want me
- 1:17:56to create a python script. I will show
- 1:17:57that how it changes in the back end as
- 1:17:59well. Okay.
- 1:18:01So number facts I think it is okay. So
- 1:18:03see it is pretty fast right? It is done.
- 1:18:04So it is saying allow this uh bash
- 1:18:07command. So it is saying cd to this
- 1:18:08particular folder and run this python 3
- 1:18:12command. If python will not be installed
- 1:18:13it will actually install it all together
- 1:18:14from your uh on your machine. And I
- 1:18:16could just press yes. Now it is saying
- 1:18:19effecting. It is saying now let me test
- 1:18:22the error handling when no argument is
- 1:18:23providing. So it is again doing and
- 1:18:25checking that error handling doing
- 1:18:26everything for you. This time it has
- 1:18:28done the same command everyone. But
- 1:18:30again this time no number is given. So I
- 1:18:32hope see again what is happening is that
- 1:18:34if I have to show you quickly because I
- 1:18:35want to make sure everyone is clear with
- 1:18:37this. Clear everything out. It is
- 1:18:39running this command python 3 number
- 1:18:42facts and I could just pass 144. So it
- 1:18:45is saying number facts for 144. These
- 1:18:47are the facts. Okay. But I asked it in
- 1:18:50my task. Okay. And you can pause the
- 1:18:52video to make sure that you understand
- 1:18:54the pass uh task in depth. Show more.
- 1:18:56See,
- 1:18:57run it and show me the output. Something
- 1:18:59which you done. Then make sure it handle
- 1:19:00the case when no argument is given. That
- 1:19:02is print a helpful error message. So
- 1:19:03this time it is now testing for that as
- 1:19:05well. And it is just again making sure
- 1:19:07that is test me and ask me for all the
- 1:19:09commands because these commands it is
- 1:19:10actually playing up with your machine.
- 1:19:12Right? I could actually just run this
- 1:19:14same command via terminal and all of
- 1:19:17that thing exactly will happen. I could
- 1:19:18change this as well. Very very
- 1:19:20important. So that in worst case it is
- 1:19:22not deleting anything. So now the second
- 1:19:23I said yes.
- 1:19:27So see it is saying the helpful error
- 1:19:29message is given. We could see the error
- 1:19:31message as well. Everyone see please
- 1:19:33provide a number and an argument. If I
- 1:19:35run this without this 144 even I'm
- 1:19:38seeing this message. Let me clear and
- 1:19:39show you. See error. Please provide a
- 1:19:42number as an argument. Python number
- 1:19:43fact. So I hope now this is everyone
- 1:19:45totally totally clear. Three prompts,
- 1:19:47three files, zero manual coding and most
- 1:19:49importantly we now understand what's
- 1:19:51happening under the hood as well. Right
- 1:19:53each and every single time. So cloud
- 1:19:54code is installed on your machine. It is
- 1:19:56running and you have already built
- 1:19:57something with it. That is not a small
- 1:19:58thing. Most people take more than 5 7
- 1:20:00hours or they just see the videos and
- 1:20:02never do anything. The way you have done
- 1:20:04this you now actually understand how to
- 1:20:05run the claw code in complete depth.
- 1:20:07Okay. So that would be very very
- 1:20:08helpful. every given uh I have already
- 1:20:10added this Q&A. So, please make sure
- 1:20:12that you download these resources. So,
- 1:20:14most of you will have these common
- 1:20:15doubts only. Uh so, lots of playing
- 1:20:17around. Yeah, this Q&A will be very
- 1:20:19helpful. Okay. Uh sorry for messing it
- 1:20:22up. I think I can just close this, close
- 1:20:25this. And yeah, this is how you will see
- 1:20:27it everyone once you download it very
- 1:20:28nicely formatted markdown files. And
- 1:20:31yeah, I think this is all what we have
- 1:20:32understood and mastered in this
- 1:20:34particular case which is your all the
- 1:20:36things related to installation and
- 1:20:38setup. I think I've covered each and
- 1:20:41everything. Now in the next part
- 1:20:42everyone we will try to dive deep and
- 1:20:44actually try to create something. Also
- 1:20:45understand that as a prouser okay not
- 1:20:47just someone who is just asking clot to
- 1:20:50create something as a novice. know as a
- 1:20:52pro user what are the different
- 1:20:53different commands what are its
- 1:20:54different different capabilities and
- 1:20:56what all claude can do or help you to do
- 1:20:59once you master it like a professional
- 1:21:01okay so let's now in the next part
- 1:21:03everyone see and goes in depth in our
- 1:21:05claude models and commands where we will
- 1:21:07master that what all is configurable
- 1:21:09inside this particular things all these
- 1:21:11different different commands what they
- 1:21:13do but yes highly highly suggested to
- 1:21:15please set it on your machine because
- 1:21:17all the things which I'm doing the
- 1:21:19second you understand and do it at your
- 1:21:20end and of course I will be providing
- 1:21:21all the things it will be very very
- 1:21:23helpful. So in the next part everyone
- 1:21:24let's master the cloud commands as are
- 1:21:26different modes models so that you are
- 1:21:28able to use it like a pro. So good
- 1:21:30everyone. Now let's move forward and try
- 1:21:31to understand that how can we master uh
- 1:21:34lots of things with respect to commands
- 1:21:35sessions and everything in this
- 1:21:37particular part. And one thing more like
- 1:21:39uh as of now I know that many of you
- 1:21:40must have seen the videos where by now
- 1:21:42they would have built something and
- 1:21:44honestly that is pretty easy like I
- 1:21:46could just ask cl that hey can you build
- 1:21:49me a canman board where I could manage
- 1:21:56my task and of course claude will build
- 1:21:58the same and it will be a HTML file
- 1:22:00everything but the way I am making this
- 1:22:02particular video I want to make sure
- 1:22:04that via this crash course now you are
- 1:22:06able to master the same in complete
- 1:22:07depth so that even if you are using it
- 1:22:09at the highest of the companies even if
- 1:22:11you are using it for actually building a
- 1:22:12system a very very in-depth system you
- 1:22:15are able to understand each and
- 1:22:16everything. So with respect to that
- 1:22:17everyone now now now let's move forward
- 1:22:19and yes we do will be having a project
- 1:22:20towards the end a proper inde project
- 1:22:22which will be having complete back end
- 1:22:24front end everything for the timing now
- 1:22:25let's try to move forward and try to
- 1:22:27learn about sessions commands modes and
- 1:22:29the clot directory so these are very
- 1:22:31very important some things which are
- 1:22:33going to change the way you use clot and
- 1:22:35of course make you as an experience or a
- 1:22:37master in clot code so with that
- 1:22:39everyone let's now try to see now if you
- 1:22:41would have noticed earlier as well I
- 1:22:43when I was I used to press this slash we
- 1:22:45were seeing lots of different different
- 1:22:46command right so in part two you got
- 1:22:48clot code running and that is great
- 1:22:50right but now right now basically you
- 1:22:51are sitting either in terminal or clot
- 1:22:53code where you kind of have a Ferrari in
- 1:22:55your hand but you still don't know that
- 1:22:56hey what all is possible right so that
- 1:22:58is the difference between an expert
- 1:22:59driver and you who are again having the
- 1:23:02key to the best car in the world but
- 1:23:04still doesn't know that hey what all is
- 1:23:06possible what are the different controls
- 1:23:07and everything in this part we are going
- 1:23:09to change that completely you're going
- 1:23:11to learn every slash command every tool
- 1:23:13in the cockpit every mode every
- 1:23:15different different let's say setting
- 1:23:17and by the time we are done you won't be
- 1:23:18just uh like reacting to what clot code
- 1:23:20does which like lots of people do I was
- 1:23:23just connecting with one of my friend he
- 1:23:24is again getting 400 USD by its company
- 1:23:27and he's just using it like this like
- 1:23:28normally the way I think majority of the
- 1:23:31people are doing right so that is what
- 1:23:33we are going to change today everyone
- 1:23:34and this is the section that would
- 1:23:35separate you from people who dab in
- 1:23:37cloud versus the people who genuinely
- 1:23:39master it and we are going to be the one
- 1:23:40who master it okay so with that uh now
- 1:23:42if I go back in terminal as well and I
- 1:23:44will be closing this claw desktop as of
- 1:23:46now everyone because uh this would be
- 1:23:48the least of the places where you will
- 1:23:50be using it though all the things which
- 1:23:52you see here we will be able to uh now
- 1:23:54learn from the commands and by going in
- 1:23:56deep right but majorly as I said you
- 1:23:59will be creating proper projects and for
- 1:24:01the same this is the best this or
- 1:24:03terminal is the best way of using it
- 1:24:04right so let me close this cloud desktop
- 1:24:06and now let's see the terminal as well
- 1:24:09so here is the terminal now in this as
- 1:24:12well everyone if I just show yeah so if
- 1:24:14I press this latch you will Lots of
- 1:24:15commands coming here, right? So these
- 1:24:17are something which are known as slash
- 1:24:18command. Now slash commands are just
- 1:24:20like keyboard shortcut, right? So just
- 1:24:22how we dot control C and Ctrl V to copy
- 1:24:25and paste something, right? In cloud, we
- 1:24:28just do a slash command and they give us
- 1:24:30direct control over cloud code
- 1:24:31capabilities, right? Uh without let's
- 1:24:34say uh using up our overall actual
- 1:24:37conversation context. So if I want to
- 1:24:39let's say just change my uh normally I
- 1:24:42want to just change how am I using clot
- 1:24:44I could just change by doing this login
- 1:24:46command right so these are the commands
- 1:24:47which uh basically uh help you to
- 1:24:50configure cloud to make sure that you
- 1:24:52can take the best benefit don't ask you
- 1:24:53to spend any tokens and they help you to
- 1:24:56configure and of course use it in a lot
- 1:24:57more depth now again there are lots of
- 1:24:59different different commands I have
- 1:25:00actually created a very nice board and
- 1:25:02diagram for this so if you will see your
- 1:25:04slash command dashboard uh these are the
- 1:25:06major one which you will be using but
- 1:25:08along with that everyone I have made
- 1:25:09sure that I have created this very nice
- 1:25:11website with claude only where you will
- 1:25:14be able to see each and every command
- 1:25:16right so I have created the same 70 plus
- 1:25:17commands nine categories and each and
- 1:25:19every one of them are explained and I
- 1:25:21have also made sure that I have
- 1:25:22categorized them right so if you will
- 1:25:23see memory and context what exactly is
- 1:25:25there how can you use it right so that
- 1:25:27is the whole idea so again you will be
- 1:25:29getting this link as well everyone so
- 1:25:30this link I have just kept it here and
- 1:25:32our idea is to make sure that though
- 1:25:34there are lots of them let's let's try
- 1:25:35to understand the main one okay so that
- 1:25:37is a whole uh case. Now let's start and
- 1:25:40let's go to our plot here and let's
- 1:25:42start one by one. So the very first
- 1:25:43command everyone is going to be model.
- 1:25:45Okay. And you will see that how the
- 1:25:47second I write model there is a switch
- 1:25:50model thing coming. Now it is very very
- 1:25:52important that you master these commands
- 1:25:53again because these are going to
- 1:25:56actually work in here as well. So
- 1:25:58tomorrow when you are having cloud not
- 1:26:00running let's say via your VS code or
- 1:26:03you are using cloud on any server right
- 1:26:05cloud code on any server that is where
- 1:26:06also it will be useful. So the second
- 1:26:08you press this / model you can easily
- 1:26:10select what exactly you want right so
- 1:26:12haiku opus and default okay so default
- 1:26:15is sonet I can just take it to haiku
- 1:26:17here and see this conversation is cache
- 1:26:19for current model switching to haiku
- 1:26:21means full history gets read on your
- 1:26:23next message and I can say yeah yes you
- 1:26:25can change it to haiku as of now tokas
- 1:26:28are not taken up it is saying that hey
- 1:26:30if you change the brain in middle if you
- 1:26:31change the engine in middle I will have
- 1:26:33to see and scan the whole car to
- 1:26:34understand what all is happening and I
- 1:26:35think we are fine with that like in
- 1:26:36future it it will save us tokens and of
- 1:26:38course we can have it set to sonnet etc
- 1:26:40as well uh the same case happens here I
- 1:26:42can just switch and let's say select a
- 1:26:44model if I just go to sonnet it is
- 1:26:46saying that hey switch to sonnet 4.6
- 1:26:48Similarly, the second I do it uh let's
- 1:26:50say model again
- 1:26:52it will be high go again. So that is the
- 1:26:54whole benefit everyone. Now uh please
- 1:26:57make sure that you are not switching a
- 1:26:59model a lots of back and forth. Normally
- 1:27:01what I would suggest that start with
- 1:27:02opus if like you are just starting up
- 1:27:04with the task because the thinking
- 1:27:06capability of opus will be very very
- 1:27:07helpful as the whole plan is there which
- 1:27:10has been done like maybe with the
- 1:27:11highest of the engineer level uh
- 1:27:13intelligence then you can fall back to
- 1:27:15sonnet or then haiku right so I normally
- 1:27:18use ops for all the planning sonnet for
- 1:27:20building up the major components and
- 1:27:22haiku for maintenance finding out the
- 1:27:24error etc. So in that way I am basically
- 1:27:26kind of done the real life thing right
- 1:27:28where senior engineer which can be your
- 1:27:30haiku it is handling all the things or
- 1:27:32sorry which is your opus it is handling
- 1:27:33all the things middle level engineers on
- 1:27:35it are doing the development and stuff
- 1:27:37and then haiku are basically the people
- 1:27:39who are maintaining and all these things
- 1:27:40right so that is the whole idea now as
- 1:27:42it said when you switch the model in
- 1:27:44between it will be sending the complete
- 1:27:46history so again if I change let's say
- 1:27:49model here you will see that how if I do
- 1:27:52it to opus the conversation is cached so
- 1:27:54it saying that hey I remember all these
- 1:27:56message with respect to sonnet if you
- 1:27:58change it I will be sending all the
- 1:27:59messages okay I will be setting all the
- 1:28:01messages so I get what all you're
- 1:28:02talking about so that is the whole idea
- 1:28:04nothing else okay so that is I hope
- 1:28:06everyone clear now just to help you
- 1:28:08remind uh yeah with each model there is
- 1:28:11a price related right so these are the
- 1:28:14price exactly and that is why it becomes
- 1:28:16important to understand them and of
- 1:28:18course extended thinking adaptive
- 1:28:19thinking these are some functionalities
- 1:28:21which they also support right so that is
- 1:28:23going to be very very helpful
- 1:28:24Token is also one thing now when you are
- 1:28:26building token context is very very
- 1:28:27important and as you can see context
- 1:28:29window is 1 million for clot sonnet and
- 1:28:31I think that is only on the cloud
- 1:28:33versions not on the major one and again
- 1:28:35for opus as well and haiko it is 200k
- 1:28:37tokens okay so that is the whole idea
- 1:28:39everyone so that is why it is very very
- 1:28:41important that the picking up the right
- 1:28:42model isn't about using the most
- 1:28:44powerful one it is about using the right
- 1:28:46one for the job so always understand and
- 1:28:48remember this particular thing okay it's
- 1:28:50not that you always choose opens no if
- 1:28:51it doesn't require please choose high
- 1:28:53cores on it as well. Now with that
- 1:28:55everyone let's move forward. Now just
- 1:28:56like model there is a effort as well. I
- 1:28:59think it will be mentioned here effort
- 1:29:02and again it just set the effort level
- 1:29:04right. So majorly it will try to do a
- 1:29:07more of a gentic loop make sure that it
- 1:29:08is able to spend more time on that
- 1:29:10particular task. We can we are fine with
- 1:29:13high actually xi with ops was recently
- 1:29:16launched. I think it was just 2 weeks
- 1:29:17back but yes we we should be fine with
- 1:29:19high or medium. Uh that should not be a
- 1:29:21problem. Okay. balance approach with
- 1:29:23standard implementation and testing and
- 1:29:24it is telling that as well right so
- 1:29:26effort if you will see uh if I do max
- 1:29:29this session only maximum capability
- 1:29:31with DPS easing so you are able to see
- 1:29:32that how it is explaining this things a
- 1:29:34little bit as well and one thing about
- 1:29:36everyone so what all I'm teaching I have
- 1:29:37made sure that properly I have gone
- 1:29:39through the uh overall documentation of
- 1:29:42claude okay so this not teaching from
- 1:29:44anywhere let's say just by listening to
- 1:29:46someone or just what claude is selling
- 1:29:47you will see that aentic loop they are
- 1:29:49explaining the same thing models we are
- 1:29:50discovering then we will come and talk
- 1:29:52about tools etc as well which I will be
- 1:29:54showing you once the things may make a
- 1:29:56lot of sense so all of these things I
- 1:29:57have gone through the complete complete
- 1:29:59documentation in depth okay so and that
- 1:30:00is something which I will even suggest
- 1:30:02you when you are uh let's say stuck
- 1:30:04somewhere because documentation is a
- 1:30:06real kick that is the whole idea it is
- 1:30:07coming directly from claude anywhere
- 1:30:09anyone else is teaching you that would
- 1:30:10be some other version of this but of
- 1:30:12course following this is not very easy
- 1:30:14and these kind of diagrams and stuff
- 1:30:15helps right so that is the whole idea
- 1:30:17everyone uh let us actually open this
- 1:30:19diagram as well if I show you see so I
- 1:30:21can just Go here and search for effort.
- 1:30:24Okay, I think I have not added effort
- 1:30:26here. Okay, it's all 1 minute. So see
- 1:30:30effort low, medium, high is telling you
- 1:30:31as well. It's like setting a difficulty
- 1:30:33slider for claud seasoning. Low is quick
- 1:30:34stop max is claw doing deep dive and
- 1:30:36everything. So that is how it happens
- 1:30:38everyone and it is telling the related
- 1:30:40one as well. So / model that is why this
- 1:30:42particular thing is helpful. Took me
- 1:30:44around 10 minutes to create with clot
- 1:30:45but yeah overall it's working pretty
- 1:30:47good. Now next everyone let's start with
- 1:30:49cost. So if I just do /cost right there
- 1:30:51it is coming as usage or slashcontext
- 1:30:54and it may happen again that some of the
- 1:30:56commands might change but the idea will
- 1:30:58basically be the same right so it is
- 1:30:59usage or cost if I do / cost
- 1:31:03total cost 0.046 046 total duration API
- 1:31:07is 14 second total duration war like I
- 1:31:09think which I'm looking forward 22 hours
- 1:31:11total code changes two lines added this
- 1:31:13thing let's see in this session as well
- 1:31:15if I do slash cost I'm showing you from
- 1:31:18both the ways because I want to make
- 1:31:20sure that tomorrow if you're using it on
- 1:31:22any server or normally via terminal then
- 1:31:25that should also be fine or if you are
- 1:31:26using it let's say in any IDE like
- 1:31:28anti-gravity VS code everything then it
- 1:31:30should also be fine right so that is the
- 1:31:32case and people who are from non techch
- 1:31:33background around I think I missed that
- 1:31:35out but you can directly go and just
- 1:31:37download this V code VS code it's
- 1:31:39totally free it will just get started on
- 1:31:41one of your folder like you can just
- 1:31:42think about that and since we will like
- 1:31:44from people who are from the non tech
- 1:31:46background you can just ask it to write
- 1:31:48and create the files for you like that
- 1:31:49is actually what is happening for
- 1:31:50everyone now so it is again it is also
- 1:31:52having its own co-pilot but I think
- 1:31:54claude code is way way way better right
- 1:31:56so that is the whole case now let's move
- 1:31:58forward everyone I think the cost thing
- 1:31:59is also pretty done where we have seen
- 1:32:02the usage you are currently using a
- 1:32:03subscription to power your cloud code
- 1:32:04usage. So let us see if there is any
- 1:32:06other thing as well. Uh I think yeah
- 1:32:08that is what it is telling. But if you
- 1:32:10will see that how uh even though if I
- 1:32:12just show login here right here as well
- 1:32:15I'm using claw account with subscription
- 1:32:16but it is still able to tell me the
- 1:32:18cost. Right. So that is the reason that
- 1:32:20how it is a little bit better in that
- 1:32:22terms. Okay. So this is like based on
- 1:32:24your complete receipt that hey if you
- 1:32:26are running a significant run then after
- 1:32:28that you must check this that hey what
- 1:32:29exactly happened. So if I just just
- 1:32:31let's say it is 460 right let us escape
- 1:32:34it ask it uh can you tell me what is 2 +
- 1:32:412
- 1:32:43and write a python script for it. Okay.
- 1:32:48So if I ask for this
- 1:32:51uh okay it is just asking us for our
- 1:32:53feedback as well. Not a problem. And now
- 1:32:54it is creating a script. I think it was
- 1:32:57260. So we will ask the same. Do you
- 1:32:59want to create add py? Yes we can create
- 1:33:01the same. So let it run created run it
- 1:33:04with python to see the results. I could
- 1:33:06just now do cost and see it has
- 1:33:09increased right. So that is the whole
- 1:33:10idea like cost basically as you will be
- 1:33:13running it will be increasing. Current
- 1:33:14session 2% current week all models 18%
- 1:33:17use. So it is telling the overall usage
- 1:33:19as well. Right? That is how it happens.
- 1:33:21Now again when you do this cost you can
- 1:33:23see that how since the session has now
- 1:33:25run it is having lots of more details as
- 1:33:27well. I think it might be also the case
- 1:33:29uh high. If I just select a simple high
- 1:33:31then let's see the usage. I think it
- 1:33:33will show at that level as well. So if I
- 1:33:35just go and see the usage now everyone
- 1:33:38it is saying that you are using your
- 1:33:39subscription to power your cloud
- 1:33:41breakdown. Hiku is hitting 100% cash at
- 1:33:430%. Now this becomes very very important
- 1:33:45because when you're using it in a
- 1:33:46company and for real work right for real
- 1:33:48work you will have to understand that
- 1:33:50hey how the cost is basically playing
- 1:33:51around. So we can see that okay this
- 1:33:53complete exact graph was actually there
- 1:33:55in the claw code as well favorite model
- 1:33:57total tokens all these thing it is
- 1:33:58telling we can just navigate through the
- 1:34:00same current session that how it is 2%
- 1:34:02used and everything so auto compact show
- 1:34:04tips like all all of these are the
- 1:34:06settings which will make lot of sense
- 1:34:07once we move forward right so that is
- 1:34:09the level of depth review in which we
- 1:34:11are covering these things up. So again
- 1:34:13after sending a message the cost
- 1:34:15increase which is of course makes sense
- 1:34:17right. So now everyone let's move
- 1:34:19forward and try to see context which is
- 1:34:21very very important again uh the second
- 1:34:24act ask for this context. Okay
- 1:34:28what happen is that now pay attention
- 1:34:30what happens in the context part.
- 1:34:33Basically whenever you are chatting with
- 1:34:35claude right so it is not that claude is
- 1:34:37remembering what you are talking or
- 1:34:39basically it is not that hey it
- 1:34:40remembers the three message and only the
- 1:34:42newer messages going it is never the
- 1:34:43case let's say that there are four
- 1:34:45messages uh and we can say that hey this
- 1:34:48is user
- 1:34:50so this is user everyone and the left
- 1:34:52one can be your claude okay claude
- 1:34:58every time you talk every time you send
- 1:35:00a message the complete conversation
- 1:35:03history with all the context tools, MCP
- 1:35:05everything is sent. So basically what
- 1:35:08happen is that this whole conversation
- 1:35:10it will be sent to our claude. So I can
- 1:35:12just have a claude icon. Okay, let's
- 1:35:16have this one. Uh let's have cloud code.
- 1:35:18I think I like this icon over.
- 1:35:21So whenever even let's say we are using
- 1:35:23claude code as well everyone whenever we
- 1:35:25are using cloud code and we are
- 1:35:26communicating with it this complete
- 1:35:28thing goes to your uh claude okay
- 1:35:31everything is spent and along with that
- 1:35:33of course there are lots of other things
- 1:35:35so when you are using clot code of
- 1:35:37course when you ask it for something
- 1:35:38right it knows that hey I have to create
- 1:35:40a code etc right and that is where again
- 1:35:43the way it happens on top right on top
- 1:35:46there are few more things which are sent
- 1:35:48so what are those thing there are some
- 1:35:50system instructions
- 1:35:51some system instructions, right?
- 1:35:56Then the way your claude is actually
- 1:35:59able to talk or sorry do all these
- 1:36:02actions on the terminal, right? So there
- 1:36:03is a tools as well. There are different
- 1:36:05different tools. Okay. So tools can be
- 1:36:07to let's say delete to create all these
- 1:36:09things. Then if you have connected any
- 1:36:11MCP, if you have connected any MCP,
- 1:36:13there's MCP things are also sent that
- 1:36:15hey I have all these connections. Now we
- 1:36:17will discuss about MCP in depth. So
- 1:36:18don't worry but hey I have all of these
- 1:36:20different different things which one do
- 1:36:22you want to uh use and again then it
- 1:36:24will be able to understand that hey I
- 1:36:26have these things in the arsenal now
- 1:36:27many people ask me that hey how can I
- 1:36:29use it without this well the problem is
- 1:36:31uh you are not aware right so you will
- 1:36:32at least have to send that hey I have
- 1:36:34access to these things without that even
- 1:36:36claude will not be able to take the
- 1:36:37right decision for example if I ask you
- 1:36:39that hey you have to let's say create a
- 1:36:42furniture right and you you just check
- 1:36:43that hey these are all the tools I'm
- 1:36:44having if you know that hey these are
- 1:36:47the tools you are still using the tools
- 1:36:49but just knowing what tools, what
- 1:36:51connectors, what apps you are connected
- 1:36:52to helps you to take a informed decision
- 1:36:55and that informed decision is not
- 1:36:56possible unless this thing is sent. So
- 1:36:58if I go back everyone you will see that
- 1:37:00how right now it is saying and if I can
- 1:37:03I can actually show you here. So here we
- 1:37:04have just sent a simple one message hi
- 1:37:06but if I go and see show you the context
- 1:37:08here pay attention
- 1:37:11see it is very very easily readable. uh
- 1:37:13it is saying that hey you are currently
- 1:37:15using a subscription to power that is
- 1:37:16all good in the usage part context usage
- 1:37:18model token 29.5 but do you really think
- 1:37:21that just in sending a high message I
- 1:37:23must have used this much context no
- 1:37:25right that is because system prompt is
- 1:37:27using uh 3.1%age which is 6.2k 2k
- 1:37:31tokens. Now I've already told you
- 1:37:32previously that how token is the
- 1:37:34currency. So let's let's have this
- 1:37:35diagram again maybe. So that's why like
- 1:37:37token is very very important.
- 1:37:38Understanding token is very very
- 1:37:40important. So token is just like the
- 1:37:41currency. These are actually the things
- 1:37:42which is sent when you send a high maybe
- 1:37:44one token is used. What claude replies
- 1:37:46basically has that approach that hey
- 1:37:48this many tokens we are using. So more
- 1:37:49tokens higher cost both input and
- 1:37:51output. Normally of course output token
- 1:37:54will be higher than input token in terms
- 1:37:56of cost because you are sending an input
- 1:37:59and on top of that it is thinking and
- 1:38:01then returning you back everything right
- 1:38:02so that is why output tokens are higher
- 1:38:04everyone and yeah I think you should be
- 1:38:05aware about these things right so that
- 1:38:08is how it happens and if you see further
- 1:38:10system tools skills messages right
- 1:38:14messages are basically uh let's say what
- 1:38:15we sent free space which is 68.3%age
- 1:38:18autoco compact buffer 33k so autoco
- 1:38:20compact buffer we will talk about this
- 1:38:22uh in one of the command that how it
- 1:38:24compacts a very long conversation is
- 1:38:25septis there. So that is the whole case
- 1:38:27everyone pay attention here as well same
- 1:38:29information always uh 6k tokens around
- 1:38:3121.7 for system tools because they are
- 1:38:34using it from uh terminal right so it
- 1:38:36can be the difference I think it is 21
- 1:38:381.9 it is 21.7 here so a little bit of
- 1:38:41difference maybe some tools are sent
- 1:38:43extra or not sent via the terminal while
- 1:38:45here because it needs to tell you the
- 1:38:47difference etc via vs code so maybe it
- 1:38:50is sending some more tools context right
- 1:38:52MCP tools which are by default and some
- 1:38:55I think some which I have configured on
- 1:38:56my uh overall cloud then skills messages
- 1:39:01and free space. So this is how it is
- 1:39:02using this everyone. Now I think I can
- 1:39:05just dismiss it for the time being
- 1:39:06should be fine. Yeah. So that is the
- 1:39:08whole idea and it is saying the capab
- 1:39:09you have created two simple Python
- 1:39:11scripts hello. py and p at py both are
- 1:39:14ready to run whenever you need them. So
- 1:39:15again it is just saying that hey this is
- 1:39:17how we have charged you this is the
- 1:39:18whole context. So that is actually what
- 1:39:20it is telling this breakdown basically
- 1:39:22tells that hey system uh prompt
- 1:39:24basically is also using lots of
- 1:39:26instructions. So this system
- 1:39:28instructions tools it is overtheless
- 1:39:30using it right and then of course we
- 1:39:32have our whole conversation history that
- 1:39:33is all what is taken away and yeah that
- 1:39:36forms our context everyone and of course
- 1:39:37that is needed. If we don't send all
- 1:39:39these things cloud will not be able to
- 1:39:40help you to the best of its ability. It
- 1:39:42will not know which tool to use and
- 1:39:43everything. So it is actually like a RAM
- 1:39:45in your computer. uh when you open too
- 1:39:47many tabs when you are sending too many
- 1:39:48messages your computer slows down right
- 1:39:50and when your context starting filling
- 1:39:52up so as of now we have not moved at
- 1:39:53that level because I first want to
- 1:39:55explain you these things but as your
- 1:39:57context will start filling up you will
- 1:39:59notice that how and we will be
- 1:40:01discussing context in a lot of depth the
- 1:40:02reason is pretty simple I think that as
- 1:40:04a expert you should know about context
- 1:40:06like I have seen that people who build
- 1:40:08awesome of the solutions like who are
- 1:40:10actually doing 50 60 lakhs job they know
- 1:40:13how to use these things in depth okay of
- 1:40:15course they will not be using clot just
- 1:40:17like this the way you are using right
- 1:40:18now by just typing anything here right
- 1:40:20so that is the whole case everyone so as
- 1:40:22your context will fill up cloud plot
- 1:40:23will slow down it will get less accurate
- 1:40:25because it will have lots of information
- 1:40:27so that is why we need to make sure that
- 1:40:29our RAM is kind of free okay so that is
- 1:40:32the whole idea now everyone what happens
- 1:40:34next that let's say that if I ask it to
- 1:40:36uh if I just see where we are test cloud
- 1:40:39code okay so we are in this particular
- 1:40:41file so I can just ask it something can
- 1:40:43you create a quick canban board and host
- 1:40:49it on local host. Make sure not to make
- 1:40:54it very complex and also
- 1:41:00uh just have a single HTML file. Okay.
- 1:41:04So I'm just asking it to create that
- 1:41:06basic project which you might have seen
- 1:41:07many people show and just about you. But
- 1:41:09again for us that is a pretty simple
- 1:41:11thing. See it is saying osmosync 190
- 1:41:13tokens okay are I think going in input
- 1:41:16of our messages now it is taking that
- 1:41:18time everyone and I want to show you
- 1:41:19that how this time so it is saying that
- 1:41:21hey do you want to create kanban html
- 1:41:23let's create that so I've just done yes
- 1:41:25okay
- 1:41:27uh so it is saying that hey run via this
- 1:41:29command let me just run this let me run
- 1:41:31this here
- 1:41:33and now we can go on localhost it then
- 1:41:36go to yamhtml so let's let's go here
- 1:41:39everyone and pay attention Well, we just
- 1:41:41start with a very basic server. So,
- 1:41:42nothing out of the blue. And see, I have
- 1:41:44a very basic kan mode, right? So, just
- 1:41:46maybe in what in like hardly 10 seconds,
- 1:41:48I can just drag and drop things. I can
- 1:41:50add that hey,
- 1:41:52work hard
- 1:41:54uh explain claude code in complete
- 1:41:58depth. Right? So, these are the level of
- 1:42:01things which you can do everyone. That
- 1:42:02is of course helpful and that is the
- 1:42:03whole idea. We can cross the buttons.
- 1:42:05But at the same time now since we have
- 1:42:06asked it so many things and again this
- 1:42:08is very simple we could have run it here
- 1:42:09as well. uh I'm just taking the both
- 1:42:12approaches because I think it is anyway
- 1:42:14the same UI same thing right so that is
- 1:42:15why I'm just jumping across VS code and
- 1:42:17uh terminal don't get confused you can
- 1:42:19do all the things here as well now if I
- 1:42:21show you the context everyone you will
- 1:42:23see that how in this time uh the context
- 1:42:26will of course be little higher right so
- 1:42:28it is somewhere around 51k tokens
- 1:42:30earlier how much it was let us see this
- 1:42:33quickly if I add that information
- 1:42:36earlier it was 45k tokens so we have
- 1:42:38sent 5k extra tokens right And over time
- 1:42:41it will surely happen that once you have
- 1:42:42chat and made a so many of these
- 1:42:44different conversations. So once let's
- 1:42:46say you generally are having so many of
- 1:42:48these different different conversation
- 1:42:50at one time your context will start
- 1:42:51filling up right at one time your
- 1:42:53context will surely surely start filling
- 1:42:55up. Now at that point everyone what you
- 1:42:57can do and normally you must have seen
- 1:42:59this as well. So let's say if you're
- 1:43:00having lots of these messages right uh
- 1:43:03and I could just have some uh dots here
- 1:43:06so as to tell that hey this is what want
- 1:43:10minute
- 1:43:12dot dot okay so like this is basically
- 1:43:14helpful so you must have seen claude
- 1:43:17also do something like let me say it in
- 1:43:19the image claude claude compacting
- 1:43:23conversation you must have seen this if
- 1:43:25you have used claude and surely you must
- 1:43:26have done that you must have seen
- 1:43:28something like this compact conversation
- 1:43:30So we can keep chatting and everything
- 1:43:31right now. In a way everyone what clot
- 1:43:34do is doing here is that when we connect
- 1:43:36with clot right we ask it lots of
- 1:43:38different different things like I can
- 1:43:39send and make spelling mistakes I could
- 1:43:41just send it maybe things which could
- 1:43:43have been sent in 100 words I'm sending
- 1:43:45in 2,000 words right so of course the
- 1:43:47token increases it is just like how when
- 1:43:50you connect with someone you you can
- 1:43:51just easily say that hey this is what I
- 1:43:52want to convey but you normally have the
- 1:43:54complete email and all these things
- 1:43:55right claude compacts this information
- 1:43:57so as to get the main context it is like
- 1:43:59a minutes of chat right so just how we
- 1:44:02minutes of meeting Claude does that
- 1:44:04thing and it is able to then free up the
- 1:44:06context. So if I try to do the same
- 1:44:08thing here although there is not a lot
- 1:44:09of chat but what I will do I will do
- 1:44:11compact pay attention compact
- 1:44:14and see free context by summarizing the
- 1:44:16conversation so far. So the second I run
- 1:44:18it it will compact the conversation and
- 1:44:20by default I think it is on where called
- 1:44:22if like it will reach around 170 180 it
- 1:44:24will try to compact and make it less. So
- 1:44:26see it is saying that compact in the
- 1:44:28conversation and in this what it will do
- 1:44:29it will try to say that hey user tried
- 1:44:31to create a python script which added a
- 1:44:34number it tried to create a gadman board
- 1:44:37and a one more script as well. So it
- 1:44:39will basically make sure that it
- 1:44:40compact. See compacted readman html read
- 1:44:43these things. Now when I do context pay
- 1:44:46attention
- 1:44:49it is uh how much? So now it is saying
- 1:44:52cloud haiku. Okay. I think I might have
- 1:44:54to send a message. Okay. No no no no
- 1:44:56sorry my bad it is showing 0% error I
- 1:44:58might have to send the message again but
- 1:45:00overall we see that now 74.6 Six is
- 1:45:02empty right what was the case earlier
- 1:45:0674.1 so something it has compacted I can
- 1:45:09just ask it uh can you summarize what
- 1:45:13all I did
- 1:45:15uh in a line okay so I can just ask it
- 1:45:19that hey what all I did now the it will
- 1:45:21get started and now again you don't have
- 1:45:23to ask it every time so see it is just
- 1:45:25telling us these things so seems like it
- 1:45:26has not missed out on anything but the
- 1:45:27second I ask for context most probably
- 1:45:29it will be little less like of course
- 1:45:31right now We are not using lots of chat
- 1:45:32so it will not be the case. So it is 27%
- 1:45:35right 53.3 and earlier I think it was
- 1:45:38around the same only if I remember 26%.
- 1:45:42So again I think it has compacted but
- 1:45:44since majorly we are still using these
- 1:45:46things when the chat will become a lot
- 1:45:47larger then it will be pretty good to
- 1:45:50compact it right but again it is able to
- 1:45:52make sure that our messages and
- 1:45:54everything because see it cannot do
- 1:45:55anything for the system prompt that is
- 1:45:57anyway there for the system tools as
- 1:45:59well it cannot do. We can of course
- 1:46:00remove some tools and the MCP servers.
- 1:46:02Skills files are also kind of there. Our
- 1:46:04messages is something which it can try
- 1:46:05to compact right and that is of course
- 1:46:07again since we don't have a lots of
- 1:46:09messages here as of now it cannot
- 1:46:11compact them that much right and again
- 1:46:12we are just having the code etc. So that
- 1:46:14also it has to be aware of that hey this
- 1:46:15is the code and everything. So this is
- 1:46:17how your compact works everyone. Now
- 1:46:19again if you will go back if you will
- 1:46:20search for in this particular uh thing
- 1:46:23compact this will tell you see like
- 1:46:26summarizing a meeting. Okay, I think
- 1:46:27auto summarizes the full conversation.
- 1:46:29Focus only on odd bug. We are fixing. So
- 1:46:31let's try this as well. So that is why I
- 1:46:33have created this. If I say compact
- 1:46:35just remember my requests
- 1:46:39and nothing else. So the second I ask
- 1:46:42it, it is compacting with my
- 1:46:44instructions. So again it will try to go
- 1:46:46through the chat and everything make
- 1:46:47sure that hey this is all what was
- 1:46:49happening and compact it into a shorter
- 1:46:51conversation. So that is going to be
- 1:46:52very very helpful in the long term. So
- 1:46:54that is how the compact works everyone.
- 1:46:56And see now it has done the same. Let me
- 1:46:58still check the context. I will majorly
- 1:47:00be testing the
- 1:47:02user level of things like how much is
- 1:47:04the messages and how much is the total
- 1:47:06usage. So seems like it is showing zero
- 1:47:09because I think we will have to start
- 1:47:10the chat. It is 7.6k tokens. I think
- 1:47:13earlier it was 5k around. So it is maybe
- 1:47:15increasing because we have very less.
- 1:47:16Okay, it was 8.2k tokens. So it has just
- 1:47:19saved us for the timing 600 tokens. But
- 1:47:21that is totally fine because as of now I
- 1:47:23just have four messages. then I will
- 1:47:24have 15 20 30 40 messages then it will
- 1:47:27be able to compact them better and that
- 1:47:29is what happens in claw as well right it
- 1:47:32compacts when we are actually having
- 1:47:35lots of messages not in the starting
- 1:47:36right so these things are very very
- 1:47:37helpful and I would like to have this
- 1:47:39diagram here so that you always remember
- 1:47:41this right so I could say compact is
- 1:47:44kind of this way it works right now next
- 1:47:47everyone is something known as uh remind
- 1:47:49okay so you will see we store the code
- 1:47:51and or conversation to a previous point
- 1:47:52so I would show you this Uh let me show
- 1:47:54you this with an example. So let me just
- 1:47:57uh let's say create some files here.
- 1:47:59Create a file called config.p py with
- 1:48:01some database settings. So it will be
- 1:48:03creating a file. I could just say yes.
- 1:48:04Allow the same. So we can see this
- 1:48:06config.py. Don't worry like what all it
- 1:48:08is should be fine. Okay.
- 1:48:12Now say I ask it actually rename that
- 1:48:14file to database config and add 20
- 1:48:16environment variables placeholder into
- 1:48:17it. So I'm saying that hey please rename
- 1:48:19the file and also add some extra
- 1:48:20variables so that I can add the same and
- 1:48:23that is what claude will do right in
- 1:48:24front of us but uh now what if I needed
- 1:48:29to like again I'm not pushing these
- 1:48:31files I'm not saving any changes
- 1:48:32anywhere right so I'm not saying that
- 1:48:33hey so see it is added I can say yes but
- 1:48:36let's say tomorrow then my manager or I
- 1:48:38see that hey no no no no I don't have to
- 1:48:39change this file uh why is it uh moving
- 1:48:42in here I have to make sure uh in this
- 1:48:44database config I have to take it back
- 1:48:47to config.py only my codebase will fail
- 1:48:49and everything right so what I can do
- 1:48:51everyone I can just do rewind so pay
- 1:48:52attention rewind and you will see the
- 1:48:56second I take it to this particular
- 1:48:58message that is our last message create
- 1:48:59a file and I say continue not only will
- 1:49:03it take me back to that particular chat
- 1:49:06it will also revine all the changes so
- 1:49:08see it is saying reviving so create a
- 1:49:12file called py so it has taken me at
- 1:49:14that level right it has taken me at that
- 1:49:15particular level and That is where
- 1:49:17rewind is used. So it is just like a
- 1:49:18state in a video game right when we say
- 1:49:20that hey I have saved to this point now
- 1:49:22if I die afterwards I will start from
- 1:49:23here and all the things will be as it
- 1:49:25is. So that is the whole benefit
- 1:49:26everyone which we get from rewind and
- 1:49:27you can see here as well right. So I
- 1:49:29have now just previous messages. So that
- 1:49:32is the whole benefit which we get right
- 1:49:33database config is now again I can just
- 1:49:35remove this and this all right it will
- 1:49:38change. So if I let's say now ask it to
- 1:49:42create a file.
- 1:49:44Let me show you this.
- 1:49:47And again you can just see the same uh
- 1:49:49in all of these things. So because again
- 1:49:50these commands are a lot. I'm just
- 1:49:52sharing the one which I used regularly
- 1:49:54as a pro developer. So see control Z but
- 1:49:56for your entire coding session not just
- 1:49:57the last section you can jump back to an
- 1:49:59earlier moment including the code st at
- 1:50:01that time. So divide the conversation
- 1:50:02end your code to a previous point in
- 1:50:04history. Okay. So alias is checkpoint.
- 1:50:06So see I can say yes it will create the
- 1:50:08same for me.
- 1:50:11Right. it will create if I do rewind
- 1:50:14and I let's say go back to this high 16
- 1:50:17lines will be removed and zero lines
- 1:50:18will be added and it is saying that hey
- 1:50:20config py so see config py is deleted
- 1:50:23I'm not sure why this database config uh
- 1:50:25state because I think uh that was the
- 1:50:27issue some problem but yes that is how
- 1:50:29it basically makes sure that hey and
- 1:50:31this is what the level I am right so I
- 1:50:33can just maybe delete it manually for
- 1:50:34the time being but that is how it works
- 1:50:36so again if I ask it to create some
- 1:50:38let's say connection py
- 1:50:41Right? And when you will be having lots
- 1:50:43of messages and you feel that hey no no
- 1:50:44no no this one extra message this is
- 1:50:46unnecessity causing me uh some extra
- 1:50:48things I don't want that uh you are fine
- 1:50:51right just go back no worries just just
- 1:50:53do a here and that is something which I
- 1:50:55use a lot because anytime I feel that no
- 1:50:57no no this is not the right change that
- 1:50:58is helpful a new folk uh conversation
- 1:51:00will be created after reminding no file
- 1:51:02checkpoint found uh so it is saying that
- 1:51:04hey I don't understand that is the case
- 1:51:07uh again we can easily go back and that
- 1:51:08is where is used so this has already
- 1:51:10been added and we connection py. Now I
- 1:51:13can say add 20 or let's say five more
- 1:51:16environment variable in the file. It
- 1:51:19will understand that I'm talking about
- 1:51:20this file only because it is having the
- 1:51:21context of my full chat as well. So let
- 1:51:23it add and it is how it will be done.
- 1:51:25Okay. So I can say yes.
- 1:51:29So debug mode and all these things are
- 1:51:31added. I can just directly do rewind and
- 1:51:34see now it is saying 43 lines will be
- 1:51:36removed and zero lines will be added.
- 1:51:38Connection py the second I do continue
- 1:51:40this file is deleted. So that is the
- 1:51:41benefit right. Uh enough I think this is
- 1:51:44very very powerful everyone. Now next
- 1:51:45everyone is something which is known as
- 1:51:48rename. So I will just show you rename
- 1:51:49first right. Uh it is not present here.
- 1:51:52Okay let's go back. Let's select here.
- 1:51:54Rename. See rename the current session.
- 1:51:56So what I will do? Rename mayang's
- 1:51:59session
- 1:52:01and the session has now been renamed to
- 1:52:03Mayang session. Okay. So very very
- 1:52:05important because this will help you to
- 1:52:06actually save your sessions by your
- 1:52:08projects or by a particular ticket. So
- 1:52:10many time it happens that we are working
- 1:52:11on a particular feature or ticket. So
- 1:52:12just save them like this and the same
- 1:52:14will be very very helpful. Right? So
- 1:52:16that would help you to actually make
- 1:52:17sure that you are able to save your
- 1:52:19sessions. Now do make sure that you can
- 1:52:22very very gracefully exit your sessions.
- 1:52:24Right everyone? So you can gracefully
- 1:52:26exit. And again I'm not making these
- 1:52:27notes here. These are kind of mentioned
- 1:52:29here already. Right? But overall uh if I
- 1:52:32show this yeah this one it is having all
- 1:52:34these things. Right? So if I say read
- 1:52:36but again I still feel that this is me
- 1:52:38like there everywhere. We have to
- 1:52:40understand the same as well, right? So,
- 1:52:41CD name. Now, very very important thing
- 1:52:44which lots of people miss out is that
- 1:52:46you have to make sure that you always
- 1:52:48gracefully exit your session by exit.
- 1:52:50Okay? Exit the CNI in the background
- 1:52:52session detach or stop. So, the idea is
- 1:52:54that when you exit this unless closing
- 1:52:57your terminal, right? It saves the
- 1:52:59session properly and prevents any
- 1:53:01partially written files from being left
- 1:53:02in the broken state. So, let's say if it
- 1:53:03is working on something or anything, it
- 1:53:05will not happen. Right? So if I the
- 1:53:06second I press exit, see it is done and
- 1:53:09now I am outside on my terminal. So I
- 1:53:11can see all the files and everything.
- 1:53:12See my awesome codeban. HTML everything
- 1:53:14is there. What I can also do now is that
- 1:53:16the second I do claude. Okay. So I
- 1:53:19rename my session. I could do resume
- 1:53:22and say resume a previous session and
- 1:53:24see I'm having the my session here. So
- 1:53:26see I am back totally totally back at
- 1:53:28that particular state. That is the whole
- 1:53:30benefit everyone. That is how we use it.
- 1:53:32Now of course that is going to be very
- 1:53:34helpful in the long run. We are having
- 1:53:35these sessions created here as well. I
- 1:53:36could just close these sessions quickly.
- 1:53:38Uh so these new sessions are created
- 1:53:40because I was dividing. So it it is
- 1:53:42basically like how in chat GPD if I just
- 1:53:45show you right. I can just show you in
- 1:53:46chat GPD because this thing is not
- 1:53:48present somehow in uh let's say cloud as
- 1:53:52of now which I I hope that they add. Can
- 1:53:54you can you give
- 1:53:57me a connection py file
- 1:54:02now? Hopefully it will give uh but I
- 1:54:04need more. Okay. So nice thing that it
- 1:54:05is asking for more information or let's
- 1:54:07say it is giving for post MySQL
- 1:54:10add uh variables
- 1:54:13in each of them. So again I'm just
- 1:54:17asking for adding variables right you
- 1:54:20actually see this button branch in a new
- 1:54:22chat right this is something which fork
- 1:54:24is also basically used which I will show
- 1:54:25you in a bit. But what we can do we can
- 1:54:28start off a new session. So we I'm
- 1:54:30saying that hey no no no I think I don't
- 1:54:32needed a variable please uh before this
- 1:54:35I would like to start a branch out or
- 1:54:37let's say create a new session. So
- 1:54:39branch in a new chat right so this is
- 1:54:41something which you can think is doing
- 1:54:43right that's why we were having so many
- 1:54:44options every time I rewind it was kind
- 1:54:46of opening that one the previous session
- 1:54:47right so now everyone what we can do I
- 1:54:50can just clear each and everything so
- 1:54:51see start a new session with empty
- 1:54:53context previous session stays on disk
- 1:54:55it is saying that hey when you do clear
- 1:54:57it is just like you are starting a new
- 1:54:58context I think earlier it used to clear
- 1:55:00out the same as well so I can just start
- 1:55:02it with let's say here as well hi and
- 1:55:04again understanding these things are
- 1:55:05very very important right that is why
- 1:55:06I'm spending so much time hey I see you
- 1:55:08have Open greet.p would you like to work
- 1:55:09on? No.
- 1:55:12So, and again you can send the messages
- 1:55:13in between as well. What can I help you
- 1:55:15with? How are you today?
- 1:55:20So, see I'm doing well and everything.
- 1:55:21The second I go here do clear. Right.
- 1:55:25The second I press this clear everything
- 1:55:27will be gone like it is it will be just
- 1:55:29like a new session. Okay. So now if I
- 1:55:31asked what I asked last most probably it
- 1:55:35will not be able to tell if it is not
- 1:55:36sending all these message. So let's see
- 1:55:38this. You asked how are you doing today?
- 1:55:40Okay I think it is sending the complete
- 1:55:42chat here. Uh if I just show you in this
- 1:55:44matter let's say before clear. Let me
- 1:55:46show you the context. Okay now again I'm
- 1:55:49just showing you these because yeah you
- 1:55:51will be using them every day right as a
- 1:55:52pro user you will be using them every
- 1:55:53day. So see 0 by 200k tokens. The second
- 1:55:57I let's say send a high message. Hi,
- 1:55:59what all you did? If I ask this session,
- 1:56:02all the chats and everything will be
- 1:56:03sent and I could just clear it so that
- 1:56:05it starts up with a new session. That is
- 1:56:07the whole benefit of clearing as well,
- 1:56:09right everyone? So, let me check. I
- 1:56:10think this is the major one. Yeah. Okay.
- 1:56:15Yeah.
- 1:56:16So, the second I now do everyone context
- 1:56:19it will be I think somewhere around
- 1:56:23how much? Uh 29% 57.5K. If I clear out
- 1:56:26everything, start a new session with
- 1:56:27empty context. See, it is starting the
- 1:56:29new session now. Earlier it used to uh I
- 1:56:31think clear out in the current one. But
- 1:56:33of course, now the new session is
- 1:56:34started. If I see context, uh nothing
- 1:56:36will be sent as of now, right? It will
- 1:56:38be zero most probably. So, okay, it is
- 1:56:40started with let's say I'm just sending
- 1:56:41the information which is 43.2K tokens,
- 1:56:44nothing else. So, that is the whole
- 1:56:45benefit everyone. Along with this, what
- 1:56:47I can also do is I could do a fork here.
- 1:56:50Okay, I think it is again not mentioned
- 1:56:52here. So again lots of commands are
- 1:56:53there which I can see are just present
- 1:56:54in your uh terminal only. So now if I
- 1:56:57send great let us enhance the canban py.
- 1:57:03So now what it will see it will try to
- 1:57:04understand that okay I have to enhance
- 1:57:06this py file. So it is seeing searching
- 1:57:08for one pattern orchestrating tokens
- 1:57:10thinking with high effort. I think we
- 1:57:11have set the effort to high
- 1:57:14and it will be able to say that created
- 1:57:16a new canban. py okay enhance the
- 1:57:19existing canban py that you want me to
- 1:57:20create first. So it is saying that hey I
- 1:57:22have created this into a canbased
- 1:57:25application. So if I go back and if I
- 1:57:28let's just start this again I think it
- 1:57:30will it is now a canben based
- 1:57:32application sorry python based
- 1:57:33application. So let us start it like
- 1:57:34this. I can just ask it ask it only how
- 1:57:38can I start on my local host.
- 1:57:42Let us ask this.
- 1:57:46So now is reading the file and
- 1:57:47everything that hey how can I read
- 1:57:48option one cd. So it is just telling
- 1:57:50that hey run this command and it will be
- 1:57:52started right. So let us stop this start
- 1:57:55it on the 8,000 only if I think I will
- 1:57:59go back. So it will be little a little
- 1:58:01bit more better. Let's go back. So okay
- 1:58:04it is directory listing and everything
- 1:58:06here I think. HTML. So I think it is not
- 1:58:08enhanced. It was maybe asking us but
- 1:58:10what I want to show you is that if I go
- 1:58:12back now I could like it is still saying
- 1:58:14that hey I am uh I will create
- 1:58:17canband.py that stores the HTML and
- 1:58:18everything. But for the time being I can
- 1:58:20also f or branch out it create a branch
- 1:58:23of the current conversation at this
- 1:58:24point. So now what is happening everyone
- 1:58:26is that there was already a chat running
- 1:58:29there was already a chat running one
- 1:58:32then two
- 1:58:34then three right so like this but I said
- 1:58:38that hey I want to branch this out here.
- 1:58:41So now all claude is saying that okay I
- 1:58:43have created a new chat. Okay so it is
- 1:58:44just like branch in a new chat option.
- 1:58:46So again rewind also does that it
- 1:58:49basically make sure that it goes to that
- 1:58:50particular uh thing right it it goes to
- 1:58:53a previous message and then basically
- 1:58:55fork your chat but here what happens
- 1:58:57everyone is that when you branch your
- 1:58:59chat right when you branch your chat and
- 1:59:00it will be there as well fork branch so
- 1:59:04again it tries that hey now I could make
- 1:59:07sure that from this particular last
- 1:59:10message so rewind does that from the
- 1:59:12previous message but here basically I am
- 1:59:14saying that hey branch in a new chat and
- 1:59:16Now a new chat is started. See they're
- 1:59:17having a different ID overall. So that
- 1:59:19is how it works. Everyone is having a
- 1:59:21different ID. So now I'm having the
- 1:59:23complete chat here as well. It is
- 1:59:24branched from a conversation and
- 1:59:26previous chat is also there. So this is
- 1:59:28exactly what happens actually. Right now
- 1:59:29where it will be helpful if let's say
- 1:59:31you are having a very good chat where
- 1:59:32you are developing all the features but
- 1:59:33someone says that hey let us let us try
- 1:59:35out by adding this one new feature as
- 1:59:37well if it will work or not. But you
- 1:59:39don't want to disturb your complete chat
- 1:59:40right so that is the pro level of
- 1:59:41development when you will be doing this
- 1:59:43will be very very helpful. Right. So to
- 1:59:44return to the original resume with this
- 1:59:46particular ID we could have renamed as
- 1:59:48well and claw branch conversation you
- 1:59:51are now in the branch. So we have
- 1:59:52actually changed we are now in the
- 1:59:53different thing right and of course
- 1:59:54there is session and like I can clear
- 1:59:56and all these things are already present
- 1:59:58right. So that would be very very
- 1:59:59helpful everyone and uh that is where it
- 2:00:02is helpful. Now let's move forward.
- 2:00:04Let's quickly see a few more. So login
- 2:00:06everyone sign in with your anthropic
- 2:00:08account. It is just asking you again
- 2:00:09that hey how do you want to sign out
- 2:00:11sign in sorry similarly there is log
- 2:00:12out. The second I do log out it will
- 2:00:14sign out me from the current account. So
- 2:00:16the second I do see successfully logged
- 2:00:18out now it is saying that hey I am not
- 2:00:21having the access. So now when I open
- 2:00:22cloud it will most probably ask me see I
- 2:00:25have logged out. So it is totally
- 2:00:26totally new. So now completely
- 2:00:28completely new session I have to re uh
- 2:00:30approve it reauthorize it. Okay. So
- 2:00:32again that is how it happens. I'm just
- 2:00:33having it in a separate screen and I
- 2:00:35have been reauthorized. So see I can
- 2:00:37enter to continue. It is saying security
- 2:00:39notes and everything. So totally totally
- 2:00:41it is starting from scratch right? I can
- 2:00:42use the optimal setting and see how it
- 2:00:44gets started everyone. So these are the
- 2:00:45few things as well. Let me check what
- 2:00:47are the other ones which I normally use
- 2:00:49because these were the major one which I
- 2:00:51see using. Okay. Fog and everything. Uh
- 2:00:54let me also show you one more. So I
- 2:00:55think it will be present here as well.
- 2:00:58Status is I think usage only. Let me see
- 2:01:00here. Status show cloud port status
- 2:01:02including version model. Yeah. So this
- 2:01:04was actually everyone usage only. Uh I
- 2:01:06think they have combined the same. So
- 2:01:07usage we see this particular one. Stats
- 2:01:10are all the stats right. I can actually
- 2:01:12go and see the models as well like how
- 2:01:13much models and everything. So basically
- 2:01:15all the config you will see that autoco
- 2:01:17compact is true here which means that as
- 2:01:18it will grow it will try to autoco
- 2:01:20compact it then thinking mode all of
- 2:01:21these things are basically there which
- 2:01:23kind of helps to claw code and working
- 2:01:25in depth and again as a pro developer
- 2:01:27pro cloud code users who will actually
- 2:01:30get jobs who will actually be building
- 2:01:32awesome things with it you need to know
- 2:01:33in this uh level of things right so that
- 2:01:35is going to be very very helpful uh one
- 2:01:37last thing everyone which I would like
- 2:01:38to show I think which is pretty good
- 2:01:40which has been recently done so see
- 2:01:42power up right what it So basically this
- 2:01:45is interactive sessions or lessons with
- 2:01:47claude from claude itself. So if I just
- 2:01:50check right I think when was powerup
- 2:01:52introduced. So slash powerup claude I
- 2:01:55think it was just maybe 2 3 weeks back.
- 2:01:57Yeah 2 weeks ago right 2 3 weeks ago. So
- 2:02:00now this time claude is saying and I
- 2:02:02think it will work here as well maybe.
- 2:02:04Okay. So again I can see that here this
- 2:02:06command is not present. Right. I
- 2:02:08normally use it for in my uh like let's
- 2:02:11say of course for local development I
- 2:02:12use it with VS code and I have a server
- 2:02:15okay hosting a machine where this is
- 2:02:17running where like I do some development
- 2:02:19for some client that is where I'm using
- 2:02:21cloud code with the uh with complete
- 2:02:23let's say this thing uh directly with
- 2:02:25your terminal so that is why these
- 2:02:26commands are kind of there so see talk
- 2:02:29to your code base tier with modes okay
- 2:02:31undo anything run in the background so
- 2:02:33undo I think I told you that how it is
- 2:02:35remind uh run in the background own task
- 2:02:37which we will see as we move forward
- 2:02:39teach cloud your rules cloud.mmd which
- 2:02:40we will also see extend with tools
- 2:02:42automate your workflow multiply uh
- 2:02:45yourself by creating sub agent or teams
- 2:02:47code from anywhere remote control then
- 2:02:48dial the model so again that is how it
- 2:02:50is helpful everyone so see why is the
- 2:02:52list page run model to switch models
- 2:02:54opens for hard problem solid for most
- 2:02:55work hu for quick questions each trade
- 2:02:58speed for depth right so see this is how
- 2:03:01it is saying effort controls how long
- 2:03:02cloud think before asking hi for this
- 2:03:04also fast toggles fast mode. Same model,
- 2:03:07faster output. So I can just press
- 2:03:09escape. I can just say fast and see fast
- 2:03:12mode is now on. So high speed mode for
- 2:03:15opus 4.6 extra uh usage. I think I
- 2:03:18should
- 2:03:20go back and just have the model as hypo
- 2:03:22only because the second we go on opus I
- 2:03:25think in four or five messages it will
- 2:03:26say that hey come after some time you
- 2:03:27have used all your limit. Okay. So that
- 2:03:29is the whole benefit everyone and I
- 2:03:30think these are all the different
- 2:03:31different commands. I would just like to
- 2:03:33quickly share an image again so that it
- 2:03:35can help your device. Now again there
- 2:03:36are lots of of course different
- 2:03:37different more commands as well and that
- 2:03:40dashboard will be helpful but as of now
- 2:03:42this will help you to revise what all we
- 2:03:43have covered. So I think we have covered
- 2:03:44these one. These one are the common one
- 2:03:46which I wrote because I am using them
- 2:03:48day in and day out. Uh powerup was
- 2:03:50something new. So I thought of including
- 2:03:52that but I would suggest highly that
- 2:03:54please go through this website this
- 2:03:55artifact created by cloud only. It is
- 2:03:57having all the 70 plus commands and the
- 2:03:59best part like it is having all these
- 2:04:00divided as well. Right. So that will be
- 2:04:02very very helpful to all of you. So with
- 2:04:04that everyone now let's move forward and
- 2:04:06now we have actually mastered I think
- 2:04:08slash commands in a lot of depth like
- 2:04:09way way way lot in depth and then you
- 2:04:11will require but believe me this will be
- 2:04:13very very helpful in the long run okay
- 2:04:15so now everyone let's move on to
- 2:04:16sessions okay and how exactly to uh make
- 2:04:20sure that we can play around sessions
- 2:04:22because see this is how exactly we will
- 2:04:25be using clot code right we will be
- 2:04:26getting multiple sessions here so it
- 2:04:28becomes very important that uh anytime
- 2:04:30you are opening cloud code or in a
- 2:04:32folder it creates the session and a
- 2:04:34session has an id, a history, time
- 2:04:36stamp, metadata, what all you have
- 2:04:38changed and these sessions are basically
- 2:04:40stored automatically on your on our
- 2:04:41machine right so we don't have to do
- 2:04:42anything cloud code is handling it but
- 2:04:44still it needs to make sure that we
- 2:04:45understand the same now let's try to
- 2:04:49quickly see everyone that what are the
- 2:04:52uh mistakes which a no wise person do
- 2:04:53versus a uh like let's say an advanced
- 2:04:56level or advanced uh person does so what
- 2:05:00happen is that let's say I will just ask
- 2:05:02it some work Right. So I will just ask
- 2:05:03it this particular work and let me
- 2:05:06actually do one thing. Let me uh
- 2:05:10and let me we can do it here only not to
- 2:05:13worry. Okay. I'm building a task
- 2:05:14management web app. Create an initial
- 2:05:15project structure with index style
- 2:05:16app.js. Make it actually work not just a
- 2:05:18skeleton and keep it simple. I think we
- 2:05:22are already using a hu be a problem. See
- 2:05:24I am just asking it here
- 2:05:27to create something for me. Right. So
- 2:05:28very very simple although like I have
- 2:05:30done these things via the command only
- 2:05:32and you will be saying that hey of
- 2:05:33course this is helpful for see it has
- 2:05:34created I can say yes
- 2:05:36and it will start clearing few files for
- 2:05:38me and every time it will ask like so
- 2:05:39every time it is asking me we will fix
- 2:05:41that as well don't worry I know that
- 2:05:42many of you will be thinking that hey
- 2:05:44why are you pressing yes this you can
- 2:05:45select the second option I will come to
- 2:05:47that don't worry so it is created index
- 2:05:49html style dot css and then I think it
- 2:05:52will create one uh app dot js as well so
- 2:05:54see it has created the same right
- 2:05:57now What most people do everyone is that
- 2:05:59uh let's say if uh so it is saying that
- 2:06:01allow this bash command okay I can allow
- 2:06:03it not a problem what most people will
- 2:06:06do or most beginners do right and
- 2:06:07believe not even beginners people who
- 2:06:09are at an experienced level uh they will
- 2:06:11just let's say you they will stop their
- 2:06:13work tomorrow they will close everything
- 2:06:14close VS code and everything and
- 2:06:16tomorrow when they resume they will just
- 2:06:18start a new session so they will be
- 2:06:19starting a fresh air and say that hey
- 2:06:21can you add a dark and uh let's say
- 2:06:25light mode toggle Right? This is
- 2:06:28something which is able to do but we
- 2:06:29know that we can resume the session.
- 2:06:30Right? So we can resume the conversation
- 2:06:31and see we can just go in here build
- 2:06:34task management app and that is how we
- 2:06:35have all the complete thing which we had
- 2:06:37yesterday. Right? So that that is how
- 2:06:38easily you can resume your conversation.
- 2:06:40And this becomes very important because
- 2:06:42of let's say uh making sure that not
- 2:06:45only are you saving tokens here you are
- 2:06:47actually having the complete context
- 2:06:48which might be very easily uh let's say
- 2:06:52compacted and all these things. So that
- 2:06:53is where we save a lot of time. Now of
- 2:06:56course uh if I just show you there is a
- 2:06:58whole session history like in here it is
- 2:06:59very simple because we are having the
- 2:07:01complete UI. We can click on this to
- 2:07:03start a new session. These are all the
- 2:07:04sessions history but still people are
- 2:07:06not using it right. These are all the
- 2:07:07slash commands. So again you can fork it
- 2:07:09as well. Now you of course know how to
- 2:07:10fork the same as well. Right. I think in
- 2:07:12here we have to do it via 1 minute or I
- 2:07:17could actually take one advantage. I can
- 2:07:18do remind and let's say with a simple
- 2:07:20message and it will say that okay
- 2:07:23continue and see a new chart is
- 2:07:24basically open. So that is how we can do
- 2:07:26this thing level of things as well
- 2:07:27everyone and of course that is very very
- 2:07:29helpful the same thing happens here like
- 2:07:30if you're using it uh I have seen so
- 2:07:32many people make this mistake so this is
- 2:07:33somewhere we have to handle the sessions
- 2:07:35now just to show you right just to show
- 2:07:37you uh and I will have to go to one of
- 2:07:39the hidden files so when I said that hey
- 2:07:41all your sessions are basically uh noted
- 2:07:44all of them are saved right where
- 2:07:46they're exactly saved depending on if
- 2:07:48you're Windows Linux or uh Mac in Mac
- 2:07:50basically you will see and I will talk
- 2:07:52about this towards the end of this part
- 2:07:54that how we have
- 2:07:55So any somewhere we will be having a dot
- 2:07:57like you see these overall things right
- 2:07:59you see these files and there are again
- 2:08:02I think all the AI apps which you can
- 2:08:04find gopilot everything because I'm
- 2:08:05using all of them but let's let's for
- 2:08:07the time being try to find dot claude
- 2:08:09and in the cloud everyone we have all
- 2:08:13these things saved so see dot claude
- 2:08:15right and if I go inside projects here
- 2:08:19you will see different different
- 2:08:20projects and in one of the projects
- 2:08:22right see I will be finding all of my
- 2:08:25sessions as well. So this is how
- 2:08:27actually it gets saved. Now again that
- 2:08:30is exactly how we are able to use it as
- 2:08:31well and I just want to show you because
- 2:08:33I told that hey how cloud is handling
- 2:08:35it. I know that you still not aware
- 2:08:36about dot cloud directory as of now but
- 2:08:38we will discuss about that don't worry
- 2:08:40and that is exactly how all these
- 2:08:41sessions and everything are saved. So
- 2:08:42yes they are actually physically getting
- 2:08:44saved somewhere that is how it is able
- 2:08:45to go back and like have all these
- 2:08:47things from your local right. So that is
- 2:08:49the whole idea everyone. Now let's move
- 2:08:51forward like this is just I wanted to
- 2:08:52show you because uh you see this chat
- 2:08:54differently and session differently just
- 2:08:56try that hey I am working on sessions
- 2:08:58that is the whole idea now let's try to
- 2:09:00move away from that part everyone where
- 2:09:02uh we will be giving it yes every time
- 2:09:05so I think that would be helpful if we
- 2:09:06try to fix that once and for all instead
- 2:09:08of saying yes every time let's try to
- 2:09:10say yes once and of for all so it will
- 2:09:12save a lot of time for us as well
- 2:09:15now talking about the permission modes
- 2:09:16everyone like you have seen that how
- 2:09:18whenever we are trying to create a new
- 2:09:19file or like ever do something it
- 2:09:21basically tries that okay by applying
- 2:09:23its brain claude applies the brain and
- 2:09:25then the hands comes in a hand says that
- 2:09:27hey I have to type this command or I
- 2:09:29have to create something and that is
- 2:09:31where it asks us for our permission the
- 2:09:33idea is that if I just normally ask it
- 2:09:35that hey create a new file let's say
- 2:09:40hello txt okay so I will just just
- 2:09:42simply create a new simple file and you
- 2:09:45will see that how it will try to show me
- 2:09:47the changes that is a part of your this
- 2:09:49but it will is allow write to hello my
- 2:09:52ttxy. Okay, so it is trying to create
- 2:09:53some hello myang.txy txy and I could
- 2:09:55just yes if you will see the options
- 2:09:57here right it is yes then it is yes
- 2:09:59allow all edits in this session and no
- 2:10:02right so overall either you can see this
- 2:10:05particular thing what it is trying to do
- 2:10:06or you can just tell cloud even what to
- 2:10:08do as well right so that is the whole
- 2:10:09idea but major thing is that yes if
- 2:10:12you're working on a lots of heavy level
- 2:10:14project which you will be once you
- 2:10:15master clot code then it will be asking
- 2:10:17you each and every time and answering it
- 2:10:19each and every time will of course be
- 2:10:20very very difficult so that is where
- 2:10:22let's try to understand this and with
- 2:10:24respect of uh the claw uh sorry
- 2:10:26permission mode with respect to claw
- 2:10:28code and this is the most important
- 2:10:30safety concept in cloud code and it's
- 2:10:32also the most commonly misunderstood uh
- 2:10:34one so let me be very very precise
- 2:10:37clawed code uh code can do powerful
- 2:10:39things right it can write files delete
- 2:10:41files run terminal commands and that is
- 2:10:43the whole point but it can also make
- 2:10:45mistakes permission modes are there
- 2:10:48which allow how you control uh how much
- 2:10:50autonomy overall claw code has right so
- 2:10:52that is the overall thing and whatever
- 2:10:54of supervision you want. Now if you will
- 2:10:56try to see I've created a very good
- 2:10:57graphic here as well. So there are major
- 2:10:59three permission modes standard, auto
- 2:11:01and bypass. So standard is where it like
- 2:11:03the one which we currently are in where
- 2:11:05it will try to ask you for each and
- 2:11:06everything. Auto is where again it will
- 2:11:09ask you okay balance plus let's say for
- 2:11:11some few things it might ask you uh yes
- 2:11:13or no and then final bypass okay where
- 2:11:16again it will do everything totally on
- 2:11:18itself. If you are sure that hey uh my
- 2:11:21cloud code it will handle all these
- 2:11:22things properly you can go to the bypass
- 2:11:24auto is normally of course a recommended
- 2:11:26one. Now in here I can do yes and you
- 2:11:28will see that how it works and it will
- 2:11:30just create the simple file hello.x
- 2:11:32file. Now let's see the same everyone.
- 2:11:34Uh let's first try to see 1 minute. Uh
- 2:11:38this is something which we see. Let me
- 2:11:39just quickly get
- 2:11:42let's go here and yeah so see uh if you
- 2:11:45will see this as well everyone when I'm
- 2:11:47pressing shift tab. Okay. So this is
- 2:11:49written here shift tab. Few things are
- 2:11:51changing in here. Edit automatically.
- 2:11:53Okay. See ask before edits, edit
- 2:11:55automatically and plan mode. So these
- 2:11:56are also some of the modes which we see.
- 2:11:59Now in here plan mode as the name
- 2:12:00suggests plot will first explore the
- 2:12:02complete code and present a plan before
- 2:12:04editing so that it doesn't edit. First
- 2:12:05it will show that hey this is the file
- 2:12:07which I should we should create. This is
- 2:12:09something which we can we can do pretty
- 2:12:11good for longer projects file and the
- 2:12:12files projects which you are taking up
- 2:12:14from middle. So from the ground of of
- 2:12:16course you are building claude will have
- 2:12:18the complete idea edit automatically
- 2:12:20claude will edit your selected text or
- 2:12:22the whole file ask before edits clause
- 2:12:24will ask for approval before making each
- 2:12:26edit. So this is the same everyone. Now
- 2:12:28if I go back in the terminal in here as
- 2:12:31well when I do uh shift tab the same is
- 2:12:34changing. See plan mode on then accept
- 2:12:37edits on plan mode on and normal is when
- 2:12:39it will ask. So here if I ask create a
- 2:12:42file
- 2:12:44hello myank txt.
- 2:12:49So hopefully it will just simply create
- 2:12:51and ask me that hey do you want to
- 2:12:52create hello.txt. Now I can allow yes I
- 2:12:55can say allow all edits during the
- 2:12:56session. So that is of course one more
- 2:12:58way and then just like I have like uh
- 2:13:01done this where it is doing this
- 2:13:02particular job for me. Okay. So of
- 2:13:04course that is the whole idea that in
- 2:13:06worst case clot should not delete
- 2:13:07anything. Okay. it should not run any
- 2:13:09command which can give a problem. So
- 2:13:11that are all the things which we need to
- 2:13:12take care of and though here we are just
- 2:13:14able to see these three uh and you will
- 2:13:16see that hey we have selected this auto
- 2:13:18as well. Well that is where again
- 2:13:19reading documentation is helpful. So if
- 2:13:21I go and one minute let me quickly
- 2:13:24check. Yeah this is the permission modes
- 2:13:25everyone. So you will see select uh
- 2:13:27control whether cloud ask before editing
- 2:13:29files or running commands. So that is
- 2:13:30the whole idea everyone and these are
- 2:13:31all the all the one. So default what
- 2:13:34runs without asking read only. So it
- 2:13:35will never create a file it will just
- 2:13:36read your files. best for getting
- 2:13:38started and sensitive part rather this
- 2:13:39is a very very good uh table which we
- 2:13:41should have in our notes as well. So let
- 2:13:43me copy this and have it somewhere here.
- 2:13:45Okay, pay attention now. It will be very
- 2:13:47clear. Everyone see accept edits, reads
- 2:13:49file edits and common file system
- 2:13:51command. Make directory touch basically
- 2:13:53to create a new file. Move, copy,
- 2:13:56iterating on code you are reviewing.
- 2:13:58Plan, it is also read only. Exploring a
- 2:14:00codebase before changing it. So plan
- 2:14:02mode is also there. Then auto. Okay, it
- 2:14:04was recently launched. In auto, what
- 2:14:05happens? Everything with background
- 2:14:07safety check. Long task reducing prompt
- 2:14:09fatigue. So again, it will not that
- 2:14:11every time you are pressing yes, yes,
- 2:14:12yes. And that is the most uh recommended
- 2:14:15one as well. Then don't ask only
- 2:14:17pre-approved tool lockdown CI and
- 2:14:19scripts. So it will not ask only the
- 2:14:21pre-approved things can run. Bypass
- 2:14:23permission everything except protected
- 2:14:25pass. So isolated containers and VMs
- 2:14:27where you are sure that hey if I if I
- 2:14:29run it on bypass permission it can
- 2:14:30actually delete my complete file system
- 2:14:31as well. So these are the very very
- 2:14:33important system. Everyone if you will
- 2:14:34scroll down you will see that how uh in
- 2:14:37a CLI or in VS code we can just normally
- 2:14:39do shift tab and it will work and of
- 2:14:43course okay what we can do right so when
- 2:14:45we do install this uh claw code right in
- 2:14:49your VS code as well everyone so if I
- 2:14:51show you claude code settings right
- 2:14:55there will be
- 2:14:58something which is there in the cloud
- 2:14:59code settings let me open that up
- 2:15:01quickly
- 2:15:02Okay. Or let me just search for
- 2:15:05settings. One second.
- 2:15:09Let me see where exactly this is.
- 2:15:13Chat. Okay.
- 2:15:15So here we are able to see this. If you
- 2:15:17go on and let's say just press on this
- 2:15:21button. Uh sorry this one. Yeah. Oh no
- 2:15:24sorry my bad. So you have to search in
- 2:15:26VS code settings. uh so for this I have
- 2:15:29pressed control uh command and the
- 2:15:32button right of m okay so that is which
- 2:15:35I've connected the comma and command if
- 2:15:38you search for claw code here everyone
- 2:15:40here as well you will see lots of things
- 2:15:41right initial permission mode you can
- 2:15:43see default accept edits plan bypass
- 2:15:45permission preferred location panel
- 2:15:47sidebar wherever you want it to be so
- 2:15:49there are few settings which are present
- 2:15:50here as well right so all it is saying
- 2:15:52is and you can of course edit these
- 2:15:53things uh via your uh basically via
- 2:15:57making a JSON file as well. So that is
- 2:16:00where it is saying again I will repeat
- 2:16:01command and the comma then search for
- 2:16:03cloud code right cloud code and this is
- 2:16:06how you can change it in VS code and
- 2:16:08similarly it is given for uh like all
- 2:16:11the different different things Jet
- 2:16:12planes desktop web and mobile right and
- 2:16:15along with that everyone when you are
- 2:16:17using it on a server right which majorly
- 2:16:19you will be using it either in VS code
- 2:16:20or in a server this is how you can run
- 2:16:22it. So claw permission edit mode accept
- 2:16:24edits plan
- 2:16:26then uh there is something which was
- 2:16:28ultra plan as well I think which was
- 2:16:29recently launched then if you will see
- 2:16:31in future everyone eliminate prompts
- 2:16:33with auto mode auto mode requires claude
- 2:16:352.1.83 date fee I think again very very
- 2:16:38recent changes which we are covering
- 2:16:39here plan admin model provider so these
- 2:16:42are all the things which you can check
- 2:16:44these are blocked by default downloading
- 2:16:47production deploys force push to main
- 2:16:50which are basically all the things right
- 2:16:51which we handle or mass deleting and
- 2:16:53cloud storage allowed by default local
- 2:16:55file operation installing dependencies
- 2:16:56reading these are all the things which
- 2:16:58you can use boundaries you set in the
- 2:17:00conversation the classified treats
- 2:17:01boundaries you set in the conversation
- 2:17:03as block signal if you tell clot don't
- 2:17:05push or wait until I review before
- 2:17:06deploying the classifier blocks matching
- 2:17:08action even when the default tools allow
- 2:17:10it. So pretty straightforward. If I ask
- 2:17:11that hey don't create a new file it will
- 2:17:14still even though it is allowed it will
- 2:17:15try to make sure that it is blocked by
- 2:17:16default. Okay so that is the whole idea
- 2:17:18and yes similarly you can start it in
- 2:17:20other modes as well. Don't ask okay so
- 2:17:22clawed permission mode don't ask skip
- 2:17:24all checks with bypass permission mode.
- 2:17:25So bypass permission mode something
- 2:17:26which you should avoid because in this
- 2:17:29it can actually do anything right that
- 2:17:30is something which we should always and
- 2:17:32always avoid. So let's see the same in
- 2:17:33action everyone. Now if I go here okay
- 2:17:36if I go uh here and just let's say ask
- 2:17:38it to create something right?
- 2:17:39[clears throat]
- 2:17:40See this thing the second I press enter.
- 2:17:43Now it will just create some uh three
- 2:17:46files for me and it will ask me every
- 2:17:47time. See yes. So this is where the
- 2:17:50development becomes slow. Right?
- 2:17:53Now again it is asking to write helper.
- 2:17:55I can say yes and allow all to all the
- 2:17:56things. Right? So see now it is in the
- 2:17:58edit automatically mode not in the ask
- 2:18:01before edits mode. Right? Similarly if I
- 2:18:04go back and let's say I do the same
- 2:18:07thing but I will start it in the auto
- 2:18:09mode. So I I will show that from the
- 2:18:10terminal since you have now have the
- 2:18:12idea. So let me search where is the auto
- 2:18:15mode plan.
- 2:18:19Okay bash
- 2:18:22and if I go yeah so we can see all these
- 2:18:25different different modes
- 2:18:27and
- 2:18:29okay so I think yeah the auto mode is
- 2:18:31not available in the pro plan. I am on
- 2:18:34the pro plan only that is why I think we
- 2:18:35are not able to see it. admin on team
- 2:18:38and enterprise models. Yeah. So uh as of
- 2:18:42now everyone auto mode is not in the pro
- 2:18:44plan. I think when I used it I used so I
- 2:18:46actually went to my cloud and I think I
- 2:18:50tested it out using the entropic console
- 2:18:52account. Right. So when we will move to
- 2:18:53the let's say key towards the end I will
- 2:18:56showcase that as well. Okay. So that is
- 2:18:58where of course auto mode is also
- 2:18:59helpful everyone. And normally the whole
- 2:19:01idea is that how can we make sure that
- 2:19:04these commands right or these things
- 2:19:06which happens we are in control of them.
- 2:19:08So that is the whole idea. Auto mode was
- 2:19:09very new as well. So I remember testing
- 2:19:11it out just uh worth some work. So let
- 2:19:14me show you auto mode. Uh clot code
- 2:19:18uh plot code I think it is in research
- 2:19:20preview for many things available
- 2:19:22feature that allow AI automopsis to run
- 2:19:24this feature. But yeah it will become
- 2:19:25mainstream in some time. So 24th March I
- 2:19:28think just two three weeks back it was
- 2:19:29just launched uh idea is pretty clear
- 2:19:31that few of the commands will be allowed
- 2:19:33few of the commands will not be allowed
- 2:19:34and it is like kind of trying to mimic
- 2:19:36how we normally run right so that is the
- 2:19:38whole case everyone now let's try to
- 2:19:40also check few of the other things right
- 2:19:43let me uh show you this thing so let's
- 2:19:45say delete all the
- 2:19:48txy file for example txy file in the
- 2:19:51project
- 2:19:53now since it is in edit automatically it
- 2:19:55will delete the
- 2:19:56In auto mode it would have given you a
- 2:19:58overall command. So see it is saying
- 2:20:00fine and hopefully this command this is
- 2:20:02deleted but this is the where the
- 2:20:04problem happens everyone and this is
- 2:20:06what auto mode is trying to solve that
- 2:20:07in case like if it goes haywire like
- 2:20:11maybe one one small thing it miss right
- 2:20:14start reading everything then it will be
- 2:20:15a problem. So that is something which we
- 2:20:17need to always always handle. Now one
- 2:20:19thing more uh if I just gracefully exit
- 2:20:21it out some the way we should exit it
- 2:20:24clear. The second I do dangerously skip
- 2:20:26permission, it will be a very big
- 2:20:28problem. Right? So again I am not going
- 2:20:31to go there. The idea is that it will
- 2:20:32just run each and everything uh and
- 2:20:35won't ask you for anything. And these
- 2:20:37are all the different different modes
- 2:20:38everyone in which you can use that. So
- 2:20:39that is the vol idea of how you will be
- 2:20:42uh using the different different
- 2:20:44permission modes in your clot. Right? So
- 2:20:46in your clot majorly as I said the auto
- 2:20:48will become in some time uh the main one
- 2:20:51and normally enthropic did this uh
- 2:20:54research and they found out that 93% of
- 2:20:56the people they have it set on edit
- 2:20:58automatically. So this edit
- 2:20:59automatically is overall still fine
- 2:21:01right claw related or selected text or
- 2:21:02the whole file. So that is more or less
- 2:21:05pretty good. Plan mode is also good
- 2:21:07because it gives you an idea that hey
- 2:21:08what all it is trying to do so that if
- 2:21:10you see that hey something is getting
- 2:21:12deleted you can check out the same as
- 2:21:14well. So let us try out plan mode first
- 2:21:15as well. So let me take up a task and I
- 2:21:18will ask it build a complete rest API
- 2:21:20with the following endpoints. Get task
- 2:21:21list task okay include error and
- 2:21:23everything. Let me just run this thing
- 2:21:24in a plan mode everyone. And now you
- 2:21:27will see that how it will first without
- 2:21:29doing anything first tell me the plan
- 2:21:30widget feels like. Okay. So explore the
- 2:21:33existing codebase file. So it is going
- 2:21:34through my codebase and that is where I
- 2:21:36think claude is pretty good right. It
- 2:21:38does the step just like a human would.
- 2:21:39So I would have also done the same thing
- 2:21:41and see listing all the directories. It
- 2:21:44is doing a find command. It is doing the
- 2:21:46overall commands and telling you each
- 2:21:47and everything. Now it is reading all
- 2:21:49the files as well. Everyone
- 2:21:52looping thinking like that's some good
- 2:21:53words which throws out. Luc rating.
- 2:21:56Okay. So see it is saying pip list uh
- 2:21:59list installed Python packages. So again
- 2:22:01it is asking we can say okay you can you
- 2:22:03can run it no problem.
- 2:22:06Okay. So it is getting the commands. Now
- 2:22:08see pip list. So it is asking checking
- 2:22:10some overall good packages if they are
- 2:22:12available or not. But yeah the good part
- 2:22:14it will still not install them. So if
- 2:22:16you have let's say less internet speed
- 2:22:18or whatever be the case maybe you want
- 2:22:20to get a new environment where you want
- 2:22:21to install that it will still not do.
- 2:22:22This is the plan mode where it will
- 2:22:24think and make sure that I is able to
- 2:22:26work on that. Whenever you are starting
- 2:22:28a new project ever in cloud uh and
- 2:22:29that's a complete inde project plan mode
- 2:22:32with opus like try to just make sure
- 2:22:33that you are planning everything with
- 2:22:34opus.
- 2:22:35use opus in generating those tokens
- 2:22:37because again see if opus by its mind
- 2:22:40can give us a very very good plan right
- 2:22:41very very big idea uh of that how it
- 2:22:44should be done then we can move on to
- 2:22:45sonet what's the problem right because
- 2:22:46we have planned each and everything now
- 2:22:48see it is saying good now I have a clear
- 2:22:49picture of fast API u by antics academy
- 2:22:52are all already installed let me design
- 2:22:54the implementation plan and now it is
- 2:22:56just saying that hey I am defining a
- 2:22:58plan going list top level directories
- 2:23:00everything it is trying to do and let us
- 2:23:02wait manifesting I think we all
- 2:23:05determining see it is saying allow this
- 2:23:07bash command Python 3 import fast API
- 2:23:09everything so let me say uh yes maybe
- 2:23:14okay I think it is checking like the
- 2:23:16version etc right import SQL yeah it is
- 2:23:18trying the version actually so right now
- 2:23:19you will see uh via these commands
- 2:23:22import pyantic pyic version so that it
- 2:23:24is aware that hey this is what I have to
- 2:23:25do and that is the level at which
- 2:23:27actually cloud code makes your work easy
- 2:23:29right
- 2:23:30so uh I can maybe say yes allow all not
- 2:23:33a problem it will say verify fast API
- 2:23:35everything now somewhere what it has
- 2:23:38created everyone let's try to do yes
- 2:23:41some file was created I think link txt
- 2:23:45uh it is just checking out all the
- 2:23:47things now if I want while it is
- 2:23:48planning I could just say just give the
- 2:23:51plan and don't check check the library
- 2:23:58version etc because I don't want that it
- 2:23:59unnecessarily spend it spend the time
- 2:24:01and everything so see this is how I've
- 2:24:03done this And once it gets completed, it
- 2:24:05will most probably then try to see my
- 2:24:07this message as well, right? If I want,
- 2:24:09I think I can remove it like this as
- 2:24:10well. So see, okay, this is for fork and
- 2:24:12rewind. Okay, so they have integrated
- 2:24:14this reind here as well. Nice thing. I
- 2:24:16could stop it here. Okay, if I stop, it
- 2:24:18will just stop doing each and
- 2:24:19everything. I could just stop it. See,
- 2:24:21tool interrupted. So it is saying that
- 2:24:22hey something happened. Let me stop. It
- 2:24:25is interrupted. Now I could just paste
- 2:24:27this.
- 2:24:29I could make sure that now it is having
- 2:24:30this thing
- 2:24:32so that whatever it has done it will try
- 2:24:34to pick up although I will highly
- 2:24:35suggest not to stop it in between when
- 2:24:37it is running commands during the
- 2:24:38research part it is all fine okay
- 2:24:41so yeah I think now it will all work
- 2:24:43everywhere and towards the end I will
- 2:24:44also show you like what are going to uh
- 2:24:46happen once you
- 2:24:49master the dot claw directory everything
- 2:24:51as well because that is the whole bar by
- 2:24:53shift tab we can easily do this see uh
- 2:24:55it has opened the plan separately uh
- 2:24:57where is the file
- 2:24:59Okay. So see it is saying yes an auto
- 2:25:01accept. This is not something which we
- 2:25:03want to see. Uh task management rest API
- 2:25:07context adding fast API back into the
- 2:25:09existing task manager project. I think
- 2:25:11it must have find that task manager
- 2:25:12project which we created. Maybe file
- 2:25:14layout API and everything. Okay. All
- 2:25:16these things it has just given us. Now
- 2:25:19you can read through it. You can suggest
- 2:25:20some changes that hey don't do the
- 2:25:22verification via curl. I want that it
- 2:25:25doesn't run by unicorn. So all of these
- 2:25:26things you can do and the benefit is
- 2:25:28very very simple that even if you don't
- 2:25:29know anything about coding it is just
- 2:25:32telling you these things and you can you
- 2:25:33can even ask it that hey can you uh give
- 2:25:37me the
- 2:25:39plan so I as a noncoder
- 2:25:43can also understand the same so very
- 2:25:47very simply I'm just asking that hey
- 2:25:48please change the plan I don't know
- 2:25:50coding or anything for people who are
- 2:25:51coding I've already shown so don't say
- 2:25:53that hey you are just teaching for no
- 2:25:54coders no I'm Just making sure that
- 2:25:56people who are from every facets they
- 2:25:58are able to understand it. So see it is
- 2:26:00just getting the same here what we are
- 2:26:01building four things API can do. So it
- 2:26:03is explaining you now that hey see
- 2:26:04action and this is the plain English
- 2:26:06thing. Let me close this pay attention
- 2:26:08using what already exists how you would
- 2:26:10run it. Shall I go ahead and build this?
- 2:26:12So I can now say no yes anything. Okay.
- 2:26:14And now I think it's a good time to also
- 2:26:16check the context like how much context
- 2:26:18is being taken care right. So seem like
- 2:26:22it has taken around 30.2 which is all
- 2:26:24good. I think not a lot. Okay, free
- 2:26:26space is still a lot. So not a problem
- 2:26:28at all. I would just like to change the
- 2:26:30model to uh hyphoon because I see the
- 2:26:34model is solid here. Okay, so something
- 2:26:36which we need to take care of because if
- 2:26:39I go to my usage, right?
- 2:26:43Uh it would have it would have taken
- 2:26:45some usage or more right because again
- 2:26:47internally also it has lots of things.
- 2:26:49So let's see the usage everywhere. Yeah,
- 2:26:51I think 22% use 20% I'm using it for
- 2:26:53other things as well. But overall that
- 2:26:54is a pretty good. Okay. So yeah, I think
- 2:26:57that is all which you need to know about
- 2:26:59uh permission modes very very important
- 2:27:01again because you will be using them uh
- 2:27:04for real. Okay. Now once we cover the
- 2:27:06dot cloud which is the next topic like
- 2:27:08dot not cloud.mp like that is where most
- 2:27:10people stop. I am going to start from
- 2:27:11the uh like as a professional right. So
- 2:27:14dot cloud is the major uh thing there
- 2:27:16everyone. So if you will see I showed
- 2:27:18you that how we are having this dot clot
- 2:27:19here as well right. So once we discuss
- 2:27:21under that there as well we can have
- 2:27:23these permission modes and we can have
- 2:27:25some commands as well. So pretty high
- 2:27:26step but should be clear to you. So in
- 2:27:29the next part now let's try to
- 2:27:30understand about the dotcloud directory
- 2:27:31as well and that I think is the single
- 2:27:34most important directory if you are a
- 2:27:36professional or an advanced user in clot
- 2:27:38code which I feel all of you should be
- 2:27:39know okay because the understanding from
- 2:27:41there pretty sure that since it's a very
- 2:27:42good concept it will get targeted on
- 2:27:44other AI's codecs and other ids or AI
- 2:27:48assisted coding as well okay so in the
- 2:27:49next part everyone let's try to
- 2:27:50understand that
- 2:27:52now everyone let's move forward and try
- 2:27:54to learn about clawed directory now
- 2:27:56again there's not claw MD we are going
- 2:27:59to discuss that afterwards. So before I
- 2:28:02tell you about this like let's first
- 2:28:03quickly understand about claude. Now
- 2:28:06every serious clot project okay will
- 2:28:08have a dotcloud folder like it is that
- 2:28:10simple. Uh most people just uh or
- 2:28:13tutorials show you just claw.mpp we are
- 2:28:15going much deeper. This is the most
- 2:28:16important folder that you will ever have
- 2:28:18for a project. Everything that makes
- 2:28:20claude code feel smart uh specialized
- 2:28:23and majorly under your control or the
- 2:28:25way you want it to behave basically
- 2:28:26resides in this claude MD4 in this
- 2:28:29dotcloud folder okay so it's a little
- 2:28:30confusing and before we move forward I
- 2:28:32would like to talk about few things
- 2:28:34because I think it should be very clear
- 2:28:36uh this notice this dot here the very
- 2:28:38first thing now you will notice that
- 2:28:41whenever I talk about dot uh before a
- 2:28:43folder name right so that folder
- 2:28:45effectively everyone is hidden like if I
- 2:28:47if I show you uh All these folders which
- 2:28:50are starting from dot they are hidden in
- 2:28:52Linux and in window as well right uh
- 2:28:56sorry Mac OS so they are hidden in Linux
- 2:28:58as well as Mac OS as well and of course
- 2:29:00in Windows also we can have the folders
- 2:29:02which are hidden so that is where again
- 2:29:04this dot cloud is coming nothing else I
- 2:29:05hope all of you remember that how uh we
- 2:29:08can go in Windows right and we can just
- 2:29:10hide the overall let's say folders so
- 2:29:12this dot uh is just that right so many
- 2:29:15file explorers will not show that in Mac
- 2:29:18you can just go to the settings and say
- 2:29:19that hey show the hidden files and
- 2:29:21folders and of course it will be the
- 2:29:23same case in Windows by going to tools
- 2:29:25etc. So that is how it is shown and
- 2:29:27hidden and since uh the reason it is
- 2:29:30hidden is that most people never uh know
- 2:29:33or use it right but again uh it is
- 2:29:36intentional that it is hidden from the
- 2:29:38normal audience who just want to play
- 2:29:40around and feel happy but for the
- 2:29:42professionals out there you need to
- 2:29:44master it right. So again you have to
- 2:29:47understand that yes you as a
- 2:29:48professional will be needing and working
- 2:29:50inside this folder. Okay. So that is the
- 2:29:52whole idea everyone. Now just to quickly
- 2:29:54show you like if you uh just as an
- 2:29:56example I have created this clot folder
- 2:29:58here right. Let me quickly just set few
- 2:30:02things up. So let me delete this for the
- 2:30:04time being. We will be creating from
- 2:30:05scratch only. If I just normally uh open
- 2:30:08a terminal right. So let's say let me
- 2:30:12remove this. We are in test cloud
- 2:30:15folder. I would just say make directory
- 2:30:17dotcl.
- 2:30:18If I do ls you will not see this folder.
- 2:30:21So because it is hidden on ls this
- 2:30:24folder is not shown. When you do ls- l
- 2:30:27then the folder will be visible. See
- 2:30:29dotcl dsto some other folder overall. So
- 2:30:32that is the major idea. Again just hit
- 2:30:34hiding it because majority of the people
- 2:30:36never uses it any day anyway. So that is
- 2:30:38the complete idea everyone. Now let's
- 2:30:40try to understand how it looks like and
- 2:30:42again uh we will try to understand in
- 2:30:44depth. uh very first thing is again how
- 2:30:46it uh it is having different different
- 2:30:48levels right so again claude overall it
- 2:30:51works at different levels right the very
- 2:30:53first one is at your authorize level
- 2:30:55everyone so what do I mean by authorized
- 2:30:56level that let's say that if you're
- 2:30:59getting this particular uh claude via
- 2:31:01your authorize okay so most of the you
- 2:31:02will not be seeing it if if you're
- 2:31:04handling it at authorize then you can
- 2:31:05set up some rules and structure at
- 2:31:07authorized levels as well right that is
- 2:31:09the whole idea here second is at a
- 2:31:11global level so which is again present
- 2:31:12in your uh home folder just like for me
- 2:31:16I have not created this it is just
- 2:31:18present in my users may right so that is
- 2:31:21where in my home folder it is present
- 2:31:23and if I want I could now create one
- 2:31:26here which will be specifically for my
- 2:31:29project so this dotcloud folder v1 which
- 2:31:31I have just created this will be very
- 2:31:33good for my project and as you can see
- 2:31:36in this folder
- 2:31:38it is this project rules are the closest
- 2:31:41to clone like so this is the overall
- 2:31:43overriding power and this is again
- 2:31:45having the priority level both are
- 2:31:47increasing. So if let's say just as an
- 2:31:49example your author has mentioned that
- 2:31:51hey always give me the python code but
- 2:31:54you are working on a project which is on
- 2:31:56Java and you in your project says that
- 2:31:58hey this project is on Java 8 then since
- 2:32:02it is nearer to claw nearer to your
- 2:32:04brain this is how it will happen and I
- 2:32:06can showcase that in another sense as
- 2:32:08well because I want that all of you
- 2:32:09understand this thing.
- 2:32:10when you go on claude everyone if I show
- 2:32:12you the settings I am having these
- 2:32:15personal preferences that hey any task
- 2:32:17which I provide please make sure that
- 2:32:18you ask me these things now in here I
- 2:32:20could have that hey please always give
- 2:32:21me the code in Python let's say I could
- 2:32:23say give me the code in Python okay
- 2:32:28so again very simple I have just made it
- 2:32:30now if I open a new project up everyone
- 2:32:32so I will be just opening a new project
- 2:32:34let's say test claude code project
- 2:32:39and Let's say if in this particular
- 2:32:41project uh I say that uh good DSA solver
- 2:32:46right
- 2:32:48create project in the instructions I
- 2:32:51would just add I work
- 2:32:55and learn DSA in C++ now pay attention
- 2:32:59what happened I have this complete cloud
- 2:33:02overall right where I have said that hey
- 2:33:03please give me code in Python and make
- 2:33:05sure that you answer everything but
- 2:33:06inside this now I have created this
- 2:33:08project and for this project I have
- 2:33:11specifically mentioned C++ right so
- 2:33:14ideally we will try it out and let's try
- 2:33:16it out actually uh write or give me a
- 2:33:19code to sort an array using bubble sort
- 2:33:23so again I'm just taking a very simple
- 2:33:24example you can have let's say write
- 2:33:26formal language write funny language
- 2:33:27this all things let's try to see what it
- 2:33:29will try to follow see before I dive in
- 2:33:31it is asking for some things C you
- 2:33:33mentioned you work in C++ but your
- 2:33:34preference say you give code in Python
- 2:33:36so again there are conflicting
- 2:33:37instructions But ideally it will try in
- 2:33:41cloud code and normally as well that the
- 2:33:42instructions which are closer to the
- 2:33:44project. So this takes a higher priority
- 2:33:47they are basically understood first. If
- 2:33:48I would have given it more stricter
- 2:33:50instructions uh that forget everything
- 2:33:52and this is what you have to follow it
- 2:33:54would have been taken care of. But here
- 2:33:56it is just clarifying the same right
- 2:33:58that is the whole idea. But yeah
- 2:33:59normally if I just normally say here
- 2:34:02give me all code in Java. Now this
- 2:34:06particular thing everyone will be the
- 2:34:08main main idea right this will be the
- 2:34:10main thing okay so see got it I will
- 2:34:13make sure all code is Java going forward
- 2:34:15so even though I have asked it for C++
- 2:34:17and everything now I can ask give a code
- 2:34:20to add two numbers right now for the
- 2:34:23chat is taking the most prioritized
- 2:34:25thing so it will just give me in Java
- 2:34:27right so this is how the priority looks
- 2:34:29like everyone so in a way your
- 2:34:31organization or setting where they can
- 2:34:33say that hey never delete the file
- 2:34:35always make sure that you run this.
- 2:34:36Please don't commit into the main
- 2:34:37branch. Then global preferences which
- 2:34:39are present at your main home folder in
- 2:34:41your Windows, Mac or Linux. And then
- 2:34:43finally your project level uh things
- 2:34:45right. So project level dotcloud rules
- 2:34:48systems everything. Okay. So that is the
- 2:34:50whole idea closer to project it is
- 2:34:51having a stronger control. It is not
- 2:34:53that it will always follow that maybe it
- 2:34:55will ask you to clarify because again
- 2:34:56claude is smart in that manner right? If
- 2:34:57there are some uh overall things which
- 2:34:59are conflicting it will try to clear
- 2:35:01that out. So that is the whole idea. Now
- 2:35:04since we are learning this in depth I
- 2:35:06have learned this from official
- 2:35:07documentation let me uh yeah so overview
- 2:35:10one minute yeah explore the cloud
- 2:35:11directory
- 2:35:13and this is I guess the best way of
- 2:35:14learning about cloud as well right so I
- 2:35:16will just make it bigger and see this is
- 2:35:19actually how your claw directory looks
- 2:35:20like everyone so claw emptyd is again
- 2:35:23the file which I will talk about inside
- 2:35:24the cloud you can have settings
- 2:35:27rules skills commands agents everything
- 2:35:30so this agent memory all of these things
- 2:35:33are pretty good and nicely mentioned
- 2:35:35here. This is for our project level
- 2:35:37right now if you want we can have at a
- 2:35:40global level as well. So see claw dot
- 2:35:42inside this we are having the claw.mppng
- 2:35:43empty settings, JSON everything because
- 2:35:45understand one thing uh just to let you
- 2:35:47know see if I create anything outside
- 2:35:50this folder claude might not be
- 2:35:52accessing it right it is it is saying
- 2:35:53that hey I will be accessing everything
- 2:35:55on dot claude right so that is something
- 2:35:57which we have to understand that this is
- 2:35:59how it works now reason why I'm teaching
- 2:36:01you this in much depth is because I want
- 2:36:03that you actually use it companies as I
- 2:36:05said before are spending or giving
- 2:36:08people 400 500 worth of dollars to
- 2:36:11actually work on cloud code and when to
- 2:36:13understand these things in depth you are
- 2:36:14able to save on that cost use it
- 2:36:16effectively and that is actually as a
- 2:36:18developer how even as a non
- 2:36:20non-developer you use these things in
- 2:36:22depth right so same thing which I have
- 2:36:24created here now again you will find
- 2:36:26lots of images like even if I just go on
- 2:36:28Google uh let me go here on Google one
- 2:36:31minute and just search dot dotclaude
- 2:36:35directory
- 2:36:37if I go on images like there are so many
- 2:36:39different different ones right so again
- 2:36:42all of them are telling but I think why
- 2:36:43why go anywhere else if we have the
- 2:36:45official documentation from where
- 2:36:47everything is working so that is how it
- 2:36:48works everyone uh in the project we can
- 2:36:50have claude MD MCPS and work tree
- 2:36:53everything outside and then in the
- 2:36:55dotcloud we can have the settings dojson
- 2:36:57okay so again it is just telling as well
- 2:36:59overrides global cloud setting JSON
- 2:37:01local settings CLI flags and manage
- 2:37:03setting override this then we are having
- 2:37:06permissions hooks status model
- 2:37:07environment everything and this is how
- 2:37:09it looks this example allows npm test
- 2:37:11and npm run commands without prompting
- 2:37:14blocks r - rf and runs prettier on the
- 2:37:17files after cloud edits or writes it.
- 2:37:19proceed this is exactly how you have to
- 2:37:22run this everyone this is exactly the
- 2:37:23file similarly cloud MD there is where
- 2:37:26they have given the best tips out there
- 2:37:28we will be discussing about cloud MD in
- 2:37:29depth it's a very very like the most
- 2:37:31important file actually and again then
- 2:37:33it is having some rules skills commands
- 2:37:37output styles like how should be output
- 2:37:38agents and agent memories as well right
- 2:37:40so again we will be covering about agent
- 2:37:42MCP in their specific in-depth se
- 2:37:44sections as well and similarly in the
- 2:37:46global one everyone we are having almost
- 2:37:48the similar files in the project I told
- 2:37:49you that how we are having project
- 2:37:51related things and everything themes are
- 2:37:53again at a cloud level in the uh let's
- 2:37:55say your terminal how the theme should
- 2:37:57look like settings key binding few more
- 2:37:59extra things which will be used across
- 2:38:01sessions so that is the whole idea but
- 2:38:03once you go inside a project that is
- 2:38:06where this project uh things override
- 2:38:09the global thing okay so that is the
- 2:38:11complete idea we want and now let's try
- 2:38:13to create this and then see the same so
- 2:38:15let's try to create the file one by one
- 2:38:17uh let's let's open terminal here.
- 2:38:20Clear out everything. I would just say
- 2:38:23uh make directory. Okay. And I would
- 2:38:26just say hyphen P. Let me delete this
- 2:38:28for the time being.
- 2:38:30Delete.
- 2:38:32And I can say dot claude. Uh or let me
- 2:38:35let me create it in a simple manner so
- 2:38:37all of you understand it. Dot claude.
- 2:38:39Now I can do cd do.claude
- 2:38:42and I can say make directory uh skills
- 2:38:46agents.
- 2:38:47Um then I think that should be more than
- 2:38:49enough. We can now see that skills and
- 2:38:51agents are created. There are few more
- 2:38:53files which I would like to create
- 2:38:54everyone. So touch dot claude
- 2:38:59uh sorry touch
- 2:39:02empty. So it should be all in caps.
- 2:39:03Claude MD then claude.lod
- 2:39:09then settings.json
- 2:39:12then settings dot.lo.json
- 2:39:15JSON and similarly we can have MCP.json.
- 2:39:19Okay. So I'm just creating all these
- 2:39:21files everyone. Now if you will see we
- 2:39:22have all these files and we are going to
- 2:39:23cover them one by one. That is the whole
- 2:39:25idea. Let's let's start a new chart as
- 2:39:26well. Uh let us start a new one. Great.
- 2:39:30Now uh whenever I am starting uh let's
- 2:39:33say sending anything to cloud it will be
- 2:39:34understanding these things. So let's try
- 2:39:36to see this everyone. Let's uh make sure
- 2:39:37that everything should be clear and what
- 2:39:40I will do is uh
- 2:39:42should be fine. I think I can keep all
- 2:39:44these things here only. No worries. And
- 2:39:46again I will be uh updating the
- 2:39:47questions empty with all the questions
- 2:39:49which you might get so you can see it
- 2:39:50afterwards. Now uh let's talk and see
- 2:39:52everyone one by one. So claude empty uh
- 2:39:56very very important. This is like the
- 2:39:57brain of your entire claude. Okay. The
- 2:40:00way it works is that it is like a
- 2:40:02briefing document before claude begins
- 2:40:03everything right. So if I go back and if
- 2:40:06you remember we created a very good uh
- 2:40:08claud. Yeah.
- 2:40:10So what happens everyone is that claude
- 2:40:12is having a system instruction tools MCP
- 2:40:14all these things that what all it has
- 2:40:15access to along with that uh when you
- 2:40:18create this claw empty right when you
- 2:40:21create this uh let us create the cycle
- 2:40:25claw empty this also goes alongside with
- 2:40:29everything right so again what happens
- 2:40:31claw empty and normally it is in caps
- 2:40:34now you must have seen many people
- 2:40:35sharing their claw emptyd and that is
- 2:40:37the whole idea that you make your claw
- 2:40:39ready right that's the whole
- 2:40:40understanding and ideally we can make it
- 2:40:42any longer so let me just try to make
- 2:40:44one thing and we are following the best
- 2:40:45practices here I will be covering claw
- 2:40:47in depth as well see project task
- 2:40:50manager about app what is this is a web
- 2:40:52page task management project structure
- 2:40:54coding standards behavior rules get
- 2:40:57convention so again I've just given it
- 2:40:58all the things if I show you from the
- 2:41:00official documentation as well everyone
- 2:41:02let's try to see this loaded into
- 2:41:04content at the start of every
- 2:41:05conversation so just like I said that
- 2:41:07hey in the it will be loaded project
- 2:41:09specific instruction that shape cla
- 2:41:11works in this repository put your
- 2:41:12conventions common commands and
- 2:41:14architecture context here so clude
- 2:41:16operates with the same assumption so if
- 2:41:18I'm using camel casing or anything it
- 2:41:20will also use the same if I want that
- 2:41:22hey my notes should be very much in
- 2:41:23formal language in a funny language that
- 2:41:25is where you kept it target under 200
- 2:41:27lines again I will be covering these
- 2:41:29things in a next part properly because
- 2:41:31this is very very important cla loads
- 2:41:33into every session if something only
- 2:41:34matters for specific task move it to a
- 2:41:36skill or part scope rule list the
- 2:41:38command you run the most run memory open
- 2:41:40and all these things and also works at
- 2:41:43dotclaw.mmp if you prefer to keep the
- 2:41:45project root clean so what it is saying
- 2:41:46is that I if you notice I have created
- 2:41:49this inside dotcloud folder and it is
- 2:41:52saying that hey if you want to make sure
- 2:41:53that everything of claude is inside a
- 2:41:55similar folder same folder it works here
- 2:41:57as well so in here it has created it
- 2:41:59outside so claw empty it has created
- 2:42:01this outside it is saying that hey this
- 2:42:03works and you will see again that how I
- 2:42:04follow the best approaches project
- 2:42:06convention command and stack and
- 2:42:08everything you can go to the full docs
- 2:42:09as well but we will see that in the next
- 2:42:11part and now everyone when you will ask
- 2:42:13it a particular task right so let me
- 2:42:15just show you one thing let me ask this
- 2:42:16question write a js function to filter
- 2:42:19the task and I'm starting a new chat pay
- 2:42:21attention
- 2:42:23this time what will happen everyone is
- 2:42:24that uh I will help you write a script
- 2:42:26let me first check the claw empty file
- 2:42:27to understand the project context now
- 2:42:29see how it is able to understand these
- 2:42:30things right and it has given us the
- 2:42:32complete file as well so I think I've
- 2:42:34given a write a function Uh let me let
- 2:42:37me ask it. I can customize just create a
- 2:42:42file for
- 2:42:44me right. So I can just ask it that hey
- 2:42:46just create a file for me and you will
- 2:42:48see that again how it will be trying to
- 2:42:49make sure that it follows all the
- 2:42:50convention camel casing and everything
- 2:42:52right see it is able to follow all these
- 2:42:54convention each and everything will be
- 2:42:55in depth that is the whole idea because
- 2:42:58it is having the context of my claw from
- 2:43:00the claw.md right [clears throat]
- 2:43:02now everyone what happens many time that
- 2:43:04we are testing out many right so if
- 2:43:06you're doing it in local that is where
- 2:43:08claw md comes into picture so almost the
- 2:43:13same thing if I show you uh where Is it
- 2:43:15present? Okay, I think they have not
- 2:43:16covered about this but let me tell you
- 2:43:18how it works. So claw.local.md
- 2:43:21everyone like whenever we apply this
- 2:43:23local MD that file is ignored when you
- 2:43:26share or upload your code somewhere. So
- 2:43:27just to give an example we normally use
- 2:43:30a service called GitHub or some version
- 2:43:33control system GitHub just like how you
- 2:43:36make changes to a Google sheet or a
- 2:43:37Google doc right? have those versions
- 2:43:39that hey I did the change I can showcase
- 2:43:42that as well to be very honest I can say
- 2:43:44docs do new and let me show you that so
- 2:43:48let's say I'm creating something just
- 2:43:49randomly I'm adding multiple things I am
- 2:43:52having this let's say this now I rename
- 2:43:55this
- 2:43:58important right now if you go inside
- 2:44:00this you will see that how it is having
- 2:44:02a version history so of course as of now
- 2:44:05there will be just one version uh empty
- 2:44:07file which was created by me. Then I did
- 2:44:09lots of changes. So all of these changes
- 2:44:11are here. Now I could of course name
- 2:44:13this version and everything. Similarly
- 2:44:15in code we make sure that we are keeping
- 2:44:17the same thing in a way or of course all
- 2:44:19of this is code only right? We can do
- 2:44:21this in word as well but we use
- 2:44:23something known as GitHub or normally
- 2:44:24any version control system. So as an
- 2:44:26example let's say if I show you this
- 2:44:27prime plus dash it is having all of
- 2:44:30these things. I can commit to this
- 2:44:32particular thing. I can share my code.
- 2:44:34when you do this sharing everyone this
- 2:44:37local.md doesn't get set up sorry it
- 2:44:40doesn't get uploaded so github can
- 2:44:42ignore local files in a way I can just
- 2:44:45add all my local things so for example
- 2:44:46local overrides not committed to git I
- 2:44:49can remove this part actually I am
- 2:44:51running this on windows 11 my python is
- 2:44:53this local API is this is in the
- 2:44:55environment personal preference is
- 2:44:56everything so that is where now it is
- 2:44:58everyone useful for local specific
- 2:45:01instruction so just as an example again
- 2:45:03if the code runs Smith on the local host
- 2:45:079,000 on your local right but on the web
- 2:45:11it runs on or on the real application it
- 2:45:13runs on 8,000 we can we can control it
- 2:45:15in this and that will kind of override
- 2:45:17when it comes to your local entity right
- 2:45:19so in a similar manner everyone
- 2:45:21settings.json JSON is there. So if I
- 2:45:22show you uh settings.json,
- 2:45:25I can paste this IP. I'm saying that hey
- 2:45:27you are allowed to run these commands
- 2:45:30but you are not allowed to run uh bash
- 2:45:33rm or anything. Right. So I will just
- 2:45:35copy this as well
- 2:45:37and add one more command.
- 2:45:42Yeah. So I will add just rm here. Okay.
- 2:45:46Now what is happening here everyone is
- 2:45:48that I have in a way now I hope all of
- 2:45:52you remember that how we also learn
- 2:45:53about different different modes of
- 2:45:54running it. The idea is pretty simple. I
- 2:45:57have kind of by understanding more in
- 2:45:59depth control that what commands it can
- 2:46:02run because at the end of the day after
- 2:46:04uh understanding with me it was running
- 2:46:06some commands only right so this is how
- 2:46:08settings.json JSON is created. If I show
- 2:46:10you here as well, see overrides global
- 2:46:12again global are all the fine view like
- 2:46:14the rules are exactly the same to create
- 2:46:16and enter just that global then local
- 2:46:18and of course at the top authorize. So
- 2:46:20permissions, hooks, we will learn about
- 2:46:22hooks, models, environment everything,
- 2:46:23right? Output child. So see here it is
- 2:46:25having each and everything. We will
- 2:46:27learn about the hooks but permissions it
- 2:46:28is allowed to run the test and run. But
- 2:46:31RM minus RF is not allowed. So RM minus
- 2:46:33RF means deleting recursively. If you
- 2:46:36run this command uh without any checks,
- 2:46:38your entire codebase project can get
- 2:46:40deleted as well. Okay. So now to test
- 2:46:42this everyone, let's do one thing. Uh
- 2:46:43let's let's do one quick thing. Let me
- 2:46:45open a new chat again. Let me add this
- 2:46:48run get add and get command initial
- 2:46:50setup.
- 2:46:53So it is unraveling and everything. I
- 2:46:54think it will fail because I've not
- 2:46:56connected it to a git repo but no
- 2:46:57worries. Uh it is saying cd users and
- 2:47:00get add. Uh I can say yes allow get in
- 2:47:02it and everything.
- 2:47:08So it is saying that hey done I
- 2:47:09initialize the same thing. So uh my is
- 2:47:12not get available. Uh okay so I think if
- 2:47:15I do ls la
- 2:47:18I think it has created that outside. No
- 2:47:20worries. So we will check that. No
- 2:47:21worries. Uh github repos github sync
- 2:47:24and it has okay I think yes it is
- 2:47:26already in my g folder. So that is why
- 2:47:27it is giving some issues but no problem.
- 2:47:29Let's try to do one thing now. Delete
- 2:47:31the folder.
- 2:47:34Uh which one is this? Util let's say
- 2:47:37okay
- 2:47:38utils recursively. Okay. Now when I do
- 2:47:42this everyone let's pay attention.
- 2:47:45So now again I've asked that hey can you
- 2:47:47run r minus rf command. See
- 2:47:51what it is saying. Pay attention. Very
- 2:47:53very important like this is how you
- 2:47:54actually become a pro. Permission to use
- 2:47:57bash with command this. Uh okay let me
- 2:48:00copy this. Maybe copy this and show you.
- 2:48:06Okay. Let me copy this as well.
- 2:48:10permission to use bash with command this
- 2:48:12is denied. So again earlier it was
- 2:48:15asking me all these things but now since
- 2:48:17I'm smart I am more professional I could
- 2:48:19give it these commands and it they these
- 2:48:20are very easy commands just tell what
- 2:48:22you want if you want that hey you should
- 2:48:24never touch this folder you should never
- 2:48:26uh let's say uh delete any file you
- 2:48:28should never do anything see you can
- 2:48:29just add it here so very very simple
- 2:48:32just maybe go to cloud and it will give
- 2:48:34you these files not a problem at all
- 2:48:35right so that is at a level everyone
- 2:48:38once you understand things in depth that
- 2:48:40is how it becomes important now again in
- 2:48:41a similar manner we can settings.local
- 2:48:43JSON where I could present any uh URL or
- 2:48:46anything. See in the local it is saying
- 2:48:48that git is allowed because we have
- 2:48:49added it right like it was able to run
- 2:48:51it. So now we are just kind of saying
- 2:48:53that hey environment variables are there
- 2:48:55and if you will see here as well see
- 2:48:57environments are present environment
- 2:48:59variables set in every session. Now if
- 2:49:01on my local I want to use my own open AI
- 2:49:03but on the cloud of course I will not be
- 2:49:05using it. So this is at the level of
- 2:49:06which you can control these things. So
- 2:49:08very very important I have actually gone
- 2:49:10through each and everything in the
- 2:49:11official documentation and then
- 2:49:12understood these things right you can
- 2:49:14send your model here as well output
- 2:49:15style everything I just want you to
- 2:49:17showcase that what all is possible okay
- 2:49:19in a similar sense everyone next is
- 2:49:20rules now rules are basically I will
- 2:49:23tell you like what is the benefit of
- 2:49:24rules and everything see if you could
- 2:49:26have wanted right since claw.md is the
- 2:49:30brain and ideally I would just have a
- 2:49:32folder icon
- 2:49:36ideally what is happening everyone is
- 2:49:38that uh you are also of course loading
- 2:49:41this dotcloud folder right so now you
- 2:49:44can say that hey man why don't we uh
- 2:49:46let's say have a single file only why
- 2:49:48are you asking us to create the
- 2:49:49structure well because claude has
- 2:49:50suggested us to create this okay and the
- 2:49:53whole benefit if you don't create this
- 2:49:55then your cla file will be a lot longer
- 2:49:57plus you see how nicely it is following
- 2:49:59some JSON structure as well and again
- 2:50:01you don't have to write this that's a
- 2:50:03benefit of pip coding you can just ask
- 2:50:04cloud only to create this for you go to
- 2:50:06chat gp cloud and it will create this
- 2:50:08for you. And the benefit is that we are
- 2:50:11able to now divide these files like my
- 2:50:13rules, all my different different
- 2:50:15things. Let's say my rules, uh rules, my
- 2:50:19agents,
- 2:50:21my style, all these things I could not
- 2:50:23define into folders so that my claud is
- 2:50:26better able to understand it. Ideally,
- 2:50:28if I would have wanted, I could make my
- 2:50:30cloud empty a lot bulky. But then that
- 2:50:32is where the problem will happen because
- 2:50:34it will try to load cloud. MD every time
- 2:50:37it will have lots of context. We have
- 2:50:38already kind of discussed that how with
- 2:50:40lots of context it kind of messed things
- 2:50:41up right. So that is why again I'm first
- 2:50:44showing you this is dot clot because
- 2:50:46cloud MD should be part of dotcloud not
- 2:50:48the other way around most people talk
- 2:50:49about cloud MD they write thousand lines
- 2:50:51slot MD and it is not able to work in
- 2:50:53anyways as a professional you need to
- 2:50:55understand that this is how these things
- 2:50:56get break now what I can do everyone I
- 2:50:58can just again go to my rules
- 2:51:01so let me create a new folder here rules
- 2:51:04let us say rules inside this folder I
- 2:51:06could create a new file uh which can be
- 2:51:08your code style MD Similarly, I could
- 2:51:12create new one more file testing emptyd.
- 2:51:16And now you can see that again how I'm
- 2:51:17just adding few things for people who
- 2:51:19are from non techch. Uh just understand
- 2:51:21that hey these are nothing but some
- 2:51:23rules for your copyriter or for your uh
- 2:51:25so again for people on nontech just
- 2:51:27always relate that you are asking
- 2:51:28someone to write a article. So what are
- 2:51:31the rules? How you have to test the
- 2:51:32article? How you have to make sure that
- 2:51:33you search everything. So in a way if
- 2:51:35you will see everyone
- 2:51:37do say I did it. If you will see code
- 2:51:40formatting and naming convention, camel
- 2:51:42case for all JavaScript variable, kebab
- 2:51:44case for CSS class names, snake case for
- 2:51:46Python. All function must have dock
- 2:51:48string or JS doc. Max line length 100
- 2:51:50characters. So if I now ask you everyone
- 2:51:52pay attention if I just open a new chat.
- 2:51:55Create a python file having a uh
- 2:51:59function to add two numbers. So very
- 2:52:02very simple file. I'm just asking I just
- 2:52:04want to show you like don't want to
- 2:52:05unnecessly make you uh again I know many
- 2:52:07people doing see it has just added this
- 2:52:10dock string earlier in the previous file
- 2:52:13it might not be present see no dock
- 2:52:15string here see no dock string here no
- 2:52:18do string nothing why so do string is
- 2:52:20actually this small uh where's the file
- 2:52:25uh let me say yes see dockstick is just
- 2:52:29this small line which tells that hey
- 2:52:31what you have to uh uh what this
- 2:52:33function does talk thing string like
- 2:52:34documentation string or overall thing
- 2:52:37since now I have added to my rules and
- 2:52:39it is also going in cloud
- 2:52:41the this file has this whereas the
- 2:52:43previous file everyone was not having
- 2:52:45any do right rather I can show you if I
- 2:52:48just ask you
- 2:52:50create number_f facts py again if I just
- 2:52:56ask it to do that uh since it is now
- 2:52:58getting those rules hopefully it will
- 2:52:59follow that convention
- 2:53:04So let's see read number fact it is
- 2:53:06reading the same vinating like doing all
- 2:53:09those things
- 2:53:11okay so it is saying that hey the file
- 2:53:12already exist now see it is basically
- 2:53:15understood that this is what I want to
- 2:53:16do and that is the level of benefit if
- 2:53:18you add these things up your current
- 2:53:20files also can get a lot better so if I
- 2:53:21say that hey file already exist let me
- 2:53:24update it to follow the project's coding
- 2:53:25standard by adding proper dock string
- 2:53:27from where it is getting the coding
- 2:53:29standard from my code style That is the
- 2:53:31whole idea. And now I could say yes.
- 2:53:33Nice. Very good. Everything is all good.
- 2:53:35And now it is asked before editing. I
- 2:53:36could make it edit automatically. But I
- 2:53:38love to uh like again have these things
- 2:53:40so I can show you these things as well.
- 2:53:41Right? Instead of directly doing when
- 2:53:43I'm coding normally I have this on
- 2:53:45always. Yes. So and of course I I
- 2:53:48because I'm aware I make sure that I
- 2:53:50define this settings.json
- 2:53:52where I am denying it to delete
- 2:53:54anything. Right. So that is the benefit
- 2:53:56of knowing these things in depth and
- 2:53:58that is how you are able to use claude
- 2:53:59at a very very high level. So yeah
- 2:54:01everyone I think this was one more way
- 2:54:02of doing this. Now if you will see like
- 2:54:05we can actually I can also create some
- 2:54:06file called security.md
- 2:54:11minute security
- 2:54:14I could make sure that I paste this as
- 2:54:16well security never violate this never
- 2:54:19hardcode credential API keys or password
- 2:54:20always use environment variables for
- 2:54:22secrets summarize all user input before
- 2:54:23using them never use the val in
- 2:54:25JavaScript always parameterize database
- 2:54:27queries no string concatenation so again
- 2:54:30all the security things I have done here
- 2:54:32if I ask it to Now go through my project
- 2:54:34it will correct all these things as well
- 2:54:35and that is a level of understanding and
- 2:54:37benefit you get when you understand
- 2:54:38these things in depth. Now your claw
- 2:54:40mdw1 is kind of broken as well in a very
- 2:54:42very good thing. So instead of a one
- 2:54:43child file you have three focused files
- 2:54:46you can update security tools without
- 2:54:47touching the code one again it will
- 2:54:49never grow up you can make sure that you
- 2:54:50can remove a file and everything. So
- 2:54:52that is a whole benefit which we get
- 2:54:53right now. Uh everyone agents and skills
- 2:54:57we have dedicated parts for that. So we
- 2:54:59will be covering them in that. But the
- 2:55:00idea is that we can create skills like
- 2:55:02let's say hey review my code. Hey you
- 2:55:04are an agent or everything but we will
- 2:55:06understand those in depth as well. I
- 2:55:07don't want to just cup on that and uh
- 2:55:10yeah I think that is all what we have to
- 2:55:11understand in dot claw directory. We
- 2:55:14have seen that how do claw directory
- 2:55:15exist. I have shown you that how it
- 2:55:17exists at a global and a project level.
- 2:55:19This link is very very important like I
- 2:55:21will just copy this link because you
- 2:55:24will see so many people sharing these
- 2:55:26things up but claude officially is
- 2:55:28having this thing right in front of you
- 2:55:30right so I've just added this link since
- 2:55:32you will be downloading this thing up
- 2:55:33right everyone so that is the whole idea
- 2:55:35now let's go back and uh let's go to
- 2:55:38clot directory let's see if I think I've
- 2:55:40covered most of the things it would be
- 2:55:42just like few of the things which are
- 2:55:43explained in depth here uh but yeah I
- 2:55:46think more you use it more it will be
- 2:55:48helpful and And I will be covering these
- 2:55:49things in lots of depth again. Right?
- 2:55:51Just make sure that you remember this
- 2:55:53that we have a global one. We have a
- 2:55:56authorize one which normally of course I
- 2:55:58cannot create because I'm not having an
- 2:56:00authorize cloud setup. Right? If I show
- 2:56:02you about authorize cla pricing
- 2:56:07uh teams and authorize. So when you when
- 2:56:09you go through authorize that is where
- 2:56:11you get admin set user limits. Somewhere
- 2:56:13they must have said rolebased access.
- 2:56:16So somewhere they must have say that hey
- 2:56:18you can control these things. So that is
- 2:56:19the whole idea. Okay for you global and
- 2:56:21project is the main thing. If there is
- 2:56:23something which you need in every
- 2:56:24project please add that in global. If
- 2:56:26there is something which you need
- 2:56:27specific to project please add them in
- 2:56:29project. Once you feel that hey this has
- 2:56:31been now created you can share that to
- 2:56:32your authoriz as well that hey please
- 2:56:34have that this as an authorized level so
- 2:56:35that your new intern your new team
- 2:56:38member your new joiny his code is also
- 2:56:40in line with authorized. Now many
- 2:56:42authorizers still not aware of this
- 2:56:43thing. Understand this right? So people
- 2:56:45are still sharing these uh dot uh let's
- 2:56:47say clawed folders manually or via some
- 2:56:50git command but they are not aware that
- 2:56:51they can have this via arthr. So that is
- 2:56:53the benefit which we get by learning
- 2:56:55things in depth everyone. So now with
- 2:56:56all of these things clear everyone we
- 2:56:58have now understood a lots of things in
- 2:57:00this part starting all the way back if I
- 2:57:03show you like where we started. Yeah
- 2:57:05starting all the way back from our slash
- 2:57:06commands in depth we have covered each
- 2:57:08and everything. You have a very good uh
- 2:57:10file structure as well here like for
- 2:57:11your website. Then we learned about the
- 2:57:13permission modes and everything everyone
- 2:57:14again in depth I showed you that how
- 2:57:16auto mode is also there not in my plan
- 2:57:18unfortunately in API it is there but you
- 2:57:20can of course try it out in your company
- 2:57:22or otherwise then we discussed about
- 2:57:24layer of claw memory so why I'm saying
- 2:57:26memory because your brain claw is
- 2:57:28remembering those things right then we
- 2:57:30learn about this clot folder in it and I
- 2:57:32think as I showed you this is the best
- 2:57:34best uh like rules and everything forget
- 2:57:38what others are telling uh listen to me
- 2:57:40because I'm saying you from the official
- 2:57:41documentation I have read through the
- 2:57:42official documentation and then just
- 2:57:44create those things up right now in the
- 2:57:46next part everyone we are going to work
- 2:57:48and understand about claw empty because
- 2:57:50this one file is very very important
- 2:57:52though we have still discussed about the
- 2:57:53best practices and everything I want to
- 2:57:55still make sure because you will find
- 2:57:57this claw MD being shared you will find
- 2:57:59this cloud MD uh being the major kind of
- 2:58:02a thing which define how your project
- 2:58:04will go and of course uh few things we
- 2:58:07can divide it up as I've shown you and
- 2:58:09you can see that what all needs to be in
- 2:58:10your cloud MD Otherwise and what you
- 2:58:12need to divide. So rules we have divided
- 2:58:13just like in the best convention and
- 2:58:15best following. So that is the whole
- 2:58:17benefit. But let's now meet up in the
- 2:58:18next uh part quickly and there we will
- 2:58:20master claw.md in depth and always
- 2:58:23remember this particular thing that how
- 2:58:25what you have to do global and project
- 2:58:26because that is going to be very very
- 2:58:27helpful. So now let's jump on to the
- 2:58:29cloud MD.
- 2:58:31So good everyone. Now let's move forward
- 2:58:32and try to master this cloud MD file
- 2:58:35both from a global as well as the local
- 2:58:37perspective. The idea is pretty simple.
- 2:58:38We have already seen that how exactly
- 2:58:40this claw.md file is and uh in this part
- 2:58:44the anatomy of claw.md we are going to
- 2:58:46understand what exactly is let's say
- 2:58:49cloud md and why it matters then any
- 2:58:51other single flight how claude.md or
- 2:58:53claude rather actually reads it okay so
- 2:58:55how it actually gets read in the cloud
- 2:58:56ecosystem uh where to put it uh what not
- 2:58:59to put in it and what exactly to put in
- 2:59:01the same as well and of course how to
- 2:59:03write one from scratch in a best
- 2:59:05suggested manners and real world
- 2:59:07approach on why most people claw.md
- 2:59:09works against them. Okay, because they
- 2:59:11are not following the best practice. So
- 2:59:13now everyone uh let's jump onto that and
- 2:59:15what I will have done is I will be
- 2:59:16creating a new folder where we will be
- 2:59:18trying to create multiple cloud MDs etc.
- 2:59:21Now uh most people okay either don't
- 2:59:23have this cloudMP file or they have it
- 2:59:25completely wrong. Right? And the reason
- 2:59:27it matters so much is very very simple.
- 2:59:29Uh cloud code start every session with
- 2:59:31zero knowledge. So every single time it
- 2:59:33doesn't remember what you built
- 2:59:34yesterday. It doesn't remember the
- 2:59:36naming convention that you use or which
- 2:59:38your project is using. Every session is
- 2:59:40just a blank state. Claw.md is how you
- 2:59:42change that. It is the briefing document
- 2:59:44claw reads before touching even a single
- 2:59:46file in your project. If you get it
- 2:59:48right, uh every session will feel like
- 2:59:50that you are working with someone who
- 2:59:51has been in your team for months. But if
- 2:59:54you get it wrong, okay, or you don't
- 2:59:55have it at all and then you're going to
- 2:59:57spend your first 10 minutes of every
- 2:59:59session reexplaining your complete
- 3:00:00project from scratch. So in this uh in
- 3:00:02this particular part everyone now we I'm
- 3:00:03going to show you exactly how to write
- 3:00:05one and of course how to share the
- 3:00:06research and how I personally write mine
- 3:00:08as well. So with that let's get started
- 3:00:10and now let's try to understand and see
- 3:00:12the problem everyone. So this is the
- 3:00:14problem versus the solution. Very nice
- 3:00:16infographic. If you will notice here
- 3:00:19without uh this let's say in a new
- 3:00:21session without cloud. MD your cloud is
- 3:00:24confused right? it is not able to again
- 3:00:26read through all these files and again
- 3:00:27in a bigger project which we will be
- 3:00:29doing in a bit there are lots of things
- 3:00:30so again not snake case no types
- 3:00:32guessing wrong library but when the claw
- 3:00:36emptyd is present everyone again it's a
- 3:00:37clean new state but clot md is read
- 3:00:40first and once it is read then of course
- 3:00:42after that there is a correct output so
- 3:00:44no context which means it has to guess
- 3:00:46if there is a context then it has to
- 3:00:48basically not guess and write some
- 3:00:50things properly same model same prompt
- 3:00:52and different results so that is the
- 3:00:54whole is and these instructions they
- 3:00:56remove guesswork which becomes very
- 3:00:57important when you are making a real
- 3:00:59project. So we are mastering plot code
- 3:01:00for real here right. So that is
- 3:01:02something which we need to understand
- 3:01:03and here is actually uh something and I
- 3:01:05would have a quick uh one minute let me
- 3:01:08get a very very good link which no one
- 3:01:10talks about and I would like to show you
- 3:01:12that. So great everyone
- 3:01:15uh just let me go to the yeah
- 3:01:19great how cloud works extend.
- 3:01:24So there is a uh yeah use cloud port
- 3:01:26store exceptions in web. Yeah. So this
- 3:01:27is actually where the official
- 3:01:29documentation of the claw.md like all
- 3:01:31the best things right again people are
- 3:01:33just refacing them or maybe I'm not sure
- 3:01:36why how they creating it but there is a
- 3:01:37very important thing as well given and
- 3:01:39this is something which I want that you
- 3:01:40understand claude is actually having
- 3:01:43this instructions as well so let me
- 3:01:45paste it out these are the instruction
- 3:01:47which claude is having so what happens
- 3:01:49everyone is that when you have a cloud
- 3:01:51file I think we have already discussed
- 3:01:52that how this is how it gets loaded
- 3:01:54right so system again this is having
- 3:01:55some system 19k kind of tokens then your
- 3:01:58cloud MD is there then your history and
- 3:02:00again the remaining things so we have
- 3:02:01seen the same in context right when I
- 3:02:03show you the / context thing this is
- 3:02:05what all is having here now you can push
- 3:02:07in MCP tools skills etc here but your
- 3:02:10claude MD plays a very very important
- 3:02:11role and most people do a very very bad
- 3:02:13mistake here which we want to avoid and
- 3:02:15for that we need to understand in depth
- 3:02:17that how claude actually uses this thing
- 3:02:20in the claude official overall document
- 3:02:23uh sorry overall let's say instructions
- 3:02:24everyone there is a line important This
- 3:02:26context may or may not be relevant to
- 3:02:28your task. You should not respond to
- 3:02:30this context unless it is highly
- 3:02:32relevant. What does this single line
- 3:02:35suggest and this is actually been
- 3:02:36researched and that is why I'm sharing
- 3:02:38this very very awesome link everyone
- 3:02:40from human layer where you will see that
- 3:02:42how LLMs are mostly state layers like
- 3:02:44they have they have explained the same
- 3:02:45very very nicely to be ready on the
- 3:02:46slide and in this only they have talked
- 3:02:48about that how when lots of instructions
- 3:02:50are there it kind of gets reduced. So I
- 3:02:52have actually gone through the same and
- 3:02:54then I have gone and understood that
- 3:02:56okay what are the best ways as well
- 3:02:57right so in here only everyone if we
- 3:03:00search for uh system reminder let me
- 3:03:02just do yeah
- 3:03:05see claw code injects the following
- 3:03:06system reminder with your claw.m file in
- 3:03:08the user message now what does this line
- 3:03:11signifies and that is very very
- 3:03:12important to understand claude MD it
- 3:03:15doesn't get any free pass or it doesn't
- 3:03:17have authority over claude just because
- 3:03:19it exists it should actually be having
- 3:03:21some useful information. Most people I
- 3:03:23see that they are creating it without
- 3:03:25any thought. They are just following any
- 3:03:28approach. Okay? Or they are asking AI to
- 3:03:29create it. And that is where again it
- 3:03:32can work against your system as well. So
- 3:03:34something which is very very important
- 3:03:35which nobody touch upon but as a pro you
- 3:03:39should know this that your cloud MD
- 3:03:41everyone uh it should be having relevant
- 3:03:44instruction but at the same time if your
- 3:03:46cla.md is having lots of instruction
- 3:03:48that aren't uh like that are not
- 3:03:49universally relative relevant to the
- 3:03:51single task or to your project then
- 3:03:52claude will also start skipping that. So
- 3:03:54that is the whole idea everyone and
- 3:03:56based on all the research and everything
- 3:03:58which has been done here it is normally
- 3:04:01suggestive that you don't unnecessarily
- 3:04:03bloat your claw.md file and where it
- 3:04:05comes from if I just show you again
- 3:04:06because understanding these things in
- 3:04:08depth are very very important see uh I
- 3:04:10think it is written somewhere here again
- 3:04:12I actually read through the same yeah
- 3:04:15frontier thinking lms can follow 150 to
- 3:04:17200 instruction with reasonable
- 3:04:19consistency so normally claude is around
- 3:04:22having 50 inbuilt instruction so in the
- 3:04:24system prompt everyone and again I know
- 3:04:25that most people start by just writing
- 3:04:27claude.mmpt I just want to tell you that
- 3:04:30how it actually has an effect so that
- 3:04:32thing will be very very important now
- 3:04:34out of these 50 to 70 instructions
- 3:04:37claude normally presents right so you
- 3:04:39have a total space of 100 to 120 150
- 3:04:42more total across your cloud MD rules
- 3:04:45security all those files right and if
- 3:04:48you unnecessarily increase the
- 3:04:50instructions if you try to bloat your
- 3:04:52cloud MD with let's say 78 800 lines or
- 3:04:54paste each and everything in there then
- 3:04:56it will perform against you and since
- 3:04:59again now no one is writing code I feel
- 3:05:02that just like how we get good over time
- 3:05:04with code understanding stack overflow
- 3:05:06and stuff this level of in-depth
- 3:05:07knowledge is required so small model get
- 3:05:09much worse much more quickly lm bias
- 3:05:12towards instruction that are peripherals
- 3:05:13of the prompt so I will come to that and
- 3:05:15as instruction count increases
- 3:05:16instructions following quality decreases
- 3:05:18okay so this one point is very very
- 3:05:20important everyone and this now takes us
- 3:05:22to the point In the second diagram which
- 3:05:24I have created, claw.m MD what belongs
- 3:05:26versus what doesn't. So if you will see
- 3:05:28everyone relevance should be greater
- 3:05:30than length clarity should be greater
- 3:05:31than quantity. So what belongs overview
- 3:05:34commands naming folders right your rules
- 3:05:38verify how to verify the project and any
- 3:05:40agent rocks etc. Full documentation full
- 3:05:43API documentation I've seen people
- 3:05:45getting not doesn't belong here style
- 3:05:46rules code terms one-off task hook logic
- 3:05:50irrelevant information is not belonging
- 3:05:52in here. So 60 relevant lines everyone
- 3:05:55is greater than 400 irrelevant or
- 3:05:57unnecessary lines. So that is the whole
- 3:06:00understanding which has been proven by
- 3:06:02research right. So that is why we are
- 3:06:03taking it. Now let's try to create one
- 3:06:05everyone. So what I will do I will just
- 3:06:07go back and inside this I will just
- 3:06:10create some claude
- 3:06:12MD and I could just write first here so
- 3:06:15that you get an idea right and see your
- 3:06:18claw. MD everyone will be very first
- 3:06:19having the uh I think I should just do
- 3:06:22one thing rename it let me have MD
- 3:06:26towards the end okay so that it is able
- 3:06:28to project job application tracker so it
- 3:06:31should be having the project overview
- 3:06:32that is the very very important thing I
- 3:06:34think I created a diagram for this as
- 3:06:35well
- 3:06:37uh so I've discussed all the element
- 3:06:39this I will quickly explain great so see
- 3:06:41the very first thing everyone is project
- 3:06:43job application tracker now since over
- 3:06:46time I know that claw.md going to play a
- 3:06:48very very huge role. Uh it is very
- 3:06:50important that we understand it from the
- 3:06:51documentation as well and I know that
- 3:06:52it's going a lot deep but again once you
- 3:06:54understand from here I think you are set
- 3:06:56for life right. So in that case everyone
- 3:06:58you will see that again cloud.mp files
- 3:07:00who writes it to what it contains scope
- 3:07:02and all these things and there is some
- 3:07:04very nice thing mentioned here. So again
- 3:07:06just few things where when to add
- 3:07:07clot.mpp makes the same mistake second
- 3:07:09time a code review catches something
- 3:07:11clot should have known about the code
- 3:07:12base all these things which I have
- 3:07:13already talked you about. Then uh this
- 3:07:15is all about the different different uh
- 3:07:18levels. So if I remember I told you that
- 3:07:20how it is at an organization level. So
- 3:07:22where you have to put it. Then project
- 3:07:23instruction dot cloud MD or dot inside
- 3:07:26this clot folder which we have created
- 3:07:28this one. Then we have the local one
- 3:07:30everyone. So user instructions and then
- 3:07:32the local instructions. So this
- 3:07:34hierarchy is also very very important.
- 3:07:36Okay that is very very important that
- 3:07:37where exactly are you putting it? Of
- 3:07:39course dot local is having the highest
- 3:07:41priority. then your user instruction
- 3:07:43then project and then at the end of the
- 3:07:44day the global one and then the
- 3:07:46authorizer. Okay. So if we just move
- 3:07:48forward there is one more thing which I
- 3:07:50want to show you and I would highly
- 3:07:51suggest that please go and read through
- 3:07:52it. Okay.
- 3:07:54Yeah I think see at the retrieve me for
- 3:07:57project. So you can mention your other
- 3:07:58files here as well and you can also make
- 3:08:02sure just a second like uh load from
- 3:08:05additional one minute let me just check
- 3:08:07that how you can ignore some of the
- 3:08:09things as well. So user levels let me
- 3:08:12find it one second. So was able to find
- 3:08:13it even like again uh very much hidden
- 3:08:16in the documentation and since I've read
- 3:08:17lots of them like that is where uh from
- 3:08:20multiple sources but yes block level
- 3:08:22HTML commands uh like maintain plotted
- 3:08:24empty files are stripped before the
- 3:08:26content is injected into cla's context.
- 3:08:28Okay so just to let you know if you want
- 3:08:30that hey something should be there which
- 3:08:32should not be uh let's say taken by
- 3:08:35claude then you can add something like
- 3:08:37this as well. So this I'm just telling
- 3:08:39you because many people needs to add
- 3:08:41these things. Now when you are added
- 3:08:42this thing, this will not be taken into
- 3:08:44the cloud's context. Okay. So human note
- 3:08:47right we can just mention some things
- 3:08:48here. Now why this becomes important?
- 3:08:50Because over time I feel that either
- 3:08:52with cloud or with other uh let's say
- 3:08:54tools we all will be doing something
- 3:08:55like this only right where we will be
- 3:08:57using this level of uh let's say files
- 3:09:00to work on our project rather than
- 3:09:02actually sharing knowledge or something
- 3:09:03right. So that is why these human note
- 3:09:06are very very important and this is
- 3:09:07something which can travel across teams
- 3:09:09as well. Right? So in a company setting
- 3:09:10this becomes very very important. Now
- 3:09:12one thing more which I would like to
- 3:09:14show you everyone that uh how or what
- 3:09:16exactly gets loaded because that is also
- 3:09:18very very important. So if you will see
- 3:09:21cloud code reads cloud MD files by
- 3:09:23walking up the directory tree from your
- 3:09:24current working directory checking each
- 3:09:26directory along the way for cloud.MD and
- 3:09:28cloud locals. This means if you run
- 3:09:30cloud in fuar folder, it loads
- 3:09:32instructions from fuar then cloud.md and
- 3:09:35any claw.local file alongside them. So
- 3:09:37that is very very important that it
- 3:09:38loaded the same in context and it tries
- 3:09:40to add right in the context which is
- 3:09:42getting loaded. And similarly if you
- 3:09:44will see how it works the first 200
- 3:09:46lines of memory md. So this thing
- 3:09:50becomes very important. Now the reason
- 3:09:51I'm saying is that when you work in a
- 3:09:53company again there can be multiple
- 3:09:54things which you might need. Now going
- 3:09:56back everyone let's see what all we
- 3:09:58would be adding. So project job
- 3:09:59application tracker this is like the
- 3:10:00project understanding then I could check
- 3:10:03and write the key commands. So if you
- 3:10:05will see essential commands this is like
- 3:10:06one of the highest value things you can
- 3:10:08add because when cloud code is working
- 3:10:10it often used to verify by running
- 3:10:11command right and we are giving this
- 3:10:13without the same it will be guessing and
- 3:10:16uh as a real developer or as a person
- 3:10:18who is creating these things even if
- 3:10:19you're not aware again for people who
- 3:10:21are from nonchi as well to write these
- 3:10:23things up but make sure that you provide
- 3:10:25this up right ideally I would copy the
- 3:10:27page which I'm giving you the official
- 3:10:28documentation and the human layer one
- 3:10:31and then ask any to write the file for
- 3:10:33me And normally even entropic suggests
- 3:10:35that please include the bash commands,
- 3:10:37code style and workflow rules that gives
- 3:10:40claude a overall persistent context
- 3:10:42right so that it is able to run these
- 3:10:44commands. So that is very very
- 3:10:45important. Then everyone we can have the
- 3:10:47naming conventions. Now of course we can
- 3:10:48have it outside as well. But first let
- 3:10:50me show you in terms of a single plot
- 3:10:52file. So components function and you can
- 3:10:54see that how uh clean they are. I'm not
- 3:10:57unnecessarily adding any English words
- 3:10:58and stuff. Then I can tell that okay
- 3:11:00what is going to be the project
- 3:11:01structure. So if I just show you this is
- 3:11:03your project structure everyone you can
- 3:11:05of course refer this file afterwards you
- 3:11:07will be getting the same then very very
- 3:11:09highly suggested that you also enter the
- 3:11:11testing way as well right that how it
- 3:11:13will be done and how it will be tested
- 3:11:15from enthropics internal teams always
- 3:11:17run test right after implementation and
- 3:11:20include that how to do that so enthropic
- 3:11:22again is suggesting these best uh things
- 3:11:24then some hard rules and let's say the
- 3:11:27guardrails never commit directly to main
- 3:11:30never hardcore credentials Now these are
- 3:11:32also in the auto mode. If you remember
- 3:11:34we discussed the same. Always handle
- 3:11:36error explicitly. No silent failures.
- 3:11:37Prefer explicit over clever. Readable
- 3:11:39code beats compact mode. Okay. So that
- 3:11:40is something which I have added. And now
- 3:11:43I can check the verification as well. So
- 3:11:44pay attention. After claw code changes
- 3:11:47run npm run type check and npm test.
- 3:11:49After UI changes take a screenshot and
- 3:11:51compare it to requirements. So again see
- 3:11:53how nicely each and everything is kind
- 3:11:54of being done. After database changes
- 3:11:56verify with the test query. When
- 3:11:57consented ask user rather than assume.
- 3:11:59So again I have now made sure that all
- 3:12:02these things right which I talked about
- 3:12:03belongs overview commands naming folder
- 3:12:06rules verify agents we will discuss like
- 3:12:08when we will be working on agents as
- 3:12:10well these are the majorly the things
- 3:12:13which uh belongs here now let's talk
- 3:12:15about what doesn't belong although I
- 3:12:17have added the diagram as well okay
- 3:12:20don't let's say don't
- 3:12:24add right something [snorts] which I've
- 3:12:26seen a lot of people do entire API
- 3:12:28documentation so what they do is they
- 3:12:30add their entire API documentation never
- 3:12:32please add that then let's say what we
- 3:12:35have to avoid any outdated instructions
- 3:12:37so outdated uh code snippets right
- 3:12:40rather please don't add code snippets
- 3:12:42just tell that how it has to run and
- 3:12:43everything and you should never also add
- 3:12:45task related or task specific
- 3:12:49instructions it is created for the
- 3:12:51projects not for your task you can just
- 3:12:53tell about your task in let's say the
- 3:12:55chat only because the idea is that many
- 3:12:58times claud tries is to update your
- 3:12:59cloud MD as well. So if you try to make
- 3:13:02it for a particular task that is how it
- 3:13:04will get there right and then everyone a
- 3:13:08little technical but I will still add it
- 3:13:10uh hooks related stuff or instructions.
- 3:13:14Now what are hooks? I will be covering
- 3:13:16them in the future modules. But the idea
- 3:13:18is that if you want something to
- 3:13:20obviously and always run, right? Ideally
- 3:13:22to be very honest if you want that this
- 3:13:24verification let's say just as this one
- 3:13:26though I have added here because it's a
- 3:13:28smaller project but if I want that it
- 3:13:30should always and always run without
- 3:13:32fail then there are something known as
- 3:13:34hooks which will always make sure that
- 3:13:35it runs because in uh your claw MD 70
- 3:13:4080% time it tries to follow the
- 3:13:42instructions and it can miss out on the
- 3:13:44instruction as well right so that is why
- 3:13:46if something is non-negotiable to run
- 3:13:48then there are better ways to handle the
- 3:13:50same in clot code uh then running it in
- 3:13:53cloud MD. So that is the whole case
- 3:13:54everyone and how it works. And now what
- 3:13:57we can do everyone let me do one thing.
- 3:13:58Let me uh
- 3:14:01just open a new window first maybe new
- 3:14:04window.
- 3:14:06Let me get this up somewhere. Can I get
- 3:14:08it? Yeah.
- 3:14:11Let me try to open the folder. Right. So
- 3:14:14let me say desktop. Let's do desktop
- 3:14:17then cloud go.
- 3:14:20Uh where exactly were we? plot code for
- 3:14:21all. No, I think there
- 3:14:24so we have created this folder
- 3:14:27plot code, right? Let me see the
- 3:14:29directory as well quickly.
- 3:14:31It is in the GitHub rep totally makes
- 3:14:33sense. I have added it in the GitHub
- 3:14:35sync. So, GitHub
- 3:14:38GitHub sync clot code and finally cl.
- 3:14:42So, this is where everyone I have my
- 3:14:43clot dot uh first right now you can see
- 3:14:46that how it is also getting ignored and
- 3:14:48I could just stop this. I could just
- 3:14:50have this here. And now I could ask my
- 3:14:53clot. So if we will see pyu, right?
- 3:14:57Okay, this is not cloud. My bad. So just
- 3:14:59call for that. This is the cloud uh code
- 3:15:02everyone. Right. So I would just first
- 3:15:04make sure that the model is hypo. And
- 3:15:08now I can just ask it, right? Or rather
- 3:15:10let me first select opus quickly.
- 3:15:14So let me say model.
- 3:15:16The way I do it, let me do it like that.
- 3:15:18Okay. And I will ask that he do the plan
- 3:15:23and we can just select the effort to be
- 3:15:25medium. Okay.
- 3:15:27Please tell please tell how
- 3:15:32uh please create a plan
- 3:15:37how should I go about
- 3:15:40my project. Okay. So I will just do some
- 3:15:43uh reverse engineering as well here for
- 3:15:45the timing. I'm just asking it that hey
- 3:15:46please tell how should I go about my
- 3:15:48project. I really hope I have some
- 3:15:49tokens and limit because I don't want to
- 3:15:52my this to go uh with opus but no
- 3:15:55worries. Let's try to do this. Now it is
- 3:15:56asking me for a bash command. Let me say
- 3:15:59yes, you can run it. Uh the idea is
- 3:16:01pretty simple. It will try to run. Okay,
- 3:16:02I think I have missed out one thing.
- 3:16:04Extremely sorry. We should have this as
- 3:16:08plot. Right. [clears throat]
- 3:16:10So let me copy this everyone and paste
- 3:16:13it and let me say hey we have got a
- 3:16:16plot.
- 3:16:18of course like it will try to read
- 3:16:19claw.m right not uh any other thing so
- 3:16:22let me start a new chat close this one
- 3:16:24let's check for the model model is opus
- 3:16:27and I could just select this or let's
- 3:16:30try to select it with uh your
- 3:16:34sonnet because I feel that sonnet also
- 3:16:36will be pretty good in this it's a
- 3:16:38simple project we will use opus towards
- 3:16:39the end let's use a high effort and
- 3:16:42let's la this so this time everyone it
- 3:16:45will be having the claw md Right? Uh it
- 3:16:47will be able to understand the project
- 3:16:49etc. Of course, right now it is all
- 3:16:51empty. We have just told that what all
- 3:16:52we want these things will be hidden.
- 3:16:54That is how it works. Uh it is saying
- 3:16:56that uh let us read. Okay. So no
- 3:16:58worries. Let it read this thing. And
- 3:17:00yeah, we can just give yes. Actually we
- 3:17:02can just say yes. As I said 93% of the
- 3:17:04users anyway say yes all the time. So in
- 3:17:07the plan mode just I want to see what
- 3:17:09all it is doing. Right. So I think it is
- 3:17:11just listing all the things for me.
- 3:17:14It is reading the claude code claude MD
- 3:17:17and get log one line. Okay, no worries.
- 3:17:19So again few of the commands it is
- 3:17:21trying to understand the project
- 3:17:22structure understand if it is connected
- 3:17:24to any g or stuff. So that's why it is
- 3:17:26doing that get status and all these
- 3:17:27things. Okay. So let it work
- 3:17:32and of course as of now we have reduced
- 3:17:33other files because I want to focus on
- 3:17:35claw.mpd empty right so let me say this
- 3:17:38yes a lot of fine
- 3:17:41uh okay no get ignore found it should be
- 3:17:44fine again it is just trying to first
- 3:17:46see because we have written a very very
- 3:17:48in-depth things right it is trying to
- 3:17:50find that if there is a get thing
- 3:17:51available right now I think it has moved
- 3:17:53forward where it is understanding that
- 3:17:55what all I have already with respect to
- 3:17:58the folder structure so what we do in a
- 3:18:00simple I like with a simply seeing it of
- 3:18:03course it is taking time by
- 3:18:04understanding the structure Right. So
- 3:18:05all the input output is going here. So
- 3:18:07it is now see it is saying the project
- 3:18:09is a fresh start. Let me design a
- 3:18:11comprehensive plan and that is exactly
- 3:18:14how it is able to understand by running
- 3:18:16it multiple times understanding the get
- 3:18:18commit or if something is there
- 3:18:19something has been deleted. Now it is
- 3:18:21having all these things as well
- 3:18:22everyone. So see just all file in the
- 3:18:25project directory claw first. So it is
- 3:18:27reading all the files but majorly
- 3:18:29claw.md would have already been needed.
- 3:18:31Claw first it is reading because it is
- 3:18:33present in the directory. uh I could
- 3:18:35have again have it in some folder and
- 3:18:37then have some commands that hey don't
- 3:18:38ever go through these things which we
- 3:18:40know which we have kind of seen but let
- 3:18:42it read for the time being and let's see
- 3:18:44what it works and then again we have
- 3:18:46multiple things to uh work in future as
- 3:18:48well but first let it create and then
- 3:18:50let me quickly wait so that it gives up
- 3:18:52with the plan so seem like it is still
- 3:18:54working everyone like of course uh it
- 3:18:56stills on it with a high plan so see it
- 3:18:58has just given us the plan uh plan job
- 3:19:01application tracker implementation road
- 3:19:02map project currently contains only
- 3:19:05claw.md no package JSON no dependency
- 3:19:07project initialization files to create
- 3:19:10okay so this is of course very very
- 3:19:11helpful configure vi test with jsdom
- 3:19:13update additional tabs to install
- 3:19:15database schema okay superbase it is
- 3:19:17selecting the same typescript types
- 3:19:19utilities react component API routes
- 3:19:22authentication components so again to be
- 3:19:24very honest even I have just written a
- 3:19:26simple command I don't know about
- 3:19:27anything how it will work not a JS guy
- 3:19:29but still it is able to provide me with
- 3:19:31all these things I would just say a few
- 3:19:32more things so I will say said please
- 3:19:35for the time being keep everything
- 3:19:40local
- 3:19:41with respect to database
- 3:19:44etc. So I can run the save. Okay. So
- 3:19:47pretty simple approach. Nothing out of
- 3:19:48the world and I could just ask it and I
- 3:19:52will try that if I can change the model
- 3:19:54in between because I think it will be
- 3:19:57like taking a lots of things. So I've
- 3:19:58switched it to haiku. I think in the
- 3:20:00next one it will start taking that. Fly.
- 3:20:03Let's see that if I open claude how much
- 3:20:06is the usage when we are using because
- 3:20:08uh okay. So okay I think they have done
- 3:20:10some new approaches. Plan a date trip,
- 3:20:13find new recipes, write a great email. I
- 3:20:16think this was anywhere there. This this
- 3:20:17is something which I would love to test
- 3:20:19out but no worries. Let's go to the
- 3:20:22settings
- 3:20:23usage.
- 3:20:25I think it's fine. 27% till Friday we
- 3:20:28have lots of things. So should be fine.
- 3:20:30Not a problem.
- 3:20:32So again uh I will understand the plan
- 3:20:34to remove superbase and use a fully
- 3:20:35local database instead. It is like
- 3:20:36trying to do all these things. And for
- 3:20:39the timing since my machine is not
- 3:20:40having anything related to JavaScript
- 3:20:42etc. it will try to work on this right.
- 3:20:45So see uh
- 3:20:48seems like it has done okay and I can
- 3:20:50say yes and auto accept. I can say this
- 3:20:52yes and auto accept. Let me stop this
- 3:20:54for the timing. Let me just say uh model
- 3:20:59switch the model to haiku and say that
- 3:21:02uh just kidding please continue new with
- 3:21:08the plan okay so I'm just done the whole
- 3:21:10uh let's say thinking with solid with
- 3:21:12high level and uh then it is asking
- 3:21:15allow this bash command okay
- 3:21:19now of course it is using other thing
- 3:21:21here let me try with skip validation
- 3:21:23flag all these things.
- 3:21:26Uh okay, I think I should have continued
- 3:21:28with sonnet but no worries. It will be
- 3:21:29asking me for all these commands now
- 3:21:32because it isn't added automatically.
- 3:21:34Let me say okay seems like it has added
- 3:21:37some package.json. Let me say yes. Okay,
- 3:21:40there was option to do everything but no
- 3:21:42worries.
- 3:21:44Thought yes again it is trying to
- 3:21:46install so many things which I have no
- 3:21:48idea. I'm just making sure that it works
- 3:21:50like again I have worked with uh
- 3:21:52JavaScript but still it is like not the
- 3:21:54bestest of my language and the reason I
- 3:21:56have selected this is pretty simple. I
- 3:21:58want that yes uh people are able to
- 3:21:59understand the same. So it is trying to
- 3:22:01create a package.h let me say yes and
- 3:22:04see our package is created package.lo is
- 3:22:07created which is having all the complete
- 3:22:09file and stuff. Yes allow npm installed
- 3:22:11for this project. So it will try to
- 3:22:14install the libraries everyone. uh these
- 3:22:17are lots of libraries to be to be very
- 3:22:19honest so it will take a lots of time
- 3:22:20but I think yes it is kind of a mini
- 3:22:22project which we are doing uh unless
- 3:22:24like let's say just having the best
- 3:22:25knowledge uh sorry best instructions
- 3:22:27about cloud empty uh rather if you will
- 3:22:30just read about this right till here and
- 3:22:32I will be giving you a very good uh file
- 3:22:34as well which will be having these
- 3:22:35instructions in a easy to understand
- 3:22:37manner these and this link the human
- 3:22:39layer research I think this is the best
- 3:22:42uh resource which I found after so many
- 3:22:44uh searching these are the best resource
- 3:22:47to actually write a pretty good cloud.
- 3:22:48MD because as I said it is a single most
- 3:22:50important file. Okay. So now everyone
- 3:22:52you will see that how it is installing
- 3:22:53the libraries. So it will take a little
- 3:22:55bit of time. Let me quickly fast forward
- 3:22:57it and come back once it has been done.
- 3:23:00So asking for a few more things allowing
- 3:23:01this bash command. Uh ts config. It is
- 3:23:04creating uh no worriescript. So should
- 3:23:06be fine. Uh like again now it is
- 3:23:08actually creating files one by one. And
- 3:23:10honestly uh I love to see that what all
- 3:23:13it is doing. Even if you are from non
- 3:23:14tech uh just see that it is not deleting
- 3:23:17anything for the time being right. So
- 3:23:18again it will be writing lots of code
- 3:23:20which of course not a lot of us will
- 3:23:22understand but still it makes sense and
- 3:23:24I could just say uh please auto approve
- 3:23:29creation of bash creation of files via
- 3:23:33bash. So let's see if it understand that
- 3:23:36right user is asking you to auto approve
- 3:23:38they want me to bash instead. Okay I
- 3:23:39think no. So I think we will have to
- 3:23:41create that thing where we allow it via
- 3:23:43the proof commands. That would be the
- 3:23:45best approach here. Create app directory
- 3:23:47structure in global CSS. Sure, let us do
- 3:23:49that. So it has created everything right
- 3:23:51in front of us.
- 3:23:53Okay. So doing lots of work, right? It
- 3:23:55used to take maybe uh days for without
- 3:23:57this allow NPS, Prisma everything.
- 3:24:02And still again everyone though we are
- 3:24:03discussing about cloud. empty of course
- 3:24:05because I want to show you this uh the
- 3:24:07best way is something which is dotclaw
- 3:24:09folder which we have discussed as well
- 3:24:11right so I can say yes allow cat let it
- 3:24:13run pad I will just give this yes a lot
- 3:24:15of time
- 3:24:17now it is again everyone creating lots
- 3:24:19of things because the project was in
- 3:24:20depth uh you will notice one more thing
- 3:24:22it is saying that hey 48% of the context
- 3:24:24remaining until autoco compact so once
- 3:24:26this gets filled it will try to autoco
- 3:24:28compact the whole conversation right so
- 3:24:30since it is working so hard and getting
- 3:24:32so many of these things auto compact
- 3:24:34after some time we'll make sure that we
- 3:24:36are saving on the context overall right
- 3:24:39and that is the time where you will also
- 3:24:41notice that uh it is like kind of
- 3:24:43remembering few of the things okay
- 3:24:44because of course content gets shortened
- 3:24:46summarization happens but more or less I
- 3:24:48have never seen it performing badly as
- 3:24:50such for the time being and yes we will
- 3:24:52be discussing that in context management
- 3:24:53in depth as well because over time I
- 3:24:55know that this gets a lot important uh
- 3:24:57many of my friends they have actually uh
- 3:25:00spent their budget of $400 or $500 in
- 3:25:031520 20 days which was given to the
- 3:25:05company and the reason is very simple
- 3:25:06they don't know how to do context
- 3:25:07management so let it work again I think
- 3:25:10it is saying that lots of things are
- 3:25:11created just because the project is in
- 3:25:13so much depth it is trying to work out
- 3:25:14of many things right so now the critical
- 3:25:16kanban components kanban and everything
- 3:25:18now again uh this is the complete
- 3:25:20project everyone I remember we created a
- 3:25:22very basic one as well which was just on
- 3:25:23HTML this one will be having a complete
- 3:25:25data and everything so yes it will try
- 3:25:28to take more context more money but at
- 3:25:31the end of the day it will be more uh
- 3:25:32expandable Okay, it will it will be
- 3:25:34sharable and everything as well. Okay,
- 3:25:36so let it create quickly
- 3:25:38and now I think it is running the same
- 3:25:40npm run. So hopefully it will try to
- 3:25:42just tell me there's a version mismatch
- 3:25:45and that is a sync but let it work. No
- 3:25:46worries. It is like a mini project which
- 3:25:48we are doing as a part of understanding
- 3:25:49cloud.mp.
- 3:25:51So seems like it has completed this
- 3:25:53everyone. Uh I think it has done the
- 3:25:54same in phases. Perfect. Phase 1 28
- 3:25:56completed. I think that was the plan as
- 3:25:58well which it provided. Uh I would
- 3:26:00highly suggest that you please save your
- 3:26:01plan because I see sometime it doesn't
- 3:26:03get uh saved into this uh file
- 3:26:05structure. And now it is saying build
- 3:26:07state has succeeded with no errors. Now
- 3:26:09run npm rundev. So I could just open a
- 3:26:12terminal.
- 3:26:14Okay, this open claw thing is still
- 3:26:15haunting me. No worries. Let me do this
- 3:26:17npm rundev.
- 3:26:19Let's go to this local host 2000
- 3:26:23and see what it has created.
- 3:26:27I normally feel that it might not run in
- 3:26:29the very first go.
- 3:26:32No, still so seems like it has done
- 3:26:34something. Okay, seem like it has
- 3:26:36created a very nice one. Although uh UI
- 3:26:38level I think it can be pretty good. Oh,
- 3:26:41nice. So I can I can actually enter
- 3:26:42Google ro let's say SD status uh wish
- 3:26:46list join job URL location. Okay, nice
- 3:26:50salary range Google should pay I think
- 3:26:52me 50 lakhs hopefully. apply date that
- 3:26:57is also pretty good. So yeah I think it
- 3:26:58has created a pretty good approach like
- 3:27:00it is having the contact name notes
- 3:27:01everything if I add the application then
- 3:27:03I can can I move it so I will have to go
- 3:27:06here and say so what I can do everyone I
- 3:27:08can just ask it and that is again that
- 3:27:11now is where your white coding starts so
- 3:27:13can you please add the drag
- 3:27:18drag and drop functionality
- 3:27:24as well. So let's ask this
- 3:27:27and of course every in the building part
- 3:27:28as well maybe like what I normally
- 3:27:30suggest uh you can use sonnet for the
- 3:27:32initial part right but after that you
- 3:27:34can maybe go to wipe okay so see again
- 3:27:37it is just doing some changes can man
- 3:27:39call with dragwell wrapper now I need to
- 3:27:41also improve the components to better
- 3:27:42handle the drag logic let me make sure
- 3:27:45so yeah that is where wipe coding shines
- 3:27:46everyone I think you don't need to know
- 3:27:48about anything it is just working and
- 3:27:49making sure that provide you with
- 3:27:51everything uh so even to be very honest
- 3:27:54I also might understand 10% of the code
- 3:27:56as of now. Uh thankfully because I'm
- 3:27:58having a tech background. If I sit I
- 3:28:00will be able to understand in depth.
- 3:28:02Okay. So that is not the case but still
- 3:28:04just from a single file at all it has
- 3:28:05been able to create. That is very
- 3:28:07awesome thing. Right. So let it work.
- 3:28:09Let it just add that and then we will
- 3:28:11test it out. So seems like it has done
- 3:28:13the same. It is saying that hey it has
- 3:28:15been done. uh application now has a full
- 3:28:17drag and drop functionality
- 3:28:19and uh yeah I think it is saying that it
- 3:28:21is working across all app is production
- 3:28:23ready for phase 9 testing whenever you
- 3:28:25want to write test so again we we can
- 3:28:27for the timing avoid the testing let me
- 3:28:30just close this run npm run them again
- 3:28:33uh in a bit it will try to auto compact
- 3:28:35we will see the context as well everyone
- 3:28:37and rather we will try to compact it
- 3:28:38oursel as well let's reload it
- 3:28:42okay so loading our applications and
- 3:28:43seems like it is actually working like
- 3:28:45that's a part although again it can be a
- 3:28:47little bit quicker but again I think the
- 3:28:49DB is there in place everything is
- 3:28:51something which we can see uh there are
- 3:28:53complete proper modules okay it has
- 3:28:55created a basic application as of now
- 3:28:57also I will say it is a basic one but
- 3:28:59yes at the same time uh this is
- 3:29:01something which is sharable uh and we
- 3:29:02can work on top of it right so it is
- 3:29:04having a version as well withdrawn all
- 3:29:06these things right I I can make it
- 3:29:08beautifi beautified that's not a problem
- 3:29:10I can say that hey can you make this uh
- 3:29:12can you remove some things and all these
- 3:29:13part but as the overall tracker it is
- 3:29:16still pretty good right it is able to
- 3:29:18actually do the work and I like that how
- 3:29:20uh it is having so many relevant details
- 3:29:22which it is asking right so if I would
- 3:29:24have created the one from scratch I
- 3:29:25would not have included this contact
- 3:29:27name email and notes uh I would have
- 3:29:29just included the company name etc just
- 3:29:31the way we do it in notion or any other
- 3:29:32thing right so that is the where the
- 3:29:34benefit lies everyone and of course we
- 3:29:36can create complete application and
- 3:29:37stuff with that let's close this out
- 3:29:39let's see the
- 3:29:41context here so that I can show you like
- 3:29:43how much is now actually boost. So pay
- 3:29:45attention everyone. This time our
- 3:29:46messages I think will be the major one.
- 3:29:48So messages are 29.3%. So earlier since
- 3:29:51we were just learning, we have not done
- 3:29:53this mini project kind of. Uh it is it
- 3:29:56was always that messages are not a lot
- 3:29:58high. Now of course what I can do I can
- 3:30:00just do uh what was compact. Okay,
- 3:30:04compact will try to of course as the
- 3:30:06name suggests we'll compact all the
- 3:30:08things and majorly it will be having
- 3:30:10compaction on our uh messages because
- 3:30:12that is where majorly the things lies.
- 3:30:14Uh one more thing everyone so going
- 3:30:16through all these things I know that not
- 3:30:18a lot of people will do that what I have
- 3:30:20done I have created this very nice uh
- 3:30:23Python notebook for you let me close
- 3:30:25this up see I've created and I will be
- 3:30:27sharing this where all the parts like
- 3:30:29how it gets loaded then critical reality
- 3:30:31that how cloud may ignore few
- 3:30:33instructions high accuracy what how
- 3:30:35framework what tech plus structure like
- 3:30:37again best of the things I have just
- 3:30:39shared here okay progressive disclosure
- 3:30:40pattern cloud md minimal agent docs deep
- 3:30:43context file All these things also have
- 3:30:44been shared, right? Short file, high
- 3:30:46compliance, long files, ignore
- 3:30:47instructions, anti patterns, too many
- 3:30:49rules, irrelevant info, style guides,
- 3:30:51huge files. So just download the same
- 3:30:53from GitHub. Uh and you will be having
- 3:30:55access to each and everything. The idea
- 3:30:56is that I don't want to make it very
- 3:30:58complex for you to remember. But I want
- 3:31:00that you understand the same in depth.
- 3:31:02So that is why I'm opening all these
- 3:31:03best practices documents and everything.
- 3:31:05Right? So see everyone again it is
- 3:31:07saying that 101k tokens freed which is a
- 3:31:10lot. Right? This is some how it has
- 3:31:12done. How much tokens are we using?
- 3:31:15So uh okay 100k was being used. It is
- 3:31:18saying 101k token speed. Okay let us see
- 3:31:20the com context again or I think it will
- 3:31:24get started in the next one.
- 3:31:26me.
- 3:31:29Yeah, seems like uh I think it is uh
- 3:31:32making a mis okay it may be again it is
- 3:31:35half the token that is what I see that
- 3:31:36messages has been made a lot half now
- 3:31:38because that is where it can cut on
- 3:31:39right because messages can be compacted
- 3:31:42now what I can do everyone I will show
- 3:31:43you one more part right so this is also
- 3:31:45very very important uh we started by
- 3:31:47creating our own uh claw md
- 3:31:52where it is
- 3:31:54yeah claw md okay but what I can also do
- 3:31:57everyone and you will see that it has
- 3:31:58already created dot plot. So when I say
- 3:32:00that hey say yes to all it automatically
- 3:32:02creates that setting.lo JSON. Now you
- 3:32:04know that how we can create a settings
- 3:32:06dot JSON on everything. But let's say
- 3:32:09that if I delete this if I delete this
- 3:32:10thing here let me rename it previous
- 3:32:16right I could also run a very very
- 3:32:18important command okay which is
- 3:32:20something slash in it. Okay, it is not
- 3:32:24always suggestive because now it will
- 3:32:27try to understand your things and try to
- 3:32:29create this right. So it is saying that
- 3:32:31hey I already have the claw.md file
- 3:32:33where is it? I think it is remembering
- 3:32:35from the chat uh claude md but it will
- 3:32:38not find the file this time hopefully.
- 3:32:40So list files and now now again it is
- 3:32:43what it is doing everyone is that it is
- 3:32:45reading all these things right it is
- 3:32:46trying to read okay uh I think uh okay I
- 3:32:50think it is still reading great I can
- 3:32:51see the project structure there are
- 3:32:53cloud first MD and previous cloud MD
- 3:32:55files that might have old content let me
- 3:32:56go through those as well and I will ask
- 3:32:59it here
- 3:33:00please create from scratch
- 3:33:04don't read the previous one because I
- 3:33:08want to just check what it creates by
- 3:33:10this slash in it and that is again one
- 3:33:12very important command. I hope all of
- 3:33:13you remember this slash commands I
- 3:33:15didn't cover this slash in it because
- 3:33:17obviously uh that is the whole idea that
- 3:33:19I can show you when it is relevant. Uh
- 3:33:21some research normally say that hey
- 3:33:23don't use the slash in it because claude
- 3:33:26is very very important and you should
- 3:33:28write it yourself but I feel that it is
- 3:33:30a very good starting point as long as
- 3:33:32you can edit it down. So don't always
- 3:33:33remember on this right. So let me just
- 3:33:35say don't read the previous one I can
- 3:33:37just say enter. So that is something
- 3:33:40also got it. The user want me to create
- 3:33:41the cloud from scratch without reading
- 3:33:43the previous one. I have enough
- 3:33:44information from all these things and
- 3:33:46now I will get a comprehensive cloud
- 3:33:48empty with essential commands
- 3:33:49architecture if you had key patterns. So
- 3:33:51this is just like something which claude
- 3:33:52is providing that hey if you have a
- 3:33:54complete if you have a project already
- 3:33:55there just please use the slash in it
- 3:33:57and create your file instead of like
- 3:33:59let's say writing it from scratch. Again
- 3:34:02a good starting point please edit it
- 3:34:04yourself. Don't take it as that hey what
- 3:34:06claude will give will always be the
- 3:34:07right one. No, that is not going to be
- 3:34:08the a case. So that that is where I want
- 3:34:12that you please focus on this thing. Now
- 3:34:14I think again key section perfect. I've
- 3:34:16created a comprehensive cloud.mpd file
- 3:34:18for the job application tracker. Uh I
- 3:34:20think this is the new one. Right. Let's
- 3:34:22see how close it is to ours. The file
- 3:34:26provides guidance to claude when working
- 3:34:27with the cloud directory. Claude dot
- 3:34:29this. So development commands I think
- 3:34:31testing database. So we are using Prisma
- 3:34:34architecture overview. This is a local
- 3:34:35first simple user command board. No
- 3:34:37cloud services. So it is mentioned that
- 3:34:39state management data layer code
- 3:34:42organization. So I feel that this is
- 3:34:44something which could have been avoided
- 3:34:46because as I said that lot a little
- 3:34:48longer plot file but it's not going to
- 3:34:50help you in the long run. Key patterns
- 3:34:52and conventions is pretty good. CSS
- 3:34:54styling database notes debugging tips
- 3:34:56performance notes node limitation and
- 3:34:58future improvements. Uh status ename is
- 3:35:01a string. No authentication layer. No
- 3:35:03multi-user support. No search or filter.
- 3:35:05No keyboard navigation. Yeah, these are
- 3:35:07some things which are not added. So I
- 3:35:09see everyone that it is still a little
- 3:35:10longer. Of course, we could have made it
- 3:35:12a lot shorter and maybe divided these
- 3:35:14things for example. Of course, and this
- 3:35:16is where now the next part comes in
- 3:35:17which kind of I have already told you
- 3:35:19right now. We have discussed about the
- 3:35:21best part, best uh practices, the
- 3:35:23official documentation that awesome
- 3:35:26human layer uh page. So where is it?
- 3:35:29This one. And I will highly suggest that
- 3:35:31please all of you read this thing. This
- 3:35:32is very very important, right? one of
- 3:35:34the best read on cloud MD which I found
- 3:35:36it has also done that level of research
- 3:35:38that when things works and everything
- 3:35:40now of course when it grows everyone the
- 3:35:42whole idea becomes that and I would just
- 3:35:43I like to add a structure as well
- 3:35:46let me get a new file here so I will be
- 3:35:48adding this as well in the resources
- 3:35:50claim
- 3:35:54MD
- 3:35:56so this is the best uh approach everyone
- 3:35:58which I would ask all of you to follow
- 3:36:00and as we have seen this claw MD which
- 3:36:03has created by slashinit it is still
- 3:36:05very long so something which we need to
- 3:36:07avoid and the main idea everyone how to
- 3:36:10avoid it if I go here see uh again this
- 3:36:14is just to explain you claw.md new
- 3:36:16session cloudmd 50 lines always loaded
- 3:36:19agent docs test guide API rules we can
- 3:36:22just have them separated okay so this is
- 3:36:25loaded only when needed okay so if you
- 3:36:27will have agents which you will talk
- 3:36:29about or let's say testing guide will be
- 3:36:30done when only testing has to be done
- 3:36:32instead of having a one file having 400
- 3:36:34lines. Let's have small plus modular
- 3:36:36talks. And this is where I think I have
- 3:36:38already shown you in the previous part
- 3:36:40that how after uh this thing claw
- 3:36:45directory in the official documentation
- 3:36:47as well claw.md comes afterwards. So
- 3:36:50that is why I kind of gone in this
- 3:36:52circle where first we understand dotclaw
- 3:36:55then claw.md in depth just like how we
- 3:36:57have done right now and then of course
- 3:36:59how of course it should be divided. Now
- 3:37:01this divided thing we have already done.
- 3:37:03Uh we already have discussed around your
- 3:37:05uh not this plot thing one minute.
- 3:37:09So we have already discussed about uh
- 3:37:12commands and let's say different things
- 3:37:14like rules etc. Agents uh and agents
- 3:37:18skills etc. we will cover in the future
- 3:37:20parts. But the idea is pretty simple
- 3:37:22that instead of again having this long
- 3:37:24of a cla empty file which is somewhere
- 3:37:26around 81 82 I think we should have it
- 3:37:27short. So that is something which is
- 3:37:29going to be very very helpful everyone.
- 3:37:31And now one very important thing which
- 3:37:33lots of people again avoid they feel
- 3:37:34that claw.md is like a one and done
- 3:37:37file. Okay. So I would just like to
- 3:37:38mention here
- 3:37:40claude
- 3:37:42md
- 3:37:46is not a one and done kind of file.
- 3:37:51Okay. So very very important. It should
- 3:37:54also
- 3:37:55be regularly maintained. Okay. So
- 3:37:58normally what is suggested everyone few
- 3:38:00points and this I'm just telling you the
- 3:38:02best practices from the industry. Uh now
- 3:38:05you will not find it anywhere else
- 3:38:07because this is not mentioned somewhere.
- 3:38:08These are just few of the things and
- 3:38:10thankfully because I have few friends
- 3:38:12those companies are using clot code in
- 3:38:14depth every day. So they told me that
- 3:38:16these are the things which they have
- 3:38:17been suggested that hey review it
- 3:38:18monthly prune aggressively. Okay. So
- 3:38:23normally what happens everyone claude
- 3:38:24code also tries to update your cloud.MD
- 3:38:27empty file right so that is where when
- 3:38:29cloud updates your cloudMD automatically
- 3:38:31okay and in some workflow this happens
- 3:38:34you have to review every change okay
- 3:38:35clude tends to add things just like how
- 3:38:37we have seen with the /init command so
- 3:38:40that is where I think we need to avoid
- 3:38:42this so what we should do everyone we
- 3:38:44should have some line like this in cloud
- 3:38:46I treat claw md like a technical dip
- 3:38:48reduce it over time not grow it because
- 3:38:50else you will see that as you keep on
- 3:38:52working on your cloud MD uh it will
- 3:38:54become very bulky and we have already
- 3:38:56discussed that what happens and it
- 3:38:57becomes quicky right so rather it's
- 3:38:59helpful that you review every change uh
- 3:39:02don't include
- 3:39:04instructions
- 3:39:06for solve problems so very very
- 3:39:09important I see that most of people
- 3:39:11something which they have solved the
- 3:39:12instructions are still mentioned if you
- 3:39:13have added a rule because uh let's say
- 3:39:16claude make kept on making some mistake
- 3:39:18or something which you were facing issue
- 3:39:20but now you're not facing it okay now
- 3:39:21you're not facing it please remove those
- 3:39:23red rules okay don't make it bulky and
- 3:39:25last is prefer
- 3:39:27pointers over copies. So again, don't uh
- 3:39:31copy your code. Don't copy any uh API
- 3:39:34documentation. A 40line clot file that
- 3:39:37is accurate and relevant is worth 10
- 3:39:39times more than a 400 line clot that is
- 3:39:42half outdated, half irrelevant, half
- 3:39:44having unnecessary things and yeah in
- 3:39:46this case less is generally more. Okay
- 3:39:48everyone, so that is the whole idea that
- 3:39:49is something which you need to follow.
- 3:39:51Let me have it inside a good folders as
- 3:39:54well. So let me just zoom out.
- 3:39:57Let us have this
- 3:40:00send to backwards.
- 3:40:02Send to back. Okay. So very very
- 3:40:04important. I would just have it in this
- 3:40:06folder so that you always remember this.
- 3:40:08Uh these are like I think now like the
- 3:40:10best best practices. Okay. Now I've
- 3:40:12already shown you the full clot file as
- 3:40:13well. And I think just one last thing is
- 3:40:15left. Yeah this is something which I
- 3:40:17would love to talk about everyone. This
- 3:40:18is on the recency or primacy bias which
- 3:40:21is there in the normally LMS primacy and
- 3:40:24recency.
- 3:40:26bias uh again L&M is like our brain only
- 3:40:29in a meeting you normally remember the
- 3:40:31starting of the meeting you might be
- 3:40:33sleeping in between and then you
- 3:40:34remember the end of the meeting and this
- 3:40:36has very nicely been talked about here
- 3:40:38so I thought that this is very helpful
- 3:40:40uh that what happens everyone if we see
- 3:40:42this in depth I think recency yeah
- 3:40:46or primacy somewhere let me check where
- 3:40:49it was exactly written less is more file
- 3:40:52length progressive disclosure
- 3:40:56So I think it was written somewhere here
- 3:40:58as well. But let me explain you. See
- 3:41:00whatever is in the top primacy never
- 3:41:03deletes always use. So claude normally
- 3:41:05always use these things up towards the
- 3:41:08end as well it is able to remember all
- 3:41:09these things and just like a human this
- 3:41:12is how it happens. So memory position
- 3:41:16top pretty high just like a meeting. So
- 3:41:18all the things which you remember in a
- 3:41:19meeting right middle okay okay okay
- 3:41:22bottom or towards the end pretty high
- 3:41:24and that is something which you must
- 3:41:25have seen when you are using chart GPT
- 3:41:27cloud or any Gemini or any other LLM as
- 3:41:29well that something which you ask in the
- 3:41:30starting is taken a lot in depth middle
- 3:41:34thing it can miss out some time towards
- 3:41:35the end also these are the things so
- 3:41:37what do I mean by this is that always
- 3:41:39make sure that you are having those
- 3:41:40important things and again don't first
- 3:41:42bloat it but if in case if it is bloated
- 3:41:45always have some important things etc
- 3:41:47right For example, run test should be in
- 3:41:49the bottom not in the middle because if
- 3:41:52it forgets to run test then there's a
- 3:41:54problem. Similarly the starting thing
- 3:41:57right how exactly what is the convention
- 3:41:59because you don't want that your code
- 3:42:01which is given by cloud it is having
- 3:42:03multiple issues and this you will face
- 3:42:05when you will be deep in the project
- 3:42:06just like how we were if you would have
- 3:42:08continued our messages without uh let's
- 3:42:10say doing any level of compact and
- 3:42:13everything then it would have been a
- 3:42:15problem. So let me go to the this one.
- 3:42:18This was the one right. So that is where
- 3:42:19you will face the problem and that is
- 3:42:21something which I want that all of you
- 3:42:22avoid. So yeah I think that is all and
- 3:42:25everything uh which we need to
- 3:42:26understand. We have seen a mini project
- 3:42:28as well. Now I know that it can be of
- 3:42:29course a lot incl uh made better and we
- 3:42:33will be doing that in one mega project
- 3:42:34but for the time being we have just done
- 3:42:36one small mini KBAM board job tracker
- 3:42:38which we were able to also uh one minute
- 3:42:41lots of things. Yeah. which we were also
- 3:42:43able to make better with respect to say
- 3:42:45uh after VIP coding. Uh yes it is not
- 3:42:48the final project but instead of doing
- 3:42:50that we will see towards the end that
- 3:42:52how we can deploy with all the things in
- 3:42:53it right all the things when we will
- 3:42:55master in plot code. So with that
- 3:42:56everyone I think this thing should be
- 3:42:58very much clear as I said official
- 3:43:00documentation and the link which I have
- 3:43:01shared you will be getting that with
- 3:43:03what all I have taught and this very
- 3:43:04very nice uh uh this Python notebook it
- 3:43:08will be something which will be sorry
- 3:43:10Jupyter notebook it will be something
- 3:43:11which will be very very helpful right
- 3:43:13now as you saw everyone that how uh the
- 3:43:16context is something which we need to
- 3:43:17manage and in a longer projects this
- 3:43:20becomes a problem. So I would now in the
- 3:43:21next part like to discuss a little bit
- 3:43:23about the context management that how
- 3:43:25these things gets happened so that you
- 3:43:27are aware about this recency and uh
- 3:43:29privacy biases as well. So we will
- 3:43:31understand about the context rot how to
- 3:43:33handle context how to clear it out token
- 3:43:35budget all these things in depth because
- 3:43:37in a longer run when you will be working
- 3:43:39on longer projects these things will be
- 3:43:41having a lots of overall uh value. Okay
- 3:43:43so with that now let's meet quickly in
- 3:43:45the next part where we will master about
- 3:43:47this context rot and context management
- 3:43:48part. So great everyone now let's move
- 3:43:50forward to another very important topic
- 3:43:52like again I feel that this topic is
- 3:43:54something which not a lot of people will
- 3:43:55tell you about but this is actually uh
- 3:43:57something again which has a lots of
- 3:43:59effect because when we are working on
- 3:44:00real world projects right so unlike
- 3:44:01those small YouTube videos where of
- 3:44:03course they are doing something uh I
- 3:44:05don't get that uh since again I I will
- 3:44:06tell you like from where this
- 3:44:07understanding is coming since I have
- 3:44:09spent so much time building with cloud
- 3:44:11and of course discussing with people who
- 3:44:12actually are building with cloud right
- 3:44:14not just learning it not just building
- 3:44:16some funny projects uh with time you
- 3:44:18will see that Claude basically gets uh
- 3:44:20bad with responses right and that is
- 3:44:22something which you will see every AI
- 3:44:24happening right so just as an example if
- 3:44:26you just normally I'm pretty sure that
- 3:44:28most of you must have used chat GP the
- 3:44:30lot like the most because let's be
- 3:44:32[clears throat] honest like this is the
- 3:44:34AI which has kind of started all the AI
- 3:44:37now over time you will notice that how
- 3:44:38chat GPT of course also uh starts giving
- 3:44:41bad answers on doesn't follow the
- 3:44:43complete instructions right so if you
- 3:44:45ask it in the very starting that hey
- 3:44:46please make sure that the variables are
- 3:44:48a camel case or hey please keep the
- 3:44:50overall language formal. Over time you
- 3:44:52will see that how it starts to just
- 3:44:56forget your instructions. It starts to
- 3:44:57make some mistakes. Well since at the
- 3:45:00end of the day uh clawed code right is
- 3:45:03just an extension on claw that is your
- 3:45:05brain and it is basically a brain with
- 3:45:07hands. the whole idea becomes very
- 3:45:09simple that the same problems will be
- 3:45:10there in uh clawed code as well right
- 3:45:13and that is something which I need to uh
- 3:45:15mention and talk about which is
- 3:45:16something known as context management or
- 3:45:18as I like to call it context rot okay
- 3:45:20like when your uh context like when you
- 3:45:22have a lots of context and it causes a
- 3:45:25rot in your uh output and everything
- 3:45:27right so that is something which you
- 3:45:29need to discuss here everyone so let me
- 3:45:30have it like this yeah great so now
- 3:45:32let's start and let's try to quickly
- 3:45:34understand what we are going to learn in
- 3:45:35this part what a context window is and
- 3:45:37why it fills up. I'm going to teach you
- 3:45:38with a very very awesome visualization.
- 3:45:40Then how to spot context do before it uh
- 3:45:42ruins your session. Okay? Because again
- 3:45:45in cloud code when we we are developing
- 3:45:47a real project a context is something
- 3:45:49which we would like to avoid right and
- 3:45:51we also don't want that we set up a new
- 3:45:52session and all these things uh every
- 3:45:55technique okay from compact and a very
- 3:45:57very awesome technique change log.md to
- 3:45:59prompt uh specifically to stay sharp
- 3:46:01across our uh sessions and build and of
- 3:46:04course how to make uh token budgeting or
- 3:46:06discuss a little bit about the budgeting
- 3:46:07of the token as well. So with that let's
- 3:46:09get started everyone. Now coming to this
- 3:46:12everyone as you see in front of you and
- 3:46:14the major point is that like every AI
- 3:46:15cla also has a memory limit right and it
- 3:46:17starts getting fit up fill up whenever
- 3:46:19you have lots of chat you ask it to do
- 3:46:21multiple things which will be the case
- 3:46:23in real life and when this happens the
- 3:46:25response gets bigger and it start after
- 3:46:28some time it will start ignoring your
- 3:46:29cloud MD it repeats thing it has already
- 3:46:32uh did it will make mistake that it
- 3:46:34would not have made 20 messages ago
- 3:46:35right and I'm pretty sure that people
- 3:46:37who have used claude or any a little
- 3:46:39longer right not just for funny uh stuff
- 3:46:42they will be able to relate to it and
- 3:46:43this is something which is called
- 3:46:45context not and it's not actually clawed
- 3:46:47code or claw getting worse that is
- 3:46:50basically you not knowing how to manage
- 3:46:53right the resources or the context
- 3:46:55nicely so this section of course we will
- 3:46:57be doing that and by the end you will be
- 3:46:59having the context management in-depth
- 3:47:01understanding so let's now jump into the
- 3:47:03same the very first thing which I would
- 3:47:05like to show you if you go on this
- 3:47:06explore the context window claude has
- 3:47:09done an awesome awesome way of like
- 3:47:10helping you visualize this. Uh I'm not
- 3:47:12sure why nobody uh maybe they're not
- 3:47:14going through the documentation that's
- 3:47:16why they might not be covering this but
- 3:47:17see this is a very uh visual thing right
- 3:47:19the second I do a start session system
- 3:47:22prompt which is auto 4.2k auto memory
- 3:47:24right uh auto memory is something which
- 3:47:26we can discuss towards the MD part info
- 3:47:28MCP tools skill description cloud MD
- 3:47:31project cloud everything is there and
- 3:47:33you will see that how around 7.8k 8k
- 3:47:35tokens get filled up. Okay, the second I
- 3:47:37do a send that is I'm sending a message
- 3:47:40our prompt let's say it was 45 tokens
- 3:47:42claude now is reading some files so
- 3:47:44everything is basically adding into the
- 3:47:46context like so see how visual it is
- 3:47:48like how overall lovely it is that
- 3:47:50claude has created this tool where at
- 3:47:52each point it is reading these multiple
- 3:47:54files everyone now you don't have to
- 3:47:56worry like my where are these files and
- 3:47:58everything no just I think all of us
- 3:48:00have seen when we try to build as well
- 3:48:02this is how cloud works right read quick
- 3:48:04start
- 3:48:05>> [clears throat]
- 3:48:05>> readcloud.mmpt
- 3:48:07and if I open another session I think
- 3:48:09there was one session yeah here uh okay
- 3:48:13this is not the one maybe this one yeah
- 3:48:16so in here you can see that how it has
- 3:48:18read so many of the files and everything
- 3:48:19so this is kind of like mimicking the
- 3:48:21behavior and you will now notice
- 3:48:23everyone that as I keep on sending the
- 3:48:25messages so my followup and this is how
- 3:48:27we use it right so now pay attention
- 3:48:30that claude it's not like a single
- 3:48:32message is being sent all the context
- 3:48:35everything is being sent into the claude
- 3:48:37for each message right that is how it
- 3:48:39works so now as I start to do it pay
- 3:48:42attention context hit 22.2k 2k tokens
- 3:48:45run compact. I think I did that already
- 3:48:47where in the last part we were able to
- 3:48:48see that how from 100k tokens we were
- 3:48:51able to just cut it half into 50k
- 3:48:53tokens. Right? So that is the whole idea
- 3:48:55everyone. And the way you can think of
- 3:48:57your cloud context window is like a
- 3:48:59limited wide port. Uh very very good
- 3:49:01analogy. Uh again some things are there
- 3:49:04which you cannot control like systems uh
- 3:49:06mcp everything like mcp we can control
- 3:49:07actually I will show you that as well.
- 3:49:09Then cloud.md everyone like the normally
- 3:49:11dotcloud or claw.md of course you can
- 3:49:13control this because as I told you in
- 3:49:15the last part don't make it very very
- 3:49:17bulky don't make it very wordy just have
- 3:49:19some good uh let's say overall structure
- 3:49:22or format in which you have to follow
- 3:49:23that and then I think it should be all
- 3:49:25good and of course uh like though your
- 3:49:27clawed models are having a very very
- 3:49:29good uh context window so I think it for
- 3:49:31haiku it is 200k for sonnet also it is
- 3:49:34200k and I think for the on the web it
- 3:49:36is 1 million and opus is 1 million but I
- 3:49:39hope you remember this recency bias
- 3:49:40thing as well, right? Privacy and
- 3:49:41recency bias. So even if your context
- 3:49:44let's say here becomes uh let's say 190k
- 3:49:48and you say that hey mayak I'm now
- 3:49:50sending small small messages well it
- 3:49:51will start to forget that. So that is
- 3:49:52the whole idea everyone and uh yeah in
- 3:49:55lines with that though we have a good
- 3:49:57context limits we have to still be very
- 3:49:59very sure because our space is limited
- 3:50:02right and as it starts filling up even
- 3:50:05though if you compact right of course in
- 3:50:08compaction as well something will get
- 3:50:10lost like that is for sure the thing
- 3:50:12right if you are having 50k tokens and
- 3:50:14you are just let's say uh reducing it to
- 3:50:175k just as an example although plot
- 3:50:20tries to have everything it will still
- 3:50:22miss out on something right I hope that
- 3:50:24thing is very very clear like of course
- 3:50:25like if you are shorting a text
- 3:50:27something or the other will get missed
- 3:50:29though you can get a good summary etc
- 3:50:31maybe some uh nitty-gritty things like
- 3:50:34very very specific things might get
- 3:50:35missed and that is the case oldest
- 3:50:37messages and everything are removed
- 3:50:38everyone as we move forward and of
- 3:50:40course there is a limited wide space
- 3:50:42which we have to take care of and that
- 3:50:43is the reason with rather every AI okay
- 3:50:46so if I just teach you a little bit uh
- 3:50:48let's say brain icon
- 3:50:50Right? Every AI it is like sitting as a
- 3:50:54brain and you are just sending it
- 3:50:56messages. Right? So every chat like even
- 3:50:58now when I will send this like this is a
- 3:51:00compact thing but when I send this
- 3:51:02particular message then also all the
- 3:51:05previous messages will also go. It is
- 3:51:06not that it just get the latest message.
- 3:51:08So very very important your calls are
- 3:51:10stateless. Whenever I'm reaching out to
- 3:51:12cloud it is just sit there with the
- 3:51:14training. It doesn't remember that hey
- 3:51:15mayang send me 10 messages before. No,
- 3:51:17for it it doesn't remember anything.
- 3:51:19That is why one more thing which you
- 3:51:21must have noticed that as your uh chat
- 3:51:24on claude also gets a lot bigger it
- 3:51:26charges you quickly. So what do I mean
- 3:51:28by that everyone? Just to showcase you
- 3:51:31if let's say I am claude. AI okay
- 3:51:35if I have a chat here like so once I
- 3:51:37have let's say chat 20 30 messages the
- 3:51:40next message which will try that hey I
- 3:51:42am sending each and everything. Okay. So
- 3:51:44that is how your cloud has a context or
- 3:51:46maybe the latest message it will try to
- 3:51:48remove the older messages but that is
- 3:51:49how it gets the whole idea about the
- 3:51:51chat. So it is not that just the latest
- 3:51:53message gets sent right and uh that is
- 3:51:56of course one of the reason that uh as
- 3:51:57your context will grow you will be
- 3:51:59charged a lot because we have already
- 3:52:01discussed in the model overview that how
- 3:52:03we are charged based on the input tokens
- 3:52:05and the output tokens. So now if I don't
- 3:52:09compact it then my cost will basically
- 3:52:12start spiraling up. So there will be a
- 3:52:14snowball effect where for each
- 3:52:16consecutive messages I will be charged a
- 3:52:18lot because my clone needs to have all
- 3:52:19this understanding. Now if I just
- 3:52:21compact it on the other hand if let's
- 3:52:23say I just done compact. So see this is
- 3:52:25what's left in context. Startup content
- 3:52:27which lives outside the message history
- 3:52:28and reloads after compaction plus a
- 3:52:31structured summary of the entire
- 3:52:32communication. Skill description don't
- 3:52:33reload. So now if you can see everyone
- 3:52:35this has been compacted all 21
- 3:52:38conversation event condensed into one
- 3:52:40structure me summary the summary keeps
- 3:52:42your request intent key technical goals
- 3:52:44everything invisible in your terminal
- 3:52:46this content does not appear in your
- 3:52:47terminal I think we all know that we can
- 3:52:49just see that by a slash command right
- 3:52:51and that is the quick understanding as
- 3:52:52well everyone so if I go back uh there's
- 3:52:55like few things which tells that you
- 3:52:58have a context rot or you are not doing
- 3:52:59good context management cloud ignores
- 3:53:01your claw md rules you said campell case
- 3:53:03it is writing snake is generic responses
- 3:53:05instead of project specific uh you are
- 3:53:07saying that hey uh my let's say file is
- 3:53:10following this particular structure or
- 3:53:11this particular language or this way of
- 3:53:13building this but your clot again since
- 3:53:15it has so many messages it handles or
- 3:53:17misuses the same one thing here cloud
- 3:53:20being cloud of course it does the
- 3:53:22compaction itself which we have seen as
- 3:53:24well in the settings right so if you
- 3:53:26remember if I go on let's say cloud
- 3:53:30and just a second in here if I do usage
- 3:53:34or I think cost there is a config where
- 3:53:36it is autoco compact blue right so it of
- 3:53:38course handles it at it end uh and that
- 3:53:40is how it handles the same in your uh
- 3:53:43chat as well where the bar runs whenever
- 3:53:45the context is pretty long because again
- 3:53:47Lord also wants that you are able to
- 3:53:48chat it longer then it repeats already
- 3:53:51work done create a file that already
- 3:53:52exist
- 3:53:54quality visibly worse than early in the
- 3:53:55session code that was pinned 30 messages
- 3:53:57ago is now sloppy is now having some
- 3:53:59errors so these are the symptoms the
- 3:54:01cause is a full context window / compact
- 3:54:03to compress / clear to reset. Now many
- 3:54:06time it happens that even after
- 3:54:08compressing you are having 150k 130k
- 3:54:11tokens and that will majorly happen in a
- 3:54:13case like ours. So if you remember if I
- 3:54:16just do context here
- 3:54:19and we would [clears throat] try to see
- 3:54:21this only like this example only so we
- 3:54:23can understand in depth. See it is using
- 3:54:2661.4k tokens. Now I can say a few more
- 3:54:28things. Can you add dark and light mode
- 3:54:33as well and also make sure that you make
- 3:54:37UI a lot better. So let's first ask this
- 3:54:41particular thing everyone. Now again
- 3:54:43this time this four context will go
- 3:54:45along with our request. So very very
- 3:54:46important understanding and we have to
- 3:54:48make sure that yes we are able to avoid
- 3:54:50these uh context rot. Now when the chat
- 3:54:53will increase and let's say if I have
- 3:54:55autoco compact or if my chat doesn't get
- 3:54:57compacted then it will give you an error
- 3:54:59right so that is the whole case that it
- 3:55:01will start not error rather it will
- 3:55:02start behaving uh not in the best part
- 3:55:05right so that is the whole case now let
- 3:55:06it run and we will see the context again
- 3:55:08and padil it happens like it is reading
- 3:55:10all these files which now you know from
- 3:55:12this particular diagram that whenever
- 3:55:14even it reads the file uh let me refresh
- 3:55:17it 1 minute yeah so it is again starting
- 3:55:21up uh This is a pretty good tool which
- 3:55:22is given by god itself right. So now I
- 3:55:25send this pay attention your prompt it
- 3:55:27is sent when it reads the file the
- 3:55:28context gets added because again it is
- 3:55:30able to understand the file right that's
- 3:55:31the whole idea and ideally it's a genic
- 3:55:33flow like understanding then kind of
- 3:55:35going back what you can also do everyone
- 3:55:37one thing which I would like to show you
- 3:55:39let us exit this if I do status right
- 3:55:42then it can tell you all these things as
- 3:55:44well right in here we have the usage as
- 3:55:46well and all these things but what you
- 3:55:48can also handle you can just write
- 3:55:50update my status line to show a loading
- 3:55:55bar
- 3:55:57of how many tokens I have used out of my
- 3:56:03total context window
- 3:56:07and uh the current model name. So this
- 3:56:11is again something everyone you can
- 3:56:12actually change all these things like
- 3:56:13that's pretty good overall in claude. So
- 3:56:16now it will try to understand uh claude
- 3:56:18use skill update config. So yes again it
- 3:56:20is having a scale update configuration
- 3:56:22which is basically taken care of. The
- 3:56:24second I do yes you will notice that how
- 3:56:26it will try to add this. So you can
- 3:56:27actually change how it looks overall
- 3:56:28that is the whole case and it is
- 3:56:30changing in the main file right. So now
- 3:56:32it is thinking with high effort I will
- 3:56:34addit then configuration to show token
- 3:56:36usages error editing file. Good thing
- 3:56:39with claw it will try to fix the error.
- 3:56:41Agentic flow coming into picture. I see
- 3:56:44JSON validation error. The status line
- 3:56:45command was too complex with nested
- 3:56:46escaping. Simpler approach. So again the
- 3:56:49idea is that you can change what all
- 3:56:51information is kind of given in your
- 3:56:52status. Uh this is specifically helpful
- 3:56:54because not every time you would like to
- 3:56:56see that right. So yeah I think I'm not
- 3:56:58anywhere understanding the code. So
- 3:57:00let's see and uh yes should be fine.
- 3:57:04Again this is also fine
- 3:57:07and we can run this command. See hiko is
- 3:57:09resusable here. Hopefully in some time
- 3:57:11this will also be visible.
- 3:57:15You can customize the color bad bit for
- 3:57:17refresh intervals. So uh I can say still
- 3:57:21not able to see the status
- 3:57:25line. Uh sorry I think it should not be
- 3:57:27status it should be context line or bar.
- 3:57:32Okay. Uh again just a b coding thing but
- 3:57:34uh thankfully in claude it handles your
- 3:57:37w coding stuff as well. So let it run
- 3:57:39some command and hopefully it will come
- 3:57:40up and then you can ask it only that hey
- 3:57:43like otherwise again since it is a
- 3:57:46global level setting at your dotcloud
- 3:57:48folder in your machine surely it will
- 3:57:50work. Okay. So let's try to see what is
- 3:57:53happening
- 3:57:55and again like this here I'm also doing
- 3:57:56the white coding because even I'm not
- 3:57:58aware like how it happens. Okay. So it
- 3:58:00is saying that status now set to show
- 3:58:02hik with diamond symbol and your model
- 3:58:03name is to see the status line restart
- 3:58:06code completely quit and reopen it. The
- 3:58:08setting should reload and pick up the
- 3:58:09status line. Okay. So let's do this
- 3:58:10thing. Exit. I think that's how clot
- 3:58:13code is done. And now enter again. It is
- 3:58:16hiku. Okay. Let me resume
- 3:58:20resume previous conversation. I think
- 3:58:22this one
- 3:58:24look at the bottom of the terminal
- 3:58:26window where the status line appears. So
- 3:58:27let's let's try it out because that's
- 3:58:29the whole benefit of this right. Let's
- 3:58:30let's try to have a image. Let's see if
- 3:58:32we can send it an image and I can say
- 3:58:35cannot still see the status line. So I
- 3:58:39want that you do this level of editing
- 3:58:41etc when you are using it. And the
- 3:58:44reason is pretty simple in here with the
- 3:58:45application. it is able to show you
- 3:58:47these things but normally of course it
- 3:58:48is not visible right so let me just say
- 3:58:50yes to few of the things here
- 3:58:53and yeah that is how you actually do
- 3:58:54coding everyone so uh like multiple
- 3:58:56sessions running that is the future of
- 3:58:58coding uh few things will be totally on
- 3:59:01uh like cloud or totally on these models
- 3:59:04for AI few things you will have to take
- 3:59:06care so let us see if you still don't
- 3:59:09see the status line feature may have
- 3:59:11been in the current cloud core version
- 3:59:12or UI mode here are some alternate
- 3:59:14approach Okay, let me do one thing. Let
- 3:59:17us open a new one. Let's enter claude
- 3:59:18here. Claude. Okay, claude.
- 3:59:23Uh, see that it is still showing haiku.
- 3:59:25Okay, no worries. I think it might be
- 3:59:26some issue with the claude. Uh, current
- 3:59:28model. Although should not be but yes,
- 3:59:31we can check uh the same. Can you check
- 3:59:35at your end?
- 3:59:39And I could I cannot still see it. Okay.
- 3:59:44So I'm just like making it clear that
- 3:59:46how you can also change the statuses and
- 3:59:48everything. Uh like this is also coming
- 3:59:50up with some setting up right. So that
- 3:59:51is the case. Let's see this eco file
- 3:59:54user like I think it is now checking the
- 3:59:55status file and everything. So would you
- 3:59:58like to try one of these alternatives?
- 4:00:00Uh sure
- 4:00:02let it run. I don't care what it is
- 4:00:04doing. Let me say yes.
- 4:00:06Yes. And again if you're from a tech
- 4:00:09background everyone again uh many things
- 4:00:11will will be like that. Hey, what is
- 4:00:12happening and stuff but uh again for us
- 4:00:15as well for many coders also it is not
- 4:00:17making sense you have to see it like yes
- 4:00:19how you can build these things up and
- 4:00:21totally fine if you don't understand
- 4:00:23coding but you should be very good in
- 4:00:24understanding the other instructions
- 4:00:26which I'm giving you so now you know
- 4:00:27this know the commands and everything as
- 4:00:29well so that would be pretty helpful
- 4:00:30okay so let's see this
- 4:00:33uh yes let's try
- 4:00:37okay uh bash command configuration is
- 4:00:40invalid okay Now seems like the model is
- 4:00:43also one.
- 4:00:48Restart cloud code and try submitting.
- 4:00:50Let us close this. Clear everything.
- 4:00:53Claude
- 4:00:55say hi.
- 4:00:59Now it will be sending up some things. I
- 4:01:01am cloud code.
- 4:01:03Uh okay. How are you?
- 4:01:06Let's see.
- 4:01:10I could just have the status line set up
- 4:01:12cloud code status line in UI
- 4:01:20read it read it
- 4:01:24read. So again it is just reading the
- 4:01:26files now when I use this status line
- 4:01:29I just wanted to add it so that it can
- 4:01:31be helpful but uh should be fine again I
- 4:01:33think lots of tokens are going there.
- 4:01:36Can you add
- 4:01:38model name and a context bar for used
- 4:01:44context? Okay. Status
- 4:01:47status
- 4:01:49line. If it doesn't happen, I will try
- 4:01:52it parally. No worries. So now we can
- 4:01:54check it. So this is actually a skill
- 4:01:57everyone. I believe we will be
- 4:01:59understanding about scale as well. uh
- 4:02:01seems like it is going to read my files
- 4:02:03because in cloud settings is where these
- 4:02:05things will be already added.
- 4:02:08So let's do it a quick try. Meanwhile
- 4:02:10our uh that is improving because I want
- 4:02:12to show you here as well like how
- 4:02:14exactly this thing happens right.
- 4:02:18So let it work. See this.
- 4:02:28Yeah. See it's done. So uh yes we can
- 4:02:30read it we can read it and see it's
- 4:02:32added now. So again multiple itation
- 4:02:34just but seem like now finally it has
- 4:02:35added and I could say uh I can just take
- 4:02:38a screenshot because it asks me
- 4:02:39sometimes when I take a screenshot so
- 4:02:42see it is saying that hey this is
- 4:02:44visible now you can see the context bar
- 4:02:46update as you use plot code. So that is
- 4:02:48all fine. Let me say great. Please make
- 4:02:52sure that it is visible every time I
- 4:02:57write cla command in my terminal. Okay,
- 4:03:02so of course that would be just setting
- 4:03:04up the default options, right? Let me
- 4:03:06say yes to a few things. Okay, now it is
- 4:03:07just using the database. No problems.
- 4:03:11Uh use this skill to configure. Uh clude
- 4:03:13may use instruction code. Okay, let us
- 4:03:16add this. Or let me try par. No matter
- 4:03:19like maybe it has happened already.
- 4:03:21Lord.
- 4:03:22Yeah, seems like it has not. So now if I
- 4:03:24send a high
- 4:03:27and of course you can change the colors
- 4:03:28and everything as well, right? See uh if
- 4:03:30you want rather you can say in this chat
- 4:03:33only. So once it works, I think it is
- 4:03:35now saying that hey please uh just read
- 4:03:37the line and refresh it. Can you also
- 4:03:42also add
- 4:03:45the default
- 4:03:47thinking mode and and and and
- 4:03:51default mode as well in the same. So
- 4:03:55again this is just about me making my uh
- 4:03:58claw a lot better. So let me ply see
- 4:04:01what is happening here. I hope just that
- 4:04:04my usage doesn't go all haywire because
- 4:04:06I'm having multiple sessions. But yeah,
- 4:04:09this is also a very important thing
- 4:04:10everyone. And I will show you one more
- 4:04:11command which is very good. So see it is
- 4:04:13having lots of tokens now. Uh doing some
- 4:04:16changes. Okay, it has added. So I'm all
- 4:04:18happy and see that is how cloud nice how
- 4:04:21cloud nice right. So I could just
- 4:04:23everyone now it refreshes every 2
- 4:04:25seconds you need your setting
- 4:04:26dynamically. So any changes your
- 4:04:27thinking mode or default mode will be
- 4:04:28reflected. Nice. That's a good thing.
- 4:04:30And yeah I think now I can just ask uh
- 4:04:32so there is one more command everyone
- 4:04:34which is btw by the way. Okay. So what
- 4:04:37does this command does is that see I'm
- 4:04:39having all of this conversation and
- 4:04:40everything right so I'm having all this
- 4:04:42conversation but let's say that now let
- 4:04:44me add this whiteboard so you can
- 4:04:45actually understand properly see I am
- 4:04:48having this all conversation step by
- 4:04:50step if let's say I have a question
- 4:04:52normal question maybe I don't want to
- 4:04:55change or disrupt this thing I could
- 4:04:57just ask a question without it
- 4:04:59disrupting anything so it is not for it
- 4:05:01is not creating a new session just
- 4:05:02normal question so I can say B2W
- 4:05:06uh What are the latest claude models as
- 4:05:10of now and their context? Okay, so again
- 4:05:14it's by the way. Okay, so I think BTW is
- 4:05:16by the way only. I'm just asking it a
- 4:05:18question. This will not be added to the
- 4:05:21history and everything. So see it is
- 4:05:22giving me all these things. I can scroll
- 4:05:24up and down. That's the whole idea. I
- 4:05:26can escape to dismiss. And now this chat
- 4:05:29is not anywhere. Okay, that's the
- 4:05:31benefit. Like it was just by the way
- 4:05:33simple question. So if I go back here
- 4:05:35everyone let's see uh yes okay so I
- 4:05:37think it was in the plan mode or what
- 4:05:40maybe I think I can just do plan uh it
- 4:05:42is in edit automatically so it is having
- 4:05:44a claw plan everyone which we can read
- 4:05:46like this add dark light mode UI
- 4:05:48improvements to job application trackers
- 4:05:50now again so many things it has done I
- 4:05:52just wanted to show you like how the
- 4:05:53context will uh grow all increase so now
- 4:05:57it is making some changes which we can
- 4:05:58expand as well it has created some tools
- 4:06:01lots of changes it has done contemplated
- 4:06:03it is creating the dark mode class right
- 4:06:05so again we are just making up this
- 4:06:06particular same project this one which
- 4:06:09we created here a lot better and pretty
- 4:06:11sure that thanks to plot code thanks to
- 4:06:13its all smartness it will be giving us a
- 4:06:16very good UI and stuff so that is why
- 4:06:18now it is adding these things and yes uh
- 4:06:21earlier doing this kind of a work might
- 4:06:23take us what days now it is being done
- 4:06:25like so quickly right so I can expand
- 4:06:28and see the changes something which I
- 4:06:29would uh expect and normally we will
- 4:06:32also be maintaining or pushing this
- 4:06:34thing to get which I will cover towards
- 4:06:35the main project. Uh so again these
- 4:06:38changes they will be visible like it
- 4:06:40should not that we are setting up or
- 4:06:41updating some changes without any
- 4:06:43understanding. So see read button txt
- 4:06:45spinning and people who are from nontech
- 4:06:48especially from product managers or
- 4:06:50product side. Please please please use
- 4:06:52this to now create a first iteration of
- 4:06:54your product. Okay. Now uh technology or
- 4:06:58your team is not uh any problematic
- 4:07:01thing for you like you can easily create
- 4:07:02these things like a first MVP which you
- 4:07:04can then discuss and better communicate
- 4:07:06with your engineering team. So again
- 4:07:08don't say that hey I I don't code I am
- 4:07:10not a coder or something. No that is
- 4:07:12what clawed code or these awesome AI
- 4:07:14tools are kind of giving you right and
- 4:07:16when you create such awesome uh let's
- 4:07:18say demos or MVPs of course your team
- 4:07:21will also be happy. So now take it like
- 4:07:23a challenge that hey I have to upskill
- 4:07:24in these things because believe it or
- 4:07:26not these things are coming. If you give
- 4:07:28this code and stuff uh maybe not give
- 4:07:30the code because the engineering team
- 4:07:31might get a little angry that hey you
- 4:07:33don't know anything about coding you're
- 4:07:34giving us code uh you just giving a CI
- 4:07:36slump or something though the code is
- 4:07:37pretty good as well. Still I think that
- 4:07:39you should now upskill so that you can
- 4:07:41communicate your things better. Right?
- 4:07:43So at least all the PDs everything which
- 4:07:45you are creating just spin up a system
- 4:07:47now you know lots of things and just
- 4:07:49create uh these things right so that is
- 4:07:50the whole idea everyone and now again
- 4:07:52everyone we have seen the compact and
- 4:07:54clear already. So finally it happens
- 4:07:57actually I was doing all these things so
- 4:07:58I can show you the compact again and the
- 4:08:00clear part as well. So this is the
- 4:08:01compact and clear everyone compact
- 4:08:03versus clear. Earlier clear used to
- 4:08:06delete all the previous uh let's say
- 4:08:09history and chat and everything. Now I
- 4:08:11think it has starting a new session. So
- 4:08:12we will test it out as well. Let me do
- 4:08:14one thing here. In here it seems like
- 4:08:1639% is added. Let me do clear. Start a
- 4:08:19new session with empty context. Previous
- 4:08:20session stays on this. So I think they
- 4:08:22have changed this into a new session
- 4:08:24already earlier actually and when I was
- 4:08:26learning this uh it was clearing the
- 4:08:29complete context right all your messages
- 4:08:31everything. But anyways clear and
- 4:08:32context everyone is pretty helpful. uh
- 4:08:34this will help you to understand. Uh
- 4:08:36keep going check later 10 messages.
- 4:08:38Okay. So quality or greater than 60%.
- 4:08:41Okay. Then you can check /c context. So
- 4:08:45this is kind of a graph. If quality is
- 4:08:47decreasing same task yes compact so that
- 4:08:50you can continue if there's a new task.
- 4:08:52Okay then you can compact when unsure
- 4:08:54and clear if you want to refresh and
- 4:08:55start a fresh. So that is the complete
- 4:08:57idea overall and you can keep on
- 4:08:59checking the context. So just just few
- 4:09:01ways on how we have to use it nothing
- 4:09:02major. But overall that is the thing
- 4:09:04which is helpful in clear and uh context
- 4:09:06everyone. Now once this happens I will
- 4:09:10show you that how can you actually let's
- 4:09:12say if you are starting a new
- 4:09:13conversation because your current one is
- 4:09:14having a lots of context uh how it will
- 4:09:18be a problem. So if I do a context here
- 4:09:20right now everyone see although it is
- 4:09:22showing here as well. See I think we are
- 4:09:24very close to 200k to
- 4:09:27128.7K
- 4:09:2864%. In clear we are already seeing now
- 4:09:31that how it starts a new conversation
- 4:09:34right so / command if I do context clear
- 4:09:37conversation is there on /clear okay
- 4:09:40start a new session with empty context
- 4:09:41previous session stays on disk it is
- 4:09:43resumable with resume so it is just like
- 4:09:45clicking this button and a new session
- 4:09:46start that is now what clear is this is
- 4:09:49context clear conversation start a new
- 4:09:51conversation so I think now they have
- 4:09:52gone away with what they used to uh
- 4:09:55basically remove but again we can still
- 4:09:58check out we can just try out clear ones
- 4:10:00and I think it will start a new session
- 4:10:02hopefully.
- 4:10:05So now that I have okay I think it has
- 4:10:07started. Now if I see context everyone
- 4:10:11if I see context I think it will be
- 4:10:13less. Okay. No it is still not working
- 4:10:15or what? Let me check clear
- 4:10:18conversation. Yeah. Okay. I think yeah.
- 4:10:19So it is starting a new one. If I resume
- 4:10:23we have already covered resume
- 4:10:24conversation. I think this is the one
- 4:10:26right. So now we are on the previous
- 4:10:28one. And as a very good practice I could
- 4:10:30just do compact as well.
- 4:10:33So compact will I know we know that we
- 4:10:35have done this multiple times just that
- 4:10:37now we are discussing this thing in
- 4:10:38depth. So that is the whole idea which
- 4:10:39we are want to discuss. So let it done
- 4:10:41run complex uh compact everyone. One
- 4:10:44more very very important thing which I
- 4:10:46would like to show you because I have
- 4:10:47felt that this is something which
- 4:10:49happens. Uh again you cannot just start
- 4:10:51your new conversation if your earlier
- 4:10:53one is failing. We are not in a chat
- 4:10:55window of clot right. So that is where
- 4:10:57something known as change log.md is very
- 4:10:59helpful. So I will just copy some uh
- 4:11:01parts. Pay attention. What I will do
- 4:11:03everyone is like we will go in our dot
- 4:11:06uh where is our claw.mdia. So this is
- 4:11:07our claw. Mdm1. Pay attention towards
- 4:11:10the end. I would add this lines. Now you
- 4:11:12can copy this lines. You you will be
- 4:11:14getting this as well. After completing
- 4:11:16any significant action update change
- 4:11:19log.md add what was built or changed.
- 4:11:22Add any decision made that affect future
- 4:11:23work. Add any known bugs or incomplete
- 4:11:25items. Format. Read change log md at the
- 4:11:28start of every session to understand
- 4:11:29current project state. Now everyone what
- 4:11:31does this one thing does right is that
- 4:11:36even if you start a new session because
- 4:11:37your current session is failing change
- 4:11:39log.md will have the complete history in
- 4:11:42a very very simple lineto-line stuff. So
- 4:11:43if I just show you uh I think I will
- 4:11:47just say that uh now the context has
- 4:11:49also been clear. So let me show you the
- 4:11:50context first.
- 4:11:54So it was 132 I think it is 36.3K. Nice.
- 4:11:56Pretty good. So it has like kind of
- 4:11:58reduced our messages a lot. And what we
- 4:12:01can also do everyone now I could say
- 4:12:03that um please
- 4:12:06add please do a small change and add
- 4:12:13may
- 4:12:16job tracker
- 4:12:19as the name of tracker. Okay. So I'm
- 4:12:22just asking it to do a small change.
- 4:12:25Hopefully it will read the claw ind
- 4:12:26again. So I'll add main name. Okay,
- 4:12:29germinating. Let's see if it will create
- 4:12:31uh overall it is good in that sense. So
- 4:12:33it is doing okay. So it is not doing
- 4:12:35this. Let us let us ask this again. Uh
- 4:12:37or let us uh start a new chat maybe.
- 4:12:40Let me copy this thing up. Start a new
- 4:12:43chat. Although I think cloud.md is dead
- 4:12:46again but we can check this up. Make
- 4:12:48sure that you go through claude.m
- 4:12:54MD again and also
- 4:12:56add to change lock.md.
- 4:12:59Create if missing. Okay. So again very
- 4:13:03simple change. Uh hopefully it will not
- 4:13:05do this time because it will already be
- 4:13:06having that.
- 4:13:08Uh it is reading the same thing. I think
- 4:13:10it is checking if claw.md is present.
- 4:13:12Reading claw.md again. It is uh checking
- 4:13:16if it is able to find changeout empty
- 4:13:20reading package JSON stuff. Now I'll
- 4:13:21update cloud empty to add my project
- 4:13:23name. So okay. Ah it has added this to
- 4:13:25here. Totally fine. Uh and that is what
- 4:13:27I was saying that it can actually change
- 4:13:29your uh this as well. Right. So now if
- 4:13:32you see a changemp is created
- 4:13:36where it is having all these things
- 4:13:37right. Ideally it has done a little bit
- 4:13:40of miss where I specifically ask that
- 4:13:42hey it should be a simple line. Okay. So
- 4:13:45I should specifically ask and you can
- 4:13:46see that again how it is not following
- 4:13:48it. So it is clawed is not all true.
- 4:13:50Right. That is the case. Uh I should say
- 4:13:53strictly
- 4:13:55strictly one line per item and I should
- 4:13:57have also added somewhere that you have
- 4:13:59to treat it like you should not
- 4:14:00unnecessarily increase it. And yeah I
- 4:14:03think that is all done everyone. Uh if I
- 4:14:04just now ask uh can you or let us let us
- 4:14:07first see our application because that
- 4:14:08would be helpful.
- 4:14:11Let us first see by running it again.
- 4:14:13Okay.
- 4:14:14So it is starting up. Let's go back.
- 4:14:16Let's refresh it. Hopefully it runs
- 4:14:19because again it is kind of Yeah. Oh.
- 4:14:21Okay. So it has added it. Seems like
- 4:14:24everything is good. Uh database is
- 4:14:26handling it. Uh dark mode is also
- 4:14:29working
- 4:14:31but there is some issue. So let us try
- 4:14:32to fix this up. Let us have this and
- 4:14:35paste it here. Okay. So you can paste
- 4:14:38image as well. Like one thing of learn
- 4:14:40can you please fix the dark mode here
- 4:14:44and also uh make sure that columns
- 4:14:49all columns are visible. Okay. So I'm
- 4:14:52just asking it to do one more change
- 4:14:53everyone and instead of seeing this as a
- 4:14:55context understanding see that how it is
- 4:14:57how you have to work on your project as
- 4:14:59well. So now again I will just say yes.
- 4:15:02We can have change out empty open. If it
- 4:15:04feels like some major change is being
- 4:15:05happened then it will do that. I think
- 4:15:07it is just kind of initialized the same.
- 4:15:09So that is why these all informations
- 4:15:11are there. But let's still see what will
- 4:15:12happen.
- 4:15:14It is again needing few things. Let us
- 4:15:16come back once it does this.
- 4:15:19So seems like it is working and I think
- 4:15:21once it does hopefully we will be having
- 4:15:25the change fix and since it was a very
- 4:15:28small change I don't think it will add
- 4:15:30uh it in your uh let's say change router
- 4:15:34MD because we are not doing any major
- 4:15:36change right but again maintaining this
- 4:15:37change log is very helpful because it
- 4:15:40will lead to the same every time so that
- 4:15:41would be pretty helpful everyone now
- 4:15:43what it is doing everyone is that uh it
- 4:15:46is actually creating some multiple let
- 4:15:50me show you what it is doing on the back
- 4:15:52end like it is opening these uh two
- 4:15:54things up right and it is reading the
- 4:15:56same so that is what like clot can do
- 4:15:58actually the server is running on port
- 4:16:00302 now let me update the change of MD2
- 4:16:02document okay seems like it has done
- 4:16:03this uh just one problem uh it is adding
- 4:16:06and making it a lot longer so I will
- 4:16:08have to make this change as well okay
- 4:16:11please make sure that you just add a
- 4:16:14single line of changes is in changelock
- 4:16:20MD update the same in claw MD as well
- 4:16:26okay
- 4:16:28because
- 4:16:30a long file might not be that helpful
- 4:16:35okay so I'll just ask it that hey please
- 4:16:37make sure that you do this uh not sure
- 4:16:39that why it is not following the stuff
- 4:16:41though uh I don't think that it is
- 4:16:43having lots of context but still uh good
- 4:16:45thing so see now it has done the same as
- 4:16:47well everyone And this is fine. This
- 4:16:49thing is overall pretty fine. Let's see
- 4:16:50what change it does in the cloud. MD. So
- 4:16:53let's try to see this. Yeah. So format.
- 4:16:55Okay. Uh yeah, I think this is a lot
- 4:16:57better.
- 4:16:59Great. So I think uh now if I just go
- 4:17:01and refresh still though it has not
- 4:17:03fixed it but I hope you get the idea. So
- 4:17:06again still I have to scroll. I think it
- 4:17:08didn't understood when I said that hey I
- 4:17:09want to see each and everything here.
- 4:17:11Although the modes are working. Uh this
- 4:17:12has also been fixed. So that's a pretty
- 4:17:14good thing. Right now let's move forward
- 4:17:16everyone and again more than uh context
- 4:17:19this is about understanding how you have
- 4:17:21to work on your project. One very
- 4:17:22important thing as well which handles
- 4:17:24and helps you to uh maintain your cost
- 4:17:26is to make sure that you are very
- 4:17:28specific with changes. So see this uh I
- 4:17:31have done that experiment but it will
- 4:17:33create like help me to create a multiple
- 4:17:35fork and everything which I would expect
- 4:17:37that you will also try out once whenever
- 4:17:39you are giving very very broad
- 4:17:45instructions to your clot it will most
- 4:17:47probably try to basically ask for more
- 4:17:51more overall uh let's say tokens okay so
- 4:17:53let us try this out once maybe let us
- 4:17:55quickly try this out if I see the cost
- 4:17:57as of
- 4:17:58uh session 5 hour 48% is used weekly is
- 4:18:0133% used uh which resets in 4 days uh
- 4:18:05okay there is a usage thing which I can
- 4:18:06see here okay for me the cost will not
- 4:18:08be shown because I'm using it like here
- 4:18:10if I go on the other side here cost
- 4:18:14let's see the usage cost so again it is
- 4:18:17showing us this cost because I'm using
- 4:18:18this uh as of now also I don't have the
- 4:18:20key thing so uh no worries I think we
- 4:18:24will have to try that out I will show
- 4:18:26that but the idea I will Make sure that
- 4:18:28it is clear to you. See, just like how
- 4:18:30if you tell your engineer that hey this
- 4:18:31is the exact thing which has to be fixed
- 4:18:32instead of giving a very broad inputs
- 4:18:35the same thing will always be very
- 4:18:36helpful right and that is again
- 4:18:37suggested by clot that hey instead of
- 4:18:39saying improve this codebase fix the
- 4:18:40null check in this line add error
- 4:18:42handling add try cache to the fetch
- 4:18:44user. So again if you know a particular
- 4:18:45pinpointing line so if you know for
- 4:18:48example that hey in my uh let's say this
- 4:18:52lib and in the constant these are all
- 4:18:54the constants if I have to fix something
- 4:18:57in this particular function please
- 4:18:59select this and then ask clot to work on
- 4:19:02that and the idea is pretty simple if
- 4:19:03you don't it will try to read every file
- 4:19:05it will try to scan your entire codebase
- 4:19:08and that of course will be a lot more
- 4:19:09cost right but if you tell it that hey
- 4:19:12this is the exact thing which I want
- 4:19:13that you work on then of course the same
- 4:19:15will be a lot better. So that is the
- 4:19:17whole understanding that please try that
- 4:19:18instead of giving this vague or broad
- 4:19:20use cases oram work you try to
- 4:19:23understand a little bit of code as a
- 4:19:24techie at least and try to specifically
- 4:19:27tell and this is something which again I
- 4:19:28see a lot of people making they will
- 4:19:30very vaguely ask that hey please add
- 4:19:32tests hey please make my application
- 4:19:34faster no again that is where claude is
- 4:19:37not going to help you a lot if you
- 4:19:39understand your tech better then it will
- 4:19:40of course be pretty helpful so this is
- 4:19:42not for all the non techies here because
- 4:19:44again your job is not anyway to develop
- 4:19:46it is just that you cannot develop very
- 4:19:47nice and cool looking prototypes for
- 4:19:49MVP. But please please make sure that
- 4:19:51you do this. As I am saying I have
- 4:19:54actually seen people is my friend only
- 4:19:57who is getting that $4500 and his uh
- 4:20:01credits are getting over by 15th or 20th
- 4:20:03of every month. that is the amount of uh
- 4:20:06claude they are using and of course that
- 4:20:08gets uh notified in the eyes of
- 4:20:10management and I saw I think claude is
- 4:20:12in in future maybe it will not allow
- 4:20:15authorizes to use the way I'm using
- 4:20:17right now so on the pro or the max plan
- 4:20:18right so if I go and tell you this thing
- 4:20:20if you go on claude pricing
- 4:20:23I'm not sure if it has done this already
- 4:20:25or not but I read somewhere that for the
- 4:20:28team
- 4:20:30for claude code I think claude uh is now
- 4:20:33saying that hey we will not provide you
- 4:20:35like this seed price plus usage and API
- 4:20:37rate. So I think that they are saying
- 4:20:38that hey as an enterprise you can just
- 4:20:40use claw code with uh cost with each hit
- 4:20:44right so for API level cost so that is
- 4:20:46the problem actually to be very honest
- 4:20:49okay and I think uh yeah so this one
- 4:20:51basically yeah the one which we have
- 4:20:52been seeing right so that is the whole
- 4:20:54case 50% with batch processing uh not
- 4:20:56sure I will love to see this in depth as
- 4:20:59well but yeah I think that is the whole
- 4:21:01case everyone that please make sure that
- 4:21:02your whole uh instructions are very very
- 4:21:05clear you are pinpointing to the exact
- 4:21:06file or at least to the exact code and
- 4:21:09tell that hey what do you want? So now
- 4:21:10if you can see move application between
- 4:21:12columns I can say that hey please fix
- 4:21:15this particular thing render application
- 4:21:18columns I can select this and then ask
- 4:21:21it specifically. So 15 lines are
- 4:21:22selected please render the column
- 4:21:27uh completely on the screen so I don't
- 4:21:33have to scroll. Now again I'm just I'm
- 4:21:36not gone in the depth of column so maybe
- 4:21:38this is not the right code but I'm just
- 4:21:40telling you or giving you an example.
- 4:21:42Now it is having this thing see canban
- 4:21:43helper 17 to 30 since these are helper
- 4:21:46function I think yes can board is the
- 4:21:48main one. So this is the level of
- 4:21:50understanding and stuff which we have to
- 4:21:52see and the context is 50% of the
- 4:21:54context remaining click to compact now
- 4:21:57okay it is until autoco compact. So uh
- 4:21:59yeah I think it is changing multiple
- 4:22:00files. Let us do yes
- 4:22:02and once this fixes it up I think still
- 4:22:05since I have given it this particular
- 4:22:07part if you will notice it is still
- 4:22:09reading just very less files because I
- 4:22:11have pinpointed that hey this is the
- 4:22:12work which you have to correct. So now
- 4:22:14it is just reading these two files. Okay
- 4:22:17unless uh sorry uh unlike earlier where
- 4:22:19it was reading so many files just to do
- 4:22:22a small change as well. So that is the
- 4:22:24whole benefit as well everyone. Now it
- 4:22:26is editing the job card and stuff. So
- 4:22:28synthesizing. So that is again very very
- 4:22:29helpful in saving you the cost. So let
- 4:22:31it work and we will see the final
- 4:22:32output. So seems like of course it has
- 4:22:35done the same. Uh let's try it out.
- 4:22:37Maybe we have to refresh on 30002. Let
- 4:22:40me refresh it and okay so it has tried
- 4:22:43that I don't have to scroll but still
- 4:22:46this one is not very nicely visible.
- 4:22:47Right. So something like this is
- 4:22:49happening. We can kind of move on it but
- 4:22:52yeah I hope you get the idea like I can
- 4:22:53zoom out and I think it should be fine
- 4:22:54now. Okay. I Okay. Okay. No no no. I
- 4:22:56think it is working because I am
- 4:22:58actually on 120% zoom. So at 100% it is
- 4:23:01working fine on that note maybe this was
- 4:23:04also working fine at 3,000. Yeah. So
- 4:23:06okay I was actually having the higher
- 4:23:07zoom so that you guys can see the same
- 4:23:09uh default zoom on my this browser is
- 4:23:12120% because I want that you are able to
- 4:23:13read everything right. So yeah I think
- 4:23:15in that sense it has actually done the
- 4:23:17same everyone. Now let's quickly move
- 4:23:18forward and discuss a few things more
- 4:23:20about the token budgeting and stuff. uh
- 4:23:22this again follows on the same part of
- 4:23:23the context and as I said this is a very
- 4:23:25important part when you talk about token
- 4:23:27budgeting and what you control uh we saw
- 4:23:30in here as well I've given that how uh
- 4:23:32there are lots of things few are in our
- 4:23:33control few are not in our control okay
- 4:23:35so let's quickly discuss and work on few
- 4:23:37of them which are in our control uh
- 4:23:39let's try to see for our use case only
- 4:23:41so I have written some points as well
- 4:23:42which I would like to talk yeah uh very
- 4:23:45first point everyone is that uh this is
- 4:23:47the first point actually that you should
- 4:23:49have a lean plot D. Okay. So, keep cloud
- 4:23:55MD concise. Okay. Which we have I think
- 4:23:57already discussed. Then second is that
- 4:23:59move your uh let's say instructions
- 4:24:04from claw. MD to skills agents
- 4:24:10um settings like again this is where we
- 4:24:12understood about dotcl. So again the
- 4:24:14idea is that when you are having this
- 4:24:16thing divided they just get read when
- 4:24:19the need arises. So claw.md gets read
- 4:24:21every time. Okay. But if your claw MD is
- 4:24:25very long, it will be loaded fully. But
- 4:24:26when you divide it into skills, into
- 4:24:28agents, into uh let's say rules, they
- 4:24:31will just be read when specific need
- 4:24:33arises. So of course your cost will be
- 4:24:34saved like that. Third, everyone is very
- 4:24:36very important and which was yes
- 4:24:38regarding the MCP server overhead
- 4:24:43something which is the problem with our
- 4:24:44context actually. So if I show you
- 4:24:45context, many of you would be noticing
- 4:24:48that, hey, you have been having so many
- 4:24:50of these MCPS unnecessary, right? Why
- 4:24:52why are you sending 14K tokens every
- 4:24:55time? Well, no worries. We can go to MCP
- 4:24:58MCP servers and I could say disable
- 4:25:02disable disable
- 4:25:06uh disable
- 4:25:08disable disable and disable. Okay. So
- 4:25:13now everyone all of them are disabled.
- 4:25:15Now if I do compact
- 4:25:18and I could just also say I have also
- 4:25:21removed or sorry disabled
- 4:25:24uh MCP servers. Okay. So let's see this
- 4:25:27uh hopefully it will try to not now load
- 4:25:29them. Let's see the same uh and we can
- 4:25:31mention this after compact. If you
- 4:25:33remember where is this coming from? Uh I
- 4:25:35gave you a very good okay let me let me
- 4:25:38search it here in the very starting. So
- 4:25:40I gave you this artifact thing right? Uh
- 4:25:43where is the one? Where is all the
- 4:25:44commands? Yeah this one. So again okay
- 4:25:49one minute. Yeah in this if you will
- 4:25:51search for
- 4:25:54compact and please make sure that you
- 4:25:56take the benefit of this compact compact
- 4:25:59instructions is there right and review
- 4:26:02recently changed simp okay this is
- 4:26:03simplified nothing else compact is the
- 4:26:05one. Okay so that is how I'm able to use
- 4:26:07it. uh also one more thing everyone all
- 4:26:09the links which are very very helpful
- 4:26:11which I'm using here they will be
- 4:26:13available for your reference in this
- 4:26:14particular file okay so all the links
- 4:26:16everything which I'm using they will be
- 4:26:18available here okay so yeah now let's go
- 4:26:20back and see the same compact and let's
- 4:26:24say now context
- 4:26:28let's see this uh okay so seems like now
- 4:26:31it is loading a lot less just 812 tokens
- 4:26:33so just see like since I'm not using any
- 4:26:35MCP right why should I load them every
- 4:26:37So that is the level of understanding
- 4:26:39which we should have everyone. So now if
- 4:26:41I go towards the last image and please
- 4:26:44download this as well. It takes a lot of
- 4:26:45time but I have seen that it is very
- 4:26:47helpful. Compact often I think it saves
- 4:26:49the work so that we are already aware.
- 4:26:50Uh one two more things which are like
- 4:26:52very important which not a lot of people
- 4:26:54talk about. Extended thinking is
- 4:26:56helpful. Okay. So if you're having
- 4:26:57extended thinking let's say at a high
- 4:26:58level or stuff uh which we discussed
- 4:27:00about in the effort as well. So effort
- 4:27:02if you remember I think where it was let
- 4:27:05us see it here. effort
- 4:27:08if you remember this thing. So uh
- 4:27:11normally if you are using extended
- 4:27:13thinking though it will use more of your
- 4:27:16tokens to do the work but uh initially
- 4:27:19if you're using it it is helpful the
- 4:27:21reason is pretty simple when your clot
- 4:27:23does the extended thinking that thinking
- 4:27:25is not done in the current session okay
- 4:27:26so it is done in the separate session
- 4:27:28overall so it is kind of surprising but
- 4:27:31extended think thinking actually helps
- 4:27:32your context window okay uh the reason
- 4:27:35is pretty simple when claude works
- 4:27:37without extended thinking enabled the
- 4:27:39reasoning goes into conversation
- 4:27:40history. So everything basically is part
- 4:27:42of your conversation history and that
- 4:27:43cost you context. Right? When you turn
- 4:27:45the extended thinking on extended
- 4:27:47thinking on the reasoning happens in a
- 4:27:49separate thinking tab that doesn't
- 4:27:50pollute the main context. So and overall
- 4:27:52it is able to do the same in a very less
- 4:27:53time. Uh one very more important thing
- 4:27:55everyone is of course something which
- 4:27:57all of you will be aware that is uh
- 4:28:00fifth one is something which is your
- 4:28:03plan before you build. So again
- 4:28:06something which I think is pretty
- 4:28:07logical that if you plan before you are
- 4:28:09building then of course the same will be
- 4:28:11very helpful. And sixth everyone is
- 4:28:13something sixth uh is something yeah
- 4:28:17please check your code and divide in
- 4:28:21version.
- 4:28:24So uh the idea here I will tell you
- 4:28:26because that is also something which I
- 4:28:27have seen over time and that is what
- 4:28:28claude suggests that see when you are
- 4:28:31having or working on something okay you
- 4:28:34should verify how your code is or what
- 4:28:36is the output for example when you are
- 4:28:38building your application try to see
- 4:28:40that okay if it has given you a very
- 4:28:42first good draft of stuff or in the code
- 4:28:44as well like for the techies out there
- 4:28:46please see that your code is towards the
- 4:28:47right side because the understanding is
- 4:28:48pretty simple if clot starts with the
- 4:28:51wrong foot if it is making some errors
- 4:28:52in the v1 then v2 will be propagating
- 4:28:55that error and it will be going forward.
- 4:28:56So many of you must have heard that uh
- 4:28:59again in coding as well we have dry
- 4:29:01principle do not repeat yourself. So my
- 4:29:03idea is that in the very first iteration
- 4:29:06after planning and just creating the
- 4:29:07full skeleton of my system I will as a
- 4:29:11techie always and always make sure that
- 4:29:12I can go through and see if claude has
- 4:29:14done some mistake if it has unnecessary
- 4:29:16added some file added some function
- 4:29:18because if I am correcting it in the
- 4:29:20starting it the error or the bad habits
- 4:29:23of code will not propagate. It is again
- 4:29:25just like technical depth right if you
- 4:29:26are having some very bad functions in
- 4:29:28the starting of the code no one cleared
- 4:29:30them out then they will propagate and of
- 4:29:31course pollute your complete workflow.
- 4:29:33So that is the whole idea here everyone
- 4:29:34and I think that is pretty
- 4:29:35straightforward and easy to understand
- 4:29:37that if you are having bad approaches in
- 4:29:39the starting if the knee or the base is
- 4:29:40only bad then it will propagate. So that
- 4:29:42is why it is highly highly suggested
- 4:29:44that please check your code in the
- 4:29:46initial level just do a quick review
- 4:29:49correct it maybe start a new session and
- 4:29:51just ask that hey can you correct this
- 4:29:53particular part then jump back onto your
- 4:29:56main session so that then your main
- 4:29:58application is following the best coding
- 4:29:59practices. So that is the W idea
- 4:30:01everyone. I think this kind of covers
- 4:30:03everything about your context and code
- 4:30:05very very important because all the
- 4:30:07things which you have done till now
- 4:30:08skills oh sorry cloud MD uh dotcloud
- 4:30:12folder the way you develop these things
- 4:30:14we have seen a mini project as well that
- 4:30:16would add to your cost understanding all
- 4:30:18these things now will actually reduce it
- 4:30:20and now you have the base as well that
- 4:30:22hey uh I need to make sure that okay
- 4:30:24unnecessarily I'm not making these
- 4:30:25things up because all the things which
- 4:30:27we will do in future like skills hooks
- 4:30:28MCP they will majorly be invoked when
- 4:30:32needed. So they will not be added to
- 4:30:33your cost or context, right? They would
- 4:30:34be kind of invoked when you specifically
- 4:30:36need them. So that is the whole idea.
- 4:30:38Now in the next part everyone let's jump
- 4:30:40on to skills which are again very very
- 4:30:41important and which you will master like
- 4:30:43this as well. Okay. And one more thing
- 4:30:46if you are liking the effort which I'm
- 4:30:48putting into the content because you can
- 4:30:49see that how much in depth I'm telling
- 4:30:50you each and everything that is coming
- 4:30:52very much in depth from the official
- 4:30:53cloud documentation plus the best
- 4:30:55resource research everything. So please
- 4:30:57make sure that you subscribe to my
- 4:30:58channel. Please make sure that you like
- 4:31:00the video and share it with everyone
- 4:31:01because creating courses like this of
- 4:31:03course take a lots of effort like I have
- 4:31:05watched I'm not sure more than maybe 200
- 4:31:073 250 hours of content. I have been
- 4:31:09working on this for the last one and a
- 4:31:10half months because I wanted to make
- 4:31:12sure that I can give you a one complete
- 4:31:13guide instead of those small small
- 4:31:15videos where you don't end up learning
- 4:31:16anything. Okay, people just skip the
- 4:31:18steps but uh like the one who is
- 4:31:23creating the video he's the only one
- 4:31:24learning and at the end of the day you
- 4:31:25just feel for FOMO and not actually
- 4:31:27doing something right. we will be
- 4:31:28creating a project as well. So pretty
- 4:31:30sure that that would be helpful. Okay.
- 4:31:31So let's now meet in the next part where
- 4:31:32we will master about the skill in depth.
- 4:31:35So great everyone. Now let's start with
- 4:31:37our next topic which is going to be
- 4:31:38skills and again anatomy of skills
- 4:31:40because yeah I'm pretty sure that you
- 4:31:42must have learned uh skills from
- 4:31:44multiple places might have used as well
- 4:31:47though to be very honest I discussed
- 4:31:48with many people and they were actually
- 4:31:50not aware about like they have heard
- 4:31:51that yeah there is something known as
- 4:31:52skills in cloud but uh yeah they were
- 4:31:55not uh using it and I think that this is
- 4:31:57one of the coolest feature which uh AI
- 4:32:00can provide and it is such a simple uh
- 4:32:03concept but uh now that cla has actually
- 4:32:06uh basically executed the same. It seems
- 4:32:08so powerful and uh yeah let's try to
- 4:32:11understand the same in depth everyone.
- 4:32:13So if you go in here and if you go uh to
- 4:32:15tools yeah this is the exact page
- 4:32:17everyone extend claude with skills. Now
- 4:32:20again as before we are going to master
- 4:32:21the same in depth right. So there are
- 4:32:23again multiple things which gets open
- 4:32:26when you are mastering your skills uh
- 4:32:28with me. The idea is that it is not
- 4:32:30going to be pretty simple uh just like
- 4:32:32creating a skill because that is
- 4:32:33something which we have uh I have also
- 4:32:36already taught the same in cloud co-work
- 4:32:37and cla but overall as well I want to
- 4:32:39make sure that I tell you all the
- 4:32:40functionalities right so the very first
- 4:32:42thing everyone uh the skills are exactly
- 4:32:44the same the way it is so if I go on
- 4:32:46claude AI right if I go on customize
- 4:32:50settings let's say if I go on okay let
- 4:32:53me go from here maybe
- 4:32:55customize yeah in this you will see lots
- 4:32:58of skills Right. So the idea is pretty
- 4:32:59same at the end of the day. Right. Uh
- 4:33:02skills are just your uh overall MD file
- 4:33:08which is the instructions or some prompt
- 4:33:09you can think of. The best part they are
- 4:33:12also or they can be enhanced by uh
- 4:33:16in-depth or other supporting files as
- 4:33:19well. So this I think is the best
- 4:33:20example here. If you see skill creator
- 4:33:22now and again these are the same skills
- 4:33:24like I think the one which you have
- 4:33:26created here can be used uh in your clot
- 4:33:27code. We will check the same out. So
- 4:33:29skill creator skill.m MD is like the
- 4:33:31instructions, right? MD is just
- 4:33:33markdown. Uh the idea is pretty simple
- 4:33:35here. Uh you are able to actually have
- 4:33:37these limits sorry these headings etc.
- 4:33:40Right? So instead of a simple test MD is
- 4:33:42able to have that thing. Uh and I think
- 4:33:44we are learning about claw MD and
- 4:33:46everything. So MD should be clear the
- 4:33:47markdown file and again it can have
- 4:33:50multiple other other things as well with
- 4:33:52respect to some scripts some commands.
- 4:33:55It is actually the complete in-depth uh
- 4:33:58way or instructions to run something.
- 4:34:00That is how you should see a skill. And
- 4:34:02to understand the same better everyone,
- 4:34:04I think just just let's think about this
- 4:34:06because skill is not something which is
- 4:34:08a very random name. It is very thought
- 4:34:10of name. Right? When we were trying to
- 4:34:12master uh let's say driving a bicycle or
- 4:34:14a car initially we take a lot of time,
- 4:34:17right? So initially it happened that we
- 4:34:18are making some mistakes. We are falling
- 4:34:20down. Hopefully we are not uh let's say
- 4:34:22uh striking our car somewhere. But yes,
- 4:34:24initially it takes us time. But as we
- 4:34:27move forward, as those hours turns into
- 4:34:29days, we are able to do the skill or do
- 4:34:31everything properly, right? For example,
- 4:34:33if you're driving a car, you uh have the
- 4:34:35mirror check, right? Then you see your
- 4:34:37mirror on the top of as well. Then you
- 4:34:39make sure that you are having your hands
- 4:34:40on the gear and on let's say the scaling
- 4:34:42and everything. But over time, you
- 4:34:44become skilled in that. That is what we
- 4:34:46say, right? And all the things behind
- 4:34:48your skill is that you have some
- 4:34:50techniques. Over time you make sure that
- 4:34:51you are correcting the way you are
- 4:34:52driving and all these things and those
- 4:34:54techniques and everything finally
- 4:34:56becomes like your skills. Now just think
- 4:34:58about why can't since our brain and AI
- 4:35:02is also a brain I always say that why
- 4:35:04can't we teach skills to an AI right? So
- 4:35:05that is the complete idea everyone that
- 4:35:07if we have done something very very
- 4:35:08nicely we can make sure that we can
- 4:35:10create a skill for that and not only
- 4:35:13that that skill can be invoked anytime
- 4:35:15so that it is able to reproduce exactly
- 4:35:18the same step. As an example, if you
- 4:35:20learn how to drive a car, you can
- 4:35:22actually now drive another other car as
- 4:35:24well because you are skilled. You have a
- 4:35:26skill to drive a car, right? All the
- 4:35:27instructions, everything is same with a
- 4:35:29if just one thing more to notice based
- 4:35:32on your skill to drive a car, of course,
- 4:35:33you cannot drive a truck or aeroplane
- 4:35:35because that skill is valid till that
- 4:35:37particular point. Okay. So that is about
- 4:35:38understanding and if you try to
- 4:35:39understand uh let's say with respect to
- 4:35:42a very good analogy this is what
- 4:35:44happened that if you don't have let's
- 4:35:46say the skill created everyone which was
- 4:35:48the case uh many of you must be opening
- 4:35:50a new chat then making sure that you are
- 4:35:52training the chat up to that point this
- 4:35:54used to happen a lot with me and I used
- 4:35:55to hate it like after some time each and
- 4:35:57every chat because of context rot used
- 4:36:00to become bad in chat GPD or in cloud
- 4:36:03and early uh in the time like when cloud
- 4:36:05was free it used to limit your messages
- 4:36:07it used to ask that hey start a new chat
- 4:36:08everything is done and that is where I
- 4:36:10faced the major problem whatever I have
- 4:36:13done I have to retrain my chat right so
- 4:36:16that was the one problem of course you
- 4:36:17used to ask many of you must have done
- 4:36:19this thing right so you must have gone
- 4:36:20to say chart GBT and if I just see one
- 4:36:24of the previous chat let's say uh let's
- 4:36:26see yeah let's see this diagram I could
- 4:36:29say can you create a
- 4:36:34summary of this chat So I could use the
- 4:36:39same in a new chat. Now again uh this is
- 4:36:42something which I have done a lot right.
- 4:36:44This is something which the way I used
- 4:36:46to share it with my friends as well if I
- 4:36:47wanted that hey this chat is working
- 4:36:49pretty good because I have seen so many
- 4:36:51people that how for them the once the
- 4:36:53chat works good they are pretty happy to
- 4:36:55use it and once it gets deleted or like
- 4:36:58it's slows down then everything is lost
- 4:37:00that is also something which in depth
- 4:37:02skills help us to answer. So with
- 4:37:03respect to that everyone let's try to
- 4:37:04now master the same. So again the idea
- 4:37:07is that before uh skill you were every
- 4:37:10time basically walking prompting fixing
- 4:37:12the prompt thinking verifying everything
- 4:37:14that was again and again which used to
- 4:37:16happen and there was a fatigue right now
- 4:37:18with skill it is kind of helping you to
- 4:37:20automate now skill is actually one of
- 4:37:21the best way of automating stuff because
- 4:37:23our cloud can actually connect with
- 4:37:25other application as well right vis MCP
- 4:37:27we can connect via Gmail calendar
- 4:37:29everything so they can also be part of
- 4:37:31our skill where let's say that it is
- 4:37:33getting my emails then it is summarizing
- 4:37:36ing them then it is founding a reply
- 4:37:37then it is creating a draft. So all
- 4:37:39those things are also helpful because my
- 4:37:42claude can connect with your different
- 4:37:45different application as well. So we
- 4:37:46will discuss about MCP later in the uh
- 4:37:49further parts but as of now once you
- 4:37:50create the skill everyone once you have
- 4:37:52written the same then you don't have to
- 4:37:54worry your cloud can actually uh itself
- 4:37:57with the all the instructions and
- 4:37:58everything work on that particular skill
- 4:38:00it can follow that it can fix that and
- 4:38:02it can deliver based on what all you
- 4:38:04have mastered. So as an idea if I just
- 4:38:06go back uh let's say in here here if you
- 4:38:09will see that we were actually using
- 4:38:11some skill which was uh status line if
- 4:38:14you remember right setup clot status
- 4:38:16line UI okay so that was the skill and
- 4:38:19many of you must have hoped it right so
- 4:38:21let me show you where skill lift uh the
- 4:38:23major skills live right the one which is
- 4:38:26your uh that one right the global level
- 4:38:29one so let me show you that in the dot
- 4:38:31plot so let me go by here only
- 4:38:34So let me make it smaller. In the dot
- 4:38:38cloud everyone let's see where is the
- 4:38:39dot cloud folder. Yeah so dot claude and
- 4:38:42in this somewhere we will be having
- 4:38:45skills as well. Let me check it. So seem
- 4:38:48like again there are no skill folder
- 4:38:50present. I believe we should be having a
- 4:38:52skill folder here but yeah I think we
- 4:38:53have not created any skill and few of
- 4:38:56the skills are in built-in clot. So of
- 4:38:58course we are not talking about them.
- 4:39:00Right. So that is the whole idea
- 4:39:01everyone. As of now, as we can see, I
- 4:39:03don't see any skills folder. So, let us
- 4:39:06create that as well. No worries. And
- 4:39:08that does mean that it is not synced,
- 4:39:10right? So, if for example, I have a
- 4:39:13skill to create, let's say create. Yeah,
- 4:39:18I think it is not able to sync our a uh
- 4:39:20this these skills which are present on
- 4:39:23our web to the claude code. Okay. So,
- 4:39:25let's actually try to understand the
- 4:39:26same. Uh now this is again all
- 4:39:28everything about claude skills everyone
- 4:39:30which we are going to master. Now if you
- 4:39:32will see this right the whole idea
- 4:39:34becomes very simple. There are some
- 4:39:35bundled skills like simplify batch debug
- 4:39:38loop claude API. Okay unlike most
- 4:39:39built-in commands which execute fixed
- 4:39:41logic directly bundle skills are prompt
- 4:39:43based. They give claude a detailed
- 4:39:45playbook and let it orchestrate the work
- 4:39:47using its tools. So what effectively it
- 4:39:50is saying here and very very important
- 4:39:51to understand is that uh let's say for
- 4:39:54example this is my claw MD skill. So it
- 4:39:57is just saying that hey these are just
- 4:39:58uh prompts right. So when you say
- 4:40:00simplify which we can test out here as
- 4:40:02well. Let's test it out here so that it
- 4:40:04don't ask for lots of token review
- 4:40:06change code for reuse quality and
- 4:40:08efficiency and fix any issues found
- 4:40:10right. So pretty simple thing simplify
- 4:40:12is already present as I think a prompt.
- 4:40:14Then uh similarly everyone there is
- 4:40:17debug there is batch and there is loop
- 4:40:19as well. So let's try to see them as
- 4:40:20well. Loop
- 4:40:23done a prompt/ command on a recurring
- 4:40:25interval. Okay this we will talk about
- 4:40:26no worries on automation. Then there is
- 4:40:28batch research and plan a large scale
- 4:40:31chain then executed in parallel across 5
- 4:40:33to 30 isolated work three agents that
- 4:40:35each open a PR. So yeah that I also I
- 4:40:37know that is that uh charges you a lots
- 4:40:39of token but yes I hope you get the idea
- 4:40:41like these are few of the skills present
- 4:40:43but along with that everyone what happen
- 4:40:44is that cloud code is saying that hey
- 4:40:46you can create a skill from scratch okay
- 4:40:48by doing this thing so let us let us
- 4:40:50copy this and what I will do is let me
- 4:40:52just get the terminal here so we can
- 4:40:54parally run it okay so I will first get
- 4:40:56out okay I'm out of this thing I'm
- 4:40:59pasting and if I just do now cd
- 4:41:05this clot like this is actually where I
- 4:41:07am in the cloud folder. So now I have
- 4:41:09created a skills as well. So I will
- 4:41:11create a skills and see inside I'm
- 4:41:13saying there's a explo explain code as a
- 4:41:16skill. So it is a folder everyone right
- 4:41:18to show you this in a nice manner. Okay
- 4:41:20having lots of things see I have created
- 4:41:22a explain code folder here right now let
- 4:41:24us go back let us try to go back
- 4:41:26everyone and in this we can have a skill
- 4:41:31empty file. So pretty simple I could
- 4:41:33just easily create this skill empty. Let
- 4:41:35me say touch
- 4:41:38skill.md.
- 4:41:41So it is skill.md. And again we can just
- 4:41:43open this and say vi skill.md.
- 4:41:49Paste this. Uh you can go and do it this
- 4:41:52via notepad as well. Not a problem. I
- 4:41:54just am doing it directly via the
- 4:41:55commands here. And yes now we have a
- 4:41:57skill everyone. So if I think this is an
- 4:41:59explain code skill and this is I think
- 4:42:02the easiest way. If I now search, I
- 4:42:04think I will have to open a new one.
- 4:42:07/explain code. Okay, let me refresh the
- 4:42:09skill once or let's try it here only.
- 4:42:13Claude.
- 4:42:16Uh, so it is saying okay. Okay, I think
- 4:42:17we have to start this uh accessing
- 4:42:19workspace cla is this a project you
- 4:42:21created or once you trust like your own
- 4:42:23code, a well-known opensource project or
- 4:42:25work. If not, take a moment and all
- 4:42:26these things. Okay, it is asking me for
- 4:42:27this thing. So, I can trust here not a
- 4:42:29problem. And I think that I will now
- 4:42:32have explain code. Yeah. So see now
- 4:42:34explain code is visible everyone. Maybe
- 4:42:36here we have to start a new session.
- 4:42:37Let's try that out as well or I think
- 4:42:39there might be some time. So it is done.
- 4:42:43Let us slash explain code. Yeah. So now
- 4:42:46it is visible. So I think it takes a
- 4:42:48little bit of time to just get synced
- 4:42:49up. But yeah now you can call it but of
- 4:42:52course this is pretty simple approach.
- 4:42:53We are kind of just having the overall
- 4:42:55prompt here. So that is the whole
- 4:42:57benefit everyone. But uh over time the
- 4:43:00same has actually been very made very
- 4:43:02nice. Okay. And I would like to show you
- 4:43:04a very well done article on skills 2.0
- 4:43:07like what all improved in that. Okay. So
- 4:43:09that is something which we will talk
- 4:43:10about but just to quickly recap as of
- 4:43:12now skills help you to do some work in a
- 4:43:16repetitive manner with proper
- 4:43:17instructions proper files code it's
- 4:43:19everything right and I don't want to
- 4:43:21make it unnecessarily complex. That is
- 4:43:23why I'm following the official
- 4:43:24documentation. It is just instruction.
- 4:43:25It is not a code. It is not some let's
- 4:43:27say uh overall program. It is just a
- 4:43:30simple instructions which claude
- 4:43:32follows. Very simple idea or very simple
- 4:43:35execution. A very strong over sorry very
- 4:43:38simple idea very strong execution
- 4:43:39because this saves us a lot of time. Now
- 4:43:41for example I have created multiple
- 4:43:43skills in my cloud for uh summarizing
- 4:43:45for let's say creating a report and I
- 4:43:47could just specify that how I have to do
- 4:43:48that particular thing right so that is
- 4:43:50the whole case everyone where the skill
- 4:43:52comes into picture and now let us
- 4:43:54discuss about anatomy of skill file as
- 4:43:56well so let me actually show you now
- 4:43:58again this follows the same approach if
- 4:44:00I show you this thing here before we
- 4:44:02jump on to 2.0 So test the skills. Now
- 4:44:04where does the skill live? I think it is
- 4:44:06pretty simple thing. Enterprise at an
- 4:44:08authorize level. So if you're having
- 4:44:09multiple skills that hey create a report
- 4:44:11for this company. Now you can have some
- 4:44:13official ways in which it is getting
- 4:44:15created. Right? Then personal in your
- 4:44:17claude skills main global directory for
- 4:44:20all your projects. Project dotcl then
- 4:44:23skill name and skills.md something which
- 4:44:25we have kind of followed. We have done
- 4:44:27this uh on uh okay let me close this. We
- 4:44:29have done this on personal at a global
- 4:44:31level and then plug-in which we will
- 4:44:34talk about like plugins we will plug in
- 4:44:35and masterpace we will discuss in the
- 4:44:37end. So it is saying when skills share
- 4:44:39the same name across level override
- 4:44:41personal and personal override project.
- 4:44:44Okay. So if you have two skills here the
- 4:44:48here actually will be the one which will
- 4:44:51be called. So if I having a generate
- 4:44:52report at my level at personal level uh
- 4:44:56sorry at project level person and
- 4:44:58authorize authorize will take the
- 4:44:59benefit. Okay plug-in uses so plug-in we
- 4:45:02will discuss afterwards. Okay. So now
- 4:45:03let us see everyone this is the majorly
- 4:45:06template. So we will come to that as
- 4:45:07well. First let me show you about skills
- 4:45:092.0 Like again nothing as such different
- 4:45:12rather now it has been kind of made part
- 4:45:14of your uh claw by default but still it
- 4:45:18is important to know because they kind
- 4:45:19of in introduced many things right as of
- 4:45:22now you have seen that how I have
- 4:45:23created a very basic skill just by
- 4:45:25adding the instruction but claude what
- 4:45:27it did it said that hey let's let's take
- 4:45:30skill to the next level and in that it
- 4:45:31gives us multiple things the very first
- 4:45:33one was skill creator build skills by
- 4:45:35describing them so we are everyone
- 4:45:37having if I go on this And if I say
- 4:45:40skill creator and again claude claude
- 4:45:42code claude co-work like they are having
- 4:45:44the same brand at the end of the day
- 4:45:46right I think we will be having skill
- 4:45:48creator here as well uh it is not
- 4:45:51present so I can actually do something
- 4:45:52which I will show you here you can
- 4:45:54actually create a skill easily right so
- 4:45:56let me just check quickly skill creator
- 4:45:58in claude code
- 4:46:01skill creator claude plug-in okay it is
- 4:46:04saying skill creator install in claw
- 4:46:06code
- 4:46:08okay I think I have to go here. Okay,
- 4:46:10let's let's install it via terminal FP1.
- 4:46:13Let me exit it out.
- 4:46:15So, this is just a skill which helps you
- 4:46:17to create further skills. Uh, Claude
- 4:46:18plug-in install. Yeah. Okay. I think
- 4:46:20this is how you install this. Yeah, I
- 4:46:21forget that totally. Successfully
- 4:46:23installed plug-in. Skill creator add
- 4:46:26plug-in official. Now everyone when I
- 4:46:28think you will start plot
- 4:46:32it is start and I if I search for skill
- 4:46:35creator see there is a skill creator now
- 4:46:37again uh it is mentioning it as plug-in
- 4:46:39so just for the timing you can think
- 4:46:41plug-in and skill are same but we will
- 4:46:43discuss and understand why how they are
- 4:46:44different and now everyone this is like
- 4:46:47a complete very very good awesome uh
- 4:46:51overall instructions to create a skill
- 4:46:54because if you think about it creating
- 4:46:56or learning a skill is also a skill
- 4:46:58right you say that hey this person is
- 4:46:59very skilled in learning new things so
- 4:47:01that person ideally having a very good
- 4:47:03skill in learning new skills right so
- 4:47:05that is also a skill and that is the
- 4:47:06whole idea and uh yeah it is an official
- 4:47:09one everyone if you will see I think it
- 4:47:11provides lots of plug-in clot.com so we
- 4:47:13can see lots of plug-in here which are
- 4:47:15given directly by claude now I can see
- 4:47:18co-work and claude code here you can
- 4:47:19search select clot code and you will
- 4:47:22find lots of plugins right for like I
- 4:47:25think most of the application which we
- 4:47:26use every So that is something which is
- 4:47:28very very helpful. Postman, circle back,
- 4:47:30pine cone like anything which you are
- 4:47:32using just add that as a skill. The best
- 4:47:34part unlike MCP it will be called when
- 4:47:37it is required not always. Okay. So
- 4:47:40let's go back everyone and try to
- 4:47:41understand a lot few more things which
- 4:47:42it has uh made better. So again after
- 4:47:46skills 2.0 create a skill to analyze
- 4:47:49customer feedback. it will automatically
- 4:47:50try to create the same and again the
- 4:47:52idea is very simple
- 4:47:55in your skills.md everyone sorry in your
- 4:47:57skills creator it is having a very much
- 4:48:00in-depth uh points right so if I show
- 4:48:03you skills.md it is having proper
- 4:48:06in-depth things like it can it will be
- 4:48:07running the evaluation viewer so
- 4:48:09normally we will be creating skills just
- 4:48:11as a prompt okay but this skill creator
- 4:48:14skill it understand things in depth it
- 4:48:16is having multiple agents which analyzer
- 4:48:19comparator greater we will we will
- 4:48:20discuss about agent as well. Then assets
- 4:48:22evaluation viewer references scripts. So
- 4:48:26it tries to learn out these multiple
- 4:48:27scripts as well. So it is having
- 4:48:29everything in the arsenal so that it can
- 4:48:30help you create your skills in a much
- 4:48:32better manner. Okay. So that was the
- 4:48:33very first point. Second structured
- 4:48:34evaluation. So again it tries to
- 4:48:36evaluate your skills as well. It tries
- 4:48:38to create these test cases that what it
- 4:48:40should do median urgency claim high
- 4:48:42agency claim something like that it
- 4:48:43tries to include directly. Then everyone
- 4:48:46uh AB testing run the same task with and
- 4:48:49without the skill measure the
- 4:48:50difference. So that is the whole idea
- 4:48:51PDF for banding skill. Okay. So here it
- 4:48:54is saying that it tries right and it can
- 4:48:56basically clot now make sure that when
- 4:48:59it is using your skill since it is
- 4:49:01creating it in a so nice manner. You can
- 4:49:03see the difference as well in the AB
- 4:49:05testing is when you do something in one
- 4:49:06way and do something in another way. So
- 4:49:08without a skill something will happen
- 4:49:10which will not be so good if your skill
- 4:49:12is pretty good but with a skill the same
- 4:49:14thing will be in a much better manner.
- 4:49:15So it is saying year results task with
- 4:49:17no skill improvement SEO audit. So it is
- 4:49:19saying that hey there was a 150
- 4:49:21insurance triage. So they are saying
- 4:49:23that they had a 161% improvement. But
- 4:49:26what I have seen is that consistence
- 4:49:28result no worries with respect to
- 4:49:30training again and again and that is
- 4:49:31helpful trigger optimization. Now this
- 4:49:33was very helpful.
- 4:49:35Uh if I have created a skill let's just
- 4:49:37do explain code just as an idea. Let us
- 4:49:39go back here. We we created this
- 4:49:41explained code skill right. Let me say
- 4:49:43explain my code to me. Claude did some
- 4:49:46under the hood changes so that anytime
- 4:49:48you ask it, it is able to better
- 4:49:50understand that hey if it had a skill
- 4:49:51for that or not. Uh okay, what happened
- 4:49:54here?
- 4:49:56I think this has been uh my uh cloud
- 4:50:00code can be used cloud AI subscription.
- 4:50:01Let me try it out everyone.
- 4:50:04Let's see. Uh maybe maybe I've hit the
- 4:50:06limit. So something which I'm not
- 4:50:08cutting because you can see that what
- 4:50:09happens.
- 4:50:11Uh okay
- 4:50:15I think let me quickly quickly check if
- 4:50:18my limit is over. So seems like again
- 4:50:20there was just some like it get
- 4:50:22refreshed. So anyways everyone the
- 4:50:23second I sent hi it was actually able to
- 4:50:26read the kanban helpers because that is
- 4:50:28the file selected. It was able to also
- 4:50:30catch that it has a skill for that. So
- 4:50:32explain code was basically called in as
- 4:50:34a skill and then it was able to take the
- 4:50:36best decision that how like it is
- 4:50:37explaining me each and everything.
- 4:50:38Right. So that is the whole thing it has
- 4:50:40done for me following the best
- 4:50:41approaches right. So that is something
- 4:50:43which claude improved. I just want to
- 4:50:45make sure that you understand these
- 4:50:46things because if you go on perplexity
- 4:50:49right it is now not about just claude
- 4:50:51here as well if you will see in
- 4:50:52customize they are having the skills. So
- 4:50:55the idea is very simple like every AI
- 4:50:57I'm pretty sure that chat GP also in
- 4:50:59some time they are going to come up with
- 4:51:00a skill. Okay because that is a very
- 4:51:02very awesome uh and easy way of
- 4:51:04providing a lots of things to your AI.
- 4:51:06So that is the whole idea. Now trigger
- 4:51:08optimization it is able to understand
- 4:51:09and see the trigger and understand the
- 4:51:11same uh for context mode isolated
- 4:51:14execution. So again this is something
- 4:51:16like it execute your skill sometime uh
- 4:51:18separately. This is I think in the
- 4:51:21claude AI only then manual invoke only.
- 4:51:24So you can add disable model invocation
- 4:51:26so that claude doesn't autoload. You are
- 4:51:28always invocating it manually by
- 4:51:30pressing this slash command and then
- 4:51:33selecting the skill. So let's say
- 4:51:34explain code right and then you can ask
- 4:51:36anything here
- 4:51:38and then everyone I think hot reload. So
- 4:51:41yeah what happened here is that it is
- 4:51:42able to quickly reload it auto reloads
- 4:51:44and test immediately something which we
- 4:51:46saw just with our explained code. So
- 4:51:47this was all the things everyone which
- 4:51:49kind of it did uh very very helpful
- 4:51:51right and hooks is something which again
- 4:51:53we will see in the next part. So I'm not
- 4:51:55confusing this folks in front pattern
- 4:51:57but I hope you get the idea that what
- 4:51:58all improvements were made in your uh
- 4:52:02claude when it kind of introduced skills
- 4:52:042.0. So very very awesome uh in uh this
- 4:52:08article which I will keep and share the
- 4:52:10link with you. Now once this is clear
- 4:52:12everyone let's try to create some more
- 4:52:14skills. Now if I go I can actually
- 4:52:16create skills here as well. So again the
- 4:52:18same idea skills. Okay, I can create a
- 4:52:22generate report skill. So this is the
- 4:52:26name of the skill and inside it I could
- 4:52:28create skills uh skill dot empty. Okay.
- 4:52:33And let me close other things for the
- 4:52:35time being. We are going to create skill
- 4:52:37in multiple manners right live as well
- 4:52:39as everything. So see this everyone I'm
- 4:52:41just copy pasting it again. It is based
- 4:52:43on all the best instructions here. If
- 4:52:45you will see skills from it like again
- 4:52:46you can add multiple other directories
- 4:52:48where you can pick pick up the skill. If
- 4:52:50you need to share it across your uh
- 4:52:52company level skill across your project
- 4:52:55personal level script then project. So
- 4:52:57that is how it works. And now again it
- 4:52:59is saying that hey this is how you
- 4:53:00create reference context uh task content
- 4:53:03what it should do context disable model
- 4:53:07invocation. Right? So again very
- 4:53:09important thing context fork means that
- 4:53:11I think it will be running it parally
- 4:53:12someh in a different uh context window.
- 4:53:15So something which is very very
- 4:53:16important as well. Now uh front matter
- 4:53:20again this is just uh something which we
- 4:53:21will discuss but yeah here are all the
- 4:53:22things everyone name required no display
- 4:53:25name for the skill if formatted uses the
- 4:53:27directory name. So again if the name is
- 4:53:29not provided generate report is the one
- 4:53:30right I will just copy my skill file as
- 4:53:32well so everything is clear to you here.
- 4:53:35description recommended when the skill
- 4:53:36does and when to use it. Clause uses
- 4:53:38this to decide when to apply the skill.
- 4:53:40If omitted, use the first paragraph of
- 4:53:42markdown content. So again, this opens
- 4:53:44your horizon. Now, as of now, you were
- 4:53:47just thinking skills as a markdown
- 4:53:49prompt, right? But no, Claude has
- 4:53:51provided the structure to it. So when
- 4:53:54let's say as an example, you ask it to
- 4:53:56do something, Claude doesn't load the
- 4:53:58complete skills file. Let's say we are
- 4:54:00having 100 skills. No, it will just try
- 4:54:02to make sure that it just needs a
- 4:54:04description. So keep it small. Maybe add
- 4:54:06that when it should be triggered and
- 4:54:07everything. When to use additional
- 4:54:09context for claw when should we invoke
- 4:54:10the skill? Appending to description in
- 4:54:12the skill listing and count towards the
- 4:54:151536 character cap. So it is having some
- 4:54:17cap as well as you can see and that
- 4:54:20makes sense right if your description is
- 4:54:21very long then what's the benefit like
- 4:54:23claude will anyway just have the tokens.
- 4:54:25We have discussed about the token and
- 4:54:27the context management. So all these
- 4:54:28things need to be taken care of. Then
- 4:54:29arguments which we will talk about as
- 4:54:31well that you can actually provide
- 4:54:32arguments as well right in your skill.
- 4:54:34So for example, if I'm asking it to
- 4:54:36explain a code uh and it always
- 4:54:38understand that hey the code will be
- 4:54:40having this structure like library node
- 4:54:42modules components everything right but
- 4:54:45what if tomorrow the comp uh structure
- 4:54:47is different so you can make your skill
- 4:54:50dynamic as well in a way for example
- 4:54:51again if I am having let's say write
- 4:54:54test and that normally I mentioned that
- 4:54:57hey that write test for back end for
- 4:55:00code present in the library folder okay
- 4:55:02so this is where your logic lies but
- 4:55:03tomorrow If I want to uh write test for
- 4:55:07front end just as an basic example then
- 4:55:10how can I reuse the skill that is where
- 4:55:12argument comes in right so that is the
- 4:55:14whole benefit of arguments then again
- 4:55:16allow tool model effort right we can
- 4:55:19change model and effort per skill as
- 4:55:21well so you can easily easily change the
- 4:55:23model as well then you can provide it
- 4:55:24multiple other things as well initial
- 4:55:26command to use paths hooks agent and
- 4:55:28context right set to folk to run in the
- 4:55:30fork sub aent context so we will discuss
- 4:55:32about this as well but that is a whole
- 4:55:34case everyone. Now if you see in here
- 4:55:36what I have done I have created a skill
- 4:55:37with name description and trigger/g
- 4:55:41generate report. So I specifically
- 4:55:42mentioned trigger as well. Now if you
- 4:55:45will see okay
- 4:55:47input goal generate a comprehensive
- 4:55:49daily status report for the project
- 4:55:51target directory src default or user
- 4:55:54specified path. So I can just mention
- 4:55:55here I could make it a proper argument
- 4:55:57as well. report output location reports
- 4:56:00and I'm perfectly giving it an output
- 4:56:02location include todd yes step one scan
- 4:56:05the codebase so read all the py files
- 4:56:07now again I could make this some having
- 4:56:10some argument as well so let's say file
- 4:56:12type this is not the exact uh of course
- 4:56:15your type or syntax but yeah that is the
- 4:56:17whole idea then summarize findings write
- 4:56:20the report confirm completion try print
- 4:56:23a confirmation message with how many
- 4:56:24files were scanned how many todos were
- 4:56:26found the path to the report file So
- 4:56:28this is again everyone a very very
- 4:56:29simple skill which can run right which
- 4:56:31can help you to actually just create a
- 4:56:33report for your thing. Now anytime any
- 4:56:36you want to create this report just go
- 4:56:38here. Okay. And I think we have to save
- 4:56:40it and I think it will take a little bit
- 4:56:43of time to get uh synced up or maybe we
- 4:56:46have to start another chat. Let me start
- 4:56:49another one.
- 4:56:51Yeah. So now generate report is coming
- 4:56:52right. So very quick hot refresh. Okay.
- 4:56:55And you can use it. Actually let's use
- 4:56:56it only generate report. Let's see that
- 4:56:59what exactly will happen. Okay. So let's
- 4:57:01try to understand the same. Uh I hope
- 4:57:02the model is not opus by any chance. No
- 4:57:05it is Io.
- 4:57:07Uh okay I pressed escape. My bad. Let me
- 4:57:10do generate report again.
- 4:57:13And it may ask you as well like what
- 4:57:15exactly was there. So see it is saying
- 4:57:17that hey can I run this command. So let
- 4:57:19us find all typescript and javascript
- 4:57:20files since it is having the idea of
- 4:57:22course our clot. Md and other things are
- 4:57:24getting uh done here. So let it run and
- 4:57:27let's see the report it will generate.
- 4:57:28So as you can see it is reading all the
- 4:57:30files which I think is pretty
- 4:57:31straightforward. Uh bash final or todo.
- 4:57:34So now it will try to just find todo fix
- 4:57:36me hack commands in typescript. So
- 4:57:38normally you can have todo comments in
- 4:57:40your file uh code as well. Uh make
- 4:57:43directory synced plot code uh report. So
- 4:57:46let it create a report directory. It is
- 4:57:48created here. In a bit I think it will
- 4:57:50be having a report as well.
- 4:57:52accomplishing,
- 4:57:54working, thinking, nice words including
- 4:57:56the vocabulary overall pondering.
- 4:57:59So these are I think all the
- 4:58:02uh synonyms yeah synonyms for thinking
- 4:58:04right everyone. So hardening
- 4:58:07but anyways this is the report if you
- 4:58:08see this uh pretty good approach or let
- 4:58:11me show you this in a separate manner
- 4:58:16unit let us have
- 4:58:18MD viewer
- 4:58:21I can review see my job tracker status
- 4:58:25report this is all what is happening
- 4:58:26codebase takedown API routes UI
- 4:58:28components state management utilities
- 4:58:30and helpers type definition code health
- 4:58:32summary known limitation recent changes
- 4:58:34statistics X next step and
- 4:58:36recommendation health grade A the code
- 4:58:37is clean by structure first cloud has
- 4:58:39written it
- 4:58:41and yeah this is how it happens everyone
- 4:58:43now it is giving todos found no zero
- 4:58:45todos so it is actually having the todos
- 4:58:47which were it is expecting right and
- 4:58:49yeah that is the whole case everyone
- 4:58:51when the skills are kind of present with
- 4:58:53you you work like an orchestrator so you
- 4:58:55are like just watching so once you have
- 4:58:56created your skills nicely you are just
- 4:58:59watching this skill empty kind of
- 4:59:02execute everything for you so once you
- 4:59:04have mentioned it properly. It's step
- 4:59:05one, step two, step three, it can do
- 4:59:08everything for you. That is the whole
- 4:59:09idea, right? That is how it works. Now
- 4:59:11to take it a lot of step further. What
- 4:59:15you can also do everyone, let me just
- 4:59:17get rid of everything here. Yeah, in
- 4:59:19your dot claw in your skills, you can
- 4:59:21give it specific files as well. So I can
- 4:59:23say a folder source, right? And inside
- 4:59:27this folder, I could say a data loader.
- 4:59:30py and I could provide a specific code
- 4:59:34as well. The idea is very simple. If I
- 4:59:37ask it to read some files, let's say CSV
- 4:59:39everything and if I want that it should
- 4:59:41be fixed every time, right? So let's say
- 4:59:43when you are creating a report or when
- 4:59:44you're doing some review you want to
- 4:59:46specifically use some particular code to
- 4:59:49uh maybe check the file okay or you want
- 4:59:52to fix file some todos and everything or
- 4:59:54overall whenever you want some again
- 4:59:56orchestration but in a better manner you
- 4:59:58can provide multiple files inside skills
- 5:00:00this way and that is what if you notice
- 5:00:03were very nicely present in your skill
- 5:00:05creator skills. So see it is having
- 5:00:06multiple scripts now you could say that
- 5:00:08hey run script don't delete anything all
- 5:00:10these things you can also mention. So we
- 5:00:12can have let's say with respect to data
- 5:00:15we can have uh let me actually let us do
- 5:00:18one thing let us do one thing everyone
- 5:00:20let us create one skill folder here
- 5:00:23skills demo
- 5:00:27let me have it here and let me open it
- 5:00:30here so I will have claude code skills
- 5:00:35demo
- 5:00:37and inside this let's try to have a
- 5:00:40titanic data set Let's say Titanic
- 5:00:45the movie CSV I can download it from
- 5:00:48here
- 5:00:50download new file save Titanic I can get
- 5:00:53it here so I'm just showing you a basic
- 5:00:55demo what I can do is what I will be
- 5:00:57doing other is that I will be having
- 5:00:59this extracted here now uh this is my
- 5:01:03data I will use skill creator skill okay
- 5:01:07skill create skill
- 5:01:09and Say
- 5:01:11uh please and let me just ask it
- 5:01:14instead.
- 5:01:19Create a skill which can help me to
- 5:01:21analyze the data in depth for Kaggel
- 5:01:24competitions.
- 5:01:32Make sure that it is having the scripts
- 5:01:34as well as multiple subfolders where we
- 5:01:36are having scripts more uh overall
- 5:01:41instructions so that it can run on the
- 5:01:43data and then provide me with a very
- 5:01:46good analysis.
- 5:01:50So again everyone I'm using skill
- 5:01:52creator here to create the skill and you
- 5:01:54will see that how the MCP server server
- 5:01:56may have knew. Okay. So it is all fine.
- 5:01:59Now it will ask mostly it will ask some
- 5:02:00question lead skills age and
- 5:02:02customization
- 5:02:03need skills. So it is like trying to
- 5:02:05read more skill inside it reasoning.
- 5:02:07Okay let us before ask question let me
- 5:02:10clarify. See should this skill be
- 5:02:12workspace scope share in your project or
- 5:02:14personal? I will say personal. Okay if
- 5:02:16it would have been work workspace
- 5:02:19scope then everyone can use it. I would
- 5:02:21just make it personal.
- 5:02:23What analysis component are most
- 5:02:25important? I can actually do back and
- 5:02:26say create it inside my current folder.
- 5:02:31It is project specific. Actually these
- 5:02:34are all the skills which are taken care
- 5:02:35as well. Now it is three questions and I
- 5:02:37can just say all these things right that
- 5:02:39is good. And next third one which
- 5:02:41programming language should the analysis
- 5:02:42use? Uh Python, right? No. And now again
- 5:02:46it has asked us some question. Now of
- 5:02:48course this will try that it can get a
- 5:02:50very very good skills for me. So see
- 5:02:52GitHub uh skills. Okay, not sure why it
- 5:02:55has taken I think I think I made a
- 5:02:57mistake of maybe selecting the first one
- 5:02:59but scripts reference assets it is
- 5:03:02trying to like create these things now
- 5:03:03creating skills.m MD
- 5:03:06so let it create skills.m MD see
- 5:03:11I could again it is saying that hey plus
- 5:03:12176 things name description argument in
- 5:03:15path to data or data set name so if I
- 5:03:17say titanic CSV it will do the same
- 5:03:19thing for me when to use analysis
- 5:03:21pipeline phase one EDA
- 5:03:24script script01 EDA. So I can just say
- 5:03:27keep here should be fine. And in the
- 5:03:30script everyone now it will create
- 5:03:32script so that and the reason is very
- 5:03:33simple. See if I just have the skills.md
- 5:03:36file every time you run it it will try
- 5:03:38to create that EDA script which is again
- 5:03:40a lots of token lots of cost on it. If
- 5:03:43we know that okay for a CSV we have to
- 5:03:45do these steps only. Why not we have a
- 5:03:47script which it will run every time. So
- 5:03:49again we are making our work more and
- 5:03:51more orchestrated. Okay. So see how it
- 5:03:53has created a EDF file everyone and I
- 5:03:55can again keep everything. not a problem
- 5:03:56how it has created a EDF file and not
- 5:03:59only this believe me it will also try to
- 5:04:01understand so for example sebon it is
- 5:04:02showing it is not installed when I run
- 5:04:05the scale so when it's just get computed
- 5:04:06and when I run this the claw overall
- 5:04:09code is so smart that it will install
- 5:04:11this library as well so that is the
- 5:04:13whole idea everyone that is how it is
- 5:04:15very smart and again we can have
- 5:04:16multiple references assets everything so
- 5:04:18as it creates I think it will create
- 5:04:20more files and everything for us it will
- 5:04:22be going to be very very helpful so that
- 5:04:24is the whole idea
- 5:04:25And we can of course provide it more and
- 5:04:27more scripts. We can provide it
- 5:04:29anything. Just we have to refer that hey
- 5:04:31when you are running please find it
- 5:04:33inside this. And that is actually what
- 5:04:36all of us majorly do right? You are
- 5:04:38doing some work and believe me this is
- 5:04:39possible for nontech work as well right?
- 5:04:41You can search the web you can tell it
- 5:04:43give some APIs and it will follow that.
- 5:04:45So skills are across same across cloud
- 5:04:47cloud AI cloud co-work and cloud tool as
- 5:04:50well. So now let it work. It can create
- 5:04:51a very good things for us. See having
- 5:04:54the run full analysis everything is done
- 5:04:56here. Now when I give it a data it will
- 5:04:59not be working or doing something again
- 5:05:02and again. Now it is saying that I need
- 5:05:04to create a reference documentation. So
- 5:05:06let it work and create that as well. And
- 5:05:08that is the whole case everyone. And I
- 5:05:10think I hope you understood that how it
- 5:05:11is very very helpful as well. Right.
- 5:05:14And in this only I would show you that
- 5:05:16how you can add other things as well
- 5:05:18with respect to your arguments with
- 5:05:20respect to your model effort each and
- 5:05:22everything we can. Okay. So see it is
- 5:05:24having references data analysis toolkit.
- 5:05:27It [snorts] is just adding all the sky
- 5:05:28kit learn like what all it has to do.
- 5:05:30This is all markdown file. So we can
- 5:05:31keep everything not a problem. All the
- 5:05:34kegle best practices like it got by
- 5:05:36searching on the internet. That is a
- 5:05:38best benefit. And yeah I think now it is
- 5:05:40creating user. Finally I give the
- 5:05:41configuration template and requirement
- 5:05:43file. So quick start MD. So basically
- 5:05:47skill.created is so good that it is
- 5:05:49creating all these things for me.
- 5:05:50Requirement.txt config template. Now it
- 5:05:52knows the requirement is also fixed. So
- 5:05:54if and if you are sharing this skill
- 5:05:55with someone tomorrow it will make sure
- 5:05:57that it is installing the exact
- 5:05:59libraries exact versions of library as
- 5:06:01well. Right? So that is the whole
- 5:06:03benefit everyone and that is how skill
- 5:06:04works. See it is giving you the complete
- 5:06:07overall flow of skills and I feel that
- 5:06:10skill creator skill is pretty good. You
- 5:06:11can use it always to create your skill.
- 5:06:13Okay. Now I could just say uh skill uh I
- 5:06:16can just ask it actually first. Can you
- 5:06:18also uh also add some let's say
- 5:06:22arguments
- 5:06:25with respect to which level of analysis
- 5:06:30we want for the model and for the
- 5:06:36for the for the for the let's try to
- 5:06:39check one thing there was one argument
- 5:06:40right and that is how you learn everyone
- 5:06:42uh once you read the documentation then
- 5:06:44try to understand these things in depth
- 5:06:46so for the disabled model invocation.
- 5:06:49Yeah, context. Okay,
- 5:06:53for the context effort as well as the
- 5:06:59name of the CSV.
- 5:07:02So I'm just asking that hey can you
- 5:07:04provide these arguments because I want
- 5:07:06to show you normally I also have created
- 5:07:08uh one skill so I can paste it uh let's
- 5:07:11say in here I can show you skill.md like
- 5:07:15I will just paste it beneath. So see in
- 5:07:17the arguments part everyone what happens
- 5:07:19you say generate report and you can give
- 5:07:21the source directory and the output
- 5:07:23directory. So if you want that it should
- 5:07:24be different right maybe you can provide
- 5:07:27that hey this is the default one. So you
- 5:07:29can provide argument as well. So if
- 5:07:30argument one is provided use that source
- 5:07:32directory otherwise default to source.
- 5:07:34So that is the whole idea. If I'm asking
- 5:07:36you to generate a report but I want to
- 5:07:38generate a report for say uh Prisma not
- 5:07:41library every time. So I can provide
- 5:07:43this. Now if I want my reports to be
- 5:07:45present in frontend reports so what I
- 5:07:48can do everyone now or we can actually
- 5:07:50generate a new skill only. Let's say
- 5:07:52skill new folder generate
- 5:07:56report arc. Okay.
- 5:08:00Create a new skills.m MD. skill.m MD and
- 5:08:04paste it. Uh what happened here? I think
- 5:08:09it should be fine. Let me grab it here.
- 5:08:11Yeah. So see now it is saying that hey
- 5:08:12generate a report and everything. It is
- 5:08:14also having the argument one. It is
- 5:08:16having the argument two. Now when I want
- 5:08:18to run this uh this one everyone let me
- 5:08:20start a new chart here.
- 5:08:23Uh generate generate report. Okay, let
- 5:08:28me select dot Prisma and say
- 5:08:33and I think it should be like this
- 5:08:36dot front end report. So now everyone
- 5:08:40again pretty simple thing to understand
- 5:08:42this time by default it will not run on
- 5:08:44src it will run on this Prisma folder.
- 5:08:46So it will understand the dev and
- 5:08:48schema. Okay. So see I see you invoke
- 5:08:51generate report pigma and front end
- 5:08:53report as argument. However, I need to
- 5:08:54clarify something. The generate report
- 5:08:55is still designed for Python project. It
- 5:08:56scans Python file. Okay. So, something
- 5:08:59uh I can just say no worries run on uh
- 5:09:04what is inside
- 5:09:09Prisma. Okay. So, simple thing again it
- 5:09:11is it is a good thing that it is telling
- 5:09:12me these stuff up. And one thing more if
- 5:09:15you want you can also have this uh thing
- 5:09:17totally totally uh argumentated if
- 5:09:21that's a word. Uh and yes just like your
- 5:09:24claw empty your skill should also with
- 5:09:26time get lot better if you are trying to
- 5:09:29fix it. Claw can also do the same for
- 5:09:31you. Okay it can also change your skills
- 5:09:32just like claw.md but again highly
- 5:09:34suggested to keep the versioning here.
- 5:09:36So see now everyone instead of having
- 5:09:37the report it is giving me the report
- 5:09:39like this. So that is the benefit of
- 5:09:41running it via the argument and that is
- 5:09:43something which I have seen so many
- 5:09:44people unnecessely keeping so many
- 5:09:46things. So see now let's see in the
- 5:09:48skills.mmd
- 5:09:50what it has done. Okay, in the quick
- 5:09:52start I think it has been the same.
- 5:09:53Yeah. So see it is saying /input/output
- 5:09:58uh input path output path level effort
- 5:10:01model name. Uh I think calling it will
- 5:10:04be a little difficult because uh it has
- 5:10:06added lots of them but it should be
- 5:10:09fine. No worries. Okay. So see
- 5:10:12uh okay quick analysis 5 minutes
- 5:10:16standard analysis deep dive what are
- 5:10:18specific what each controls you you said
- 5:10:21you have 75% of your limit uh okay
- 5:10:23session limit your session okay that's
- 5:10:25all fine I can just ask you one last
- 5:10:26thing
- 5:10:28uh can you tell how can I call this give
- 5:10:33a example
- 5:10:36on how can I call it from my claude
- 5:10:41code. Okay, claude. So again I'm just
- 5:10:45asking it only because it has actually
- 5:10:46created this in a little bit more
- 5:10:48technical manner. In here we were just
- 5:10:50providing it argument directly, right?
- 5:10:52So where where I have created this, we
- 5:10:53were just providing it directly. I could
- 5:10:55ask it that hey can you change it like
- 5:10:56this? It will work. But okay, it has
- 5:10:58limited. So one minute everyone let us
- 5:11:00change this.
- 5:11:02Uh okay let me let me do one thing.
- 5:11:07Uh let me fix this thing everyone. I
- 5:11:09okay I think I have went to chat here.
- 5:11:11Okay. Totally totally my bad. Ah okay.
- 5:11:15Okay. I think we have done one mistake.
- 5:11:16We have used uh claude haiku. We have
- 5:11:19used but we have used the same via your
- 5:11:22uh this thing copilot. So no worries.
- 5:11:26Let's go in clot code. Let's try to ask
- 5:11:29clot code rather. I think that's the
- 5:11:30benefit right. Ai uh they are brothers
- 5:11:33only. Can you tell
- 5:11:36tell how can I? Okay, I I guess I get it
- 5:11:39like why it was giving the issues. So
- 5:11:40totally on me everyone that's a good
- 5:11:42thing. Uh you can use your chat like
- 5:11:46this as well, right? So that's a pretty
- 5:11:47good thing, right? Even I was not aware
- 5:11:49of this. So this chat which is from
- 5:11:52Copilot, I actually used claude code
- 5:11:54here because claude haiko I was using
- 5:11:56and yeah that is a pretty good thing as
- 5:11:57well. It used claude from my uh account,
- 5:12:00right? So I can just tell can you tell
- 5:12:02how can I call my
- 5:12:06kegel
- 5:12:09kaggel data analysis
- 5:12:12skill with argument. Okay I think this
- 5:12:16is using the same one so it will most
- 5:12:18probably give an error. So it is reading
- 5:12:20the thing. Okay no worries.
- 5:12:25Uh okay. Yeah. So okay I think it is
- 5:12:27calling it by Python GitHub skills. So
- 5:12:29it is saying that input data and
- 5:12:31everything input and all these things.
- 5:12:34Uh okay actually let's let's check it. I
- 5:12:37would just call it normally I would say
- 5:12:40kegle. Okay I think it has to be
- 5:12:42refreshed. 1 minute everyone
- 5:12:46let me use it from here actually this
- 5:12:47would be helpful. Let me close this.
- 5:12:50So kaggel let us have a new chat.
- 5:12:54I think this is still getting a refresh.
- 5:12:56So just wait a couple of minutes. So one
- 5:12:58thing about everyone I think we need to
- 5:12:59rename this to get uh claude because we
- 5:13:03know that that is how it works for sure.
- 5:13:06So clot skills kgle data limits
- 5:13:09analytics because this clot code it
- 5:13:11reads dotcloud right uh it created
- 5:13:14github so no worries I think uh just a
- 5:13:17little bit difference to be very honest
- 5:13:18like again that's a good thing that we
- 5:13:20saw the vs code uh plug-in as well like
- 5:13:23for the automated agentic thing but all
- 5:13:26good I could now I think search for
- 5:13:28kegel I think it will still get a uh
- 5:13:32refresh so no worries let me search now
- 5:13:35yeah kegel dataes I could just say uh
- 5:13:38and that is where again Claude is very
- 5:13:40smart. Run on Titanic. CSV with
- 5:13:48shallow inside using haiku
- 5:13:52and
- 5:13:54uh medium effort. So I'm just reading
- 5:13:57from here. Okay.
- 5:14:00output to be in slash output
- 5:14:06and uh input I have already provided
- 5:14:10name I have already provided I think
- 5:14:11yeah that is all so that is the benefit
- 5:14:13everyone if I just one minute
- 5:14:16in output
- 5:14:19folder right so again I've asked it in a
- 5:14:22very natural language only but it will
- 5:14:24try to understand the same and though to
- 5:14:27be very honest again the best part or
- 5:14:28the best way to do it technically is
- 5:14:30this only. Okay, I'm just showing you
- 5:14:32because I've shown you here that how it
- 5:14:33is possible by running it with this
- 5:14:36command. I am now showing you that how
- 5:14:38it becomes smarter with your if you're
- 5:14:40using natural language as well. So that
- 5:14:41is where again cloud is pretty good.
- 5:14:43Okay, now it is trying to create the
- 5:14:44scripts and everything.
- 5:14:46Great. I found Titanic CSV. So again it
- 5:14:48is going to run everyone in depth and
- 5:14:50see I think it is creating output folder
- 5:14:53Titanic Pocrocessing Remote. Let's copy
- 5:14:56this
- 5:14:58uh HTML viewer
- 5:15:02online.
- 5:15:03Copy this. See
- 5:15:06how quickly it has done this. And the
- 5:15:07idea is pretty simple. Why it has done
- 5:15:09this so quickly? Because the scripts are
- 5:15:11now loaded already. Okay. So it doesn't
- 5:15:13have to write those scripts up and it
- 5:15:14has saved a lots of cost as well because
- 5:15:17ideally now this orchestration everyone
- 5:15:19is running in a way that it doesn't have
- 5:15:21to unnecessarily
- 5:15:23recreate the script think on those
- 5:15:25things and that is the best or the ideal
- 5:15:26way of getting scripts. So see now I
- 5:15:28think it is working most probably. Okay
- 5:15:30in here. Uh so it is saying pip install
- 5:15:33condon. See that is what what I was
- 5:15:34saying. Uh it is trying to install the
- 5:15:36libraries as well because sebon was not
- 5:15:38there in my machine. So I think it must
- 5:15:40have gotten the error. Let me check it.
- 5:15:42Uh has it are we able to see clear I
- 5:15:44found this thing. The pipeline started
- 5:15:46but need dependencies. Let me install
- 5:15:47the required analysis. So yes uh you can
- 5:15:49install it. And in here as well everyone
- 5:15:52I am actually not using a lots of token
- 5:15:53because my scripts are running one after
- 5:15:55the another and they are facing the
- 5:15:57maybe the exact issue or something like
- 5:15:59if they face an issue claude solves that
- 5:16:01it doesn't write the script again but at
- 5:16:03the same time uh I can mention in the
- 5:16:05skill and otherwise as well if there is
- 5:16:07an error right claude can change your uh
- 5:16:09cloud file uh the scripts as well it's
- 5:16:12totally on you you can ask that hey
- 5:16:14never change my scripts if you want a
- 5:16:16control on that or if you want uh it can
- 5:16:19also change and make your scripts better
- 5:16:20with time. So that is the whole case
- 5:16:22everyone. Now I think it has provided
- 5:16:23each and everything to us uh rather
- 5:16:25multiple of them. Okay,
- 5:16:29let us close this.
- 5:16:31I think yeah final summary I think we
- 5:16:33are able to read but let me just show
- 5:16:34you these things because they are
- 5:16:35helpful. Let's understand this. See all
- 5:16:38the things it has done the analysis. Now
- 5:16:40the way of analysis each and everything
- 5:16:42is exactly the same because we have
- 5:16:44scriptified it right. So that is the
- 5:16:45case if that's a word again and yeah
- 5:16:47finally we are able to see this
- 5:16:49particular thing this thing used to take
- 5:16:51easily one week if uh like you're not a
- 5:16:54professional Ker and now it has been
- 5:16:57done in so easy manner and this can very
- 5:17:00nicely be used by people from tech non
- 5:17:02tech and I think that is the whole idea
- 5:17:04everyone that how nicely right you can
- 5:17:06control each and everything in their
- 5:17:08skill so that is the whole case everyone
- 5:17:10on how it happens I think we have
- 5:17:12created multiple skills we have done the
- 5:17:14same and I could even ask it like hey
- 5:17:16enhance my files uh based on your
- 5:17:18analysis. So I can just say can can you
- 5:17:22enhance my files based on your analysis
- 5:17:28and also change skill
- 5:17:32to create HTML
- 5:17:35uh analysis
- 5:17:38inside a folder. Okay. So again I'm just
- 5:17:41asking it to change my skill as well.
- 5:17:43That is the whole benefit. You can also
- 5:17:44use skill creator here because that can
- 5:17:46be used to add uh edit and even update
- 5:17:49your skills. So that is the whole case
- 5:17:50everyone. See HTML report subfolder. So
- 5:17:53I can say uh subfolder inside
- 5:17:57output folder. Okay.
- 5:18:01So that is the whole idea. Whatever
- 5:18:02folder I select rather that is the whole
- 5:18:04case. I'll modify the skill to organize
- 5:18:06HTML reports in a report subfolder
- 5:18:07within output folder. So see it is
- 5:18:09saying reports path. So it is changing
- 5:18:11the code again. That's the smartest
- 5:18:12point, right? It is not just mentioning
- 5:18:14it because if it mentions it in the
- 5:18:17skills.m MD, then it has to every time
- 5:18:20do the same. Now it is doing the edits
- 5:18:21in the code files altogether. So that is
- 5:18:23the whole case everyone. If I show you
- 5:18:25the code files,
- 5:18:28see uh whatever we are providing report.
- 5:18:31So again that was a overall argument
- 5:18:33again. So it is that smart that it is
- 5:18:36able to not unnecessarily put output
- 5:18:38here every time and yes. Yes. And that
- 5:18:41is where everyone is saying that hey
- 5:18:42claude card is cla code is so smart it
- 5:18:44is so good. Okay sorry for the fumbling
- 5:18:46I think I've been recording for the
- 5:18:48longest of the time as well but no
- 5:18:50worries I am pretty sure that this will
- 5:18:52be helpful in the long run to each and
- 5:18:53every one of you. So yeah everyone I
- 5:18:55think that is all what is there in the
- 5:18:57skill for you. Okay we can actually also
- 5:18:59have some light skills as well. What do
- 5:19:01I mean by light skills is that they are
- 5:19:03just simple prompts right? So just just
- 5:19:05have a skill created where you are
- 5:19:07mentioning that hey uh I will show you
- 5:19:09that as well actually just give me a
- 5:19:10second. So let me go in here and let me
- 5:19:13create a new scale even uh new folder
- 5:19:15actually new folder and that is going to
- 5:19:17be PR - description
- 5:19:22PR description
- 5:19:25and inside this if you want like if you
- 5:19:27don't want unnecessary anything you can
- 5:19:30have or actually you can do one more
- 5:19:32thing everyone so you can create a new
- 5:19:34file only PR description I remember this
- 5:19:37working let us check it and you can
- 5:19:39paste it so now if you will see inside
- 5:19:41your folder. Let me delete this.
- 5:19:45Inside your skills folder. Okay. And I
- 5:19:47can zoom in here because I think it will
- 5:19:48be very see inside your skill folder.
- 5:19:51Everyone you are having three skills.
- 5:19:52Now PR description it is not following
- 5:19:54anything. It is just a simple prompt
- 5:19:56right. So now if I open I think a new
- 5:19:59chat. Let me open a new chat. Let me
- 5:20:03yeah open a new chat. P. Okay. One
- 5:20:06minute. PR. Okay. Okay, I think it is
- 5:20:09getting uh what was the name? PR
- 5:20:12description. Okay, I think it is it is
- 5:20:14going to take a little bit of time to
- 5:20:15get refreshed. Finally, let's go here
- 5:20:19and again everyone in your learning
- 5:20:20phase uh use haiku have multiple windows
- 5:20:23open because when you're learning um
- 5:20:25don't don't stop because of these things
- 5:20:27right so that would be the whole case
- 5:20:28now it is saying that hey now regarding
- 5:20:29enhancing your file based on analysis
- 5:20:31the data revealed quality score seven
- 5:20:33suggested polinomial feature would you
- 5:20:34like me to create a clean pre-process
- 5:20:36version of titanic cspv generate an
- 5:20:38engineering data set create a python
- 5:20:40script that applies to all so I can say
- 5:20:43third one create a python script Okay,
- 5:20:47pretty simple thing just enhancing your
- 5:20:49skill right over time and rather every
- 5:20:51week I think your skill will anyway get
- 5:20:52enhanced provided you are adding
- 5:20:55reliable and actual things not just
- 5:20:57adding any useless thing in here okay so
- 5:21:01uh let me now check it PR
- 5:21:05okay let us try maybe I don't remember
- 5:21:08actually I think it works like this but
- 5:21:10let us check PR python okay no it is not
- 5:21:14reading it let me create a new folder
- 5:21:15only everyone. PR description
- 5:21:20new. So the reason I'm doing it new is
- 5:21:24because I want to still check if it gets
- 5:21:26deleted or not. I can just say this new
- 5:21:28here as well. Okay. So now let me delete
- 5:21:32it. New folder slash PR.
- 5:21:35Okay. Let it let it just get a refresh.
- 5:21:38I think it takes some maybe 1 minute or
- 5:21:402 minute time. So now it has created
- 5:21:43process and engineer like few files and
- 5:21:44everything not a problem for me and all
- 5:21:48of this anyways inside my folder. I
- 5:21:49think this is something which it has
- 5:21:50created outside because it needs to run
- 5:21:52it for this particular folder and then
- 5:21:54it will be working and I think this is
- 5:21:56all the things everyone rather lot more
- 5:21:58in demand than we will ever required. We
- 5:22:00have covered the skill creator plug-in
- 5:22:02as well which was very important. Just
- 5:22:04one last part is left which I will
- 5:22:05explain to you. Okay. So yeah seemed
- 5:22:07like it has done lots of part for us. It
- 5:22:09has kind of created a very good skill
- 5:22:11and as you might have guessed you can
- 5:22:12easily share your skill right so if you
- 5:22:14want to just share your skill uh in here
- 5:22:18I remember so if you go in claude let's
- 5:22:21say here
- 5:22:23yeah you can actually download the skill
- 5:22:26so if I select skill creator you can
- 5:22:29okay try in chat let me get this gama
- 5:22:31presentation builder I can download this
- 5:22:34skill everyone and it is a dotskll file
- 5:22:36okay so inside it is having each and
- 5:22:38thing like basically it's a prompt only
- 5:22:40we're having a version and everything or
- 5:22:42you can of course just like share the
- 5:22:44complete folder okay so I could just ask
- 5:22:46it one thing let's try this as well
- 5:22:48because I think that would be the final
- 5:22:49thing can you create a skill file
- 5:22:55via which I could share my uh kegel
- 5:23:01data analysis
- 5:23:04analysis skill with anyone
- 5:23:07[clears throat] So again I am not sure
- 5:23:09actually how it works. Does it require
- 5:23:11some separate skill or something here?
- 5:23:12But since claude I know that it supports
- 5:23:16that dot scale. Okay. So you see I I
- 5:23:18okay it is saying that I can create it.
- 5:23:20Let's work on our account.
- 5:23:22So this skill folder everyone is totally
- 5:23:24usable. Let's we will try it out as
- 5:23:26well. Okay. So perfect. Now I will
- 5:23:28create a dotskll folder. Uh where is it?
- 5:23:33Okay. So kegel data analysis skill.
- 5:23:35Okay. Let me say yes.
- 5:23:38So this I think everyone now uh kind of
- 5:23:41does everything right. I I don't think
- 5:23:42there is any other thing which is left
- 5:23:44in skills even in the official
- 5:23:45documentation. The last thing which I'm
- 5:23:47trying that is something which even I
- 5:23:48have not ever worked on. Uh all the
- 5:23:51things we have covered you can go
- 5:23:52through the same but skill files is
- 5:23:54overall good. We can add supporting file
- 5:23:55as well. Control who invoke the skills
- 5:23:57we have checked. Disable model
- 5:23:58invocation user invoke cable both things
- 5:24:01we have kind of understood. Then front
- 5:24:03matter is something which uh we will
- 5:24:06discuss afterwards.
- 5:24:08But yeah I think these are all the
- 5:24:09things everyone I think if you learn
- 5:24:11around this there are run skills and sub
- 5:24:13agents. So when we learn about agents we
- 5:24:15will understand this but more or less
- 5:24:17this is the case. Okay there is a share
- 5:24:18skills commit cloud to version control
- 5:24:21create a skill directly in your plug-in
- 5:24:24deploy organization wide. So that is the
- 5:24:25whole case then there is a skills can
- 5:24:28button in a script in any language. So
- 5:24:30yes, I I would just suggest to read
- 5:24:32this. I think it is all pretty simple.
- 5:24:34Only the best part is that cloud only
- 5:24:35can explain a lot of things to you.
- 5:24:37Okay.
- 5:24:41So it is checking like what all is
- 5:24:43there. I think it is there is some
- 5:24:44error. Show file no match found star
- 5:24:46skill. It is now saying that it has been
- 5:24:49created what's included and everything.
- 5:24:51Now let's try to do something very
- 5:24:52crafty. Let me get this dots skill file.
- 5:24:54Everyone you can see that how it is
- 5:24:56having this name of uh sorry icon of
- 5:24:58claude. Let me go. So this again I'm
- 5:25:02just taking out very very very uh crazy
- 5:25:06things right.
- 5:25:08So it is saying invalid scale file. Okay
- 5:25:10let's let's try to fix it parally. We
- 5:25:12will see that if our scale is run in the
- 5:25:13second part
- 5:25:16unable to import this in my uh plot.
- 5:25:22Okay. So I'm just giving it an error so
- 5:25:24that it can fix it. The idea is very
- 5:25:26simple everyone. Why am I doing this
- 5:25:27last part? And I know that I have been
- 5:25:29running around skill but I don't think
- 5:25:31that you will find skills being covered
- 5:25:33in this much depth because not only have
- 5:25:35we created skill, I have discussed
- 5:25:36around how to make it parameterized
- 5:25:38about how to invoke it and all those
- 5:25:40advanced concept as well. Okay, so that
- 5:25:43is the whole case. Let us try it out
- 5:25:45again.
- 5:25:46Okay,
- 5:25:48the zip package is now properly
- 5:25:49formatted. So let us try it out again
- 5:25:51everyone.
- 5:25:55We have this That's the benefit. See
- 5:25:57skills asset preferences scripts. The
- 5:26:00benefit if you ask hey man what's the
- 5:26:02benefit multiple benefits you get your
- 5:26:04skill you can share it like this a
- 5:26:06single file tomorrow when perplexity
- 5:26:08child GP they support it all your skills
- 5:26:10are kind of easily shared by this
- 5:26:11dotskll file and I'm pretty sure claude
- 5:26:13can make those for child GP perlexity
- 5:26:15everything right now let us test out
- 5:26:18this pre uh what was the name
- 5:26:20preescription new where is it created
- 5:26:23inside skill only it is created let me
- 5:26:26open a new chart
- 5:26:29generate report You can see.
- 5:26:32Okay. So, I am not sure why it is not
- 5:26:34showing this. Okay. Maybe we will check
- 5:26:36it afterwards. But pretty strange like
- 5:26:39maybe. Okay. Maybe it doesn't supported
- 5:26:40like this. Maybe this was in the U AI UI
- 5:26:43then. Yeah. So, it may happen everyone.
- 5:26:46Like maybe this thing the skill.md
- 5:26:50it is supported but I will check it. No
- 5:26:51worries. I remember it working but uh
- 5:26:54should be fine. Like let me check. Can
- 5:26:56you find a pre
- 5:27:01PR description? It was not PD actually
- 5:27:03pre-escription
- 5:27:06skill.
- 5:27:08So let us ask this only again that's the
- 5:27:11benefit of claw like ask it anything I I
- 5:27:14will search for skills. So again it is
- 5:27:16time for the skills and everything.
- 5:27:18Founder let me check what's in these
- 5:27:20files. So read both the files. Yes, I
- 5:27:23found two things. Okay, it is like you
- 5:27:26created a newer version in the P. Would
- 5:27:27you like me to compare them more
- 5:27:29thoroughly and all these things? No.
- 5:27:31Am I able to call them now? No. So
- 5:27:33everyone again I think this might not
- 5:27:35work. I can just ask it. Can I call them
- 5:27:38via
- 5:27:39clawed code
- 5:27:42right now as they are just prompt or do
- 5:27:48I need to change anything? So again I'm
- 5:27:53doing all these things so I can show you
- 5:27:54that what all is possible when you're
- 5:27:55doing development at a large scale in a
- 5:27:57bigger project. I don't want that you
- 5:27:59spend time on writing prompt or copy
- 5:28:01pasting your prompt anywhere. So see it
- 5:28:02is saying that see
- 5:28:05uh no they won't be callable in skills
- 5:28:07at all. These are just plain text round.
- 5:28:08They need skill definition structure.
- 5:28:09Okay. So yeah seems like claude is kind
- 5:28:11of correcting it here. Maybe I must have
- 5:28:12read it for claude co-work or claude AI
- 5:28:14normal claude AI here. But yeah I think
- 5:28:16that's all good everyone. So to use the
- 5:28:18same actually we have to create uh the
- 5:28:21commands folder. So I didn't miss out on
- 5:28:22that. I actually got confused because
- 5:28:24again so many pictures. So what you have
- 5:28:26to do everyone like if you create a new
- 5:28:28command
- 5:28:30commands folder here and let's say you
- 5:28:33this let me move this. And now if I
- 5:28:37think I will be starting a new session.
- 5:28:38Let me start with this. Yeah. So let us
- 5:28:42see. And if I write what was I think PR
- 5:28:47description right PR. Yeah. So now it is
- 5:28:50available. So this is actually the way
- 5:28:52you are able to add your own custom
- 5:28:53command as well. Now the same of course
- 5:28:55can be calculated multiple points if you
- 5:28:57want to review your particular code if
- 5:28:59you want to uh let's say add push or any
- 5:29:03action right any action which you know
- 5:29:04that you do a lot right for example I
- 5:29:06normally set up the initial context that
- 5:29:08hey you are this this this and you
- 5:29:09should ask a lot of question and
- 5:29:11everything so that can be something of
- 5:29:12your initialize command and that is how
- 5:29:15we can create all of these things. I
- 5:29:16could actually rather ask and try to ask
- 5:29:18plot as well. Can you create a command
- 5:29:22so that I it can help me with adding uh
- 5:29:28sorry not adding uh pushing my code to
- 5:29:32GitHub.
- 5:29:34Make sure to add this in commands
- 5:29:38folder. Now again everyone the whole uh
- 5:29:40hierarchy is exactly the same. Now if
- 5:29:42you're creating this command here it
- 5:29:44will be just good for this particular
- 5:29:46project. Let me zoom it in as well. And
- 5:29:48if you uh try to create your command uh
- 5:29:51in the home folder uh in the basically
- 5:29:53the home.cloud basically this particular
- 5:29:55folder then it will be valid available
- 5:29:58for everyone. So we can actually try to
- 5:29:59create one here uh commands let me just
- 5:30:02enter it commands and let's create a
- 5:30:05okay so I will have to
- 5:30:08type this particular thing in one. So
- 5:30:10let me get out CD
- 5:30:13Lord
- 5:30:16uh CD.
- 5:30:18So again uh meanwhile that happens I'm
- 5:30:20just trying to create touch. So now I'm
- 5:30:22inside this cd commands and I could just
- 5:30:26say here uh touch let's say uh code
- 5:30:31review
- 5:30:33code review.md. And now I can just enter
- 5:30:36anything.
- 5:30:39Please make sure that you quickly review
- 5:30:44the file for any code improvements.
- 5:30:49Okay, improvements. Now again just I'm
- 5:30:52testing it out. Very simple uh overall
- 5:30:54command I have created everyone. Now if
- 5:30:56you will see uh if I go here let's see
- 5:30:59this what it is suggesting.
- 5:31:02Great. I will help you create a pushing
- 5:31:04command. What should the scale do? Uh it
- 5:31:07should push with the changes etc. Right.
- 5:31:13So again uh it is totally on you. If I
- 5:31:14try I guess opening a new chat everyone.
- 5:31:16Then if we try out here I think code
- 5:31:19review should also be available. So as
- 5:31:20you can see code review is present
- 5:31:21everyone. Now it has created the command
- 5:31:24as well here right which I think is
- 5:31:26pretty straightforward and easy thing to
- 5:31:28do. But yes the whole idea is that you
- 5:31:30can also create your own custom
- 5:31:31commands. Uh skills are different in
- 5:31:33that way. Uh skills are basically having
- 5:31:35multiple layers of stuff and everything
- 5:31:36here. Commands are like again something
- 5:31:39which it has created which we can
- 5:31:40further use. So they are also pretty
- 5:31:42helpful everyone. So I could say yes
- 5:31:44allow. So I can just create it. I think
- 5:31:46it has created a skill only because
- 5:31:48again they are very close to each other.
- 5:31:49So that is the whole case. But if you
- 5:31:51will go on the official documentation
- 5:31:53and if I search for commands here,
- 5:31:57right?
- 5:31:59/ash commands. Yeah, I think this is the
- 5:32:00one reference and commands. So commands
- 5:32:02refer to commonly available in cloud
- 5:32:04code. I we know that a lots of them are
- 5:32:06already available everyone right. So we
- 5:32:07can of course use them. They have
- 5:32:08pre-built and yes if required we can add
- 5:32:10our own as well. Something which we have
- 5:32:12just done. So that will be very very
- 5:32:14helpful. I would treat command as a
- 5:32:16lower level of skill to be very honest
- 5:32:18because uh skill I told you like we
- 5:32:20discussed in starting off with a
- 5:32:22instruction file only but then we
- 5:32:24understood that how with the help of our
- 5:32:25kel analyzer skill that how it can be a
- 5:32:28lot in a lot in depth right so that is
- 5:32:30what we understood everyone with this
- 5:32:31kegal data analysis skill command in a
- 5:32:34similar manner of course uh they are
- 5:32:36just I think instructions so just make
- 5:32:38sure that you don't get confused like
- 5:32:39for example idly in this it has created
- 5:32:42these multiple things now and I should
- 5:32:44have tried to create it as a scale,
- 5:32:46right? And let us see like what it is
- 5:32:49trying to create now. It is trying to
- 5:32:50create multiple files because it needs
- 5:32:53to run something, right? So, it is kind
- 5:32:55of going away from a simple uh prompt
- 5:32:59but going towards your more uh
- 5:33:01sophisticated way of pushing and
- 5:33:03everything right. So, I think where else
- 5:33:06has created the same
- 5:33:09let's see user mayang.clude clude. Okay.
- 5:33:11So, it has created back to my main
- 5:33:14folder push code and I think yes. So, it
- 5:33:18has again done the same thing. It has
- 5:33:19ideally created a skill, right? But as I
- 5:33:22showed you like we can just create a
- 5:33:24simple uh command as well. Okay. So,
- 5:33:26that would be super helpful everyone.
- 5:33:27Along with that uh one more important
- 5:33:29thing just like how we created our skill
- 5:33:31and we were able to easily uh have
- 5:33:34access to our skill. We can share it to
- 5:33:36our claude. There are again multiple uh
- 5:33:39skills cla multiple repos and stuff
- 5:33:42where you can get these skills. Okay. So
- 5:33:44again if you will see here everyone
- 5:33:46claude official one are always there
- 5:33:48right but there are many different
- 5:33:49different websites where we can get
- 5:33:51other skills as well. So if you will see
- 5:33:53her skills all these things right. So
- 5:33:55235 skill across nine domains and now as
- 5:33:59I told you before multiple uh providers
- 5:34:01of AI are supporting the skill thing
- 5:34:03right. So this is one uh website then
- 5:34:05there is skills sh I think something
- 5:34:08skills sh
- 5:34:10yeah so agent skill directory here like
- 5:34:12there are 90,000 skill okay so you can
- 5:34:14use any of them and let's go back
- 5:34:19official skillsh
- 5:34:22okay so again more skills but again I
- 5:34:24will highly highly suggest we can select
- 5:34:25cloud code here and you can see that how
- 5:34:27like more more or less every AI is kind
- 5:34:30of supporting this they have said
- 5:34:32goodbye to stack overflow. Pretty bad to
- 5:34:35see but no worries. Uh that is the whole
- 5:34:37idea everyone. But I will highly highly
- 5:34:38suggest that please make sure that
- 5:34:41either you are creating your own or you
- 5:34:43are downloading these skills from a
- 5:34:46proper website. Okay, the idea is pretty
- 5:34:48simple. I don't want that we get hacked
- 5:34:50because a skill can have multiple uh
- 5:34:52files or codes which might be sending
- 5:34:54our data or API key something to back to
- 5:34:57the like whoever has created it right
- 5:34:59and I believe that again it is very
- 5:35:01simple to create your skill thanks to
- 5:35:03the claude skill creator in it skill 2.0
- 5:35:06to approach. So that is I think really
- 5:35:08helpful everyone right. So that is I
- 5:35:10guess way way way more than what we all
- 5:35:12we have covered but yes uh this is going
- 5:35:14to be super helpful everyone. Okay. So
- 5:35:15the skills part uh sorry skills and
- 5:35:18commands overall will be super helpful
- 5:35:19and we have discussed the same in depth
- 5:35:21and yeah I think since we have
- 5:35:23discovered about the overall uh scope
- 5:35:26with respect to authorize user then
- 5:35:30project in depth. So I think we are all
- 5:35:32good with that as well. Right. So I
- 5:35:34think this is all the things which we
- 5:35:36need to discuss. Uh this anatomy I have
- 5:35:38already discussed in depth with you
- 5:35:39everyone. I feel that again the official
- 5:35:42documentation is like the best best best
- 5:35:44thing. I have read through them. Okay. I
- 5:35:46have tried to make it easier for you by
- 5:35:49now doing all the experiment right in
- 5:35:50front of you. But I will highly suggest
- 5:35:52that you also run the go through the
- 5:35:54same. One last small thing everyone
- 5:35:56though we will be covering about agent
- 5:35:58and sub agent in depth in the future
- 5:35:59parts but I just want to make sure that
- 5:36:01you are clear. See
- 5:36:04skills run kind of in the same
- 5:36:05environment. Okay. So on the same
- 5:36:07context everything though now claude is
- 5:36:10supporting that they can have a
- 5:36:11different model and everything but
- 5:36:12initially that was not the case. So
- 5:36:13lives in the same session follow steps
- 5:36:15in skill.md use the same context window
- 5:36:18in its parents permission claw code
- 5:36:21readers and execute. Okay. So it is very
- 5:36:23good for repeatable workflows. You will
- 5:36:24learn about agents in future. An agent
- 5:36:26you can think of like let's say your
- 5:36:28this session it is having some it it is
- 5:36:30having another session. Okay. Run its
- 5:36:33own session. So it will be running its
- 5:36:35own separate session. Has its own
- 5:36:36context window. So it is separate. Can
- 5:36:38use different or cheaper model. Uh as we
- 5:36:40saw skill can also now use that. I think
- 5:36:42that has been a recent change. Has code
- 5:36:44permission which is read only. Spawned
- 5:36:46and terminated by parent. So just
- 5:36:48remember this thing for the time being.
- 5:36:50Skills work inside here only. Okay.
- 5:36:52Although again they can be fogged now. I
- 5:36:54think that has been recently added but
- 5:36:56still that is how normally we run the
- 5:36:57scale. It is having the complete context
- 5:36:58and everything. But sub agents are like
- 5:37:01intern which you hire or like a
- 5:37:02freelancer. Okay. So that is the best uh
- 5:37:04like overall uh analogy which I can
- 5:37:07provide. But uh yeah I think this is all
- 5:37:09the things since people get confused I
- 5:37:11thought of adding this here though I
- 5:37:12know that we have not discussed sub
- 5:37:13agent but don't worry in similar manner
- 5:37:15in depth we will be discussing about sub
- 5:37:17aent as well. Okay. So yes everyone with
- 5:37:20that I think we have covered each and
- 5:37:21everything in skills very very important
- 5:37:24directly usable thing actually if you
- 5:37:27think about it you can easily automate
- 5:37:30like half of your work using the skills
- 5:37:33okay we will discuss about connectors
- 5:37:34and MCP as well and that is where when
- 5:37:37we will discuss and say for example once
- 5:37:39you connect your uh once you have your
- 5:37:41Gmail uh cloud AAI email okay so it is
- 5:37:43saying need authorization so we can
- 5:37:45authenticate no problem you will be even
- 5:37:48able to know very nicely connect your
- 5:37:51day-to-day tools as well with skills. So
- 5:37:53for example, if you have a daily
- 5:37:54briefing skill right easily it can just
- 5:37:57read your emails as well because you saw
- 5:37:59that how skills can execute commands and
- 5:38:02at the end of the day to get your email
- 5:38:04that is a command only like that is a
- 5:38:06code script only. So that is where they
- 5:38:08get a lot powerful. So with that
- 5:38:10everyone I'm pretty sure the skills are
- 5:38:11totally totally clear. Again highly
- 5:38:14requested just please read through this
- 5:38:16particular uh documentation. It has
- 5:38:18everything. All other things are being
- 5:38:20taken from here only. That is why I have
- 5:38:22read this and then you will be all good
- 5:38:24and master in creating skill because
- 5:38:25this is surely something which you're
- 5:38:27going to use no matter what AI you're
- 5:38:28using. I'm pretty sure as I said
- 5:38:30perplexity have it, Claude has it and in
- 5:38:32future time everyone is going to have it
- 5:38:34for sure. Okay. So with that now
- 5:38:35everyone let's move and like in the next
- 5:38:38part where we are going to discuss uh in
- 5:38:41depth now uh about hooks. Okay. So you
- 5:38:44must have seen that I was discussing
- 5:38:45about hooks here and there. So we will
- 5:38:47be now mastering books which is again an
- 5:38:48awesome technology and as we are moving
- 5:38:50forward everyone you will see that how
- 5:38:53uh we are moving a lot towards uh AI
- 5:38:56plus uh little bit of control right so I
- 5:38:59created skills with script hooks are
- 5:39:01exactly the same idea that uh before
- 5:39:03using any tool before doing something
- 5:39:05can we call for sure something right so
- 5:39:07for example if your AI seems like it
- 5:39:10wants to run a delete command I can have
- 5:39:14a hook which can send me a notification
- 5:39:15or which can ask for my approval for
- 5:39:17sure every time it is a fixed thing not
- 5:39:20just like some AI because AI can make
- 5:39:21mistakes scripts and commands doesn't
- 5:39:25okay so pretty sure that yeah skills are
- 5:39:27clear doise them properly and let's now
- 5:39:29master books as well so great everyone
- 5:39:32now let's jump on to the next topic and
- 5:39:34each and everything which you're going
- 5:39:36to master from now on you will see that
- 5:39:38that is actually something which not a
- 5:39:39lot of like casual user or people know
- 5:39:42about and that is I think where your
- 5:39:44expertise and like your main benefit of
- 5:39:46taking this complete crash course is
- 5:39:48going to be very very helpful. The idea
- 5:39:50is that all these things they are not
- 5:39:52very difficult but since not a lot of
- 5:39:54people uh dive deep into it since like
- 5:39:56it is kind of explained either in a very
- 5:39:58technical manner or like deep down
- 5:40:00within the documentation but uh that is
- 5:40:02actually something which makes you like
- 5:40:04a prodeveloper or even someone pro who
- 5:40:06can use clot code and of course all
- 5:40:08these things will be very helpful to you
- 5:40:10when you are doing a end to-end project
- 5:40:12development. So with that everyone let's
- 5:40:13now start with hooks in plot code. Now
- 5:40:16again the whole idea is very very simple
- 5:40:18and let me explain you here whenever you
- 5:40:20are uh writing the like let's say on
- 5:40:22message or something let's say we can
- 5:40:24have this nice person. So yeah let's say
- 5:40:26this is us a pretty nice hairstyle and
- 5:40:29everything whenever we are communicating
- 5:40:32with clot code right so whenever we are
- 5:40:34sending a message we ideally see that
- 5:40:37how claude code runs in an agentic loop
- 5:40:39manner right so it uh for example like
- 5:40:41if let's say I ask it to do something
- 5:40:43there are lots of things like it
- 5:40:45thoughts then it let me create a quick
- 5:40:46reference write installs md then it
- 5:40:49thoughts again then some bash command is
- 5:40:51run so it is actually doing multiple
- 5:40:54things right so that is the whole idea
- 5:40:55everyone that when uh let me get a chat
- 5:40:58icon as well
- 5:41:00when we are communicating with our clot
- 5:41:03right yeah when we are communicating
- 5:41:05with our clot there are lots of things
- 5:41:07happening in the background and normally
- 5:41:09what happen is that uh like many many
- 5:41:11software programs so this is actually
- 5:41:13not just true for clot code but like
- 5:41:15true for lots of agentic uh frameworks
- 5:41:18what do I mean by frameworks things
- 5:41:20which uses or which do your work like
- 5:41:22this uh they work on a eventdriven
- 5:41:25architecture. So I would like to mention
- 5:41:27here event driven architecture. Now
- 5:41:30might seem a little bit difficult but
- 5:41:32the whole idea is that inside of plot
- 5:41:35code there are multiple events taking
- 5:41:37place. First event maybe just for
- 5:41:38example can be think then it can create
- 5:41:41some file for you then it can uh like
- 5:41:43sorry it can think that which file to
- 5:41:45create then it can actually have a
- 5:41:47command. So I could just mention it
- 5:41:48here. Think then let's say thought of
- 5:41:52creating a file. Then actually
- 5:41:56creating a file. Now that would be a
- 5:41:59bash command everyone. Now what do I
- 5:42:00mean by bash command? The commands which
- 5:42:02are run like touch and all these things.
- 5:42:04Then uh it can let's say what to add in
- 5:42:08file then add the code in file. After
- 5:42:12that it can be to see the other files
- 5:42:15right narrow down a code do some edits
- 5:42:21delete some file edit some more files.
- 5:42:26So there are again lots of things which
- 5:42:28are happening which of course needs to
- 5:42:30be very nicely handled right. So that is
- 5:42:32the whole case everyone and all of this
- 5:42:35doesn't just happen in a single go right
- 5:42:38in the back end claude is actually
- 5:42:42firing multiple events right so for
- 5:42:44example let's say if it is doing
- 5:42:46something this is a event of creating a
- 5:42:47file or rather I would use actually a
- 5:42:50better uh like diagram uh if we go on
- 5:42:54yeah I think this is the one hooks
- 5:42:56references hooks references yeah so let
- 5:42:59me get this image everyone uh okay SVG
- 5:43:02we can use SVG I think should not be a
- 5:43:04problem let's get use an SVG frame
- 5:43:07other SVG is good because they don't uh
- 5:43:09I think they maintain their quality
- 5:43:11because they are kind of code based so
- 5:43:12see when the session start user submit
- 5:43:15prompt user prompt expansion okay so
- 5:43:17like again some command will be there
- 5:43:19then the agentic loop starts now we have
- 5:43:20discussed about agentic loop in the
- 5:43:22initial part if I just help you to
- 5:43:24quickly revise let's go back to an
- 5:43:26awesome diagram where it was so see so
- 5:43:29many things we have mastered everyone
- 5:43:31like a hell lot of them actually. But
- 5:43:33yeah, this is the agenting loop which we
- 5:43:35kind of discussed about which I kind of
- 5:43:36made very easy for you right. So now if
- 5:43:38I scroll down everyone again you will
- 5:43:40see that how in the back end right and
- 5:43:43it is very simple like just to give you
- 5:43:45a more easier idea like when we also do
- 5:43:47something right there are lots of events
- 5:43:48let's say when you are uh when you are
- 5:43:51when you are uh let me think a very good
- 5:43:52example yes when you are messaging
- 5:43:54someone okay so you think of a message
- 5:43:55then you send them a message then uh
- 5:43:58they reply so you read the message and
- 5:44:00then let's say you might let's say if
- 5:44:02your manager is asking about something
- 5:44:03right so you are now doing a lots of
- 5:44:06work but you give him the final work,
- 5:44:08right? But in between that there are
- 5:44:10lots of multiple events. You might be
- 5:44:12reaching out to someone, you might be
- 5:44:14doing some research. So all that level
- 5:44:16of things happen. Now the whole idea of
- 5:44:18hooks is that how can we catch an event?
- 5:44:21And if we want to add some automation,
- 5:44:24some guards, anything basically before
- 5:44:26and after a event, how can we do that?
- 5:44:29As a very simple example, let's say that
- 5:44:31by any chance you ask your plot to
- 5:44:33delete everything or someone
- 5:44:35mischievously whenever you are running
- 5:44:37something, you basically
- 5:44:39come uh like you basically make sure
- 5:44:41that hey delete everything. But now
- 5:44:43again that RM minus RF command RM RF
- 5:44:47command might be something which you
- 5:44:49don't want to run. Now we have already
- 5:44:50seen the same in the settings part that
- 5:44:52how can we limit the same but what if it
- 5:44:55gets in between sometime what if claw
- 5:44:58makes a mistake that instead of deleting
- 5:44:59a file or multiple files or let's say a
- 5:45:01folder it mistakenly tries to delete the
- 5:45:04complete uh thing so that is something
- 5:45:06which we are not in line right so that
- 5:45:09is where everyone we can hit a pre-tool
- 5:45:11event okay so I will show you the tools
- 5:45:13as well see that is the whole idea if
- 5:45:14you focus in here pre-tool use okay
- 5:45:18then permission request So it can ask
- 5:45:21for multiple permission. Then tool
- 5:45:22executes. Then post tool use. Then post
- 5:45:25tool batch. Sub aent like if we are
- 5:45:27creating sub aent which you will learn
- 5:45:28about sub aent can start or stop. Then
- 5:45:30some task can get created and it can
- 5:45:32again get to the very starting use
- 5:45:33multiple tools again. And finally stop
- 5:45:36or failure then we can get a
- 5:45:37notification any config change work
- 5:45:40create anything like there are again
- 5:45:42lots of things which happens in the back
- 5:45:43end right. So each and everything is
- 5:45:45having a event associated with it and
- 5:45:47the whole idea is that by uh
- 5:45:50understanding a particular event okay we
- 5:45:52can do some part some work before and
- 5:45:55after that event and this is something
- 5:45:57which was known as call back very
- 5:46:00famously it is also known as call back
- 5:46:01in many frameworks as well specifically
- 5:46:03I remember in ADK it was known as call
- 5:46:05back whenever your uh agent like tries
- 5:46:08to do something we can call it back okay
- 5:46:10we can call back and see that hey what
- 5:46:12it is happening so pre- call back post
- 5:46:13call kind of a similar idea and to
- 5:46:16explain you in a much better relatable
- 5:46:17example one more which I thought of like
- 5:46:19if you're drunk dialing or let's sorry
- 5:46:21not drunk yeah drunk dialing or drunk
- 5:46:22texting someone how your friends
- 5:46:24basically make sure that hey don't do
- 5:46:26this right so pretty sure all of you
- 5:46:28will be able to like this so how your
- 5:46:30friend kind of acts like a hook there
- 5:46:32that hey no don't send this message okay
- 5:46:34it will get you in trouble or when after
- 5:46:36every night if you feel that hey I will
- 5:46:38be quitting my job so your friend is
- 5:46:40there hey don't do that okay so that is
- 5:46:41kind of a guardrail or hooks which is
- 5:46:43coming into picture. So you are doing an
- 5:46:45event but just before that we can have
- 5:46:48some tests that hey please don't do
- 5:46:49this. So that is the whole idea
- 5:46:51everyone. So now let's try to understand
- 5:46:53the same in a little bit more depth. If
- 5:46:54I go into the official documentation uh
- 5:46:56let's try to read it. Hooks are user
- 5:46:58defined shell commands endpoints or LLM
- 5:47:01prompts that execute automatically at a
- 5:47:04specific point in claw course lifetime.
- 5:47:07[clears throat] Okay. Use this reference
- 5:47:08to lookup event schemas uh configuration
- 5:47:10option JSON input output format. So we
- 5:47:12can also test that hey is actually the
- 5:47:15output or the file is actually correct
- 5:47:17or something advanced feature like async
- 5:47:19hooks async means that it can run padily
- 5:47:21as well. So maybe let's say it has done
- 5:47:23something you are saying that hey low
- 5:47:24let me check it ply a very good option
- 5:47:26is to like a example which I can think
- 5:47:28of is that whenever you are asking your
- 5:47:31claude let's say to write a LinkedIn
- 5:47:32post okay or any any message for that
- 5:47:34matter it uses that long dashes okay so
- 5:47:36instead of asking claude again to do
- 5:47:38that we can actually do the change via
- 5:47:40some script as well so it can run in the
- 5:47:42back uh in the background parally and
- 5:47:44clot can continue so that is the idea if
- 5:47:46you're setting up hooks for the first
- 5:47:47time start with the guide instead so we
- 5:47:49will open this guide as everyone now
- 5:47:51hook life cycle. Again,
- 5:47:54the whole idea is pretty simple.
- 5:47:56Hooks fire at specific point during claw
- 5:47:58code session when a event fires and a
- 5:48:01matcher matches claw code passes JSON
- 5:48:04context about the event to your hook
- 5:48:06handler. So it will be pretty difficult
- 5:48:08to understand in this manner. Let me
- 5:48:09explain you in an easier manner. See
- 5:48:11these are all the different different uh
- 5:48:14events okay which we can catch. So these
- 5:48:16are known as the hook event section
- 5:48:18documents the full input schema and
- 5:48:20decision control option for each one.
- 5:48:21Now the best part which AI has done is
- 5:48:23that earlier because all of these were
- 5:48:26having different input schemas different
- 5:48:27different configuration we need to go
- 5:48:29and understand each one of them. Now
- 5:48:30cloud can do the same for you. So see
- 5:48:32session start when a session begins. So
- 5:48:34you can have a sound or something played
- 5:48:35user prompt submit when you submit a
- 5:48:37prompt before cloud processes it. So if
- 5:48:39just as an example let's say that you
- 5:48:41are very very random example but you are
- 5:48:43abusing a lot in your prompt. Okay. Or
- 5:48:45someone is kind of playing around you
- 5:48:47you can make sure that you are having
- 5:48:49some check there as well that hey if
- 5:48:50someone is saying destroy the codebase
- 5:48:52please make sure that you change the
- 5:48:53destroy with check the codebase. So
- 5:48:55something like that kind of a things. Uh
- 5:48:57user prompt expansion when a user type
- 5:48:59command expands into a prompt before it
- 5:49:01reaches clot can block the expansion.
- 5:49:03Pre-tool use permission request
- 5:49:04permission denied whenever you are
- 5:49:06getting some permission denied
- 5:49:07everything. Notification sub agent start
- 5:49:10stop failure all these things we can
- 5:49:12easily handle. Session end when a
- 5:49:13session terminate. So you can see that
- 5:49:15how we are having multiple different
- 5:49:18different uh events which are some of
- 5:49:21which are very relatable like session
- 5:49:22start session end permission related
- 5:49:24issue okay notification sub agent of
- 5:49:27course we will learn about that task
- 5:49:29created or task completed okay stop when
- 5:49:31a clot finishes responding so all of
- 5:49:33these things can be easily handled now
- 5:49:36let's try to understand a little bit
- 5:49:37more with the analogy the way I explain
- 5:49:39everyone so one few more things like if
- 5:49:41you want right since your events uh
- 5:49:44sorry hooks can be direct commands okay
- 5:49:47they can be some Python script or let's
- 5:49:49say a simple command they don't require
- 5:49:51LLM because these hook uh these events
- 5:49:54they are not dependent on LLM this is
- 5:49:56pure software development that hey
- 5:49:58something will happen then something
- 5:49:59next will happen so nothing LLM rule is
- 5:50:02coming into picture though you can call
- 5:50:04LLM of course inside your hook but
- 5:50:07ideally by the nature of development
- 5:50:09hooks are LLM free okay so they get
- 5:50:11called when they get an event is
- 5:50:13executed So those events everyone okay
- 5:50:16they are these this is pure software
- 5:50:18development like this event has nothing
- 5:50:21to do with uh LLM or something right so
- 5:50:23that is the whole idea for people who
- 5:50:25are getting confused I am not saying
- 5:50:26that claude is not calling LLM I am
- 5:50:28saying that once it calls LLM and it
- 5:50:30comes back then the event which is fired
- 5:50:32that is independent okay so that doesn't
- 5:50:34has to do anything so that is where we
- 5:50:36are we as a developer or claude people
- 5:50:38as a developers they have made it very
- 5:50:39nice okay so that is the whole case
- 5:50:41everyone now again we have seen that
- 5:50:43there are multiple different different
- 5:50:44types of hook. Let me find build with
- 5:50:47cloud code and there was very nice uh
- 5:50:50hook. Yeah, automate with hooks. So this
- 5:50:52is a very good example everyone. I think
- 5:50:54this was the guide as well. Uh hooks.
- 5:50:57Yeah. So this was the exact same line.
- 5:50:59So see it is saying that add the hook to
- 5:51:01your settings. Uh hooks are added to the
- 5:51:02settings. So that is the very first
- 5:51:04understanding. And add a notification
- 5:51:06hook. The example [clears throat] below
- 5:51:08uses OSA script for Mac OS. See get
- 5:51:11notified when cloud needs input for
- 5:51:13Linux and Windows command. So all it is
- 5:51:15saying is that when basically your
- 5:51:18claude gets run right. So I can copy
- 5:51:21this and I could just go to my claude. I
- 5:51:25could start a new chat and just ask it
- 5:51:28only add the below hook to my settings
- 5:51:34file in this folder
- 5:51:38if uh in this project. Okay.
- 5:51:42If not present, create the same and then
- 5:51:49test the hook as well. Now, highly
- 5:51:52suggested that if you are making your
- 5:51:54hook for the very first time, use it and
- 5:51:56do it via cloud only. The reason is
- 5:51:58pretty simple. If you try to create your
- 5:51:59settings.json via directly, sometime it
- 5:52:02happens that when you run the cloud for
- 5:52:04the first time, it tries to override it
- 5:52:06and that is where hook can get lost. So
- 5:52:08just try to add the first one at least
- 5:52:09with your CL code only and then you can
- 5:52:11keep on adding more to it. Okay. So I'm
- 5:52:13just having this thing and we will see
- 5:52:15that again how it is creating this
- 5:52:17style. So we can have settings. Yes,
- 5:52:19just I hope it is created here only.
- 5:52:21Yeah, seems like it is created here
- 5:52:22only. And if you will try to see now
- 5:52:24everyone it has actually created a
- 5:52:26similar kind of like file but normally
- 5:52:28what will be the problem like though you
- 5:52:30can create this kind of a hook. It
- 5:52:32normally happens that again if I go on
- 5:52:34uh 1 minute. Yeah. So we were somewhere
- 5:52:37here. Yes. So you can do this again.
- 5:52:39This is for Mac OS. I think for get
- 5:52:41notified when cloud need input for Linux
- 5:52:43and Windows command. So normally I've
- 5:52:45seen that when like this one actually I
- 5:52:47have to change a lot of my notification
- 5:52:48setting. But the idea is pretty simple
- 5:52:50that we can actually do uh and create
- 5:52:52hooks like this. Uh again to showcase
- 5:52:55that okay hooks can actually work. I
- 5:52:56could just say uh terminal open. Okay.
- 5:52:58So I think something has done uh should
- 5:53:00be fine. [clears throat] We can refresh
- 5:53:01it. Rather let me open a new chat only.
- 5:53:03Okay. I could also say one thing
- 5:53:06everyone that let me close others one.
- 5:53:08Okay.
- 5:53:10So not of session we have open not a
- 5:53:12good thing. Yeah. So now what I can also
- 5:53:16ask it everyone is that add a hook in my
- 5:53:21uh settings dot json in this project
- 5:53:27cloud MD where any time I submit a user
- 5:53:34prompt it should add an entry here entry
- 5:53:39there okay so again very very simple uh
- 5:53:41hook I'm adding which will show you that
- 5:53:43yes hook kind of works And again this is
- 5:53:45not a hook which will require any okay
- 5:53:47so it is doing something no worries let
- 5:53:49us say yes it is using some skill like
- 5:53:52update config which might be already
- 5:53:53present. So plot keeps on adding these
- 5:53:55skills in the back end. So with every
- 5:53:56update as well on the plot everyone
- 5:53:58these things get added. So I should say
- 5:54:01uh I should say other and say
- 5:54:06dot claude. Okay I think this was not
- 5:54:08the one. Okay. So totally totally my
- 5:54:10bad. Let me close this. Let me copy the
- 5:54:13message everyone. So let's show more and
- 5:54:16actually what I can do is I can maybe
- 5:54:19go back. I think this is where we need
- 5:54:21to add it right. Let me re uh let me
- 5:54:25just make sure that everything is in
- 5:54:26line like this or wait.
- 5:54:32So let's see this now. I think it will
- 5:54:34be adding the book everyone. So book
- 5:54:36logs that logs the file. So seems like
- 5:54:38it has added the same. Let us say yes.
- 5:54:40Okay. Why is it adding it into claw.md?
- 5:54:43Pretty strange. Now I need to add a user
- 5:54:45permission. Okay, so again it is doing
- 5:54:47some work at the back end. Our aim is
- 5:54:49pretty simple. We just want to see that
- 5:54:50yes something gets added. Okay, let me
- 5:54:53fix the test. So again lots doing lots
- 5:54:55of things. I think it is testing the
- 5:54:57same as well. Test with user prompt
- 5:54:58submit. Okay, so it is testing out this
- 5:55:00everyone. I think now it has done
- 5:55:02something.
- 5:55:05Now let me test the updated hook. Now
- 5:55:07again I can say that hey every time run
- 5:55:09the bash command but should not be a
- 5:55:10problem. Uh yes
- 5:55:14good. Now let me test the full hook.
- 5:55:17Yes. Again I'm just doing this. Uh I can
- 5:55:19say it automatically but still it is
- 5:55:21trying to run these bash commands.
- 5:55:23I think if I don't plot MD it has done
- 5:55:26this thing which is not the ideal thing
- 5:55:28which I wanted to do. But uh yeah if I
- 5:55:30send a simple high now hopefully it will
- 5:55:33create a new entry. The hook is working
- 5:55:35right.
- 5:55:37So seem like the user pro message you
- 5:55:39should have logged into your cloud. MD I
- 5:55:42could just tell that hey this was not
- 5:55:44logged in and it will fix the same but I
- 5:55:46hope you get the idea. Let's try to
- 5:55:47understand the hooks first in more depth
- 5:55:49because I created some very nice
- 5:55:50diagrams for you as well. So now
- 5:55:52everyone if you will see like there are
- 5:55:53three major uh things for which hooks
- 5:55:56are used. So the number one is
- 5:55:57automation right and we will be testing
- 5:55:59and creating some custom hooks like I
- 5:56:01have created four examples very very
- 5:56:02practical one. Second everyone
- 5:56:04automation is pretty simple. do
- 5:56:06something automatically after every
- 5:56:07action. If you feel that hey a tool is
- 5:56:09called do this action. If you think that
- 5:56:11hey everything has been done from clouds
- 5:56:13end call this file maybe clean up. Okay
- 5:56:16so all of these things we can easily do
- 5:56:17everyone that is automation. Second is
- 5:56:19logging rather to be very honest if you
- 5:56:21want right uh we can also have a hook
- 5:56:24which sends you a message on your
- 5:56:25telegram or your slack. Okay. So once
- 5:56:28you connect those tools, then it can
- 5:56:30send you the message on your application
- 5:56:31so that you can use that message and
- 5:56:34make sure that it notifies you every
- 5:56:36time. Right. So second is logging
- 5:56:38everyone track everything cla code does.
- 5:56:40Example write every bash command claude
- 5:56:42runs into a lock file silently in the
- 5:56:44background. So that we can check that
- 5:56:46hey who made the mischievous of deleting
- 5:56:48the files or editing the files. And
- 5:56:50third and the most important everyone is
- 5:56:52guardrails. So guardrail I think is
- 5:56:54pretty simple when we talk about
- 5:56:55guardrails like we can check that hey it
- 5:56:58should not have any uh bad words in the
- 5:57:01final message it should not run the rm
- 5:57:02minus rf rm - rf commands so that is the
- 5:57:05whole idea with the guardrail case
- 5:57:06everyone okay so that is the whole case
- 5:57:08now just to understand hooker pretty
- 5:57:10more nicely you can see this diagram
- 5:57:12here so hook events what I have done is
- 5:57:14I have created a kind of a car
- 5:57:16assembling uh kind of a assembly right
- 5:57:18so see uh if you're sitting here like
- 5:57:21that is how things happen right you type
- 5:57:22The prompt it submit messages sent.
- 5:57:25There can be a pre-tool hook. Okay, a
- 5:57:27pre-tool hook which can get done. So it
- 5:57:29can block as well if required. Then the
- 5:57:31tool gets run everyone. Then post after
- 5:57:35success we can log and everything fail
- 5:57:37on error and then finally stop and then
- 5:57:39totally on user. It can notify you to
- 5:57:41get your attention or you can just deny
- 5:57:43everything else you want. So again in
- 5:57:45the hook overall there is no LLM nothing
- 5:57:48is taking care if your if your final
- 5:57:50let's say script is not having anything.
- 5:57:51So that is something which is very very
- 5:57:53important. Hooks done outside the LM
- 5:57:55fast and free. So that is the major
- 5:57:57thing everyone. I see many people like
- 5:57:59testing out and unnecessary calling LM.
- 5:58:01So yeah hooks can help you save cost.
- 5:58:03Just try to see what are the actions
- 5:58:05which you feel that doesn't require your
- 5:58:06LM there. Okay. So that is the whole
- 5:58:09case everyone and now let's move forward
- 5:58:11to understand a little bit more about
- 5:58:12hook. Let's go to the reference
- 5:58:16hooks reference. These are all the
- 5:58:18different different events everyone
- 5:58:19which on which you can have this thing
- 5:58:22right. So that is something which will
- 5:58:23be helpful to see how this piece fit
- 5:58:26together. Consider the pre-tool use that
- 5:58:28blocks destructive shell commands. The
- 5:58:31matcher narrows the bash tool call and
- 5:58:33if condition narrows further to bash
- 5:58:35subcomands. Block RM only spawns when
- 5:58:38both filters match. So again if you will
- 5:58:40see here first is it matches if a bash
- 5:58:44command is running. bash command is like
- 5:58:46normal terminal command. So if I run rm
- 5:58:48here right
- 5:58:50then everyone there is a type command if
- 5:58:54the command is rm star if it is trying
- 5:58:56to remove something then we can have
- 5:58:59block- rm.sh which is a script which can
- 5:59:02be which will be called. So if by any
- 5:59:05chance your claude is trying to delete
- 5:59:07something this hook will get called
- 5:59:09automatically. The script reads the JSON
- 5:59:12input from stdin. So basically via the
- 5:59:14simple so std in very simple everyone
- 5:59:17whenever you put anything here let's say
- 5:59:18clear as well that is a standard input
- 5:59:21extracts a command and return a
- 5:59:22permission decision of deny if it
- 5:59:24contains rm -f right so that is a very
- 5:59:28simple case I think this diagram is kind
- 5:59:29of very nicely explaining the same claw
- 5:59:32runs bash rm - r uh remove recursively
- 5:59:36forcefully temp build pre-tool use is
- 5:59:39the tool name bash yes seems like the
- 5:59:41tool name is bash is the command of uh
- 5:59:44and command is this your matcher bashes
- 5:59:47match then it will go in here if it
- 5:59:49doesn't match then hooks will not be
- 5:59:51match and it will just continue if now
- 5:59:54rm star means that anything after it so
- 5:59:57when I say star it means let's say rm
- 6:00:00anything can be there after this right
- 6:00:02all this gets configured in our star so
- 6:00:04that is how what star reads okay this is
- 6:00:07new yeah that is what star reads
- 6:00:09everyone it is saying that hey no such
- 6:00:10directory found Now when it gets matched
- 6:00:15your hook command block rm - sh it will
- 6:00:17be blocked. So that is how it works.
- 6:00:19Pretty simple approach. I could just
- 6:00:21showcase this live to you as well. Now
- 6:00:22let me copy this. Go to pro uh go to
- 6:00:25clot. Start a new session. Uh is this
- 6:00:28the one
- 6:00:29minute? Yeah, that is the one everyone.
- 6:00:32So let me start a new session. Paste
- 6:00:34this. Again I'm just using it directly
- 6:00:37so Claude can use it. Paste this. Add
- 6:00:41the above hook with block- rm command so
- 6:00:47that it gets run when claude code tries
- 6:00:54to delete
- 6:00:56when claude tries or has rm in his bash
- 6:01:00command. Okay.
- 6:01:04So it is based directly on logic. It is
- 6:01:05this is kind of a guard everyone. So
- 6:01:07hopefully it will try to add the same.
- 6:01:08If you go on settings JSON, I think it
- 6:01:10is saying the date scale. Not sure why
- 6:01:12it is doing it like this. Uh we may we
- 6:01:14will have to change this. So I could
- 6:01:16just say simply
- 6:01:19add to do.claude
- 6:01:22in my this project. Okay. So let's see
- 6:01:27this
- 6:01:30uh I add the hook directly to your
- 6:01:31project. Let me first check the current
- 6:01:32settings JSON. So seems like this is
- 6:01:35where it is creating the block rm - sh.
- 6:01:39Okay,
- 6:01:40I hope it is not creating it in the main
- 6:01:42one. Where is it creating plot pole
- 6:01:44skills demo? Yeah, now it has been
- 6:01:46added. See, so again in the hooks bash
- 6:01:49ideally I can remove these this one or
- 6:01:51let's see even this one. Let me delete
- 6:01:53these two. Okay. Yeah. So now I think
- 6:01:58created it has been created
- 6:02:01and updated as well. So where is the
- 6:02:04script here everyone?
- 6:02:07So this is the setting. Let me close the
- 6:02:09setup. Okay. Okay. So it is it is it has
- 6:02:12created the script back in my main
- 6:02:14folder. So if I go in here everyone in
- 6:02:17the dotcloud and if I search books so
- 6:02:21let me ask it uh where where is the
- 6:02:27block rm.sh file? Let me ask it.
- 6:02:33Let's let's try to delete this output
- 6:02:35folder after this is located at dot
- 6:02:38/cloud where the full path is github
- 6:02:41skills demo/hooks. Okay, it is there
- 6:02:44only my bad. So blocks rm this is
- 6:02:45present here everyone. Uh this reads it
- 6:02:48relatively. So again when you push the
- 6:02:50code as well somewhere or give it to
- 6:02:51your friend this means that it will try
- 6:02:54to read it from here directly. Right? So
- 6:02:56hooks now I could just ask can you
- 6:02:59delete the folder output in my current
- 6:03:05project. So let's try to see this
- 6:03:07everyone
- 6:03:09skewing everything happens. Uh one thing
- 6:03:11which I missed out okay one thing which
- 6:03:13I missed out let me delete this
- 6:03:16let me open a new one because again
- 6:03:18whenever you're creating a hook your
- 6:03:20hooks expects that can you really like
- 6:03:22it you are starting a new session. Okay,
- 6:03:24read the folder /output
- 6:03:28completely. Okay,
- 6:03:31in my current project. So let's see
- 6:03:33this. And again I'm doing this right in
- 6:03:34front of you everyone because I want
- 6:03:35that you understand these things in
- 6:03:36depth. Okay, I can help but first. So uh
- 6:03:40okay I think let it check if output is
- 6:03:42there.
- 6:03:44Not a problem at all.
- 6:03:47Before I delete this one minute output
- 6:03:49folder exists and contain before I
- 6:03:50delete can you confirm once deleted this
- 6:03:52cannot be recovered without get history.
- 6:03:54Sure.
- 6:03:55Delete the save. Okay. So, I'm not
- 6:04:00suggesting that hey, use RM RF. Let's
- 6:04:02see what it will use. So, see now RM RF.
- 6:04:05It is saying that hey, can I run this
- 6:04:07bash command? What does the bash command
- 6:04:09contains? RM - RF. Okay. Now, first
- 6:04:13match will happen because this is a bash
- 6:04:14command. It is asking and saying right
- 6:04:16in front of you that hey, can I run this
- 6:04:18bash command? Okay. Now, type is
- 6:04:21command. Yes. If it contains RM RF,
- 6:04:24ideally my hook should be there. So
- 6:04:25let's say yes
- 6:04:31and my folder is deleted. Pretty
- 6:04:33strange.
- 6:04:35Can you explain why the
- 6:04:40hook was not called while uh deleting?
- 6:04:45So pretty strange everyone. And this is
- 6:04:47again why I love to do the demo right in
- 6:04:49front of you not have it created because
- 6:04:51again uh it happens when you're not able
- 6:04:53to delete it. Very strange.
- 6:04:56Let us delete this. Why this file is
- 6:04:58created?
- 6:05:01So let me say yes. Uh yes
- 6:05:05good question. Okay that's a good
- 6:05:07question right for real. So let's see
- 6:05:10puzzling thinking what it is cooking up.
- 6:05:13Let me ply create a new folder everyone
- 6:05:15because our current hook kind of get uh
- 6:05:17why didn't let us see create catch hook
- 6:05:20should have been called. Here's what
- 6:05:21happened. The hook exists and is
- 6:05:22configured deny any rm command plus your
- 6:05:24setting as a deny list. Okay. The hook
- 6:05:27system is a part of cloud code hardness
- 6:05:28environment which normally intercept
- 6:05:29bash tool calls before execution.
- 6:05:31However, when I executed through bash
- 6:05:32tool, it ran directly in the shell
- 6:05:34environment without going through the
- 6:05:35harness permission. Okay. This is a
- 6:05:37limitation of how VS code extension.
- 6:05:38Okay. So, okay. I think this is actually
- 6:05:42how executes. What should have happened?
- 6:05:44Bash tool call detected. Permission
- 6:05:46check hook executed. You get a
- 6:05:48permission prompter error. Instead the
- 6:05:49command executed directly. This is
- 6:05:50actually a security app in the current
- 6:05:52setup. Your safety hooks aren't being
- 6:05:54enforced. You may want to check your
- 6:05:56cloud code settings or contact support.
- 6:05:58Okay. So maybe everyone what it is
- 6:06:00suggesting and this is why I love to
- 6:06:01like have these things up uh that maybe
- 6:06:04we should go in here
- 6:06:06uh do ls
- 6:06:09go back. Okay. I'm in the commands here.
- 6:06:12Let me go back here. Okay. Now let me
- 6:06:16say let us let us try. So let me do one
- 6:06:19thing. Let me try to create this
- 6:06:22directly. Okay. So for the same what I
- 6:06:25will do. I will have this. Let me ask
- 6:06:27let me ask here will be very helpful
- 6:06:29everyone. And again uh I want that all
- 6:06:32of you focus because these are the kind
- 6:06:33of error which you will also face. Okay.
- 6:06:36Now I could have this as well.
- 6:06:40Please create [clears throat]
- 6:06:43this hook in my
- 6:06:46main home directory. Okay.
- 6:06:50Directory dot clot. So it can be used
- 6:06:56everywhere.
- 6:06:58So again it will go through the same
- 6:07:00everyone and it should be able to create
- 6:07:02the same. Let us see. Uh yes allow
- 6:07:05reading from cloud for this project.
- 6:07:08Let's go back. I think it is doing from
- 6:07:10this project only but again we can copy
- 6:07:12and paste the same as well. Is there any
- 6:07:14folder as of now? No. So let me get it
- 6:07:17here because I will be testing it out
- 6:07:18multiple times.
- 6:07:23Yes.
- 6:07:26Yes.
- 6:07:30Global setting des.
- 6:07:32Okay.
- 6:07:34Uh this is yes.
- 6:07:38So seem like it has added and uh just
- 6:07:41updated the same everyone.
- 6:07:43Okay. So now this one is there and do
- 6:07:46you want to proceed? Yes.
- 6:07:52Okay. So let's see if it has created. So
- 6:07:53see live view like hook has been created
- 6:07:55and if I go on JSON user prompt submit
- 6:07:58this is the other thing hook pre-tool
- 6:07:59use it has been created. Now let me go
- 6:08:01here in the terminal say mkdir uh let's
- 6:08:05say a folder output only
- 6:08:09okay so I think
- 6:08:12uh okay make the ID output no worries ID
- 6:08:16I should have created this in via my
- 6:08:18command but not via this particular
- 6:08:20thing ls
- 6:08:22ah [snorts] okay so this is very very
- 6:08:23very sitting let me get out of this ls
- 6:08:27seems like output is created or not. Let
- 6:08:30me check it here.
- 6:08:33So that should be all good. I can say
- 6:08:34delete the output directory
- 6:08:39directory recursively.
- 6:08:43Okay. So again I'm just saying that we
- 6:08:44delete the output directory. No problem.
- 6:08:47Let's see the command which it will run.
- 6:08:49Uh see P2 will use bash bash hook return
- 6:08:52blocking error. Destructive command
- 6:08:53blocked by hook. Error. Destructive
- 6:08:56command blocked by hook. The global hook
- 6:08:57we just set up is blocking this. It is
- 6:08:58designed to prevent accidental RM minus
- 6:09:00RF command. Since you are explicitly
- 6:09:02asking to delete the directory, would
- 6:09:04you like me to temporarily bypass it by
- 6:09:06using RM R instead? So it is also very
- 6:09:08smart without using the flag or ask the
- 6:09:10explicit confirmation each time before
- 6:09:13allowing. So you see everyone this is
- 6:09:15working. I think again uh normally what
- 6:09:17all you will see claude uh particularly
- 6:09:20with claude all the documentation is for
- 6:09:22its terminal right because most people
- 6:09:24use the same for terminal. So that is
- 6:09:26the whole idea everyone and that is why
- 6:09:28it can happen that maybe in VS code they
- 6:09:30are like kind of updating the extension
- 6:09:31and everything so it doesn't get runs.
- 6:09:33Now in here again this is the complete
- 6:09:35flow everyone. I think this is a very
- 6:09:36good diagram to have in your notes.
- 6:09:38Please make sure that you have download
- 6:09:39these notes as well. Okay. So it is
- 6:09:42doing just checking the same thing that
- 6:09:43condition and everything matches and
- 6:09:45then it is able to run all these things.
- 6:09:46Right now it is telling where you define
- 6:09:48the hook determine it scope. I think
- 6:09:49this we have kind of already done. One
- 6:09:51thing more which if I show you see hook
- 6:09:53configuration these is actually what was
- 6:09:55happening hooks event on which event it
- 6:09:58should run tool filter bash uh write
- 6:10:02what basically is the tool which needs
- 6:10:04to be called. Now one thing more
- 6:10:05everyone I would just show you one more
- 6:10:06thing I would ask here can you tell what
- 6:10:10all tools you have. Okay so let us ask
- 6:10:14only and hopefully it will give the
- 6:10:16same.
- 6:10:18The idea is that if you remember there
- 6:10:19is 7k or 6k context token which gets
- 6:10:22taken every time for tools right. So I
- 6:10:25just want to show you see these are all
- 6:10:26the tools which is having implement see
- 6:10:29file operation read write edit notebook
- 6:10:31edit editor Jupyter notebook sense code
- 6:10:33intelligence lsp language surface
- 6:10:35protocol for go to definition file
- 6:10:37references info shell and execution bash
- 6:10:40via which it is able to run all the
- 6:10:42commands monitor scheme output from
- 6:10:44longunning processes planning and task
- 6:10:47enter plan mode exit plan mode task
- 6:10:49create task list task get task update
- 6:10:51all of these things are pedal get and
- 6:10:53work trees
- 6:10:54for basically handling your git and
- 6:10:56pushing your code etc. Scheduling. Chron
- 6:10:58jobs are used for scheduling which we
- 6:10:59will see towards the next I think it
- 6:11:02will be some after some parts. Skills
- 6:11:04and agents. So again we have seen skill
- 6:11:06already. Agents will be understood as
- 6:11:07well. User interaction ask user question
- 6:11:10push notification web and APIs web
- 6:11:12search web fetch remote trigger. So that
- 6:11:14is how it is able to do the web uh web
- 6:11:16search as well. So that is the whole
- 6:11:18idea everyone like these are all the
- 6:11:19tools and that is why when we do context
- 6:11:22right
- 6:11:23you will see that how uh system tools
- 6:11:26are 21k tokens. So all of the like how
- 6:11:28to run and all these things are kind of
- 6:11:30present. Of course if you want we can
- 6:11:32disable the same as well. We saved a lot
- 6:11:34of by disabling MCP but that is the
- 6:11:36whole idea. Now if you will see everyone
- 6:11:38this is how it happens. Uh the event
- 6:11:41matcher then hooks type okay
- 6:11:44settings.json JSON it like kind of is in
- 6:11:46the setting not JSON it can be a command
- 6:11:48base it can be a post call all these
- 6:11:50things which we have discussed command
- 6:11:52which it needs to run time out and then
- 6:11:54async async means that if asynchronous
- 6:11:57is true it will run in the background so
- 6:11:58for example if you are saying that hey
- 6:12:00whatever is the output please save it
- 6:12:02somewhere now just as an example let's
- 6:12:04say output is very very long okay it's a
- 6:12:05file something which we need to copy
- 6:12:07then you can run it asynchronously
- 6:12:09because then it will not ask clot to
- 6:12:12stop its operation Asynchronously mean
- 6:12:14that both can go together. So in a way
- 6:12:17it is like that claude is working
- 6:12:19working. A hook says that hey you are
- 6:12:22trying you have given me the output let
- 6:12:24me get the output. One way is that hook
- 6:12:27will get completed then back from here
- 6:12:29clot will get completed right. One way
- 6:12:31is this second is when if I just do back
- 6:12:35once it understand when it will be async
- 6:12:37everyone then
- 6:12:39cla will also keep on continuing and
- 6:12:42hook will also keep on continuing. So
- 6:12:43this is the second way. This is the
- 6:12:45asynchronous way. So that is the whole
- 6:12:47idea everyone. There are again different
- 6:12:48different matches like bash, write,
- 6:12:49edit, read, glob, grap, web, mcd. Again
- 6:12:53we can actually go and see all these
- 6:12:55things in our hook references like what
- 6:12:57are all the events and everything. And
- 6:12:59actually there is one more thing
- 6:13:01everyone which is very very helpful. If
- 6:13:03you go and let's say go here clear
- 6:13:07everything. If you do claw / hooks I
- 6:13:11think it gets triggered directly by
- 6:13:12hooks as well. You can see that what all
- 6:13:14hooks you have created. So for example
- 6:13:16for your different different uh use case
- 6:13:18like see there is a hook which is for
- 6:13:20pre-tool use which we created right. So
- 6:13:23we can see that it is a command block rm
- 6:13:26rs right post tool use we have not
- 6:13:29created any post tool use failure after
- 6:13:31tool execution fails after a batch of
- 6:13:34tool calls resolves permission denied
- 6:13:36after auto mode classify denies a tool
- 6:13:38call. So again auto mode we have already
- 6:13:40kind of discussed as well not available
- 6:13:41in here. Then some user prompt submit I
- 6:13:44think uh okay what is this? Okay. So
- 6:13:47okay okay so if you all remember
- 6:13:49everyone it unknowingly when we ask it
- 6:13:52that hey you have to create this thing
- 6:13:55it is actually created a hook here only.
- 6:13:57So you will see that command models
- 6:13:59haiku uh it is showing that which is the
- 6:14:01model model context window. So it is
- 6:14:03also a hook right. So anyway user
- 6:14:06prompts user submits a prompt uh it gets
- 6:14:09changed right. So oh nice. So that is a
- 6:14:11very good learning right everyone. So if
- 6:14:12I send a high here so user submits the
- 6:14:15prompt this hook will get run and I
- 6:14:16think it will then update this. So see
- 6:14:1819%. So that is the whole use case right
- 6:14:20and session start session end uh again
- 6:14:23all of these are different different uh
- 6:14:25events on which you can create the hook.
- 6:14:27So that is the whole idea. So this is
- 6:14:29how everyone I think now we have covered
- 6:14:31all around the events hooks and
- 6:14:32everything. Let's try to see few more
- 6:14:34things as well because I want to make
- 6:14:35sure that each and everything is
- 6:14:36covered. That is how it will be
- 6:14:37complete. Uh these are all the matchers
- 6:14:39right actually you can go to chatg
- 6:14:41claude or maybe just directly ask uh in
- 6:14:44here as well what are all
- 6:14:48the matchers in books. So if you ask it
- 6:14:51here uh hopefully it is not charging my
- 6:14:54chat cloud AI here because with cloud
- 6:14:56that is always a problem right like uh
- 6:14:58from where is it charging but yeah
- 6:15:00hopefully that will not be the case
- 6:15:01let's see tool events
- 6:15:04so again these are all the matcher
- 6:15:06everyone basher write edit write edit
- 6:15:08read no matcher means that okay it will
- 6:15:10not run MCP if you are using a GitHub
- 6:15:12MCP that would be something which we can
- 6:15:14do now one thing more everyone if I just
- 6:15:16show you like this is a little bit more
- 6:15:18advanced but uh Let me just check what
- 6:15:22happened. Uh 1 minute. Let me exit it
- 6:15:25out. Okay. Let us go in here.
- 6:15:29I want to show you one very important
- 6:15:30thing as well.
- 6:15:33Okay. Error destructive command blocked
- 6:15:35by hook. So this is actually something
- 6:15:37which I want to show you everyone which
- 6:15:39is this particular hook run. So these
- 6:15:41are also very important like what
- 6:15:42happened is that uh this exit to okay.
- 6:15:45So let me ask
- 6:15:48uh emergency right. So this was exit
- 6:15:50code system right. So let me let me
- 6:15:51start a new chat.
- 6:15:54Can you explain exit code system in
- 6:15:58books as well?
- 6:16:01Right. So let me see.
- 6:16:04Oh this is a good way of using clot for
- 6:16:06free. Right. If it then see exit code
- 6:16:10system control whether action processes
- 6:16:11are blocked or fail. Exit code zero
- 6:16:14success. The action proceeds. Cloud code
- 6:16:16passes JSON output. uh exit code two
- 6:16:19blocking error the action is blocked
- 6:16:20stdr back to the clock so I will explain
- 6:16:22you from here everyone let us try to
- 6:16:24understand it because this is also very
- 6:16:26very important okay uh it is it's a
- 6:16:28little technical but I still want to
- 6:16:29make sure because this will help you
- 6:16:31right in the long run see exit code zero
- 6:16:33everyone success proceed everything that
- 6:16:36should allow the action okay to block
- 6:16:39the action security guards in pre-tool
- 6:16:41use only when it is having a pre-tool
- 6:16:42use okay non-blocking error hook failed
- 6:16:45but don't stop plot so many time it will
- 6:16:46happen everyone that in the exit zero it
- 6:16:50is safe it will pass not a problem so we
- 6:16:52can actually add these particular uh
- 6:16:55hook exit codes as well and again the
- 6:16:57reason again I know of this is that if
- 6:16:59you okay let me close this if you go on
- 6:17:02uh was it 21 I remember
- 6:17:06references
- 6:17:08I think somewhere I read about this
- 6:17:10because again as I told I read the full
- 6:17:12documentation
- 6:17:14so there was one major thing which I
- 6:17:16want to tell you like If we close this
- 6:17:18up for the time being, let me search it
- 6:17:20here only. Okay, so exit code. Yeah, see
- 6:17:25exit code from your hook command tells
- 6:17:27clot code whether the action should
- 6:17:29proceed blocked or ignored. Exit zero
- 6:17:32means success. Claw code passes the
- 6:17:34output from JSON's output field. JSON
- 6:17:36output is only processed on exit zero.
- 6:17:38For most events, standard output is
- 6:17:40written into a debug lock but not shown
- 6:17:41in the transcript. So again, pretty
- 6:17:42simple. Exit two means blocking error.
- 6:17:45Claude code ignores the output whatever
- 6:17:48it is and any JSON like whatever Claude
- 6:17:50is giving instead st error text is
- 6:17:52feeded back to claude as an error
- 6:17:53message. Okay. So effect depends on the
- 6:17:56event pre-tool use blocks the tool call
- 6:17:59user prompt submit rejects the prompt
- 6:18:01and so on. So again uh the whole idea is
- 6:18:03that exit 2 is very important here
- 6:18:05because it is the most powerful even if
- 6:18:08you are running your clot code with the
- 6:18:10uh dangerously skip permission command.
- 6:18:12Right? So that is where again you should
- 6:18:15be a little bit aware of this. So exit
- 6:18:16code two is the emergency break. It
- 6:18:18doesn't care what mode you are in. Even
- 6:18:20if you are saying that hey allow
- 6:18:21everything for cloud to run, what
- 6:18:23permissions you have granted, how
- 6:18:25confident you are on cloud, it stops the
- 6:18:28clock, right? So that is where I just
- 6:18:30want to keep the same in your mind. I
- 6:18:33don't want to make it a lot more
- 6:18:34technical or difficult to understand
- 6:18:35because it is a little technical. See
- 6:18:38uh for example a hook command script
- 6:18:39that blocks dangerous batch commands as
- 6:18:41an example here. Pay attention everyone.
- 6:18:44If let's say that uh we are running this
- 6:18:47command right eco block rn commands are
- 6:18:50not allowed exit two when you exit this
- 6:18:54with this two the tool call is not run
- 6:18:56it is errored out that is the whole idea
- 6:18:58right so now for hooks where you want
- 6:19:02that hey just as an example if you ever
- 6:19:04feel that in your like let's say you are
- 6:19:06creating a hook it is trying to access
- 6:19:08some data maybe via bash command maybe
- 6:19:11via MCP where it should not be accessing
- 6:19:15that data right no matter what happens
- 6:19:17because if you just uh notify then your
- 6:19:20data might be at risk so that is where
- 6:19:22you need this exit to now the reason I
- 6:19:24specifically want to add this was
- 6:19:25because I feel that in future of course
- 6:19:27more and more people will be using claw
- 6:19:29code or similar agents right we as
- 6:19:32developers when we were creating such
- 6:19:34softwares manually we used to have these
- 6:19:36hard checks that hey no matter what
- 6:19:39users personal information should never
- 6:19:41be uh accessed okay just as an example
- 6:19:44it should be uh let's say authenticated
- 6:19:46and stuff. Now with AI submitted code
- 6:19:49the problem becomes that we will not be
- 6:19:51checking each and everything. So that is
- 6:19:52where it becomes a lot difficult and
- 6:19:54that is where these hard things should
- 6:19:56also be visible because if claude is in
- 6:19:59let's say dangerously skip permission or
- 6:20:00anything right this exit to will make
- 6:20:05sure that is never runs the tool will
- 6:20:07for sure never runs that is what the
- 6:20:09idea is for most hook events only exit
- 6:20:12two blocks the action claw core trees
- 6:20:14exit one as a non-blocking error so just
- 6:20:17as an example if I tell you again when
- 6:20:19we were trying to delete the folder
- 6:20:22though it was able to stop right if we
- 6:20:25would have let's say by default exit had
- 6:20:27a exit one kind of a uh let's say exit
- 6:20:30code then it can still continue and
- 6:20:34maybe delete your issue delete your
- 6:20:35error right so that is why very very
- 6:20:37important that whenever you want clawed
- 6:20:40code action to be totally blocked exit 2
- 6:20:43is the way to go now again don't jump
- 6:20:45off that hey may why you teaching us so
- 6:20:46in-depth things that is all coming from
- 6:20:48my experience of a software developer
- 6:20:50because I feel that these things are the
- 6:20:52one which makes or breaks you as a
- 6:20:53developer right because you are having a
- 6:20:55check then you will be all confused that
- 6:20:58hey I added this hook how came that
- 6:21:00didn't run so these hard checks are very
- 6:21:02very important so you will see that
- 6:21:03again what all it can block and
- 6:21:05everything I think most of it can block
- 6:21:07these notification etc because they are
- 6:21:09not kind of done on terminal it cannot
- 6:21:11work on that but yes uh that is the very
- 6:21:13very important thing everyone just just
- 6:21:15try to use it or just let claude know
- 6:21:17that hey please use exit code 2 for my
- 6:21:21server So I can actually ask it go back
- 6:21:23and just say
- 6:21:25let me say that in here
- 6:21:28can you please add exit code to to my
- 6:21:32hook
- 6:21:34which I created. Okay. So again claude
- 6:21:37will hopefully understand the same.
- 6:21:41So claude blocks are a message. Let's
- 6:21:43see what it will change everyone. Uh see
- 6:21:45it is adding exit to right
- 6:21:49now I think. Uh so that I have added the
- 6:21:50exit two to your hook. Now when it
- 6:21:52blocks RMF effort, it will exit with
- 6:21:53code two indicating a blocked error.
- 6:21:55When it allows a command, it exit with
- 6:21:57uh code zero. So let me say delete the
- 6:22:00folder
- 6:22:02output.
- 6:22:05Now let's see this
- 6:22:11uh
- 6:22:13claude skills explain code output which
- 6:22:15is a sensitive. Okay. So where is it
- 6:22:17running? Why is it okay? Let let us say
- 6:22:19yes. Not a problem.
- 6:22:24Okay. Uh
- 6:22:27I know why it happened. Uh we should go
- 6:22:29back everyone and in our settings
- 6:22:33RM in our books
- 6:22:36RM RF. Okay. So this is actually what
- 6:22:39caused the error. Let me let me create
- 6:22:41another folder here. So again you can
- 6:22:42see that again how still we have to be
- 6:22:44very very sure and that is the reason
- 6:22:46I'm telling you because cplot became
- 6:22:48very smart here. Okay. Now I could just
- 6:22:51uh exit it out for the time being. Exit
- 6:22:53it out. Clear everything. LS
- 6:22:57make directory output. Okay. Run plot
- 6:23:00here.
- 6:23:02Delete folder output with
- 6:23:07rm - rf command.
- 6:23:11So now I'm specifically asking it just
- 6:23:13normally it will not happen because this
- 6:23:15time the full thing was same. So that is
- 6:23:17okay. See I can help you read the output
- 6:23:19folder. Say now RM registration can't be
- 6:23:21done. Let me confirm a couple of things.
- 6:23:22Once you confirm
- 6:23:24go ahead
- 6:23:27okay
- 6:23:32see
- 6:23:34uh pre-tool use uh bash hook return
- 6:23:37blocking error error. So it is now this
- 6:23:38time seeing error. destructive command
- 6:23:40blocked by okay so that is the whole
- 6:23:42reason everyone that is again it is
- 6:23:43saying that use the alternate command
- 6:23:45which is rm - r without the force flag
- 6:23:47or moving the folder instead of deleting
- 6:23:49it use up config skill to modify or
- 6:23:51remove the block r message hook from
- 6:23:52your settings okay so again that is the
- 6:23:55whole case everyone it is now giving you
- 6:23:57an error already right that is the whole
- 6:23:59benefit and it will not let it pass that
- 6:24:01is the whole case I think if you
- 6:24:03remember that gandalf
- 6:24:06gandalf you shall not pass gif
- 6:24:09Right? So this is what exit 2 does.
- 6:24:12Right? I think this is the best example
- 6:24:13of explaining it so that you always
- 6:24:15remember. Please don't hate me if you
- 6:24:17feel that me why are you going so in
- 6:24:18depth. Just just few things believe me
- 6:24:20they will be helpful. If you as a
- 6:24:22engineer know these things in depth or
- 6:24:24even as a non-developer that will be
- 6:24:26very very helpful. Okay. So yeah exit 2
- 6:24:29is something like this you shall not
- 6:24:30pass in all the other errors like if
- 6:24:32you're doing exit one or exit zero and
- 6:24:34of course they will be for different
- 6:24:35works then it will be kind of done.
- 6:24:37Okay. So now everyone let's try to
- 6:24:39understand the same in depth. Let's
- 6:24:41let's try to run a few things up. Right.
- 6:24:46I will close all of them and let's run
- 6:24:48it in the skills demo only. Okay. So
- 6:24:51this is where again we will try to see
- 6:24:52the demo as well. Now I would do make
- 6:24:55directory I think. Okay. We are already
- 6:24:56created dot cloud /s.
- 6:25:00So it is saying that hey this already
- 6:25:02exists which makes a lot of sense. Now I
- 6:25:04will everyone what I will do is I would
- 6:25:06just first create a auto format okay so
- 6:25:09pay attention
- 6:25:11uh we are in the skills demo makes sense
- 6:25:13not a problem because that is where our
- 6:25:14python files are so I will say touch
- 6:25:17auto
- 6:25:18format py and it will of course create a
- 6:25:21file for us uh I actually want it inside
- 6:25:23hooks because it's a script which I
- 6:25:25would be calling again now in this
- 6:25:27everyone I will be pasting a code I will
- 6:25:29quickly explain what the code has it we
- 6:25:32will be now understanding about a post
- 6:25:34tool hook right so we have already seen
- 6:25:36about the pre-tool one now the post tool
- 6:25:38one which we called will be of course
- 6:25:40called once uh like of course the tool
- 6:25:42has done right so a very simple example
- 6:25:44let's say that you are generating a lots
- 6:25:46of code right but again of course not
- 6:25:47always clot follows all the uh different
- 6:25:49different things so why can't we just
- 6:25:52use our own scripts or our own mind to
- 6:25:54check these things up so that is the
- 6:25:56whole idea that I will ask clot to give
- 6:25:58some messy code and then I will show you
- 6:26:00that how exactly uh the same can be
- 6:26:03helpful Right. So now what I will do
- 6:26:04everyone I would just go to uh my claude
- 6:26:06let me open it via this say add this
- 6:26:10hook and let me open this file. So now
- 6:26:12this file claude will be having an idea
- 6:26:15hook to my settings dojson. What this
- 6:26:19particular uh hook will do everyone
- 6:26:22let's try to see and understand it once
- 6:26:23because we have this kind of a very good
- 6:26:25uh hook configuration thing.
- 6:26:29Uh okay where is it? I don't see a hook
- 6:26:31definition in a message. Okay, sorry for
- 6:26:33my bad. Let me paste this again. A very
- 6:26:35simple hook I've just created which is
- 6:26:37just calling this uh file. So now let me
- 6:26:40say yes. Okay, it is calling update
- 6:26:42config every time. Maybe I need to
- 6:26:43change that that when it is called.
- 6:26:46So reading settings dot JSON. So it is
- 6:26:48calling this update config as a skill,
- 6:26:49right? It will be having some things but
- 6:26:51yeah seems like it has added the same
- 6:26:52everyone. Let me first explain you
- 6:26:53before I do a yes. See post tool use it
- 6:26:56will be called after tool has been used.
- 6:26:58Write or edit whenever I'm using a write
- 6:27:00or edit command. Now when we actually
- 6:27:02create a file basically that will be
- 6:27:04kind of done and edit will be done. Type
- 6:27:06commands okay I will be running my
- 6:27:08Python this particular auto format py
- 6:27:12okay and that is like with the timeout
- 6:27:1430. So I think it is explaining time out
- 6:27:16in command. So I will say yes and now
- 6:27:19yes our hook is configured everyone and
- 6:27:21I will show you the magic. So just give
- 6:27:23me a second.
- 6:27:26So see it has added the same. I will
- 6:27:28open a new chat because suggested like
- 6:27:30after you create a hook uh just maybe
- 6:27:32exit or do this. I I keep the chat open
- 6:27:35so that we can go back to it. Top HTML
- 6:27:37create a file called messy.py with a
- 6:27:39function that adds two number. Write it
- 6:27:42with inconsistent spacing. No blank
- 6:27:43lines line between functions everything.
- 6:27:45So I'm just writing this line uh this uh
- 6:27:48thing. Now it will create a messy py. So
- 6:27:51pay attention.
- 6:27:52Yeah. See so it has created it and in 5
- 6:27:54seconds it will be all done. See in
- 6:27:56front of you already it kind of got all
- 6:27:58corrected. I will I will create it again
- 6:28:00because I think I messed it up. I will
- 6:28:02ask you to create messy messy 2.Y. Pay
- 6:28:04attention. It is not URL messy. It is a
- 6:28:06messy messy file. Okay. So again the
- 6:28:08idea is pretty simple. Uh let's see the
- 6:28:10C it is all kind of messed up and the
- 6:28:13post tool call what it will do everyone
- 6:28:15is that it will be called after a
- 6:28:17timeout of 5 seconds like a sleep of 5
- 6:28:19seconds. Uh okay. So then the file was
- 6:28:21created intentionally missing
- 6:28:22formatting. Okay. I think it messed up
- 6:28:24something here like it is having some
- 6:28:25errors. Let me let me ask you to create
- 6:28:27messy 3 this time. This time code plot
- 6:28:29messed up. Okay. So let's see this up.
- 6:28:32Uh the idea is that you should not have
- 6:28:33any errors etc because that is not what
- 6:28:35we are fixing. Missy 3. Let's see
- 6:28:39it get fixed.
- 6:28:46So we'll wait for a second. Seems like
- 6:28:49it has been done everyone. So now yeah
- 6:28:52see right in front of you the whole
- 6:28:54formatting was done nicely. Now this
- 6:28:56formatting everyone claude didn't do it.
- 6:28:58The idea or how this formatting was done
- 6:29:01was our this particular
- 6:29:05post tool use was called
- 6:29:07python.cloud/hooks
- 6:29:09auto format. This auto format script it
- 6:29:12uh logs the messages. I I remember I was
- 6:29:15logging the message. So just a second it
- 6:29:17is running like anytime something
- 6:29:19happens like of course if it will be an
- 6:29:21error still it will not change not touch
- 6:29:23it. Okay that is the whole uh aim but
- 6:29:26again you can be writing the code with
- 6:29:27maybe not with claw like as well right
- 6:29:30many people they will be using claw code
- 6:29:31maybe with their inbuilt models etc
- 6:29:33something which we have discussed. So in
- 6:29:35that case everyone maybe the code is
- 6:29:37very messy right so this is what this
- 6:29:39this full file does it logs the same as
- 6:29:41well and it sleep for 5 seconds. So this
- 6:29:43I have intentionally added so that we
- 6:29:45can see the same. Now if we go to uh
- 6:29:48logs see formatted messy.py black format
- 6:29:52failed error cannot format users uh this
- 6:29:54because I think it is having some error.
- 6:29:56So it is saying cannot passse formatted
- 6:29:58messy 3.py. So again that is the proof
- 6:30:01that yes this hook was running right so
- 6:30:03a very very simple hook no llm nothing
- 6:30:06this auto formatter doesn't care what
- 6:30:08claude writes it fixes it after right
- 6:30:10that's deterministic quality and again
- 6:30:13that is where you are also having you
- 6:30:14can have multiple checks as well you can
- 6:30:16rename your fold uh like let's say uh
- 6:30:18variables you can make sure that you're
- 6:30:20specifically following each and
- 6:30:21everything no matter even if uh so this
- 6:30:24is deterministic right that is the very
- 6:30:26very important part tomorrow if due to
- 6:30:28LLM failing LLM issues LLM gets upgraded
- 6:30:31your claude doesn't follow instructions
- 6:30:33very nicely then this thing doesn't cost
- 6:30:36you any money it will always and always
- 6:30:38run unless of course there are error
- 6:30:40then it should ideally not run so that
- 6:30:42is why it is helpful now these are very
- 6:30:43simple example let's try to have more
- 6:30:44example as well so next everyone now
- 6:30:47let's try to have a very very important
- 6:30:49thing which I think most of you will
- 6:30:50anyway be using it which is having
- 6:30:53adding a guardrail right uh basically
- 6:30:55here's the whole idea you are of course
- 6:30:57running clot code and let's say that
- 6:30:59someone tomorrow starts the same with
- 6:31:00bypass permission. Okay, the same exit
- 6:31:02two thing which I gave you. So claw code
- 6:31:05is having the maximum autonomy. It is it
- 6:31:07will be having no interruption and it
- 6:31:09can delete anything which it wants.
- 6:31:10Right. So that is where I have created
- 6:31:12this very awesome script. Now of course
- 6:31:13with the help of EI. So one thing
- 6:31:15everyone like now with uh now I think
- 6:31:18the major skill which again is missing
- 6:31:20in a lot of people is what to code not
- 6:31:22the coding itself because all these
- 6:31:23things of course they have been written
- 6:31:25by but I was the one which told that hey
- 6:31:27I need this kind of a thing right so in
- 6:31:30that case every I would just add a new
- 6:31:31file and I would name the file security
- 6:31:35uh one minute
- 6:31:38let me add a new file security guard py
- 6:31:44And let me paste the code here. So the
- 6:31:46idea is pretty simple. Uh pre-tool use
- 6:31:49block dangerous batch command before
- 6:31:51they execute. Exit code to block the
- 6:31:52action. Send message to clot by std
- 6:31:54error. So that is where I'm using it is
- 6:31:56exit code zero allow the action. So
- 6:31:57again this time I'm checking lots of
- 6:31:59things. Okay. Any reset any hard reset
- 6:32:02any any particular thing. I would also
- 6:32:04want to add one more thing here because
- 6:32:06sometime becomes very smart. Right. So
- 6:32:09let me copy this.
- 6:32:11And many times what clot does something
- 6:32:13which we tested as well that it tries to
- 6:32:15be pretty smart and tries to run for RM
- 6:32:18without the post command. Right? So
- 6:32:20again uh this is just me saying that hey
- 6:32:24you cannot unnecessarily go and hit any
- 6:32:26API you cannot. Now again I will tell
- 6:32:28you why this is very important. Uh by
- 6:32:30the curl command you can get something
- 6:32:32we can get a post etc here as well. The
- 6:32:36idea is that if you don't want okay if
- 6:32:38you have a system let's say that you g
- 6:32:40get a skill from somebody when I'm
- 6:32:41giving you a skill that skill calls some
- 6:32:44API and it like gives me some of your
- 6:32:46personal data so if we are blocking this
- 6:32:48curl command right then of course that
- 6:32:50would be helpful it will not be able to
- 6:32:52do that so that is the whole idea even
- 6:32:54that it should not be able to change the
- 6:32:55permissions of anything right delete or
- 6:32:57drop the table so these are the very
- 6:32:59very nominal command like rather if you
- 6:33:01will ask cloud it can add more commands
- 6:33:03here as well the idea is pretty simple
- 6:33:04now if you will
- 6:33:06uh tool name and everything it will try
- 6:33:08to get for pattern and block patterns we
- 6:33:11search if pattern is there ignoring the
- 6:33:13case everything okay sis exit 2 this is
- 6:33:16the emergency break exit zero allow all
- 6:33:19the other commands so that is the whole
- 6:33:20case everyone like all the other
- 6:33:21commands will be added now let me go to
- 6:33:22settings dojson let's try to uh
- 6:33:27ask claude only so I will start up or
- 6:33:29add here only please add the below hook
- 6:33:35in my
- 6:33:37settings dojson. I will just paste it
- 6:33:40and explain you that quickly.
- 6:33:44So let it add. Hopefully it will be
- 6:33:46quickly adding it. And now again I think
- 6:33:48this diagram is pretty helpful and you
- 6:33:49will anyway be asking cloud only. So see
- 6:33:52it is a pre-tool use again command
- 6:33:55python. Claude hook security guard. So
- 6:33:58again with blocks RMS uh this thing I'm
- 6:34:01just adding another one which I think is
- 6:34:02pretty common like I can remove the
- 6:34:04other one actually. So now if you will
- 6:34:06see everyone this will get run okay in
- 6:34:0710 seconds and everything. Now let's do
- 6:34:09one thing. Let's let's try to Yeah,
- 6:34:12let's try to ask you to delete the
- 6:34:14output folder. Okay. All right. Can we
- 6:34:16have something else as well? Yeah. Let's
- 6:34:17let's try to have it here.
- 6:34:20Move.
- 6:34:22Move.
- 6:34:24And let's try to open a new chat. And I
- 6:34:26really really hope Okay. Okay, I I think
- 6:34:28that we are missing the point but it is
- 6:34:30a Python command. Let's let's try to
- 6:34:31check it because again it was getting
- 6:34:33not called here because of a VS code
- 6:34:35error. Something which all of you should
- 6:34:36also be aware. Can you please delete the
- 6:34:40delete the delete the
- 6:34:44output folder? Okay.
- 6:34:49So destructive command blocked. So I
- 6:34:52think this time it was able to block. Uh
- 6:34:53the reason was pretty simple. A safety
- 6:34:55hook is blocking the deletion. your
- 6:34:56system has a block rsh hook that
- 6:34:59prevents destructive RM commands. Okay,
- 6:35:01so let me let me go and delete that. Let
- 6:35:04me delete this and let's see here
- 6:35:07settings.json.
- 6:35:09Let me open it with uh let me open this
- 6:35:12with with with with some line.
- 6:35:16Okay. And what I'm doing parallel even
- 6:35:18I'm just removing the hook. Okay. So I
- 6:35:20don't want the hook to be actually
- 6:35:21present there. I have saved the same. As
- 6:35:23you can see the same has been removed.
- 6:35:25So I can close Sublime. Now let's go
- 6:35:28back. Let's open a new one. I just want
- 6:35:31that this particular hook get start. So
- 6:35:33setting fail to parse setting do.json.
- 6:35:35Okay. I think I've done a mistake.
- 6:35:38Very very bad mistake. We have messed up
- 6:35:40the full structure. So let us open this
- 6:35:42something again which I think is now you
- 6:35:44you should know that as well. So let me
- 6:35:47quickly check what have we messed up.
- 6:35:51Okay.
- 6:35:55Yeah, I think now. Okay, so I didn't
- 6:35:57delete every hook like there was a
- 6:35:59error. Now let's open this one up. So
- 6:36:01again, good thing that it is sending you
- 6:36:02this thing. See now like that basically
- 6:36:04tells that how it is loading each and
- 6:36:05everything. Now if I ask it delete the
- 6:36:09output folder
- 6:36:12uh okay not sorry not this my my okay so
- 6:36:15I have two VS code opens that is
- 6:36:17something which we should be having the
- 6:36:19complete check other I will close one of
- 6:36:21them so it is able to open delete the
- 6:36:24output folder okay let's see this
- 6:36:28okay so yeah see P tool use bash hook
- 6:36:32error uh it is saying delete the output
- 6:36:35folder safely RM - R see how it is
- 6:36:37trying to be very smart we will try it
- 6:36:39out let's see that if it will be done p
- 6:36:41tool use bash hook error python claw it
- 6:36:44is this time actually I think that this
- 6:36:46is calling a particular r command only
- 6:36:48right see it is saying that hey this is
- 6:36:52matching a dangerous pattern skills demo
- 6:36:55output so this is done from r script
- 6:36:59blocked by security hook command was
- 6:37:01please find a safer alternative this is
- 6:37:02what we are getting right everyone so
- 6:37:04that does mean that Yes, our thing is
- 6:37:06working now. Let's try to see when
- 6:37:08Claude becomes smart. Are we smarter?
- 6:37:11Let's let's try to see this.
- 6:37:15Uh okay. No, we are not smarter. I think
- 6:37:17uh this is not the right reg x. Uh I I
- 6:37:20forget that it is doing it via the reg
- 6:37:21x. So that means our folder is deleted.
- 6:37:23But yeah, that that's also a good good
- 6:37:25check everyone that uh so reg x like the
- 6:37:28command how it gets catch up. So I think
- 6:37:30that I have messed it up here. But no
- 6:37:32worries. I think this is something of a
- 6:37:34homework now which all of you should do
- 6:37:35where you are testing it out with this
- 6:37:37particular thing as well. Now let's move
- 6:37:39forward everyone. I'm pretty sure that
- 6:37:40this should also be very very clear.
- 6:37:41Let's try to see one more very very
- 6:37:42important thing which is your session
- 6:37:44logger. The idea is pretty simple. When
- 6:37:46we are running clot code uh we are
- 6:37:48running it across multiple projects,
- 6:37:49multiple sessions across multiple days,
- 6:37:51right? That is what people do and we of
- 6:37:53course lose track of what happens when
- 6:37:55which file did it change, which commands
- 6:37:57did it run like what exactly happened in
- 6:38:00each session. And that is where a
- 6:38:01session logger hook captures all of this
- 6:38:03automatically without tokens, without
- 6:38:05prompts, just a clean log of uh like
- 6:38:08what we have built over time. Now you
- 6:38:09have seen that how we are also having
- 6:38:11lots of session over time. Right? So
- 6:38:12yeah, we have been working on these
- 6:38:14sessions everyone in depth. So that is
- 6:38:15where this particular hook will be
- 6:38:16helpful. Now this is something which I
- 6:38:18would like to add in the main one. So
- 6:38:20let me copy and show you the uh things
- 6:38:22first. So what I will do everyone let me
- 6:38:25uh first paste the file here. I will
- 6:38:27explain you the file once it gets added.
- 6:38:30And I will say I will add the hook as
- 6:38:32well. Please add this to my global
- 6:38:39global
- 6:38:41uh cloud folder as a hook. So I could
- 6:38:48have it across all of my sessions easily
- 6:38:54run. I will I will show you the code
- 6:38:56everyone. And again, I hope you're
- 6:38:57liking the so much in-depth explanation
- 6:38:59and actually useful things as well
- 6:39:01because I have to put in a lot of
- 6:39:02effort. So let's allow the reading. I
- 6:39:05think it is reading this in JSON. No,
- 6:39:07now I create the session logger script
- 6:39:08in your global hooks directory. Update
- 6:39:10the global setting. So yeah, dot cloud
- 6:39:12hooks. This is where it is creating.
- 6:39:14Yes, that is one more thing good with
- 6:39:15clot like it can transcend the project
- 6:39:18and stuff. Ideally we can control that
- 6:39:20as well that don't do anything outside.
- 6:39:22So again a hook can be handle there.
- 6:39:24Allow reading.
- 6:39:26So it is reading the same uh let's see
- 6:39:29the file is it here? No. Now model hiku
- 6:39:34and in the end it is adding the hook
- 6:39:36session start post tool use and on stop
- 6:39:40right. So everything is kind of being
- 6:39:41done here. I can say yes. So if we go
- 6:39:46back everyone uh this is where again it
- 6:39:48has added the hook again. In the hooks
- 6:39:51we have a session logger as well. If I
- 6:39:53have to explain you this what it does
- 6:39:54again ensure that log directory is there
- 6:39:57if not it will create the same log
- 6:40:00message then main okay it tries to
- 6:40:02basically make sure that it will check
- 6:40:04that whenever session start session id
- 6:40:08session is started it will log into the
- 6:40:09same event name stop session stop event
- 6:40:12name post willful use then it will just
- 6:40:14tell that hey what all has been done if
- 6:40:16there was a batch command what was done
- 6:40:17and everything so let's try to exit it
- 6:40:19out where it will create log directory
- 6:40:22Okay, session activities_.log.
- 6:40:25So that is the log file. Let's try to
- 6:40:28start a new one, new chat.
- 6:40:31So it is also telling the logger will
- 6:40:32now automatically create a running
- 6:40:33activity log dot cloud log session. It's
- 6:40:36a pretty helpful thing, right? So the
- 6:40:38second I send a high.
- 6:40:42Okay, this file should not be going. We
- 6:40:44can close this up. Okay, what I can do?
- 6:40:47Let's see if I go back. Is there any
- 6:40:49logs folder?
- 6:40:53Seems like it has not ran. Uh have we
- 6:40:55have started a new session? Well, in
- 6:40:56this one I specifically want that it
- 6:40:58runs. Great. Can you test it out so we
- 6:41:04are sure it runs? And again this is a
- 6:41:07very very uh important thing everyone
- 6:41:09that you although all the hooks are
- 6:41:10based on logic right don't just create
- 6:41:12them and say that hey this is all fine
- 6:41:14everything uh let's try to run them
- 6:41:18tmp test right okay let all right write
- 6:41:20yes okay let's see I'll test the session
- 6:41:22log by triggering a let me read a file
- 6:41:24write a file and run a bash command
- 6:41:27okay so cloud is actually I get it done
- 6:41:29right read session activity let me check
- 6:41:31perfect it is running okay so how it is
- 6:41:32running how it is running user may
- 6:41:35github github sync Claude skins demo.
- 6:41:37No, that is another thing.
- 6:41:40Where is the file? Uh, this particular
- 6:41:42file is it somewhere here in the docs.
- 6:41:46Yeah. Okay. Okay. Okay. One minute.
- 6:41:49Uh, oh. Okay. Okay. I think it is
- 6:41:52running like we are testing it out.
- 6:41:53Let's let's try to have another one, a
- 6:41:55new session. Let me send a high.
- 6:42:03So, it is running, right? Session stop.
- 6:42:06Can you create a Python file which
- 6:42:11which which helps me to add two numbers?
- 6:42:17Pretty simple file.
- 6:42:23See it is kind of handling everything
- 6:42:26right.
- 6:42:28I think it should have s okay no session
- 6:42:30started and it should not be session
- 6:42:31stop actually it should be like the task
- 6:42:33completed and I feel that when we
- 6:42:36actually do this exit right okay exit is
- 6:42:39not there I think and if I close this
- 6:42:41but yeah I think uh you are able to see
- 6:42:42everyone that how this is working pretty
- 6:42:44nicely right so that is the level of
- 6:42:46things which you can create now I think
- 6:42:47if I will go in here as well start a new
- 6:42:49chat just send a simple hi
- 6:42:52then then then in our dotplot folder
- 6:42:56there will be logs there will be session
- 6:42:58activity
- 6:42:58And since it is global, it will be done
- 6:43:00everywhere. So that is the level of
- 6:43:02control you are getting. Right? And
- 6:43:04again this is not have any any
- 6:43:06particular LLM token. This is totally
- 6:43:08totally free. So you might be creating
- 6:43:10it and having tokens every time that hey
- 6:43:12please uh just have this thing so we are
- 6:43:14aware. But this is a very good thing
- 6:43:16right? Uh I can just ask it anything now
- 6:43:18and it will be handing everything. So I
- 6:43:19can say create a dummy test file. py and
- 6:43:26I can see that hey what did all my
- 6:43:27session did and everything without
- 6:43:29having no of course change log.md is
- 6:43:31also there but this is running without
- 6:43:32any uh money right so in that way it is
- 6:43:34pretty simple see right and it has
- 6:43:36created this particular file so that is
- 6:43:38a level of in-depth knowledge everyone
- 6:43:40you are able to uh I want that all of
- 6:43:42you get and once you get that then I
- 6:43:44think it is pretty simple now of course
- 6:43:45if we want everyone we can test all of
- 6:43:48them together as well so it would be
- 6:43:50pretty simple right to test all of them
- 6:43:51together let me quickly see the same
- 6:43:54thing uh if there is anything which I'm
- 6:43:56missing so we have covered I think
- 6:43:58almost all of the things I guess I have
- 6:44:00also showed you yeah we we discussed on
- 6:44:02this hooks thing as well so we can see
- 6:44:04all the hooks in here everyone like bash
- 6:44:06red web search all these things then
- 6:44:08what are all the different different
- 6:44:09notifications uh I think I have covered
- 6:44:11about exit code01 as well which was very
- 6:44:13very important and yes now I want that
- 6:44:15you try out once running so you will see
- 6:44:17that how format post write logging
- 6:44:21security everything will work like you
- 6:44:22can add a notification as well. So again
- 6:44:24the idea is that once you have created
- 6:44:26your hooks very nicely they kind of auto
- 6:44:28run right that is the whole case. Now of
- 6:44:30course in your Python file you can have
- 6:44:31more logic but ideally I would want that
- 6:44:33whatever you are doing in your uh let's
- 6:44:35say hooks please keep it very very
- 6:44:38logical very very useful and make sure
- 6:44:40that it is not dependent on any uh
- 6:44:44further service. So it is not very
- 6:44:45complex right because the idea is that
- 6:44:47complex thing we can handle via skills
- 6:44:48via other approach and hooks are majorly
- 6:44:51there which runs without any LLM like
- 6:44:53which can run of course without any LLM
- 6:44:55and stuff. So that is where it is kind
- 6:44:57of your safeguarding mechanism and I
- 6:44:59feel that again we have covered hooks in
- 6:45:01a lot of depth. Let me just quickly
- 6:45:02check from my handwritten notes if
- 6:45:03anything was mentioned or left. I think
- 6:45:06we have done the same case. We can call
- 6:45:08and just call all of them differently as
- 6:45:10well. Right. Uh and just to quickly tell
- 6:45:13you like how it is different from a
- 6:45:15skill. We invoke a skill or it gets
- 6:45:17invoked when we are asking it. Hook of
- 6:45:18course gets after a particular
- 6:45:20condition. That is the whole case. And
- 6:45:23can I like there are a few questions
- 6:45:24which I will actually copy paste as
- 6:45:25well. So just let me copy them
- 6:45:28make sure that in our main file in the
- 6:45:31commands
- 6:45:34so we were maintaining a questions thing
- 6:45:36uh which I think I missed out but
- 6:45:38anyways I will create another one. I
- 6:45:40didn't thought that it will go in this
- 6:45:41much depth like I knew that it it will
- 6:45:43be one of the best one like it will go
- 6:45:45in depth but I think this was another
- 6:45:48folder but no worries let me let me
- 6:45:49create a new file
- 6:45:52okay let's say questions
- 6:45:55books
- 6:45:57question
- 6:45:58py oh sorry txt and these are the
- 6:46:02questions everyone which I think you
- 6:46:04should be answering uh let me just
- 6:46:07quickly wrap
- 6:46:10program.
- 6:46:12Okay. So see what how is hook different
- 6:46:15from a skill? I think all of us know
- 6:46:16that hooks can run automatically. They
- 6:46:18are based on a condition. Can a hook
- 6:46:20cause an infinite loop? Yes. If you
- 6:46:21actually are having a loop which is not
- 6:46:23asynchronous which runs for 30 minutes.
- 6:46:26It is also a problem. A post to loop to
- 6:46:28on write that itself writes a file that
- 6:46:30will trigger another post to look. So
- 6:46:32all these things can happen. So yes you
- 6:46:33should be aware that where you will be
- 6:46:34using a hook. Should I put hooks in
- 6:46:36settings JSON or settings local? I think
- 6:46:38this is pretty simple. Settings.json is
- 6:46:40the one which you want to be committed
- 6:46:42when the code will be running online and
- 6:46:44believe me this is very very helpful
- 6:46:45because in future people will directly
- 6:46:47be running cloud code like the way again
- 6:46:50directly on the VPS machine or stuff
- 6:46:52right. What's the maximum number of
- 6:46:53hooks I can have? No hard limit one
- 6:46:55experience user run 95 hook across
- 6:46:57global and project. So again not a
- 6:46:58problem at all. Can hook access clock
- 6:47:00conversion history? No hooks receive a
- 6:47:01JSON payload about a specific event. So
- 6:47:04that is what I was mentioning everyone
- 6:47:05that hooks actually runs on the basis of
- 6:47:07a event right that is what we discussed
- 6:47:09each event it throws out a JSON kind of
- 6:47:14a thing like what all it did what was
- 6:47:15the message and stuff and that is what
- 6:47:16hook received okay so they don't see the
- 6:47:18conversation that's by design hooks are
- 6:47:20deterministic script not yet they don't
- 6:47:22need contest to do their job and that is
- 6:47:24I think more than what is explained and
- 6:47:26I don't feel that now anything is there
- 6:47:28of course I will suggest that you go
- 6:47:30through this in depth uh each and every
- 6:47:33particular thing is explained uh the
- 6:47:34input this is actually the event input
- 6:47:37type right what goes in post tool use
- 6:47:39input okay what goes in pre-tool use
- 6:47:42input that is actually how we like this
- 6:47:45is actually where we can have a
- 6:47:47particular kind of a on some field like
- 6:47:50if you want to go in lot in depth of
- 6:47:53which I think majorly 90% of you might
- 6:47:55not need to but yes it's a still a very
- 6:47:56good topic to give on interviews to meet
- 6:47:59your juniors and everything so that is
- 6:48:00the level of understanding which we are
- 6:48:02having and yeah Each each event now
- 6:48:04everyone is kind of very nicely
- 6:48:05explained like how session and input
- 6:48:08this is the session id which it gets
- 6:48:09right so that is why hook is able to
- 6:48:10work on that transcript path cwd what is
- 6:48:13the current working directory of the
- 6:48:14user hook event name reason right so
- 6:48:16this is again uh the telling that hey
- 6:48:18these are the events which it can get
- 6:48:20access to so that it can work on the
- 6:48:22same right so with that everyone I think
- 6:48:25now the hooks are done in depth like I
- 6:48:27don't think anything is left now let's
- 6:48:28move to the next part and in the next
- 6:48:30part we will learn about connectors and
- 6:48:31MCP
- 6:48:32very very important topic that is where
- 6:48:35now again I I purposefully
- 6:48:38made sure that I am not having any
- 6:48:40external
- 6:48:42app or any character as of now the
- 6:48:44reason was pretty simple when you start
- 6:48:46by that mindset a lots of thing happen
- 6:48:48but you don't learn right now we have
- 6:48:49done all the things right in front of
- 6:48:50our eyes right so that is the whole idea
- 6:48:52like we will be making sure that we
- 6:48:54understand MCP then we understand that
- 6:48:56how can we connect our MCP servers and
- 6:48:58stuff and all these things uh what are
- 6:49:00the different kinds of MCP servers But
- 6:49:02now since you have so much idea everyone
- 6:49:03I think that this is a perfect perfect
- 6:49:05time to now expand your cloud code
- 6:49:07knowledge and just connect and actually
- 6:49:09automate stuff out there. So that is
- 6:49:10where it will be helpful. So in the next
- 6:49:12part let's now master MCP as well. So
- 6:49:15great everyone now let's move forward
- 6:49:16and start with our next part and in this
- 6:49:18we are going to discuss and understand
- 6:49:20in depth about MCP which is your model
- 6:49:22context protocol. Now I'm pretty sure
- 6:49:24that this is actually a term which kind
- 6:49:26of got famous last year and all of you
- 6:49:28have heard the same as well. But when I
- 6:49:30even ask someone like I I still get
- 6:49:32question like hey is MCP and cloud code
- 6:49:34different. Hey what is the difference
- 6:49:35between MCP and agenti. So I still feel
- 6:49:38that uh because I guess the way it is
- 6:49:40explained or maybe just because of
- 6:49:44somehow how it is made so difficult
- 6:49:46people are still not clear about MCP and
- 6:49:49for the same everyone we will be
- 6:49:50discussing about MCP again in depth just
- 6:49:52like how we have done for each and every
- 6:49:54part and we will make sure that we see
- 6:49:55all the demos and I will try if we can
- 6:49:57quickly make our own MCP server as well.
- 6:49:58Right. So with that everyone let's now
- 6:50:00quickly get started. Uh the very first
- 6:50:02idea right as of now what we have done
- 6:50:05right that was all local. So till now
- 6:50:07you were all saying to claude that hey
- 6:50:08claude please edit my file. Please make
- 6:50:10sure that you give me a script. But now
- 6:50:13with the idea of connectors and MCP and
- 6:50:15I will like put the connectors and MCP
- 6:50:17in the same bucket. I will show you what
- 6:50:19connectors also are. uh Claude can now
- 6:50:22you can ask Claude that hey Claude
- 6:50:23please read my emails and give me the
- 6:50:25summary here or hey Claude can you
- 6:50:27please uh push my code changes to GitHub
- 6:50:29or hey Claude can you please make sure
- 6:50:31that you manage my emails see my Slack
- 6:50:33messages send me a notification on Slack
- 6:50:35because now claude stop becomes or
- 6:50:38rather claude code stop becomes or
- 6:50:40living safely in your machine okay so
- 6:50:42till now it was just doing that it has
- 6:50:44been living in your machine reading your
- 6:50:45files it runs your code and it was able
- 6:50:47to edit all of your project etc And
- 6:50:50though that is incredibly powerful, it
- 6:50:52is still local. Okay. Our idea everyone
- 6:50:54is that now what get happens when clawed
- 6:50:57code get instant connection. Okay. So
- 6:50:59MCP for us is a simple instant
- 6:51:00connection to different different tools
- 6:51:02like Slack, Figma, notion,
- 6:51:05Gmail, GitHub all of these different
- 6:51:07different tools and that is where MCP
- 6:51:09helps everyone and the best part is that
- 6:51:11MCP and it has been built by uh
- 6:51:13Enthropic only. So if we actually search
- 6:51:15for MCP on the web, we will see this
- 6:51:18official website everyone. And uh that
- 6:51:20is also mythropic like the parent
- 6:51:22company of clot. It is not a concept
- 6:51:25just for clot code. It is actually a
- 6:51:27concept which is a generic concept like
- 6:51:29APIs, HTTP and other things. Right? So
- 6:51:32that is the whole idea everyone and that
- 6:51:34is how we are going to understand the
- 6:51:35whole idea or the whole aim is that how
- 6:51:38can we okay make sure that we can
- 6:51:39connect our claw code. Let me just get
- 6:51:42few icons here so that you can
- 6:51:43understand it.
- 6:51:45Let us make it a lot smaller. Okay.
- 6:51:47Let's let's for example have VS code as
- 6:51:49well here because again I told you just
- 6:51:52like that it is a basic concept nothing
- 6:51:55to do uh with your minute no let me try
- 6:52:00for other things I will quickly get some
- 6:52:03icons everyone right VS code even if we
- 6:52:07talk about say cursor
- 6:52:10right so uh not this cursor yeah this
- 6:52:12cursor so cursor is also an ID now the
- 6:52:15reason I'm putting up all these
- 6:52:16different different IDE. Okay. So they
- 6:52:18are known as IDE integrated development
- 6:52:21environment just like we have VS code
- 6:52:23and I think I covered in the starting as
- 6:52:25well long crash course even I have
- 6:52:27forgotten but yeah you can easily
- 6:52:28download VS code cursor right all of
- 6:52:32these ids as well along with that for
- 6:52:34real if you have some AI as well right
- 6:52:37so just as an example if you have some
- 6:52:39uh let's say chat GPD just a very simple
- 6:52:41example because I always feel that chat
- 6:52:44GP is like the best or the easiest AI
- 6:52:47which we
- 6:52:48because that is what kind of exposed us
- 6:52:50to AI world or let's say agent right so
- 6:52:54AI agent AI no let me search rather AI
- 6:52:58agent okay icon
- 6:53:02yeah
- 6:53:03so now everyone the idea becomes that
- 6:53:05you can have anything on the left side
- 6:53:08to be very honest like anything which I
- 6:53:09mean that anything which can have that
- 6:53:11connection that it can reach out to your
- 6:53:13uh let's say AI and the whole idea
- 6:53:17becomes that on the right we can have
- 6:53:18Gmail. Okay,
- 6:53:22we can My bad. Let me try from another
- 6:53:25another one. Gmail.
- 6:53:28So lots of icon I will have just right
- 6:53:30in front of you. So you do follow this.
- 6:53:32Let's say Slack.
- 6:53:38Let's say GitHub,
- 6:53:44right?
- 6:53:49or even any uh nontechnical tool as
- 6:53:51well. So actually I feel that even
- 6:53:54Google drive, Google sheet, everyone is
- 6:53:56having an MCP. I I'm not sure if
- 6:53:57Wikipedia is having an MCB but again I
- 6:53:59think there are lots of no code tools as
- 6:54:01non coding tools locitub is coding uh
- 6:54:04Gmail is fine slack is also fine and
- 6:54:06rather for that matter anything right so
- 6:54:07that is the whole idea where any of your
- 6:54:09applications any of your AI or any of
- 6:54:11your agent it can directly connect with
- 6:54:13this and the protocol which we say and
- 6:54:15I'm again I'm just explaining in a most
- 6:54:16easy to understand manner is kind of
- 6:54:19known as MCP protocol I will explain you
- 6:54:21in a easy understand manner as well
- 6:54:23because now it will be a little
- 6:54:24confusing uh it's not a difficult
- 6:54:25concept at all it is rather a very very
- 6:54:27simple concept build on the basics of uh
- 6:54:30development only majorly if you will go
- 6:54:32to the official documentation as well
- 6:54:34people say that it is like a USBC for
- 6:54:36connectors I normally don't like the
- 6:54:38definition a lot and the reason is
- 6:54:40pretty simple that I feel that
- 6:54:42unnecessary that uh it doesn't
- 6:54:44oversimplify like that is actually
- 6:54:46something which I was even creating so
- 6:54:47let's get the official documentation uh
- 6:54:49official diagram as well everyone that
- 6:54:51see how you can have uh chat interfaces
- 6:54:54cloud desktop library chat ids and code
- 6:54:57editors cloud code goose uh your uh
- 6:55:00cursor etc other AI application how they
- 6:55:02can connect to MCP and then via data and
- 6:55:05file system development tools
- 6:55:06productivity tools everything they can
- 6:55:07connect to right so that is the whole
- 6:55:09idea I've given very very simple idea
- 6:55:11that if you want to connect your any
- 6:55:13application right which supports of
- 6:55:15course like you you should not say that
- 6:55:16hey my I want to connect my word so word
- 6:55:18as of now doesn't support that MCP
- 6:55:20connection to any other application they
- 6:55:22can get connected and that is where I
- 6:55:24think Maybe USBC thing is making sense
- 6:55:26but again to understand from scratch
- 6:55:28that is a little confusing. So let me
- 6:55:30make it a little bit easier for you.
- 6:55:32Let's say that I go in here everyone and
- 6:55:34I open a new uh
- 6:55:36new uh this cloud code window and I will
- 6:55:40use a very awesome tab as an example
- 6:55:43here. So what table does everyone is
- 6:55:45that in a very simple sense it just
- 6:55:48allow you to do Google allow you to do
- 6:55:50web search. Okay. Okay. So if you want
- 6:55:51to search something on the web, you can
- 6:55:53do that easily with using tab's API. Now
- 6:55:56for people who are not aware about API
- 6:55:59because I feel that again as I said many
- 6:56:01people from completely non techch or
- 6:56:02maybe in college is also learning about
- 6:56:04the same API in a very simple sense is
- 6:56:06just this quick diagram that you as a
- 6:56:09customer again waiter is the API and
- 6:56:10chef or kitchen is like the main thing
- 6:56:12you ask for something okay and you send
- 6:56:15some data. So let's say if you want a
- 6:56:16dish you want to have maybe burger. So
- 6:56:19you will be sending your order. Okay. So
- 6:56:21your order will go from here. Uh it will
- 6:56:25travel and go to the chef. The kitchen
- 6:56:27will create it. It will give to the
- 6:56:28waiter and waiter will give you to you.
- 6:56:30So API collects and process a response
- 6:56:32then returns with that response as
- 6:56:34waiter would take order from restaurant
- 6:56:36report it to chef and delivers the
- 6:56:37answer complete meal from kitchen. So
- 6:56:39again that is how simple API is in a
- 6:56:42very simple sense. If I have to explain
- 6:56:43whenever you are using Google, you are
- 6:56:45actually using one of Google's API. You
- 6:56:47send your search query. So when you go
- 6:56:49in here everyone, let's say you go here
- 6:56:51and I let's say I search for NBA. Now
- 6:56:53you are sending this NBA as a search
- 6:56:55query here. And this search query
- 6:56:57everyone goes to Google server. Okay. So
- 6:57:00there's again some internet and
- 6:57:02everything of course in between which
- 6:57:03you can think of like an API just a very
- 6:57:05very easy explanation and that gets you
- 6:57:07back all the information. And now of
- 6:57:09course that is shown to you in a very
- 6:57:11easy to understand in a very this uh
- 6:57:13beautiful manner. Okay. So that is the
- 6:57:15whole case. Now for example here as well
- 6:57:17you can search Nvidia and it will give
- 6:57:20you the answers right. So it is saying
- 6:57:22that hey use our API. So that is what
- 6:57:25I'm going to use everyone. So very very
- 6:57:26simple sense and again I'm using cloud
- 6:57:29code directly. So let me show let me
- 6:57:31login via well I think I will have some
- 6:57:34again again table is totally free. So it
- 6:57:36gives you some,000 credits per month
- 6:57:39which I think are more than enough for
- 6:57:40learning. So as you can see I have my
- 6:57:42key as well and of course like if you
- 6:57:44are using something which is very very
- 6:57:45expensive like for restaurant as well
- 6:57:47you give a fee or bill at the end right
- 6:57:50because that is not free. Similarly
- 6:57:52Tamil provides you with a key that hey
- 6:57:55this is your own key with which you can
- 6:57:57give to me so that I know that someone
- 6:57:59who is coming I know that person and
- 6:58:01then I will give you the result. So very
- 6:58:02simple example login let's understand
- 6:58:04the same uh and I will then make it easy
- 6:58:07as well please create a file okay tably
- 6:58:14API where I hit the tably search API
- 6:58:21keep API key as a variable okay variable
- 6:58:27and I can also uh edit out the
- 6:58:33search query. Okay. So just you can
- 6:58:36think of it like Google only everyone I
- 6:58:37think people who are aware they will be
- 6:58:39have they must have used tab before for
- 6:58:41sure. So very simple code will come out.
- 6:58:43I will get a python pie that hits the
- 6:58:45table search API. So tab search is
- 6:58:47created. Now again this is the URL
- 6:58:49everyone just like google.com then it is
- 6:58:51search query what is artificial
- 6:58:53intelligence and it is saying that hey
- 6:58:54give me your API key. So I will just
- 6:58:56copy the key from here
- 6:58:58and I will give it here. Okay. So let's
- 6:59:01make this smaller. This one here. Okay.
- 6:59:05And now everyone see this has been
- 6:59:07created. So what I can do is I could
- 6:59:09actually now just ask it to uh run the
- 6:59:13same. Okay. Run the file. I can just ask
- 6:59:16it run the file. Uh I could have done it
- 6:59:18from here as well or maybe just directly
- 6:59:19by pressing this button. Uh where is the
- 6:59:21button? Uh this one. But let's see. So
- 6:59:24it is saying that CD users it is going
- 6:59:26to my particular uh slide a particular
- 6:59:29folder and then running that particular
- 6:59:30file right
- 6:59:34most probably it will give us some
- 6:59:35results. So reading and everything
- 6:59:37germinating API return 432 error. Let me
- 6:59:39fix that request. If so again I think it
- 6:59:41has made some error. It's a very simple
- 6:59:43API. So let's try wait for it to fix it.
- 6:59:47Uh okay run this again.
- 6:59:53The request exceeds your plan usage
- 6:59:54limit. Please upgrade your plan. The
- 6:59:56script is working a little bit. The API
- 6:59:57key has hit a usage limit. Okay, no
- 7:00:00worries. Let us uh it is showing. So let
- 7:00:02me delete this key. delete
- 7:00:05uh create a new key. Okay, let's say
- 7:00:09glad code. Create one. Copy this. And
- 7:00:14again, please create your own. Uh don't
- 7:00:16even mind because it is totally free. Uh
- 7:00:19okay. Try again.
- 7:00:22Right.
- 7:00:25Yes.
- 7:00:30Now let it hit. Script is actually
- 7:00:33running. Script is ready to use. It is
- 7:00:35saying that hey script is running. I
- 7:00:36think should be all fine. Are we
- 7:00:38printing the result anywhere? Response
- 7:00:40print response. JSON. Yeah. So let me
- 7:00:42try to run it now everyone. Let's try to
- 7:00:44run it and we will see the results. Uh
- 7:00:47client error error request your plan set
- 7:00:50usage limit. Let me try to quickly fix
- 7:00:52it everyone. Just a second. So it is
- 7:00:54saying that actually I uh like gone
- 7:00:56through my limit and that is actually
- 7:00:58true. I will I have just actually
- 7:00:59created another account. Uh so it is
- 7:01:01having zero of th00and uh since it was
- 7:01:03full even I got confused like
- 7:01:04thousand,000 I left but that is how it
- 7:01:06works. So let me copy the new key
- 7:01:08everyone let me paste it here and I
- 7:01:10think it is being used somewhere in my
- 7:01:12multiple systems that might be the case.
- 7:01:14Now if I run it again hopefully it will
- 7:01:17change see it is able to give me the
- 7:01:19response uh the ability of machines to
- 7:01:22learn through this this thing and all
- 7:01:23these things it is able to give me these
- 7:01:25responses right now it is on me how I
- 7:01:26want to showcase these responses. So in
- 7:01:28a way if you think about this I have
- 7:01:31tried to
- 7:01:32have my claw code
- 7:01:37a tool right. So I we we say this as a
- 7:01:40tool. Okay. So I can just have a tool
- 7:01:42icon.
- 7:01:45So let us quickly have it
- 7:01:49tool icon.
- 7:01:52Let me copy this one.
- 7:01:54I say that hey now my claw code is
- 7:01:56having the tably search tool. Okay. Now
- 7:02:01the reason they are known as tool is
- 7:02:02because uh cloud code I have already
- 7:02:04told you like it follows a aentic kind
- 7:02:06of an architecture and whenever your
- 7:02:08agentic kind of an architecture calls
- 7:02:09some external service via API etc. We
- 7:02:12say that your agent is having a tool
- 7:02:13just like how we human have tool like
- 7:02:15your laptop your phone pencil pen this
- 7:02:18pen is also a tool for me right at the
- 7:02:19end of the day. Now in a similar manner
- 7:02:21everyone I have shown you an example but
- 7:02:23I can also create let's say read Gmail
- 7:02:25tool read emails on Gmail tool okay so
- 7:02:29that would be kind of supported by Gmail
- 7:02:31in a similar manner now the reason I
- 7:02:33didn't show you with Gmail was that it's
- 7:02:35normally little difficult you guys will
- 7:02:36not be able to do it because it requires
- 7:02:38some extra key uh key and like on the
- 7:02:41cloud etc which I want that all of your
- 7:02:42mind now everyone just think about this
- 7:02:45and let's now take the example of GBN
- 7:02:48tomorrow there are lots of operations
- 7:02:50which you can do Gmail on Gmail you can
- 7:02:52do lots of operation let me zoom it in
- 7:02:54here you can read you can uh write okay
- 7:02:59you can create draft then you can also
- 7:03:03have an attachment okay so have an
- 7:03:06attachment
- 7:03:07then you can also have everyone let's
- 7:03:09say delete an email you can then easily
- 7:03:12have let's say uh delete is their
- 7:03:15archive you can have let's say something
- 7:03:19known as maybe label. Okay. So all of
- 7:03:22these are different different action
- 7:03:24everyone which you can provide. Now
- 7:03:25let's try to understand the full form as
- 7:03:27well. Uh the full form everyone of MCP
- 7:03:30is model context protocol. Okay. So let
- 7:03:32me have it here. Let's have the full
- 7:03:34diagram. Yeah. The full form is model
- 7:03:38context protocol.
- 7:03:41Now the way or how can I explain you
- 7:03:44this full form is that see at the end of
- 7:03:46the day in all of these different
- 7:03:48different AI applications or AI or agent
- 7:03:51framework or any anything basically an
- 7:03:53AI is running right because if I now
- 7:03:56just if I now just show you let's say if
- 7:03:59I create a new again a new one and if I
- 7:04:01ask can you tell me the latest
- 7:04:05news in
- 7:04:08uh let's say uh AI only okay AI or let's
- 7:04:12say cloud code let's let's use cloud
- 7:04:13code
- 7:04:15with dates by using tavly search tool in
- 7:04:22the folder so again claude will
- 7:04:24understand that hey I have to tell this
- 7:04:26information now see by itself claude
- 7:04:27doesn't know this thing right so if any
- 7:04:29ei by itself it is having a cut off on
- 7:04:31learning rate it is just like a student
- 7:04:33who has learned the exam and now it is
- 7:04:35sitting in the exam now everyone what
- 7:04:37happened is that uh I I think it will
- 7:04:40not be able to run it uh because of some
- 7:04:42problem. I will quickly make it clear.
- 7:04:45So yeah. Okay. It is it is very smart in
- 7:04:46that. So it has already as you can see
- 7:04:48like it has done the change right that
- 7:04:49is a very smart thing about cloud code.
- 7:04:51So now so that my model right this
- 7:04:56particular claude haiku model which is
- 7:04:58running inside this it can get the
- 7:05:00context that hey what all is actually
- 7:05:02happening in the cloud code world. Okay
- 7:05:04I need to connect with some tools. Hey
- 7:05:06what exactly is happening in your
- 7:05:07emails? Did you get any email? you don't
- 7:05:09get any email. So that is where this
- 7:05:11particular thing is helpful everyone.
- 7:05:12That is where we actually use this MCB
- 7:05:15protocol to connect to our tools. Okay.
- 7:05:17So that is the whole idea that your tool
- 7:05:19that your model okay that your tool will
- 7:05:22provide context to your model. So model
- 7:05:24context via this particular protocol
- 7:05:26which is MCP protocol. Now let's see
- 7:05:28that what is the problem in this
- 7:05:30particular case which we have done. Now
- 7:05:32tomorrow everyone if Gmail is the case
- 7:05:34then for Gmail I will have to create so
- 7:05:36many different different tools right. So
- 7:05:38easily I will be having 10 plus Gmail
- 7:05:41students right and now you just saw that
- 7:05:44how I made this search query so I could
- 7:05:47have gotten it outside as well but how
- 7:05:49difficult it will get to maintain all of
- 7:05:51these tools as well right and I as an AI
- 7:05:54user and you all also as an AI user you
- 7:05:56will also say that hey I just want to
- 7:05:58give command to my AI I don't want to
- 7:06:00get into all these things that hey
- 7:06:01please add me this particular tool then
- 7:06:03only I will be deleting your email
- 7:06:05please add me this particular tool then
- 7:06:06only I will be reading your
- 7:06:08because that will become a lot difficult
- 7:06:10to maintain to create and all these
- 7:06:12things and that is where everyone MCP as
- 7:06:15a concept come into picture and now the
- 7:06:18idea becomes very very simple that uh
- 7:06:20claude or entropic said that hey let's
- 7:06:22do one thing okay you don't have to do
- 7:06:24anything we will create via this MCB
- 7:06:27protocol so right now you're using HTTP
- 7:06:29protocol okay HTTP is used for API
- 7:06:30calling so this API thing which I've
- 7:06:32shown you here the diagram to explain
- 7:06:34you API where is this yeah so this
- 7:06:36happens via HTTP P protocol same one is
- 7:06:39is here HTTPS and HTTP
- 7:06:42entropic said that hey let me do one
- 7:06:44thing okay let me do one thing let me
- 7:06:47give you an creating an MCP server okay
- 7:06:50so all of these tools you can create an
- 7:06:52MCP server and that particular MCP
- 7:06:56server can have all the tools etc what
- 7:06:58you want and you just connect to that
- 7:06:59server you just ask that hey connect to
- 7:07:01that server so if you now go on clude
- 7:07:04everyone just as an example and that is
- 7:07:06how again uh claude and everything comes
- 7:07:09into picture. If I go on customize and
- 7:07:11on characters,
- 7:07:12you will see that how this is also
- 7:07:15following that MCB protocol only. It
- 7:07:17will say that hey
- 7:07:20I have all of these different different
- 7:07:22connectors right which I can connect to
- 7:07:26the what are these these are all the
- 7:07:27application and in the end they will be
- 7:07:29having some tools only. So for example
- 7:07:30if I search Google calendar you will see
- 7:07:33that it is actually saying that hey here
- 7:07:34I have some tools create event delete
- 7:07:36event find free time get event list
- 7:07:38calendar list events respond to event
- 7:07:42update event and at the end of the day
- 7:07:43is aren kind of like APIs only which a
- 7:07:46calendar provide similarly if I show you
- 7:07:48for uh let's say Gmail create draft get
- 7:07:52thread list draft list labels search
- 7:07:55threads right if I search Gmail API
- 7:07:59create draft
- 7:08:01See create and send draft email. There
- 7:08:04is an API which is created everyone
- 7:08:05which you can in a similar manner write
- 7:08:08the code for just like how I have
- 7:08:09written this code for tavly API right
- 7:08:12with Gmail you have to get all these
- 7:08:13keys etc. So it becomes difficult that
- 7:08:15is why I'm doing with tavly but yes that
- 7:08:17is the idea like it is having all these
- 7:08:19tools which you can use directly you
- 7:08:21don't have to worry once your cloud gets
- 7:08:22connected right once your clouds gets
- 7:08:24connected like it is just like any other
- 7:08:26application. So you can then ask your
- 7:08:28clot that hey create a draft reply hey
- 7:08:30read my thread read my particular email.
- 7:08:33So that is how this particular whole
- 7:08:35thing around MCP is everyone for me MCP
- 7:08:38is just like a toolbox okay so it is
- 7:08:40having all the tools and the best part
- 7:08:43you don't have to maintain these tools
- 7:08:45now you are totally totally free it is
- 7:08:47an opensource standard that defines how
- 7:08:51AI agents or application communicate
- 7:08:53with external tools and data sources.
- 7:08:56This is like the complete definition
- 7:08:58everyone which I will also quickly copy
- 7:09:00paste
- 7:09:02one minute. Yeah. So see MCP is a
- 7:09:06opensource standard that defines how AI
- 7:09:09agents communicate with external tools
- 7:09:11and data sources. Understanding MCP is
- 7:09:13very very important because using that
- 7:09:16is very simple to be very honest. Using
- 7:09:18MCP once it is understood. So in a way
- 7:09:20someone is saying that hey why are you
- 7:09:22creating this multiple tools? Why are
- 7:09:23you creating a screwdriver? Uh the
- 7:09:26screwdriver. So what is the other tools
- 7:09:28known as? Let me quickly search. So I'm
- 7:09:32getting the Indian name. But I don't
- 7:09:34think that that would be right here.
- 7:09:35Tools in uh toolbox. Okay. So yeah, it
- 7:09:39is saying that hey why are you having
- 7:09:40hammer, tape measure, screwdriver, all
- 7:09:42these thing? Why are you maintaining? We
- 7:09:44will give you this. You just go and do
- 7:09:45your work. So instead of you being like
- 7:09:47hey I want this hammer. Hey my hammer is
- 7:09:49broken. Can you fix it? Hey I want this
- 7:09:51screwdriver.
- 7:09:53All MCP says is that hey you don't need
- 7:09:55to worry just tell who you want to
- 7:09:56connect with and we will connect you
- 7:09:58with that in a similar manner everyone
- 7:10:00if I show you the tably docs right if I
- 7:10:02just quickly show you the tably docs
- 7:10:04okay uh tab docs tably is having these
- 7:10:09four tools search extract crawl and map
- 7:10:14search means searching the internet
- 7:10:16extract I think works on some web page
- 7:10:18crawl means I think it crawls complete
- 7:10:22web page to get the information and map
- 7:10:24everyone is pretty simple. Uh I can show
- 7:10:26you that as well. So traveling map
- 7:10:28traverses website like a graph and can
- 7:10:30explore hundreds of path in parallel
- 7:10:32with intelligent discovery. So it's kind
- 7:10:33of create a map and everything right. So
- 7:10:36if I have to use these four tool okay
- 7:10:38just just think of a Gmail as an example
- 7:10:40I will have to create these four tools
- 7:10:42now for table right now you can see the
- 7:10:44problem here tomorrow if something
- 7:10:46changes I will be maintaining these
- 7:10:47tools and for so many application which
- 7:10:50I connect day to day I will have so much
- 7:10:53work to do so many things to do and now
- 7:10:55think that how like I am connecting with
- 7:10:58table you are connecting with table
- 7:11:00100,000 and millions of people are
- 7:11:02connecting with table all of them are
- 7:11:04creating this file how much extra work
- 7:11:06people have to do right so that is now
- 7:11:08where everyone we have the concept of
- 7:11:10MCP and just like Google as well so we
- 7:11:14will come to the Google as well but MCP
- 7:11:15also provided uh MCP table MCP also
- 7:11:20provide its MCP server so you can see
- 7:11:22table MCP server right so that is the
- 7:11:25whole benefit everyone now we will be
- 7:11:27connecting to the same as well as you
- 7:11:28can see table MCP is also compatible
- 7:11:30with any MCP kind let's now try to
- 7:11:32understand with the diagrams which I'
- 7:11:34have created
- 7:11:36What MCP solves? Custom mail, custom git
- 7:11:38command, custom DB, custom uh DB, custom
- 7:11:41slack, all these things, right? Earlier
- 7:11:42that is what was happening with cloud
- 7:11:44and cloud code. With MCP all of them can
- 7:11:47be connected directly with my cloud code
- 7:11:48just by adding a single line. So that is
- 7:11:50where you can now understand the USBC
- 7:11:52idea. So again, it is just collection of
- 7:11:55APIs for you. Nothing else. Believe me,
- 7:11:58it is just collection of APIs, nothing
- 7:11:59else. Yes, it is having the proper
- 7:12:01protocol and stuff and all these things.
- 7:12:04But on the face of it, the whole idea is
- 7:12:06very very simple that hey please don't
- 7:12:08write all these APIs yourself. We will
- 7:12:10provide you and we will maintain that
- 7:12:11and all these things. So that is the
- 7:12:13whole idea everyone and that is actually
- 7:12:15all the concepts that MCP client 1, MCP
- 7:12:18client 2, client three like there can be
- 7:12:19multiple clients they can all get
- 7:12:20connected that is the whole idea. You
- 7:12:22don't need you if you're interested you
- 7:12:24can read through the same as well right
- 7:12:25that how it works but let me show you on
- 7:12:28the servers right so MCP server means
- 7:12:31just like how Gmail tably all of them
- 7:12:34are having a server right now coming to
- 7:12:36the server everyone they can be of two
- 7:12:38types so let me explain that as well so
- 7:12:40we have either a local server or a
- 7:12:42hosted server okay so local server means
- 7:12:44that it runs on your machine now the
- 7:12:46idea is very simple just like how you
- 7:12:47were hitting an API a server will be
- 7:12:49running which you can tell that hey I
- 7:12:51have this query as an example. I will
- 7:12:53just give you an example.
- 7:12:55So now when you say to your cloud code
- 7:12:57that hey read my emails. Let's say that
- 7:13:02this is a locally running server which
- 7:13:03means that it is running on your machine
- 7:13:05and don't think that it will be a very
- 7:13:07difficult thing because if you think
- 7:13:08about this some some files like this
- 7:13:10will be running and your claude will be
- 7:13:12having the idea about them right so
- 7:13:14clude will be knowing that hey I have
- 7:13:16these many tools or I have these many
- 7:13:18MCB servers this MCB server has these
- 7:13:20tools. Now when this request will go to
- 7:13:22clot. Okay. So I let me draw user so you
- 7:13:24can easily easily visualize this as well
- 7:13:26because I always find people getting
- 7:13:28confused in MCP and that I want to like
- 7:13:31remove from scratch for all of you. So
- 7:13:34when you actually say that hey read my
- 7:13:36emails right this request goes to cloud
- 7:13:40code. Claude code puts all it mind and
- 7:13:43see that hey what all I am having okay
- 7:13:45I'm having a Gmail read Gmail read tool.
- 7:13:48it calls that read to with the things.
- 7:13:51So you saw that how when I searched for
- 7:13:53claude code latest news it was able to
- 7:13:55change this thing right it was able to
- 7:13:57change the query it was able it is not
- 7:13:59what is artificial intelligence now then
- 7:14:02what happened everyone after that it
- 7:14:04will call the tool with let's say the
- 7:14:05change parameters etc once it calls the
- 7:14:09tool will be called it will get the
- 7:14:10result and it will show you the result
- 7:14:12in a easy to understand manner just as
- 7:14:14example in here we have not received the
- 7:14:17result in this nice manner for us the
- 7:14:20tably got us the result something like
- 7:14:21this. So see this was how the result was
- 7:14:23given everyone but your claude since it
- 7:14:26is a brain it used that result and
- 7:14:29provided me in a very easy to understand
- 7:14:31manner. So claude opus 4.7 becomes
- 7:14:33default security vulnerability
- 7:14:35discovered ultra review release. So
- 7:14:36again these are all the controls
- 7:14:38everyone these are all the things which
- 7:14:40kind of cloud code has decently updated
- 7:14:43and I am able to see this in a very good
- 7:14:44manner in a similar manner your tool it
- 7:14:47will give clot the results in some JSON
- 7:14:49or something only but your clot or your
- 7:14:52AI or your chat GPT or Gemini anyone for
- 7:14:55that matter using the brain it will be
- 7:14:57able to give you in a much better manner
- 7:14:59that hey you received a email from my
- 7:15:00good work you have chosen the best crash
- 7:15:02course for clot code right you are now a
- 7:15:04master of crash course so that is the
- 7:15:06idea not crash slot code but yeah that
- 7:15:08is the whole idea everywhere and again
- 7:15:10it can call the tool as per requirement
- 7:15:11it can call multiple tools as well so if
- 7:15:13I say that hey read my emails and create
- 7:15:15a draft for all of them so it will make
- 7:15:17sure that internally it creates that
- 7:15:18plan that hey I have to read the emails
- 7:15:20then I have to make sure that I create a
- 7:15:21plan etc as well so that is how exactly
- 7:15:24your MCP works everyone so in a
- 7:15:26hindsight it is just the tools only but
- 7:15:29yes those tools come bundled in a
- 7:15:31toolbox so that is how it works now if I
- 7:15:34show you about the MCP servers. I told
- 7:15:36you that how we are having a local and a
- 7:15:38hosted one. Local one runs on your
- 7:15:41machine. So on some particular host it
- 7:15:43will be running where again cloud will
- 7:15:45know that hey my server is running on
- 7:15:47this thing. It will hit that to get the
- 7:15:49tools then it will hit that which tool
- 7:15:51it wants to call and in this manner the
- 7:15:53things will work. So see examples
- 7:15:55playright files GitHub install once it
- 7:15:58loads the tool. Second are hosted MCB
- 7:16:00server which are running directly on the
- 7:16:02internet. Okay. So that is the whole
- 7:16:03case. So a local MCP program uh MCP
- 7:16:05server is just a program that runs on
- 7:16:07your machine. When cloud want to use it,
- 7:16:09it launches the program within it and
- 7:16:12they can communicate with the standard
- 7:16:13input and output. So here I would also
- 7:16:15like to mention that how std and std out
- 7:16:19happen. What do I mean by standard input
- 7:16:21and output? When we use terminal, so let
- 7:16:24me get the terminal here. When we use
- 7:16:27this terminal, whatever we are passing
- 7:16:29here, that is the standard input. Okay?
- 7:16:31So std in and std out like simple some
- 7:16:34some technical thing but still I want
- 7:16:36that you are at least 50 60% comfortable
- 7:16:38with these things because even as a
- 7:16:40non-developer even as a product manager
- 7:16:41even as a person who works in any case I
- 7:16:44think these things are becoming very
- 7:16:45very common now right and in a similar
- 7:16:47manner if the hosted one is the one
- 7:16:49which is kind of called uh kind of
- 7:16:52hosted on the web right just like other
- 7:16:54things and you can call it directly so
- 7:16:56that is the complete idea now hosted one
- 7:16:58of course are maintained local one you
- 7:17:00will have to update. Okay, they run by a
- 7:17:03UVX or npx. So just they are a package
- 7:17:05kind of things only which you just run
- 7:17:07on the runtime. So let me show you that
- 7:17:09now let's see uh and normally as of now
- 7:17:12most of the MCP servers are local though
- 7:17:15in future and normally I feel that
- 7:17:18hosted MCP server are like the future
- 7:17:20because again you don't have to maintain
- 7:17:22and they can easily work as well. So let
- 7:17:24me search everyone. Uh Tavly MCP server.
- 7:17:28I will show you with Tableau only server
- 7:17:31local. Uh yeah we can use this and uh
- 7:17:34okay let me come that afterwards. So I
- 7:17:37think it is from table tab only.
- 7:17:39Uh okay connect to cloud code. I think
- 7:17:41it is I know that it is hosted one but I
- 7:17:44want to still connect via local. So it
- 7:17:47is remote or host sorry it is remote and
- 7:17:49the hosted one. Let me check if we have
- 7:17:51a local MCB server for Tableau.
- 7:17:56And again just like skills etc. you will
- 7:17:58find so many of these different
- 7:17:59different uh pages where you will have
- 7:18:02these different uh MCB servers. The same
- 7:18:05thing you have to maintain that please
- 7:18:07make sure that you are not downloading
- 7:18:09it from any uh site which is not safe.
- 7:18:12Okay. So that is the complete idea
- 7:18:13everyone.
- 7:18:15Let me just get uh project specific
- 7:18:19or add to your global MCB setting. So we
- 7:18:21will come to that as well.
- 7:18:24Node. Okay, it is required node here.
- 7:18:28Let me check.
- 7:18:30Actually the idea is pretty simple. It
- 7:18:32will just be having that. But I just
- 7:18:33want to show you a little bit more like
- 7:18:35if I can get local on GitHub because I
- 7:18:37will be able to show you the code as
- 7:18:38well. Simple MCP with Tavi. This M Tavly
- 7:18:43server. Okay.
- 7:18:46Like in a sense if I show you right
- 7:18:48because again I want to demystify it for
- 7:18:50it for you somewhere or the other we
- 7:18:53will be having
- 7:18:56different different uh things only. So
- 7:18:58tab response this is how you get the
- 7:19:00response table search response. So
- 7:19:01ideally it is at the end of the day
- 7:19:03getting hit the these endpoints only
- 7:19:05search extract everything. Okay let me
- 7:19:07try to find some other local MCP server.
- 7:19:10So what I've done everyone I have find a
- 7:19:11very awesome this website like where
- 7:19:13again all the servers are present. Let
- 7:19:14me use like one of the most easy one
- 7:19:17because all of you will be able to
- 7:19:18understand with it. This is a time MCP
- 7:19:20server as you can guess what it does. It
- 7:19:24starts on your local and then it can
- 7:19:26tell you the time. So get current time
- 7:19:28and convert time. Okay. And it can run
- 7:19:30by this ubx mcb server time or pimp
- 7:19:32install. The idea is that when you will
- 7:19:34install it like this, it will be having
- 7:19:36the commands and in the commands you
- 7:19:38will see that how some simple code is
- 7:19:40present, right? So very very simple code
- 7:19:42only which is running and everything. So
- 7:19:44server.py. So see how it is getting
- 7:19:46started. Now these are all the different
- 7:19:48different files. See get local time and
- 7:19:51it will try to run and give you the
- 7:19:52local time. So very very simple
- 7:19:53approach. Okay. Nothing out of the blue.
- 7:19:55It just runs and provide you with the
- 7:19:57time. So in that manner everyone what
- 7:19:58happens? Let's go back. Let me copy this
- 7:20:02particular thing.
- 7:20:04Okay, it is like in this as well using.
- 7:20:06So I can copy this particular thing and
- 7:20:08I can go on my cloud and say that please
- 7:20:12add the below MCP server
- 7:20:16to my current project only. Now again
- 7:20:20the hierarchy is the same. There can be
- 7:20:22at an authorize level. There can be at a
- 7:20:23global or user level and there can be at
- 7:20:25a project level. So if you will see now
- 7:20:27everyone what it will do it will create
- 7:20:29some mcp.json file. So let it create
- 7:20:35thinking and everything
- 7:20:37settings dojson is reading
- 7:20:40and it okay it is adding it in this. Why
- 7:20:43is it adding it in this? I can just ask
- 7:20:45it. Okay see I see the issue. MCP server
- 7:20:49need to be configured in ampc.json file
- 7:20:51in your project not in setting.json the
- 7:20:52setting.json JSON uses different feed
- 7:20:54for managing MCP. So it is creating a
- 7:20:56new file M1 and now this file is having
- 7:20:59the MCP. Okay.
- 7:21:04So pretty simple approach everywhere.
- 7:21:05Now see then I have added the MCP server
- 7:21:07to projects. This is the correct
- 7:21:09location for MCP server not in this and
- 7:21:11everything. Now I can say can you tell
- 7:21:14me what are the tools in the time MCP
- 7:21:20server we created and also where is it
- 7:21:25actually running. So I will ask claude
- 7:21:28only ID what happens everyone if you
- 7:21:30know this uvx is like a command which
- 7:21:32kind of initializes thing right. So it
- 7:21:34will be starting see allow this bash
- 7:21:37command it is running your particular uh
- 7:21:40MCP server
- 7:21:42and uh yes once it runs it will be able
- 7:21:44to tell us each and everything. So let's
- 7:21:45pay attention downloading. So it is
- 7:21:46downloading few libraries so that it can
- 7:21:48start it. Now it is let me run the
- 7:21:50commands
- 7:21:56puzzling usage
- 7:21:59allow capability no worries web search
- 7:22:02is doing a web search here
- 7:22:05uh okay links everything I think it is
- 7:22:08trying to give me more information that
- 7:22:10is the whole case
- 7:22:13imagining okay why are you imagining I
- 7:22:15want you to be pretty clear on these
- 7:22:17things right see it is saying that hey
- 7:22:19here's what I found available tools the
- 7:22:21MCP server provides two main tools get
- 7:22:23current time convert time both tools
- 7:22:25support automatic system time detection
- 7:22:27so that can easily be done where it is
- 7:22:29running the installation it installed
- 7:22:30via UVX the package is cached in your
- 7:22:32system uvx cache when cloud code need
- 7:22:35access to time it launches the server as
- 7:22:37a child process so that is what was even
- 7:22:39me I mentioned everyone that when it
- 7:22:41needs this access right it starts the
- 7:22:44same as a subprocess within it now don't
- 7:22:46get confused again it is like
- 7:22:48I know that I'm explaining a little bit
- 7:22:50in depth more in depth. I could have
- 7:22:51just shown you some simple MCP servers.
- 7:22:53But then you will never be able to think
- 7:22:55that how to create your own etude feels
- 7:22:58that hey I should have now see Claude
- 7:23:01when it runs it is having the idea that
- 7:23:03hey I am having these MCB servers. Now
- 7:23:05when Claude thinks that hey I should
- 7:23:07have a particular MCB server running if
- 7:23:09the user is asking because I feel that
- 7:23:11it can solve the problem. Let's say the
- 7:23:13Gmail MCB server it runs that as a sub
- 7:23:15process. So time will start now as it is
- 7:23:18running on the machine and again it is
- 7:23:19having the same code it can hit the API
- 7:23:21etc. It will just hit that server and it
- 7:23:23will be done. So now I can ask it great
- 7:23:27tell me the current time by using time
- 7:23:32MCP server. Okay so I'm specifically
- 7:23:34asking and this is how you have to tell
- 7:23:36me and pay attention.
- 7:23:38I'm retrieing the current time using see
- 7:23:40it is saying allow this bash command
- 7:23:42from uh okay yes why is it I'm retrie
- 7:23:46the current time using MCP server let me
- 7:23:47write it okay it is doing it via Python
- 7:23:49script not a column here is the current
- 7:23:50time across multiple time zones
- 7:23:53okay
- 7:23:55now let me demonstrate how the time MCP
- 7:23:57server works so create this is stating
- 7:24:00some Python file not a problem
- 7:24:03now let me call the get current time so
- 7:24:06it is calling that MCP server now
- 7:24:07everyone if you will See it is starting
- 7:24:10that thing and it calls that thing. So
- 7:24:11see
- 7:24:13current time here's the current time
- 7:24:14directly using the MCP server. So
- 7:24:16installed via UVX MCP JSON and
- 7:24:18everything. So that is how it starts
- 7:24:19right. I think uh we can have an MCP
- 7:24:22server started directly as well. If I
- 7:24:24just close these things up, write uvx
- 7:24:29and I will just copy this command
- 7:24:32to show you.
- 7:24:36[snorts]
- 7:24:39So, okay, it is giving some uh okay, I
- 7:24:42think it is running now. So, that is the
- 7:24:43case one. Now, what we can also do like
- 7:24:46we can actually also do /mcp here and we
- 7:24:49will get lots of MCP servers, right? If
- 7:24:52you will see ClickUp, MCP, Gmail, MCP,
- 7:24:55we we if you remember we like we kind of
- 7:24:58uh have all of them reduced. I think
- 7:25:01plugins also everyone if you do manage
- 7:25:03plugins you will see lots of plugins
- 7:25:05here right there is a playright which I
- 7:25:09would like to specifically show you
- 7:25:10playright which I can install actually
- 7:25:12that is also an MCP server like the way
- 7:25:14now your cloud connects to multiple
- 7:25:15things it is also by an MCP server right
- 7:25:17like uh you can just authenticate it and
- 7:25:19it will work. If I show you one more
- 7:25:20thing, if I just go on Google say Gmail
- 7:25:23MCP server
- 7:25:25and if you will see Gmail autom server,
- 7:25:28you will see that how uh it is saying
- 7:25:30that hey install via smidy npx. So you
- 7:25:33don't have to worry about installation.
- 7:25:34You just ask your cloud code and then
- 7:25:36everyone once it gets started cnpx this
- 7:25:39is how high it is getting uh overall
- 7:25:41identity file it is actually having just
- 7:25:43the same tools like available tools send
- 7:25:45email these are the requirement okay
- 7:25:48basic emails email with attachment draft
- 7:25:51email read email download attachment
- 7:25:53search emails modify email delete email.
- 7:25:55So these are all the different different
- 7:25:57tools which it is having which are
- 7:25:58nothing but APIs or the action we
- 7:26:01perform. So that is how everyone your
- 7:26:03local MCP server can get started. Now
- 7:26:05playright is also a local MCP server.
- 7:26:07Okay. So it is now installed. I could
- 7:26:09say install for this project. Okay. So
- 7:26:11let's see. Restart cloud. Let me restart
- 7:26:14it. I think uh by restarting it should
- 7:26:18mean something like this. Okay. Now let
- 7:26:20us search MCP. Okay. So I can ask it.
- 7:26:24Tell me what all MCP servers you have.
- 7:26:29Okay. So let me ask this thing.
- 7:26:33So playright [clears throat] MCP server
- 7:26:34everyone what it does it allows your
- 7:26:36clot to control your browser. So it is a
- 7:26:38browser automation thing. So it is
- 7:26:40saying that project level I have all of
- 7:26:41these of course they are banned like
- 7:26:43many of them are banned. Okay let me
- 7:26:45check as well everyone just a second.
- 7:26:49So project level time system right all
- 7:26:50of these are there. Okay. So play right
- 7:26:52I think it is installed system level.
- 7:26:54Let me check if pay is running. MCP
- 7:26:58uh play right. Yeah, pay is connected.
- 7:27:00So, it is all good. We don't need
- 7:27:02anything here. Now, the benefit will
- 7:27:05start. So, see, go to Amazon and search
- 7:27:09me a good MacBook
- 7:27:13for a developer use case. Okay. So, we
- 7:27:18are asking it this thing. Now, ideally,
- 7:27:22claw doesn't have anything. So, see, do
- 7:27:24you want to proceed with MCP plug-in
- 7:27:26playright playright browser navigate? So
- 7:27:28MCP everyone this playright plug-in is a
- 7:27:30very very good playright MCP rather just
- 7:27:33say yes
- 7:27:35and it is running locally only like it
- 7:27:37has nothing to do with cloud or anything
- 7:27:38right so that is how it works so let it
- 7:27:41work and I will show you how it is doing
- 7:27:43something let me show you here see it
- 7:27:46has open Amazon I'm not doing anything
- 7:27:48okay so totally I am free
- 7:27:52uh so I'm getting a privacy and security
- 7:27:54let me go here do you want to use the
- 7:27:56browser snapshot so now it is time to
- 7:27:57take the snapshot See I'm getting a
- 7:28:00notification where VS code was prevented
- 7:28:03from modifying apps. No worries. Now it
- 7:28:06is [clears throat] saying uh
- 7:28:08browser type. So I can say allow all
- 7:28:12action for playright
- 7:28:16MCB. Okay. So user doesn't need to
- 7:28:19proceed with this tool. You uh no no no
- 7:28:20no wait.
- 7:28:22>> Okay. So it is saying allow pay MCB. Not
- 7:28:24a problem. It took that time. Don't want
- 7:28:26to do it. So same problem which you will
- 7:28:28feel I think it is adding that condition
- 7:28:29that hey you can do that. So not a
- 7:28:32problem. Let's seeing
- 7:28:35setting. So I prewrite some. Okay. Yeah.
- 7:28:37So that is a good thing like plot does
- 7:28:38everything in a very nice manner. So yes
- 7:28:40not a problem.
- 7:28:44In a bit we will see. I will ask it to
- 7:28:45continue. Okay.
- 7:28:48So thinking [clears throat] late pay MCP
- 7:28:50is running. Uh okay let me say this. See
- 7:28:54it is searching these things up. I I
- 7:28:56have just like stopped now. I think it
- 7:28:57will ask for it again.
- 7:29:00Okay, allow everything. So hopefully it
- 7:29:03will do. It will take a sneak uh
- 7:29:05screenshot now to understand. Then see
- 7:29:07run that play right browser wait for yes
- 7:29:12you using unsupported command line flag
- 7:29:14no sand and no stability and security
- 7:29:15will suffer. Should be fine for you
- 7:29:17guys. See disabled. It will take a
- 7:29:19screenshot again. So let go back. What
- 7:29:21is happening? Browser snapshot. Let me
- 7:29:23allow this every time. So I think it has
- 7:29:25allowed this at a proper uh overall
- 7:29:27level not at this level. So it should be
- 7:29:29fine. So now it will take the screenshot
- 7:29:31everyone. It will try to go and scroll
- 7:29:33these things up so that it can
- 7:29:35understand it and that is how it will be
- 7:29:36able to do something on and actually I
- 7:29:38can ask it that hey please add this to
- 7:29:40my uh let's say cart and it will be able
- 7:29:42to add that as you see take snapshot. It
- 7:29:44is taking a snapshot. It is scrolling
- 7:29:45down itself as well. So that you can
- 7:29:47understand. I think it will give this as
- 7:29:48an option because it is able to see this
- 7:29:50only right based on my search here the
- 7:29:54best MacBooks for developer use case.
- 7:29:57Uh okay see it is giving this one only
- 7:30:00pro because it made a mistake where it
- 7:30:01was like this. So I I will ask it one
- 7:30:03more option please and see now the
- 7:30:06context is also adding up everyone
- 7:30:08because we are having the images and all
- 7:30:09these things. Please add iPhone 17 to my
- 7:30:14cart.
- 7:30:16Okay. So let me ask this thing up. Let's
- 7:30:18see what will happen.
- 7:30:20This is a good laptop. If I get it for
- 7:30:2217K, I will buy it again. 78K or 80K, I
- 7:30:25will buy it again for sure. Let me let
- 7:30:26me go back actually. Okay. Okay. It is
- 7:30:29going to Amazon.com. Makes sense. It has
- 7:30:31not gone to amazon.in. So now it is
- 7:30:33opening browser. Click. I think I'm
- 7:30:35doing left hand also.
- 7:30:38Okay. Let me Okay. So again it is doing
- 7:30:41this. Let me let me change one this
- 7:30:43thing here.
- 7:30:45But there's a shipping issue if the page
- 7:30:47shows item. Okay. So I will just say uh
- 7:30:50try via amazon.co.in
- 7:30:53or I I'm not remember Amazon India. I
- 7:30:56can write Amazon India.
- 7:30:58Okay. Let me stop this. Let me say try
- 7:31:02via Amazon India. Okay.
- 7:31:07So if I go back hopefully it is having
- 7:31:09that uh thing. So it is able to navigate
- 7:31:11now itself. So see Amazon in it has
- 7:31:13already opened itself. V1 is it asking
- 7:31:15for something? No. So now it is taking
- 7:31:16the screenshot
- 7:31:19either it will ask me something or it
- 7:31:21will do the work for me and all of this
- 7:31:22is running locally like pay is a local
- 7:31:24MCP server which gets started because
- 7:31:26cloud want to use it and uh let's wait
- 7:31:29time out error. Okay browser click. I
- 7:31:31hope my uh I have the coupons. I really
- 7:31:33hope sorry tokens because we have done
- 7:31:36so many things here.
- 7:31:39So it will do the browser click. I
- 7:31:40should not have installed it because
- 7:31:41again it understand the screenshot most
- 7:31:43probably or somehow it is working. Okay.
- 7:31:47Right before mother's day okay sure of
- 7:31:49this plugin play right play right
- 7:31:52browser click. I hope I'm not scrolled
- 7:31:54and that is the problem
- 7:31:57for using. So let it work. Let it work.
- 7:31:59No worries. I think we can even fast
- 7:32:02forward this particular part as well
- 7:32:08and I will highly suggest don't like I'm
- 7:32:10doing this scrolling thing you don't do
- 7:32:11that okay
- 7:32:16cogitating so lots of nice word it is
- 7:32:19using right accomplishing okay actually
- 7:32:21accomplishing
- 7:32:24actualizing now again it I think because
- 7:32:27I scrolled it it got confused because it
- 7:32:29takes a screenshot and maybe wherever it
- 7:32:30is time to call. Although I think it
- 7:32:32should be hyperlink but should be fine
- 7:32:34vibing. Why are you vibing? What are you
- 7:32:37vibing to
- 7:32:40finagling?
- 7:32:42Let me stop this and say please add the
- 7:32:47please add
- 7:32:49iPhone to the card. Which one is it?
- 7:32:5417 Pro.
- 7:32:56Pro one. Okay.
- 7:32:59Now again it will understand because it
- 7:33:01is having the access to tools. We have
- 7:33:02already seen that how MCP gets started.
- 7:33:04So I hope it is not started in any other
- 7:33:07browser because it cannot continue
- 7:33:09there.
- 7:33:11So plugin playright play browser click
- 7:33:15tinkering seem like it is having some
- 7:33:17issue in here.
- 7:33:19I it is saying that yes I am not using
- 7:33:22this no sandbox stability. So there is a
- 7:33:24way of running this as well but let us
- 7:33:25waste it.
- 7:33:28Uh can I just click on this and it
- 7:33:30started compact as well.
- 7:33:34So let me wait everyone and I will just
- 7:33:35come back as soon as it is done.
- 7:33:38So I have just restarted the request you
- 7:33:39have given. I think the last chat maybe
- 7:33:41it got something. So let me take a
- 7:33:42snapshot. See it is saying desert
- 7:33:44maximum uh allowed.
- 7:33:47Okay let us say limit parameters. I hope
- 7:33:50it is not anything to do with my Okay.
- 7:33:53So seems like it is doing I I just
- 7:33:54feeling like maybe I've used lots of
- 7:33:56token but it should be fine. So it is
- 7:33:59running some code. So it is able to move
- 7:34:02forward. Not a problem.
- 7:34:04Hopefully it will take a screenshot. It
- 7:34:06will not get that add to cart. So let's
- 7:34:09see this plug-in browser run code. Let
- 7:34:11me try a different approach to first
- 7:34:12iPhone product.
- 7:34:15I should scroll it down and then try to
- 7:34:17do it. But again uh normally uh it is
- 7:34:20able to work. I think maybe because I
- 7:34:22that time I use API but should not be a
- 7:34:24problem. Let's see that how it works
- 7:34:25everyone. So plug in playride playride
- 7:34:28browser run codeing
- 7:34:31timeout error. Okay let me try clicking
- 7:34:34without waiting for navigation. Okay so
- 7:34:36again it has opened the new thing itself
- 7:34:39uh
- 7:34:41can I scroll it down? Uh parent browser
- 7:34:43tabs. Okay so now it wants to control
- 7:34:45the browser tab maybe somehow. So parent
- 7:34:48again is having all these things.
- 7:34:48Excellent. And I'm not let me find the
- 7:34:50click add to cut browser and code. So it
- 7:34:52may be getting the code directly. Okay.
- 7:34:54But it takes a screenshot that is also a
- 7:34:56problem like add to card is a little bit
- 7:34:58down right.
- 7:35:01So plug in play right play right browser
- 7:35:03and code and in a bit I think everyone
- 7:35:05it will be done. So let us wait.
- 7:35:07Meanwhile it happens. But I feel that
- 7:35:10something is wrong because it is like
- 7:35:12kind of waiting up on this particular
- 7:35:14tool only. So that is one of my concern
- 7:35:17but should not be a problem.
- 7:35:20Let me meanwhile cla let me see the
- 7:35:22usage everyone. Let me scroll down to
- 7:35:24find it. See now it has scrolled on
- 7:35:26itself everyone and it should be able to
- 7:35:28find that button. Once it finds that
- 7:35:30button then I think all is good. All is
- 7:35:32well. It should be able to get that.
- 7:35:34Okay. So let us wait now. Let's see what
- 7:35:38it is doing.
- 7:35:40Flapping. Okay. But again I want to show
- 7:35:43you this complete thing because unlike
- 7:35:44other things I want to actually show you
- 7:35:46that how FCB server works. If you will
- 7:35:47see it is calling these multiple tools
- 7:35:49right play is having these multiple
- 7:35:51different different tools. Now add to
- 7:35:52cardart button might not be visible. So
- 7:35:54now I think it will have this browser
- 7:35:55and code and yes in this manner everyone
- 7:35:57again it is getting some time out. Let
- 7:35:59me make a screenshot. In the screenshot
- 7:36:00[clears throat] it will be able to
- 7:36:01understand and it will be able to add to
- 7:36:03cardart for perfect. I see the add to
- 7:36:04cardart button on the right side of the
- 7:36:05page. Yellow button let me click it now.
- 7:36:07Browser click it is calling. So it will
- 7:36:09be able to understand that hey this is
- 7:36:10where the button is like this. Yeah this
- 7:36:12is where the button is and in a bit it
- 7:36:14should be able to call that. So see
- 7:36:16browser run code
- 7:36:19and once it does like in in this manner
- 7:36:21actually it is able to also run uh
- 7:36:23normally I'm not really sure that white
- 7:36:24is running a little slow this time.
- 7:36:26Normally it is able to run in a quick
- 7:36:28fast manner. RAM let me install.1 GB
- 7:36:32so should be fine. So yes everyone that
- 7:36:35is regarding the uh this thing now I
- 7:36:37could actually show you one more thing
- 7:36:38actually. So if I show here MCP and
- 7:36:41let's say if I do MCP add server right
- 7:36:44uh here as well I could easily add the
- 7:36:46server or if I see browse MCP servers uh
- 7:36:48not try this let me search it again mcp
- 7:36:51and you will see that again if I list
- 7:36:53servers everyone I am having multiple
- 7:36:55servers here as well okay I could say
- 7:36:58this context server and I can say start
- 7:37:00server so see uh this is actually also a
- 7:37:02local one and it is saying that hey now
- 7:37:04your server is running started server
- 7:37:05from local process waiting for our
- 7:37:07server to respond initi iate uh context
- 7:37:107 documentation MCP server so again it
- 7:37:12is also a local server something as
- 7:37:13context 7 one of the most famous MCP
- 7:37:15server for dev people it is very helpful
- 7:37:17it is having all the different different
- 7:37:19applications uh sorry libraries
- 7:37:21framework let's see okay so see it is uh
- 7:37:23okay I think it provided the card thing
- 7:37:25let me refresh it is the work done here
- 7:37:28please search okay so it is saying I
- 7:37:30think it has been done let me scroll
- 7:37:31down yeah okay so it is saying I can see
- 7:37:34the card page has loaded but it's
- 7:37:35showing your Amazon card is empty
- 7:37:36suggest you need to login Okay. So I
- 7:37:38think if you go back and if I do it
- 7:37:40manually as well add to card
- 7:37:43uh it is able to show this. Maybe for
- 7:37:44the very first time it showed that
- 7:37:46error. But yeah I hope you get the idea.
- 7:37:47Even now again this is how it can work
- 7:37:48on your browser as well. And yeah in a
- 7:37:51similar manner everyone we are having
- 7:37:52these MCP servers. Uh as I told you VS
- 7:37:55code is also a client. So it can also
- 7:37:56search and get that particular thing.
- 7:37:58Right now of course you can have the
- 7:38:00GitHub MCP server, Gmail MCP server just
- 7:38:02that one thing. I think in here it
- 7:38:04should be easy. Let me try it out. If I
- 7:38:06do MCP
- 7:38:08servers and let's say it is needing a
- 7:38:10authentication. So MCP servers are
- 7:38:13synced between your clawed uh web and
- 7:38:17your claude code. So I can say
- 7:38:18authenticate. It will open a website.
- 7:38:20Let us open a website. Okay. It is
- 7:38:23asking me to sign in. Okay. Let me do
- 7:38:25one thing. Let me do one quick thing. I
- 7:38:27think if I go on claude here, right? If
- 7:38:30I do this Gmail. Okay. No, it is not
- 7:38:32working like this. So let me do one
- 7:38:34quick thing everyone.
- 7:38:36Let me go back. Check connection.
- 7:38:40Server status need authenticate. Open
- 7:38:45account sign into this browser is
- 7:38:47different from the one used in the clot
- 7:38:48desktop app. Okay. So again there is a
- 7:38:50browser mismatch. Let me show you some
- 7:38:51other one. Okay. But yeah that is how we
- 7:38:54use MCP everyone. Now again I can have
- 7:38:56multiple different different MCPS. I can
- 7:38:58select permit I think is something which
- 7:39:00I must have selected. And again if you
- 7:39:02search plug-in here we will be
- 7:39:04discussing about plugins in tempto there
- 7:39:05are different different places in the
- 7:39:07marketplaces as well you will find some
- 7:39:08plug-in everyone there are cloud
- 7:39:10official one okay you can just give a
- 7:39:11github repo or anything in the official
- 7:39:13plug-in then it is having multiple of
- 7:39:15them context 7 like this is actually see
- 7:39:16upstach context 7 mcb server for up to
- 7:39:19date documentation lookup code review
- 7:39:21code simplifier GitHub okay so I can
- 7:39:23install this GitHub as well and I can
- 7:39:26say only for you only this repo then I
- 7:39:28think it will do the change in the mcb
- 7:39:30here
- 7:39:31Okay, restart.
- 7:39:34So that is the whole case. Let's see the
- 7:39:37ncp json. I think it has done it
- 7:39:40somewhere else. I Okay, I think it has
- 7:39:42just added it. These are all the
- 7:39:44playright ones, right? So now let me see
- 7:39:48uh what all or let me see can you call
- 7:39:52GitHub MCP server
- 7:39:55right? It will be able to use the GitHub
- 7:39:57MCP tools like that is what even plug-in
- 7:39:58is having. So that is actually everyone
- 7:40:01your local MCP servers like which runs
- 7:40:02in a way in running there will be no
- 7:40:04difference but yes you will have to
- 7:40:05update your local MCP servers uh and you
- 7:40:08will have to make sure that yes when
- 7:40:10like it is not uh the case where you are
- 7:40:13adding your MCP server and there is a
- 7:40:15problem like they are like trying to run
- 7:40:16on the same thing although like it gets
- 7:40:18started during the runtime so it should
- 7:40:20not be a problem so it is saying I don't
- 7:40:22see I think it is not installed properly
- 7:40:23let me see MCB servers and I think okay
- 7:40:27we have disabled them as well right so
- 7:40:28let me
- 7:40:30go to plugin
- 7:40:32I can see okay so it is showing some
- 7:40:34error let us delete this okay and again
- 7:40:37there are again many of them like if you
- 7:40:39will search scroll like I think most of
- 7:40:41the applications you will find uh now
- 7:40:43let me actually show you the tably one
- 7:40:45everyone because that is a hosted one
- 7:40:47that is a remote one so tabi you will
- 7:40:49not find tabi in here now the good part
- 7:40:51is that with tabi if you go on tably
- 7:40:54mcbp server it is there present on its
- 7:40:58uh it side only. So see so if you will
- 7:41:01now move uh downwards everyone connect
- 7:41:02to cloud code like there is totally the
- 7:41:04full thing added here. Now what I can
- 7:41:06actually do I could just like again if
- 7:41:08you are using uh so you can actually
- 7:41:11even run this command as well like many
- 7:41:13of this will give the command and they
- 7:41:15are saying that add table clot code by
- 7:41:16running when you start a conversation
- 7:41:17clot code will open a browser window for
- 7:41:19you to complete o authorization flow
- 7:41:21okay so totally makes sense I will just
- 7:41:23copy this whole thing okay because again
- 7:41:26our claude is basically good with
- 7:41:27understanding these things right so what
- 7:41:29I will do I will just add it and open
- 7:41:31this mcb json and ask it that hey add
- 7:41:35the upper of MCP server for me in this
- 7:41:40project only and yeah I think you should
- 7:41:43be able to add the same MP1 so let's see
- 7:41:44the same
- 7:41:46hopefully it should be uh I will add to
- 7:41:49the table cloud setting JSON okay so I I
- 7:41:51I feel that yeah it supports in settings
- 7:41:53JSON in both of them like I will I will
- 7:41:55check that up no worries I see the issue
- 7:41:58cloud settings schema doesn't support
- 7:41:59MCP or maybe like it has been changed
- 7:42:01recently because I do remember it
- 7:42:03happening maybe it was under some other
- 7:42:05thing as So that might also happen. So
- 7:42:07yeah, now if you will see we have done
- 7:42:09the same. Let me close this up. Uh the
- 7:42:11idea is pretty simple. It will be able
- 7:42:12to now after authorization of course uh
- 7:42:15just directly hit uh your MCP server of
- 7:42:18tab and just like this there are again
- 7:42:20multiple MCP servers. So my idea is not
- 7:42:22to again we will be doing a mega project
- 7:42:24where we will be having all these things
- 7:42:25devised connected and everything but I
- 7:42:27feel that uh many people what they do is
- 7:42:30that they just wow you by showing you
- 7:42:31multiple things. Okay. But you never
- 7:42:34understand anything in depth, right? So
- 7:42:35that is the reason like I'm explaining
- 7:42:37you these things in so much depth that
- 7:42:38you understand them so that you can use
- 7:42:40them tomorrow. As you can see there are
- 7:42:42not something now which are very
- 7:42:43difficult. So now let me click on
- 7:42:44connect. Connect connecting. Okay. Why
- 7:42:46is it log on connecting everyone? Let's
- 7:42:48see. So it has been added now as you can
- 7:42:50see /mcp
- 7:42:52right. Uh so it is now saying need
- 7:42:54authorization. So let me click on this
- 7:42:56uh authenticate.
- 7:42:58Hopefully it will see it is showing that
- 7:43:00this particular link I will open and it
- 7:43:02will open on my second screen. So I have
- 7:43:04the same browser like it is logged in
- 7:43:05from the same account and if I show you
- 7:43:08like what I'm getting there everyone
- 7:43:09once it ran uh like the authorization
- 7:43:12was successful right so I can show you
- 7:43:13here see authentication successful you
- 7:43:17can run the same close this and yeah I
- 7:43:20think now we should be fine can you tell
- 7:43:24me what all tools are present in
- 7:43:29present in tably MCP server now since it
- 7:43:32is having the access everyone. Uh it can
- 7:43:34just normally uh try out the same and
- 7:43:36I'll show you like it is actually
- 7:43:37getting used. If I go back here
- 7:43:40uh I have the same browser so it should
- 7:43:43be with the same account. Let me refresh
- 7:43:44it.
- 7:43:46It is two out of thousand. So we will
- 7:43:48just search something right. So it is
- 7:43:49see it is able to tell you search
- 7:43:50extract call map and research right. So
- 7:43:53again there can be some extra tools as
- 7:43:54well which they might not be providing
- 7:43:56with API. Normally they do try to do it.
- 7:43:58Right? Right now I can ask it can you
- 7:44:00please search for latest in claude code
- 7:44:05hopefully now since it understand like
- 7:44:07the context is there do you want to
- 7:44:09proceed with MCP tably MCbly search now
- 7:44:12see tably MCP table report is the uh
- 7:44:15remote server and then MCP table search
- 7:44:17is the tool. So if I do yes
- 7:44:20so see the query is going queries latest
- 7:44:22plot follow question null answer null.
- 7:44:25So let me just do a wrap here.
- 7:44:29Toggle word rap. Yeah. So see this is
- 7:44:31actually how the query is being sent.
- 7:44:32Now why is cloud sending this right?
- 7:44:34Many of you will be thinking that why is
- 7:44:36cloud sending such big of a thing. The
- 7:44:38reason is that uh let me first show you
- 7:44:41by refreshing that three of thousand is
- 7:44:43there. If the ID same three of thousand
- 7:44:45okay if you go back and if you go on
- 7:44:47this search right as an API actually
- 7:44:51like again [clears throat] at the back
- 7:44:52it is API only right. it does expect all
- 7:44:55these things. So that is the exact
- 7:44:57reason everyone that it is sending all
- 7:44:58these things up right. So very very
- 7:45:00simple thing very easy to understand
- 7:45:01that claude first understand that hey I
- 7:45:03am having all these tools and all these
- 7:45:05things and then it can run on the same
- 7:45:07path right now. Of course there can be
- 7:45:09lots of use cases of having your MCPS
- 7:45:11once they are configured I will just
- 7:45:12show you a few of them. So I'm just
- 7:45:14asking you go to news via cominator and
- 7:45:16then tell me the top five stories right
- 7:45:18now. So hopefully it will open the same
- 7:45:21via playright mcp browser navigate.
- 7:45:23Okay, something which we have already
- 7:45:24seen. So let us see where it will load
- 7:45:26the same some browser will get opened.
- 7:45:29Yeah, so it has opened the browser. Let
- 7:45:31me see where is it. Yeah, see. So this
- 7:45:34is a news everyone. So here are lots of
- 7:45:36news there. Now it is able to see the
- 7:45:38same. It is saying that what tool it is
- 7:45:40using.
- 7:45:42Let me say yes. Uh browser close. Okay,
- 7:45:44I think it is closing the same as well.
- 7:45:46So that was smart like it got the same
- 7:45:47out and it is now closing the browser.
- 7:45:49Now what you can also do everyone, you
- 7:45:51can also ask it to fill a form. So let
- 7:45:53me open a form and again I'm using haiku
- 7:45:57for little like we saw that issues in
- 7:45:59the Amazon one right I think suggested
- 7:46:02one might be that uh solid at least okay
- 7:46:05because again haiku is little bit uh not
- 7:46:08that to the par like it is still a
- 7:46:10little bit less intelligent. So see
- 7:46:12everyone now it will try to understand I
- 7:46:14think it is using the browser fill form.
- 7:46:17So see it has filled the same for you
- 7:46:19and I think it has entered the same as
- 7:46:21well something which it should not have
- 7:46:22done. So if you want to do these kind of
- 7:46:24stuff it can do that even if you want if
- 7:46:26I provided a tool. So now it will close
- 7:46:28the browser. Okay now again we can ask
- 7:46:30it don't close the browser but yeah it
- 7:46:32should be fine I think once it done the
- 7:46:33work go to strip.pricing and take a
- 7:46:35screenshot then describe what the
- 7:46:36pricing seems like. So you can easily
- 7:46:38automate all these things up right. So
- 7:46:40that is the whole benefit like how it is
- 7:46:42helpful. So we have seen a local server
- 7:46:43everywhere and we have seen a we have
- 7:46:45seen a remote server as well for you it
- 7:46:48is easier like again it is just
- 7:46:50happening altogether so not a problem at
- 7:46:53all but as I said remote server they
- 7:46:55don't need any maintenance they are
- 7:46:56running on the web so even if your
- 7:46:58machine is not having node or if even if
- 7:47:02it is not having let's say uh uvx it
- 7:47:04will still be accessible but for local
- 7:47:07server okay so see it is reading the
- 7:47:09screenshot and everything for the local
- 7:47:11server it might need to have those tools
- 7:47:13and maybe like again since it is running
- 7:47:16on your machine maybe a 512 MMP machine
- 7:47:18cannot run it very nicely if you have
- 7:47:19that one. So that is the whole idea
- 7:47:21everyone and that is where it is helpful
- 7:47:23and if I ask like I can actually do this
- 7:47:24as well. So let it run and I will show
- 7:47:26you like how it works directly right. So
- 7:47:28again it can close the browser we got
- 7:47:31all what we wanted. Uh okay let me
- 7:47:34scroll down actual pricing tier result
- 7:47:35result result.
- 7:47:37Okay. So see now it is giving me after
- 7:47:39it has closed the browser it is telling
- 7:47:40me each and everything there right
- 7:47:43now I can give it a particular thing.
- 7:47:45Search for recent pricing information on
- 7:47:46GitHub copilot and compare their plans.
- 7:47:48Uh since we are using uh these things
- 7:47:51right it'll get confused. Let me open a
- 7:47:53new one. Uh so again that is the context
- 7:47:56issue nothing else.
- 7:47:58So now it will just happen everyone and
- 7:48:00it will run update their plans and
- 7:48:03pricing. It is saying allow searching
- 7:48:05this query. It is using uh this I can
- 7:48:07say do via taby.
- 7:48:13Uh okay. It is doing via web search. Why
- 7:48:15is it doing via web search using? Okay.
- 7:48:18So it it was trying to do three web
- 7:48:19searches. I am saying and asking it to
- 7:48:22do via tably. Now it is saying tably
- 7:48:23remote mcb tably search. Okay. So I can
- 7:48:26ask it. There is a tably research tool
- 7:48:32as well. Now again you should of course
- 7:48:34be aware about like please read your
- 7:48:35MCPS a little bit more because again the
- 7:48:38idea is very simple. If you are not
- 7:48:40aware of your tools AI can use anything
- 7:48:42right because it is confusing right
- 7:48:44search research all these things can be
- 7:48:45a little confusing. So I would say use
- 7:48:49tably research
- 7:48:51tool instead right and use tably
- 7:48:57tably research. Okay, the idea is very
- 7:49:00simple. I like again since I know that
- 7:49:02there is a research tool. I think we can
- 7:49:04use that. Now it is using the tab
- 7:49:05research tool. Let me say yes.
- 7:49:08So hopefully it will be able to now use
- 7:49:10that tool. I'm not sure how research
- 7:49:11work like can we add all these things.
- 7:49:13But let's see the
- 7:49:17in here somewhere. Refresh
- 7:49:21H. Okay. So it used uh 250 of those
- 7:49:25tokens.
- 7:49:26Okay.
- 7:49:28So yeah okay re the search is pretty
- 7:49:30heavy I I was not aware of that as well.
- 7:49:32So 250 tokens it has used everyone uh
- 7:49:34sorry credits I earlier we were just
- 7:49:36using a single credit. So search takes
- 7:49:38just a single credit that means that of
- 7:49:40course there will be a lots of context
- 7:49:42right because if search is one credit
- 7:49:45and it gives you some information
- 7:49:47research so of course you'll be a lot of
- 7:49:48depth plus I feel that research will
- 7:49:50take a lot of time as well. Uh we can
- 7:49:52search as well tably research and that
- 7:49:55is why it is taking the time as well
- 7:49:56everyone. I think tably research tool
- 7:50:01API keys. Okay, the search API reference
- 7:50:03tably
- 7:50:06show
- 7:50:09MCP.
- 7:50:11So again it's a good practice that you
- 7:50:13learn these things. Uh now we can see
- 7:50:16that in the MCP servers like again there
- 7:50:18are lots of things how you can use it
- 7:50:19with almost all of the label and tablet
- 7:50:22is a very good uh thing like to learn
- 7:50:23about any tool and MCP all these things
- 7:50:25right. So client don't support remote
- 7:50:28MCP is not giving the tools here but
- 7:50:29let's see. So again everyone I think the
- 7:50:32research takes a lot of time. So I think
- 7:50:33paddly does that. Let's go a little bit
- 7:50:35back and understand this. I think we
- 7:50:37have already understood about this
- 7:50:38particular thing. We I have also shown
- 7:50:40you that /mcp command. So let me clear
- 7:50:42it out. Claude
- 7:50:44when you do /mcp
- 7:50:47it will tell you to manage MCP server.
- 7:50:49So claude uh local mcps I'm able to see
- 7:50:51that okay which particular is having the
- 7:50:53local MCP. Then claude AI at a total
- 7:50:56level I think all the one which is given
- 7:50:58built-in MCP is computer use which is
- 7:51:00disabled. Now uh one thing more everyone
- 7:51:02I think uh like this is how you check
- 7:51:04your MCP and everything. One part which
- 7:51:07all of you should be aware about and let
- 7:51:08me come to that once we understand the
- 7:51:10scope as well. Though I think you have
- 7:51:12an idea. See MCP configuration scope. So
- 7:51:14what goes where top layer project shared
- 7:51:17with everyone team once this one middle
- 7:51:19user user and bottom layer local
- 7:51:21important. So where you are having this
- 7:51:23thing so not committed private if you
- 7:51:25are having mcp.local.json JSON it will
- 7:51:28not be permitted uh sorry not be
- 7:51:30committed or sent to your GitHub or
- 7:51:32somewhere okay so that is the whole idea
- 7:51:34now if a company feels that hey we have
- 7:51:36created MCP servers for our own it can
- 7:51:39it can directly use it as well so
- 7:51:40meanwhile this happens uh let's try to
- 7:51:42use claude and I would just ask it can
- 7:51:44you quickly
- 7:51:47create a simple MCP server which uh
- 7:51:52which which which
- 7:51:56helps
- 7:51:58in calculation. Okay, so I'm just asking
- 7:52:00it to create a very simple MCP server.
- 7:52:02Like again creating MCP server is pretty
- 7:52:03simple as of now as well. It will be
- 7:52:05just uh okay allow this bash command. It
- 7:52:08is just getting all the thing which I
- 7:52:10have here.
- 7:52:13Now you get a simple calculation Python
- 7:52:15based server with basic arithmetic
- 7:52:16operations. Right? So again once you see
- 7:52:18this code then MCB will be very clear to
- 7:52:20you. Okay.
- 7:52:22So see calculator MCB
- 7:52:25calculator MCB where has it created it?
- 7:52:28Uh I'll say a bit it is here only. So
- 7:52:32pay attention everyone. So it is also
- 7:52:34added adding the same. Now see like
- 7:52:36again very very simple. Let me first add
- 7:52:38this as well. So it is adding this local
- 7:52:39MCP server as well. Everyone pay
- 7:52:41attention uh in your local JSON. Now pay
- 7:52:44it is having these tools. Add, subtract,
- 7:52:46multiply, divide, power, square root
- 7:52:48average. These are the simple simple
- 7:52:49functions. Now again if you know
- 7:52:51anything about coding these functions
- 7:52:52can be any anywhere complex you like. If
- 7:52:54you want you can call llm here as well.
- 7:52:56Okay no one cares you can call tavly
- 7:52:57here anything then if you will see
- 7:53:00everyone uh it is having some more
- 7:53:02functions as well right. So these are
- 7:53:04all the simple functions.
- 7:53:06Along with that there is a list tool
- 7:53:09function which lists all the tools
- 7:53:11right. So again you will see that how
- 7:53:13when the tool is listed right. So I will
- 7:53:16have this thing here. See it is telling
- 7:53:19the properties and everything as well.
- 7:53:20So when your MCP uh when your claude
- 7:53:23understand that hey I have to do
- 7:53:25something this all information gets
- 7:53:27sent. So it is available that hey I have
- 7:53:28these tools let me use it. Then it
- 7:53:30understand that okay what is the overall
- 7:53:32requirement? what is the property and
- 7:53:34stuff right which exact information it
- 7:53:36needs what is the required one for this
- 7:53:38particular thing what is the description
- 7:53:40so just like a human just like a brain
- 7:53:42it understands so now if I give you this
- 7:53:43particular thing if I give you each and
- 7:53:45everything about the tool you will also
- 7:53:47be able to take that call that hey if I
- 7:53:48want to subtract I should call this
- 7:53:50thing it requires a and b and in a
- 7:53:52similar manner everyone this particular
- 7:53:54server is created now call tool again if
- 7:53:57I have to call a tool what will be
- 7:53:58required the tool name and the arguments
- 7:54:01so see self name of the two the
- 7:54:03arguments like what you want to send so
- 7:54:05add five and 9 so it will be called and
- 7:54:08yeah I think this is what is happening
- 7:54:09here everyone you can easily see the
- 7:54:10same so again this is all the code like
- 7:54:12calculator MCP is getting started and
- 7:54:14all this now I can say now use the same
- 7:54:17to
- 7:54:19tell me what is 5 + okay like I'm just
- 7:54:25normally showing you that how MCB
- 7:54:27actually works because now with this
- 7:54:28example it should be very clear right
- 7:54:30let's see our research work I think it
- 7:54:31will be very much in depth So it is
- 7:54:33taking that time. I I know that why it
- 7:54:34is taking that time since it has used
- 7:54:36250 credits. It is I guess searching 250
- 7:54:39pages. It is trying to uh Tableau also
- 7:54:41has that information where it tries to
- 7:54:43create a summarization so that LLM can
- 7:54:45work on that. So that is why again let's
- 7:54:48see if it is using more as well. Uh 253
- 7:54:52253 I think it has like kind of hit
- 7:54:54everything and then it is trying to
- 7:54:56search. Uh I'm stopping it. Okay. Like
- 7:54:58because a it will take a lot of time.
- 7:55:00tably I know that it will do a research
- 7:55:01at a very good level if it has like
- 7:55:03asked for 250 credits. Second is that
- 7:55:06once the result come back uh there will
- 7:55:08be a lot of context which my LLM will
- 7:55:09have to handle. So I want to make sure
- 7:55:10that I have the weekly limit still valid
- 7:55:13right if I show you the usage right or
- 7:55:15cost
- 7:55:17session is 5 hours weekly is 70 okay I
- 7:55:20think I'm using the oh okay okay I have
- 7:55:21shifted my to the other account yes so I
- 7:55:23have three accounts of claude everyone
- 7:55:24I'm using the separate one that is why I
- 7:55:26was thinking that why it is not
- 7:55:27increasing in here so yeah uh that is
- 7:55:29the idea everyone now if we see this one
- 7:55:32it is saying that Python 3 test
- 7:55:33calculator so clot skills demo so it is
- 7:55:35first running by this particular file so
- 7:55:37that the mcp server will But obviously
- 7:55:40you cannot call it directly like it's an
- 7:55:41MCB server at the end of the day right.
- 7:55:43So now see it has got the result
- 7:55:44calculator MCB server worked perfectly
- 7:55:46the test about determined. I think what
- 7:55:48we can also do everyone we can try it
- 7:55:50out again. This time is subtract.
- 7:55:54Okay. Now let me do something. Print
- 7:55:58numbers are A B. Okay. So now now
- 7:56:06subtract 10
- 7:56:10to 5 like I'm not sure 10 to 5 is 10 - 5
- 7:56:13or 5 - 10 but let's see I think the
- 7:56:16print command should work so so you are
- 7:56:17sure that hey yeah my is not fing you it
- 7:56:19is actually working like this okay what
- 7:56:21is it doing here
- 7:56:24uh okay test 10 minus 5 tools call okay
- 7:56:27so like it is again creating a Python
- 7:56:29script which calls this particular
- 7:56:30function uh internally so it is saying
- 7:56:33that Hey, this is the request and
- 7:56:34everything. Let me add this.
- 7:56:38I see the issue. There's a debug print
- 7:56:39statement in the subtract function that
- 7:56:41breaking the JSON output. Okay. Ah,
- 7:56:43okay. So, it let it edit only. Okay. So,
- 7:56:45let it add it. What it will do? I think
- 7:56:46it will remove the same. Now, if I do
- 7:56:49Yes.
- 7:56:52So, it is saying is done. I would ask it
- 7:56:54only. Can you add print
- 7:56:58or some statement so I could see the
- 7:57:02numbers which were fed okay like again
- 7:57:06that is a good check that it calculated
- 7:57:08my print statement but let's see
- 7:57:13okay print f okay okay file system error
- 7:57:16okay it makes sense I think uh that is
- 7:57:19the now let's see the debug output okay
- 7:57:21so it is calling it itself with the 10
- 7:57:23and five same Okay.
- 7:57:28Uh yeah see debug output std error. So
- 7:57:31that is how we have to do it. Print with
- 7:57:32f string and file system standard error.
- 7:57:35So that is how it is able to showcase
- 7:57:37this thing and yeah that is more than
- 7:57:38enough proof everyone that your MCB
- 7:57:39server is running. And yes now this is
- 7:57:42how you can have your MCB servers. If
- 7:57:44you're having secrets like for example
- 7:57:45the key etc. of course it is suggested
- 7:57:47to not save it in your uh like the file
- 7:57:51here. For example, if I want to have
- 7:57:53this MCP JSON, right? I I would not be
- 7:57:55having my key in here. Rather, I would
- 7:57:57make a MCP local.json and I would be
- 7:57:59having environment.local.json.
- 7:58:01I think by now you understand that local
- 7:58:03file stays on your machine. It will not
- 7:58:05be pushed to the git. Uh and I will talk
- 7:58:06about like git etc for people who are
- 7:58:08not aware. Uh just to give you an idea,
- 7:58:10I think we already discussed this as
- 7:58:11well. GitHub.
- 7:58:14Uh this is what GitHub is. Uh this is a
- 7:58:16very simple thing. So in here whenever
- 7:58:18like see if you'll see env.get ignore in
- 7:58:21this.get ignore we tell that hey please
- 7:58:24ignore all the local files. So anywhere
- 7:58:26there is a star.lo okay please uh ignore
- 7:58:29these files because that person is using
- 7:58:30it for local. So that if in any case
- 7:58:33like you push the file you do a get
- 7:58:36commit. So get commit is where you are
- 7:58:38saying that hey save my changes version
- 7:58:39history basically that will never be uh
- 7:58:42done to GitHub so that no one can steal
- 7:58:43it and everything. So that is a best
- 7:58:44practice everyone. Now I would like to
- 7:58:47also talk about like what can be the
- 7:58:49normal error. So there can of course be
- 7:58:50connection closed right. Uh this is the
- 7:58:53kind of error everyone which you might
- 7:58:54get when you are trying to run a
- 7:58:58npx server on Windows. Okay. So I will
- 7:59:00just give you the thing. So see this is
- 7:59:03very very important. I've just taken a
- 7:59:05screenshot. Pay attention.
- 7:59:07So if you are on Windows and if you try
- 7:59:09to add a npx server it will not work uh
- 7:59:13directly. Right? So that is a very very
- 7:59:14common known error. So you will have to
- 7:59:16make sure that you add these thing in
- 7:59:17between / c npx y right. So again a very
- 7:59:22very simple fix you just change the
- 7:59:24command to cmd in Linux and Mac it will
- 7:59:26work just like it is working for us then
- 7:59:28again it can be a server server show
- 7:59:30disconnected everyone where the server
- 7:59:32can be having an error or fail is a very
- 7:59:34common error. So I can have uh this
- 7:59:37server uh disconnected
- 7:59:40authorization failed
- 7:59:42right then we can have let's say
- 7:59:47the tool error only error is in tool
- 7:59:50error in tool so if you remember we just
- 7:59:52saw this error right where we when we
- 7:59:54were trying to have uh get MCP when I
- 7:59:58tried to add a print command it was
- 7:59:59saying that hey this this breaks the
- 8:00:01full JSON thing right why are you doing
- 8:00:02this so these are the kind of error
- 8:00:04everyone and there can also be a server
- 8:00:06timeout error. So what do I mean by
- 8:00:08server timeout error? Very very simple.
- 8:00:11Uh you remember like we search for that
- 8:00:13particular uh research part on tab
- 8:00:16right? So in that manner everyone what
- 8:00:18happens right it can take a lot of time.
- 8:00:20So see
- 8:00:24we can actually add this command uh
- 8:00:26server time out error. Many time what
- 8:00:30happen that if you see that hey no no I
- 8:00:32will not be waiting uh more than 5
- 8:00:34minutes 15 minutes 1 hour depending on
- 8:00:36the work. So for example that tab
- 8:00:38research it might have taken easily 10
- 8:00:40minutes to give me the results back
- 8:00:42because it was doing a proper research
- 8:00:43it took 250 pages right. So in that
- 8:00:45manner everyone what happened is that
- 8:00:47you can have a timeout as well so that
- 8:00:49your work at least continue even if it
- 8:00:51is not getting the output then it will
- 8:00:52say that hey MCB timed out. So these are
- 8:00:54the common errors everyone. Now uh what
- 8:00:57you can do whenever you are getting an
- 8:00:59error like try to again read about it
- 8:01:01first make sure that you are also
- 8:01:02understanding the MCP servers a little
- 8:01:03bit and most probably I think Claude
- 8:01:05will be more than happy to assist you
- 8:01:07with closing it. Now everyone let's move
- 8:01:09forward and I would like to show you one
- 8:01:11very very important thing which I think
- 8:01:12we kind of discussed but still I would
- 8:01:14like to show you if we uh let me go
- 8:01:17back. Yeah, if you see the context here
- 8:01:19everyone now, right? I hope all of you
- 8:01:22remember that how uh MCPs takes a lot of
- 8:01:25context, right? MCP MCP see so many MCPS
- 8:01:28and now MCP is taking 12.8K of your
- 8:01:32context. Now a very very good thing with
- 8:01:34what we did was we can easily close the
- 8:01:36server. So if I have let's say MCB here
- 8:01:41/ MCP minute happen
- 8:01:45/ MCB we can of course just go to
- 8:01:48connect and disable the same we have the
- 8:01:50tools as well. I think there is a way
- 8:01:52through which we can remove the tool as
- 8:01:53well. We can ask uh this only. So I can
- 8:01:55say can you remove the research
- 8:02:02tool from my Tavly MCP server? Okay. So
- 8:02:06let us ask it only. But yes, this is a
- 8:02:08major problem everyone and that is where
- 8:02:10we have to discuss around MCP versus
- 8:02:13skill. Now before I move forward, I
- 8:02:15would just like to check one thing with
- 8:02:17you. So let's see like what will happen.
- 8:02:20See this code everyone. Uh MCP JSON
- 8:02:23we don't have it here. I think it was
- 8:02:26must have been uh okay. So it is created
- 8:02:28outside like I think I I moved it there.
- 8:02:30No worries.
- 8:02:33So uh yes, no worries. do anything you
- 8:02:36want should not be a problem
- 8:02:39yes
- 8:02:41created a okay it got authenticated
- 8:02:43right so again it is like I think trying
- 8:02:46to find it don't worry should be fine
- 8:02:47but parad everyone uh you can see that
- 8:02:49how there is a very very common
- 8:02:51understanding that hey like if MCP is
- 8:02:53costing so much why can't we use tool
- 8:02:55because adding just these five MCP
- 8:02:57servers it costed me like easily uh I
- 8:02:59think it was 19k uh tokens right or 11k
- 8:03:02tokens but at the same time when you
- 8:03:04will be having let's say 100 plus MCP
- 8:03:05servers or 100 plus tools they will be
- 8:03:07very very ineffective like u your
- 8:03:10majority of the token will go there so I
- 8:03:12do remember reading recently let me
- 8:03:14quickly check so let it m service
- 8:03:17provider cloud rather than configured
- 8:03:19okay so I'm not sure like it is not able
- 8:03:20to get it I think we can uh disable the
- 8:03:24entire keep enabled but add permission
- 8:03:26rules block only research to through
- 8:03:28permission settings so again we can it
- 8:03:30can do it that's not a problem uh what I
- 8:03:32wanted to search everyone was something
- 8:03:34on the lines of let's say if I go on
- 8:03:38Lord and there was something tool search
- 8:03:41right I think it was recently introduced
- 8:03:44let me check it
- 8:03:48yeah I think that was something tools
- 8:03:50yeah so it is in the documentation of
- 8:03:52claw let me search by claude code
- 8:03:55actually we can go through this I think
- 8:03:57it was really helpful to such neighbors
- 8:04:00claw to work with hundred and thousand
- 8:04:01of tool by dynamically discovering and
- 8:04:02loading them on demand instead of
- 8:04:04loading all the tools definition into
- 8:04:05the context window up front plot
- 8:04:07searching your tool catalog and loads
- 8:04:09only tools if it is needed. So context
- 8:04:11load of course which we are seeing tool
- 8:04:13definition eat into your context budget.
- 8:04:15A typical multi-server setup GitHub
- 8:04:17stack all these things can consume 55k
- 8:04:19tokens in definition before cloud does
- 8:04:21any actual work. So lots of cost tool
- 8:04:23selection accuracy cloud ability to
- 8:04:25clearly pick the right tool degrades
- 8:04:26significantly once we execute exceed 30
- 8:04:29to 50 enable tool. So that of course
- 8:04:30also makes a lot of sense everyone. I
- 8:04:33think uh if I search now claude code as
- 8:04:36well.
- 8:04:38Okay. Yeah. So this is where it was
- 8:04:40mentioned. Tool search scale to many
- 8:04:42tools with tool search. I remember it
- 8:04:44works only with sonnet. Let's see if it
- 8:04:46has been fixed. So context efficiency
- 8:04:48and everything how to search works when
- 8:04:49a tool is added all these things.
- 8:04:51Configure tool search by default tool
- 8:04:52search is on. You can change this with
- 8:04:54enable tool search environment variable.
- 8:04:57Okay. If I just check this thing up. Uh
- 8:05:00custom SDK MCP server document tool
- 8:05:03discovery
- 8:05:05limits 10,000 tools in your catalogs.
- 8:05:07Return three to five most relevant
- 8:05:08tools. Yeah. So model support clause set
- 8:05:10onet and opus okay so let's let's do one
- 8:05:12thing let's try to open a new chat
- 8:05:14everyone and I hope all of you are
- 8:05:15loving this in-depth level of knowledge
- 8:05:17right so let me select model switch
- 8:05:20model let's do two things actually let's
- 8:05:23do two things uh let me say uh or should
- 8:05:26we do it on uh should we do it on uh
- 8:05:29let's say terminal because that where it
- 8:05:31is easy as well right let me open here I
- 8:05:34can close this as well and let me try
- 8:05:37that if I can get out here and it didn't
- 8:05:40work. I guess
- 8:05:42it work. How How do we use to get this
- 8:05:45vertically?
- 8:05:47View
- 8:05:49split pane.
- 8:05:52Split vertically. How do I split
- 8:05:53vertically? Why? Why it happen like
- 8:05:55this?
- 8:05:57Close split plane view.
- 8:06:02Uh did I so I think that Mac I don't
- 8:06:06remember if it supports this but uh
- 8:06:08should be fine. We can do a hack here.
- 8:06:09We can do like this. Yeah. So yeah
- 8:06:13should be fine. I think I can just I I
- 8:06:15just want to show you like in a easier
- 8:06:16manner. So let's uh clear everything out
- 8:06:19here.
- 8:06:25So not sure why it is not running
- 8:06:27everyone. Let me do like this
- 8:06:30and let us.
- 8:06:32So again just want to make sure that you
- 8:06:34are able to understand each and
- 8:06:35everything in depth right? So that is
- 8:06:36why again I'm just trying it out. So now
- 8:06:38if you will see everyone let's try to
- 8:06:40run cloud here.
- 8:06:42Okay. Uh model is haiku.
- 8:06:46Let's run cloud here as well.
- 8:06:48Uh yeah it doesn't be a problem. I would
- 8:06:51like to change my model to uh solid.
- 8:06:54Okay. Send a high.
- 8:07:00Send a high.
- 8:07:03So it is saying 9%. 23%. Yeah, that
- 8:07:06proves right. And next.
- 8:07:10So yes, if you are having lots of tools,
- 8:07:12Sonet is your go-to model unless they
- 8:07:14supported in IOC.
- 8:07:17MCP2 16.9K tokens because we have
- 8:07:19enabled lots of uh MCPs, right?
- 8:07:23context.
- 8:07:29Okay, it has not even loaded the tools,
- 8:07:31right? How smart it is. But that doesn't
- 8:07:34mean so see it is having the MCPS and
- 8:07:36everything as well. Now if I search MCP
- 8:07:39here,
- 8:07:41uh it is saying lots of them. I would
- 8:07:43like to uh okay, it is saying manage MCP
- 8:07:47servers. Okay. So what I'll do is I will
- 8:07:50just uh close this up, right? I will add
- 8:07:54like I I hope this is clear that it is
- 8:07:55not loading. So by default of course it
- 8:07:57is running. Uh we can we can set the
- 8:08:00same like we can we can set it off as
- 8:08:03well but I don't think we should do
- 8:08:05that. Right. The idea is pretty simple
- 8:08:06and I think yeah we are able to see it
- 8:08:07directly right. So in here if I do MCP
- 8:08:11all the same MCPS are there. Here if I
- 8:08:13do MCPS all the same MCP is there. But
- 8:08:16sonnet being so smart what it does
- 8:08:18rather than loading all the MCPS
- 8:08:20directly it tries to based on your query
- 8:08:22it will try to search after searching
- 8:08:24via aex and v all these things. So it is
- 8:08:26actually written here as well that how
- 8:08:27it runs the search as well. So optimize
- 8:08:30tool discovery the search mechanism
- 8:08:32matches queries against tool name and
- 8:08:33description name like search slack
- 8:08:35messages surface for a wider range
- 8:08:36request. You can also add a system
- 8:08:38section listing available tool
- 8:08:40categories. Okay. So that is the case
- 8:08:43and uh yeah I think then it can do the
- 8:08:45search and make sure that you're able to
- 8:08:46work on it. So I think this should be
- 8:08:47more than enough. But then let's talk
- 8:08:49about the main thing everyone and that
- 8:08:50is something which I believe in a lot.
- 8:08:52So just a second let me have it properly
- 8:08:54now again. Oh very important that it is
- 8:08:56proper right. So now everyone the idea
- 8:08:59becomes versus MCP versus skill. Now
- 8:09:01though I've shown you a very good way
- 8:09:03but still I personally believe that you
- 8:09:05should be using a skill over MCP as a
- 8:09:09honest or as a experienced developer.
- 8:09:11The idea is very very simple. See MCP at
- 8:09:14the end of the day now are APIs only.
- 8:09:15You can create a skill which calls an
- 8:09:17API like I can create the same right in
- 8:09:18front of you. Okay. So let me say skill
- 8:09:23creator.
- 8:09:25It will ask please ask me what skill I
- 8:09:26want to create. Please don't create.
- 8:09:27Yeah. Yeah. create a create a tavly
- 8:09:33search skill which uh I can just open
- 8:09:38the tably search here
- 8:09:41search tabi and get the result. Okay,
- 8:09:46you can change the uh script
- 8:09:52and the script everyone is tably
- 8:09:55tably search. So at the rate it helps
- 8:09:58you to do the file. I forget about that
- 8:10:01to make sure it is compatible or
- 8:10:05something like whatever it is.
- 8:10:08So now if you will see everyone uh
- 8:10:10instead of loading this search tool and
- 8:10:11everything I will be able to call tably
- 8:10:13every time right that is the whole idea
- 8:10:15and this is way better right. So I'm
- 8:10:17talking about in terms of the best
- 8:10:18practices like start with MCP and after
- 8:10:21you have done the same everyone then
- 8:10:23what you can do is you can make sure
- 8:10:24that you narrow it down. So that is the
- 8:10:26whole idea and of course like many of
- 8:10:28you will say that man what's the problem
- 8:10:30like solid all these so see MCP gets you
- 8:10:32started in minutes you can do all the
- 8:10:34working testing building everything but
- 8:10:36skills make sure that you are handled
- 8:10:38for efficiently handled for like uh
- 8:10:42months that is the most whole thing and
- 8:10:44they are not competing they are
- 8:10:45sequential like you can easily refer to
- 8:10:47a skill as well so that is the whole
- 8:10:49case everyone which I would like that
- 8:10:50you understand as a good developer
- 8:10:52because see as long as as much as there
- 8:10:54are benefit of MCP right there are some
- 8:10:58uh fallbacks as well that unnecessary we
- 8:11:00are using so much to right so even in
- 8:11:01searching as well there will be time so
- 8:11:03see testing if something so this is the
- 8:11:05best framework situation testing if
- 8:11:06something is possible external services
- 8:11:08official MCB server browser automation
- 8:11:10because there again no APIs available
- 8:11:11just like play right realtime data then
- 8:11:14uh repeatable workflows tokens sensitive
- 8:11:16all these things kind of are presenting
- 8:11:17okay so that is the whole case everyone
- 8:11:19that is what I want all of you to focus
- 8:11:20and yeah I think once you do that then
- 8:11:22uh there is nothing which is left in MCP
- 8:11:24once we create The skill skills is
- 8:11:26created. We can see the same tably
- 8:11:28search table and all these things. It is
- 8:11:31having all the things and it can call
- 8:11:32that particular see Python cloud skills
- 8:11:34tably search script tly search. So it is
- 8:11:36I think it has added it into my main
- 8:11:37one. Uh some error it has done. Let it
- 8:11:40fix it.
- 8:11:48So it has also created example as well
- 8:11:50skills 2.0 photo coming into picture
- 8:11:53and uh yeah I think now you have
- 8:11:55everything also one more thing everyone
- 8:11:56has taken the screenshot and saved them
- 8:11:58okay it has taken a complete screenshot
- 8:11:59of the page right and that is pretty
- 8:12:01high quality as well so that's pretty
- 8:12:02good everyone as you can see iPhone 17
- 8:12:04search all the screenshot of the things
- 8:12:06which we did so pretty good thing uh
- 8:12:09yeah I think now it has been created
- 8:12:10everyone now I can just make sure that I
- 8:12:12call tably
- 8:12:14uh okay uh we have to restart we have to
- 8:12:16go to a new one
- 8:12:18tably search uh my bad. Okay, my bad.
- 8:12:23Otherwise, it will ask for something
- 8:12:25query.
- 8:12:27Latest AI news. Okay. So, again, uh why
- 8:12:33is test calculator going here? I should
- 8:12:35not have sent the same. So, it is
- 8:12:36running the same command everyone. Very
- 8:12:38simple, very straightforwardly APK I
- 8:12:39have not provided. So,
- 8:12:43let me where is it again? But I hope you
- 8:12:45get the idea like again uh because now
- 8:12:47it is not running via the authentication
- 8:12:49it would need an ably API key. I could
- 8:12:51just copy this
- 8:12:53and go back and paste this. Now again
- 8:12:56claude is good that it will create me
- 8:12:58and everything. Hopefully it will do
- 8:12:59that. I hope it doesn't call it
- 8:13:01directly. So see okay yeah so it is it
- 8:13:03is now it is doing two things actually.
- 8:13:05It is first setting up my uh key and
- 8:13:07then running the command. Okay.
- 8:13:11So see now it is able to get the news
- 8:13:13and since the skill is pretty good it
- 8:13:15will automatically give me the same
- 8:13:16thing. So skills are like kind of very
- 8:13:17very uh polished and very uh not thin
- 8:13:23toned down version of your MCP because
- 8:13:25at the end of the day again MCP is using
- 8:13:27skill or API as well that said again MCP
- 8:13:29is not a bad concept just that uh maybe
- 8:13:32you don't want your application to be
- 8:13:33very bloated enough right if someone
- 8:13:34tomorrow is using haiku by let's say by
- 8:13:37forgetting that hey so tools does that
- 8:13:39tool search then it will be a problem so
- 8:13:40this is again where everyone I have
- 8:13:42written everything repeatable workflow
- 8:13:44same steps every time token sensitive
- 8:13:45production use is logic you have refined
- 8:13:47and trust team share process
- 8:13:48documentation so that is the whole idea
- 8:13:50build with MCP master with uh this
- 8:13:53skills okay so we'll straight through
- 8:13:55that everyone now I'm pretty sure that
- 8:13:56each and everything is clear please
- 8:13:58please make sure that you understand MCP
- 8:13:59as well because most people I see that
- 8:14:01they are still confused with MCP because
- 8:14:03what people do is like they open uh
- 8:14:05claude here
- 8:14:07then they go to connectors again I
- 8:14:10understand that is easy to do as well
- 8:14:12but yeah let let me do the wrong uh
- 8:14:13sorry not the wrong difficult work So
- 8:14:16let's go back. Let's go to customize.
- 8:14:20In the customize, they will go to
- 8:14:21connectors. They will just connect the
- 8:14:22same right in front of you. Uh no, they
- 8:14:25will not explain here as well. Everyone
- 8:14:26you can add the custom see remote MCP
- 8:14:28server URL. If you want you can create a
- 8:14:30server URL via N as well. So I have
- 8:14:32created uh one MCP server. So it was on
- 8:14:35N10. It was having something as well. So
- 8:14:38I see AI PB all these things and yeah
- 8:14:40then they showcase that hey see your
- 8:14:42email is working and that is where I
- 8:14:43guess the doubt comes that hey is claude
- 8:14:45AI is claude and MCP different but I
- 8:14:47hope now the same is clear because I
- 8:14:49have explained you in depth right and
- 8:14:50again these diagrams are very very
- 8:14:51helpful everyone I have explained each
- 8:14:52and everything in depth here so I want
- 8:14:54that you have the proper understanding
- 8:14:56of MCP even as a non- tech person
- 8:14:59because now these things are very easily
- 8:15:01available to you so just connectors also
- 8:15:03are MCP that is why they are like mixing
- 8:15:05it up right close connectors and they
- 8:15:07are seeing this thing. Okay. And again
- 8:15:09plug-in also kind of multiple plugins
- 8:15:11though we will be discussing them but
- 8:15:13all these plugins also kind of are based
- 8:15:14on MCP thing as well and few of them are
- 8:15:16like directly local. So that is the KC
- 8:15:19GitHub uh GitLab GitLab DevOps
- 8:15:21integration and all these things right
- 8:15:23sentry just make sure that if you're
- 8:15:24getting your MCP server from outside
- 8:15:26somewhere please please please just like
- 8:15:28skill that thing should also be very
- 8:15:31much checked right so that is very very
- 8:15:32important because I don't want that
- 8:15:34tomorrow you connect to an MCP and your
- 8:15:36machine is hacked because yes it kind of
- 8:15:38gets connected there it can then ask for
- 8:15:39your files and the person who will
- 8:15:41create that kind of a MCP he will be
- 8:15:43good in doing a prompt injection as well
- 8:15:45so it will ask your cl that hey please
- 8:15:47first make sure that you are closing all
- 8:15:49the changing all the things changing all
- 8:15:51the uh curl request and stuff and so
- 8:15:54again that is the whole idea like it can
- 8:15:56maybe take a screenshot of your file
- 8:15:57opener anything can happen so please
- 8:15:59always make sure that you are
- 8:16:00downloading from the trusted and
- 8:16:02reputable resources only okay so with
- 8:16:04that everyone I think we have covered
- 8:16:06MCP in a lots of depth I would just like
- 8:16:08to copy the questions here as well so we
- 8:16:10were having these questions right so
- 8:16:12that again the idea is very simple all
- 8:16:14of you are able to make sense of these
- 8:16:15things I think I closed the different
- 8:16:17one. Okay. So when you will get the when
- 8:16:19you will get the code you will see that
- 8:16:23how mayang have done lots of questions
- 8:16:26files right questions
- 8:16:31wrap. Yeah. So again let's see this
- 8:16:34everyone. Let me close this up. How is
- 8:16:37different from regular API call? How do
- 8:16:39I need to know MCP server code works to
- 8:16:41use it? Of course you don't need to do
- 8:16:42that right. I even didn't see the code.
- 8:16:44Can I use multi multiple MCP servers?
- 8:16:46Yes. And with two such enable 206 the
- 8:16:48performance cost of doing the same is
- 8:16:50minimal because okay I think this is the
- 8:16:52same answer. Why did Enthropic build MCP
- 8:16:54as an open standard institute just for
- 8:16:56clot? Because the standard only works
- 8:16:57when everyone uses it. If MCP only
- 8:16:59worked with cloud code every other AI
- 8:17:01tool would build its own incompatible
- 8:17:02protocol by making it open CL entropic
- 8:17:05ensure that integration built for cloud
- 8:17:07also work with other AI tools. So that
- 8:17:08is a very very good smart move right. So
- 8:17:10yeah that is the whole thing everyone
- 8:17:12difference between MCP JSON and
- 8:17:14setting.json JSON specific to your MCP
- 8:17:16server settings can average anything
- 8:17:18right can cloud code gets it own MCP
- 8:17:20server technically yes cloud code can
- 8:17:22write the code for an MCP server but
- 8:17:23that's an advanced use case that
- 8:17:24requires understanding the MCP
- 8:17:25specification but I think I have given
- 8:17:27you that like what will be the cloud MCP
- 8:17:30server it would be where you will be
- 8:17:32asking cloud to do something so then you
- 8:17:34can connect to it as well and I think
- 8:17:35you can take it as a homework as well
- 8:17:37just ask cloud that hey can you create
- 8:17:39an MCP server on your local you can ask
- 8:17:41it for a key as well that hey every
- 8:17:43request will ask a key then I think all
- 8:17:45it will do is it will start cla and it
- 8:17:47will give the command as well and I feel
- 8:17:50I if I remember right let me close this
- 8:17:51up okay if I clear everything if I do
- 8:17:54claude hi how are you I think it does
- 8:17:57take the input like this okay no no uh
- 8:17:59okay let me move this
- 8:18:02okay so it is taking the very first
- 8:18:04message right so of course there will be
- 8:18:05a way through which we can divide it so
- 8:18:07see how can I help you today so seems
- 8:18:08like we can actually create because see
- 8:18:10at the end of that is just a command I
- 8:18:12how
- 8:18:14or or let's let's be a little crafty.
- 8:18:16Create a Python script to add two
- 8:18:21numbers. Okay. Now again this can be
- 8:18:23anything but let's see this
- 8:18:25[snorts]
- 8:18:26see the same okay so seemed like claude
- 8:18:30can do that right and again in the
- 8:18:32followup and everything I'm pretty sure
- 8:18:33that it can be handled. uh we it should
- 8:18:36be having a command line interface but
- 8:18:37yeah as then the question says that you
- 8:18:40don't need to do that unless it is very
- 8:18:42very and it's a little bit advanced case
- 8:18:44but yes I think that I have explained
- 8:18:45you MCP in a lot of depth many people
- 8:18:47who are from tech as well they also
- 8:18:48don't know MCP so that is where I want
- 8:18:50that you take the next step everyone
- 8:18:52because these concepts will remain with
- 8:18:54you tomorrow there can be uh like some
- 8:18:58other tool as well cursor GitHub copilot
- 8:19:01VS code any cloud code can be replaced
- 8:19:03but the MCP understanding will never be
- 8:19:05replaced. Okay. So that is why I'm
- 8:19:06spending this much time instead of
- 8:19:08directly showing you some be happy or
- 8:19:10wow kind of a use cases. Okay. So with
- 8:19:12that everyone I think we have mastered
- 8:19:13MCP in a lot of depth. Now let's move to
- 8:19:15the next part and in the next part we
- 8:19:16will make sure that we master a very
- 8:19:19very important thing which is sub
- 8:19:20agents. As I promised things are moving
- 8:19:22in a lot of in-depth knowledge and part
- 8:19:24and uh yeah as a benefit to you all you
- 8:19:27are able to master these things up like
- 8:19:29as I told you like no one who using clot
- 8:19:31could even master these things in so
- 8:19:32much like they actually not aware of
- 8:19:34that. So that is what I wanted to change
- 8:19:36and now the same thing will be very
- 8:19:41so great everyone now let's start and
- 8:19:43master one very very important topic
- 8:19:45which is known as sub agent. Now this I
- 8:19:47feel is something which lots of people
- 8:19:49are confused about and uh honestly like
- 8:19:51it is not very difficult thing because
- 8:19:53normally what happen is that people are
- 8:19:54not aware about clot code then they have
- 8:19:56not used it in so much depth and then
- 8:19:58you throw in agents and then you are
- 8:20:00throwing in sub agent as well right so
- 8:20:02understanding I think now with the
- 8:20:03agentic flow and everything in like with
- 8:20:05proper understanding all the different
- 8:20:07different concepts and I think yeah we
- 8:20:09have actually done a lot of parts like a
- 8:20:11lot of depth so pretty sure that this
- 8:20:13will all be helpful with all the codes
- 8:20:15and everything. So now everyone let's
- 8:20:17start and master sub agent as well. Now
- 8:20:20the very first thing which I would like
- 8:20:21to make sure that you understand um like
- 8:20:23again I will be explaining you this with
- 8:20:24a very good analogy first because I feel
- 8:20:27that again this understanding is not
- 8:20:28going to go anywhere tomorrow cloudc can
- 8:20:31let's say be replaced by codeex vs code
- 8:20:34anything so with respect to that
- 8:20:35everyone sub agents are subordinate
- 8:20:39agents okay so that is the whole idea
- 8:20:42right subordinate agents and to explain
- 8:20:45it to you in a better or relatable
- 8:20:47manner let me just get some uh icons
- 8:20:50right so I will explain you it in a very
- 8:20:52easy to understand manner plus why
- 8:20:54exactly right like why it makes sense
- 8:20:57technically as well so one is of course
- 8:20:58going to be the major idea like the way
- 8:21:00I will explain you with an analogy but
- 8:21:02second I will also show you that why
- 8:21:03exactly do I need to do it uh technical
- 8:21:06technically as well so that you can
- 8:21:07explain that okay so the very first
- 8:21:09thing everyone as I have said that uh
- 8:21:11the whole idea is that okay let let's
- 8:21:13pick this guy up yeah so now in front of
- 8:21:16you everyone you have two uh people
- 8:21:18right so let's say one is manager or
- 8:21:21main uh like the main person or another
- 8:21:23is let's say intern for the time being
- 8:21:25okay so just think of like an intern now
- 8:21:27normally what happens everyone like what
- 8:21:29or how our corporate works and I always
- 8:21:31I'm a very big proponent of saying that
- 8:21:32hey all what AI is doing is actually
- 8:21:35learning from around us and trying to
- 8:21:36mimic that in a organization and I can
- 8:21:39just take example of my team as well uh
- 8:21:41though I can of course do each and
- 8:21:43everything right so I can make sure that
- 8:21:45I write my emails I handle all my
- 8:21:48sponsorships to there are not a lot but
- 8:21:50again I can do all the things myself as
- 8:21:52well but of course I also have a uh
- 8:21:56brain right so I let let me get a brain
- 8:21:58icon right let us get this okay we got
- 8:22:02the colorful brain no worries can maybe
- 8:22:04map the color okay so let me go back and
- 8:22:09let us get another brain this time we
- 8:22:11will get this one okay so one
- 8:22:15now everyone see in real life also what
- 8:22:16happens And that we of course have lots
- 8:22:17of work to do, right? So we are doing
- 8:22:19lots of work here and there like there
- 8:22:21can be again works related to different
- 8:22:22different things and I can easily easily
- 8:22:25hire a subordinate. Okay. So I will just
- 8:22:27uh say that hey this person is my
- 8:22:29subordinate whom I could ask a
- 8:22:32particular task. So I could ask this
- 8:22:33person that hey please make sure that
- 8:22:35you go through my emails and you provide
- 8:22:37me with the complete uh summary. Okay.
- 8:22:40So that is of course something which
- 8:22:41happens a lot or I could have multiple
- 8:22:43of them and I could just say that one of
- 8:22:46them can be let's say my um code
- 8:22:49reviewer
- 8:22:50or let me let me not take code reviewer
- 8:22:52let me take that one is the saleserson
- 8:22:54and one person might be in the marketing
- 8:22:56part right and again all of them are
- 8:22:59working so a typical multi- aent system
- 8:23:02the way it is working everyone right so
- 8:23:03typical typical multi- aent system which
- 8:23:05we have seen in multiple places that how
- 8:23:07things happen right now the idea is that
- 8:23:09Okay mine that is all good. We
- 8:23:10understand from the agent perspective
- 8:23:12that yes this is how it works but but
- 8:23:14why why should we do that why but like
- 8:23:16again see uh again multiple things it
- 8:23:18makes a lot of sense for
- 8:23:22us as humans to do the same right that
- 8:23:23hey because you cannot do everything uh
- 8:23:25let's hire people right it does makes a
- 8:23:27lot of sense but why that we should make
- 8:23:29this complex unnecessary like why we
- 8:23:30should have like if it is a claw at the
- 8:23:32end of the day right why can't it do
- 8:23:33everything so that is the whole idea uh
- 8:23:35glad to see that our session activity
- 8:23:37log is working fine so with respect to
- 8:23:39that everyone let's Try to first
- 8:23:40understand if I try to do each and
- 8:23:42everything what will happen first
- 8:23:44context overload if I try to go through
- 8:23:47each of my emails if I try to go through
- 8:23:49each of let's say my messages I try to
- 8:23:51go and read about all these things in
- 8:23:52depth with you read all the
- 8:23:53documentation then of course my brain
- 8:23:55will also kind of like explode right
- 8:23:58because there will be so much uh context
- 8:24:00and then another problem will happen
- 8:24:02that again it will be so much context
- 8:24:03that I will not be able to take best of
- 8:24:04my decision right so that is the problem
- 8:24:06second uh my intelligence or I would
- 8:24:10rather say experience might not be
- 8:24:14required at all tasks right so that is
- 8:24:18very very important thing as well that
- 8:24:20hey I might be having a let's say solid
- 8:24:23level of mind not let's say opus but
- 8:24:25maybe for replying or going through my
- 8:24:27email I need a high level of mind right
- 8:24:29so may maybe I am saying that hey my
- 8:24:30level of experience I can handle much
- 8:24:32more things I can talk to clients I can
- 8:24:34make sure that I'm uh creating this
- 8:24:35awesome flow of how to cover these cloud
- 8:24:38code and other topics for
- 8:24:39So that is where I think the word uh the
- 8:24:41time is best spent rather than let's say
- 8:24:43unnecessary talking to each and every
- 8:24:44lead which I get and all these things
- 8:24:46right third can of course be of course
- 8:24:48management everyone then can be skills
- 8:24:50right so each person can have a better
- 8:24:52skill now again there can be there will
- 8:24:54be way better people who can do a very
- 8:24:55lot better sales than me marketing than
- 8:24:57me or who can of course write better
- 8:24:59emails or better communication than me
- 8:25:01so these are few of the things everyone
- 8:25:02just few of the things which kind of
- 8:25:04makes sense uh that why we can go
- 8:25:06towards the multi- aent architecture in
- 8:25:08any AI I solution. So again I'm not
- 8:25:09talking just about claw. I'm just
- 8:25:11talking about any AI solution. Okay. So
- 8:25:12the next 5 minutes please understand
- 8:25:14with me in depth because this is going
- 8:25:15to be a very very important
- 8:25:16understanding and this will then be
- 8:25:18always stay with you. Right now let's
- 8:25:20move forward and try to see that okay
- 8:25:21all is fine man. You are lazy. Uh you
- 8:25:24are you are uh hiring people and all
- 8:25:26this thing. Uh why why should claude do
- 8:25:28that? Well the reason becomes everyone
- 8:25:30that with claude what happened right? So
- 8:25:32let's let's take an example. So I have
- 8:25:34something open here. Yeah. So this
- 8:25:36everyone is our code which we wrote for
- 8:25:38our uh application right now just let's
- 8:25:40say that I am going to ask claude okay
- 8:25:43so let me just open a file here maybe
- 8:25:45any file cloud MD works and I will get
- 8:25:47it here is in the structure we like
- 8:25:51it
- 8:25:56yeah okay like this
- 8:26:00uh okay
- 8:26:02so I have just started my plot code
- 8:26:03everyone like I just in the proper uh
- 8:26:06this way in which it should be the
- 8:26:08order. Now I ask go through the complete
- 8:26:13code each and every file and tell me
- 8:26:17what it does right so I'm just asking
- 8:26:20that hey go through each and every file
- 8:26:22basic task like I'm I'm also doing the
- 8:26:24same where I'm exploring all the code
- 8:26:26right so again it is saying that I will
- 8:26:28explore the whole project first so it is
- 8:26:29sorting or doing something no worries
- 8:26:31listing all the files scheming I do hope
- 8:26:33that it doesn't goes uh all out of the
- 8:26:35situation so it is saying that hey sync
- 8:26:37and all these things g get and part list
- 8:26:39all source including everything. Now I
- 8:26:41read all the source file in a parallel
- 8:26:43batches. So it is doing the same
- 8:26:44everyone. Now it is reading and doing
- 8:26:46this thing right. So again everyone if
- 8:26:48you think about this whenever we are
- 8:26:50talking and it happens a lot in the claw
- 8:26:51window as well. So I will open a new
- 8:26:52claw here as well. Pay attention
- 8:26:55claw.ai
- 8:26:57right I think I recently used it a lot.
- 8:26:59Okay seems like it's fine. Great. So now
- 8:27:01everyone you must have noticed that
- 8:27:02whenever you are giving it a new file or
- 8:27:04something or let's say if I have some
- 8:27:06very very big file let's say 50 60,000
- 8:27:08hundred of pages right and if I keep on
- 8:27:10continuing this chat there will be let's
- 8:27:12say somewhere around 50k tokens okay 50k
- 8:27:15tokens so I've just asked it a question
- 8:27:18go through again it said me I just sent
- 8:27:20it that hey please go through all of my
- 8:27:26codebase right so in a way this all
- 8:27:29everyone gets transformed to a 50k
- 8:27:31tokens or rather I will have a better
- 8:27:33approach to show you. Let's go to back
- 8:27:35to our uh clawed code docs, right? Let's
- 8:27:40go here.
- 8:27:42Let's go to
- 8:27:45context.
- 8:27:50So again this is the same thing everyone
- 8:27:52if you all remember uh like the official
- 8:27:54documentation and now we are in the
- 8:27:56official context window. So we saw this
- 8:27:58example right? Let's say I start a
- 8:27:59session. Okay. Now before even I'm
- 8:28:01typing anything this is all what is
- 8:28:03loaded right? So a lots of things. Now
- 8:28:06let's say I send this particular message
- 8:28:07right fix the o bug where users get 401
- 8:28:10and everything and now let's say that
- 8:28:12for doing the same everyone it loads
- 8:28:14right it is reading all these files as
- 8:28:16you can see and again this is a lots of
- 8:28:18token right so around 10k around tokens
- 8:28:20it has readed here right so if you will
- 8:28:22see it is reading all these files doing
- 8:28:24the changes and everything and that is
- 8:28:26where the context window is kind of
- 8:28:27getting filled up right now just as an
- 8:28:30example let's say my codebase is very
- 8:28:31very big so let's say that it is having
- 8:28:33I am having a code base which is
- 8:28:34somewhere around 60k. So instead of
- 8:28:36having this let's say 50 km okay for
- 8:28:39example now again I will keep on asking
- 8:28:42it question and what you will see is
- 8:28:45that in some time right as I keep on
- 8:28:47asking this question first it is let's
- 8:28:49say 50k context right now I ask it to do
- 8:28:52something again now I ask it that hey
- 8:28:56please add test cases okay now the main
- 8:29:01idea everyone is that with any AI is
- 8:29:04that all your AI are stateless Okay. So
- 8:29:06all your AIS right they are absolutely
- 8:29:09absolutely stateless. What do I mean by
- 8:29:11stateless? That when you send this first
- 8:29:13message to claude right when you send
- 8:29:15this first message to claude and then
- 8:29:17when this 50k tokens get sent up claude
- 8:29:21replies you back. Okay. So it will do
- 8:29:23the changes but it will not remember
- 8:29:26anything. So in the next message which
- 8:29:27you will be sending everyone it will not
- 8:29:30remember anything. Like for claude
- 8:29:32ideally it is going to be a new chat. it
- 8:29:34is actually going to be something like
- 8:29:36this that I ask it somewhere here I I
- 8:29:38give it a big file I ask a question then
- 8:29:40for claw the next message is totally
- 8:29:42totally wrong so the b uh the overall
- 8:29:45solution for that everyone is that we
- 8:29:47will not be just sending the current
- 8:29:49message so let's say when I ask you that
- 8:29:51hey please add test cases along with
- 8:29:53this test cases message I will be
- 8:29:55sending all the previous messages as
- 8:29:56well so that is the solution which uh at
- 8:29:59a tech level we do in this particular
- 8:30:00kind of work where we say that hey I
- 8:30:03will not just be sending you my uh
- 8:30:06current message but I will make sure
- 8:30:07that I keep on sending you the previous
- 8:30:09messages as well right something which
- 8:30:10we have seen as well like when we learn
- 8:30:12about context and stuff right so we have
- 8:30:13already cleared this thing out and that
- 8:30:15is what happened now if I will send this
- 8:30:16use a sub agent research to research
- 8:30:19session timeout handling then fix it is
- 8:30:21not that just these uh 10 15 tokens will
- 8:30:24be sent it will be sending the complete
- 8:30:2720k tokens and then it will do more of
- 8:30:30work so see 20k tokens everyone and then
- 8:30:32it is now reading and doing all these
- 8:30:34filling of the context right now if I
- 8:30:36said get status okay uh this is a
- 8:30:38command and in a similar manner everyone
- 8:30:40all of the previous messages will start
- 8:30:42filling up now the let's see the problem
- 8:30:44in that let's say that as it happens
- 8:30:46right as it happens what actually will
- 8:30:50happen in the background is that in few
- 8:30:52of the messages right so as I keep on
- 8:30:54increasing my messages everyone and
- 8:30:55which will be the case which has been
- 8:30:57the case as well each of my calls right
- 8:31:00each of my calls will be going to lot
- 8:31:03and I will be charged on the basis of
- 8:31:06the same. So just let's say that by next
- 8:31:0810 messages. So if I'm here, let's say
- 8:31:11that by the next 10 messages everyone,
- 8:31:14let me delete this for the timing. Yeah.
- 8:31:16So by just the 10 messages, right?
- 8:31:2110 messages. If I am having the complete
- 8:31:25context window now, so let me have this
- 8:31:27as a context window and let's say that I
- 8:31:29have reached out to 200k tokens right
- 8:31:35every time for each and every message in
- 8:31:38the moving forward thing it will be
- 8:31:39charging me a lot right and how much it
- 8:31:41will be charging exactly if we talk
- 8:31:43about this I think was the one yeah see
- 8:31:46so if I'm using sonnet only in the next
- 8:31:49five messages 200k tokens 200k tokens I
- 8:31:52will be charged $13 three right because
- 8:31:54the input tokens are per million. So
- 8:31:55200k into 5 1 million which means that
- 8:31:58if I now keep on uh just following my
- 8:32:00chat in the 5 to 10
- 8:32:05messages I will be incurring around
- 8:32:10right 3 to5 USD
- 8:32:14of cost
- 8:32:16and my context window as well will get
- 8:32:23fill up. Now what is the problem
- 8:32:25everyone? If your context window starts
- 8:32:27and keeps on filling up. I hope all of
- 8:32:28you remember the recency and the bias.
- 8:32:31So we talked about the same. Let me get
- 8:32:32this image as well. Very very important
- 8:32:34thing. So we discussed the same in
- 8:32:37depth. Yeah this one. So for every AI it
- 8:32:40is seen that each and every of the AI
- 8:32:42everyone it is having some biases right
- 8:32:44towards the initial part and the later
- 8:32:47part just like assume it. So that is
- 8:32:49also a very big problem like again in
- 8:32:51the memory part top and bottom it will
- 8:32:54keep on forgetting or maybe not paying
- 8:32:55that much heat to the middle part right.
- 8:32:57So this is a very big problem if you
- 8:32:59think about this right we are getting
- 8:33:00charged a lot our context is going for
- 8:33:02waste we are also getting worse results
- 8:33:05because as the context keeps on
- 8:33:06increasing everyone your cla will focus
- 8:33:09more on the initial and the like the
- 8:33:11latter part and we will see that again
- 8:33:14as the context and that is why that
- 8:33:15compact and all these things arises
- 8:33:17right we have discussed that in depth in
- 8:33:18context management or context rot and
- 8:33:20that is the very very big problem right
- 8:33:22so again if we talk about these multiple
- 8:33:24problems like what will happen if we try
- 8:33:25to do each and everything in this
- 8:33:27current one session. So let's say as a
- 8:33:29manager level let me just get this
- 8:33:31person here. So if let's say we are
- 8:33:32having one particular session what will
- 8:33:34happen everyone is that we will be
- 8:33:36having lots of cost again same thing
- 8:33:37same problems context overload my
- 8:33:39experience might not be required at all
- 8:33:41task. Maybe just to go through the code
- 8:33:43base it's a very simple thing right
- 8:33:44anyone can do that management skills and
- 8:33:47of course at fifth level cost because
- 8:33:49let's say that if I'm charging by the
- 8:33:51hour at any company okay then if of
- 8:33:54course I will be doing more and more
- 8:33:55work I will be charging by the hours uh
- 8:33:57again right so it will take me more hour
- 8:33:59to do the work and all these are the
- 8:34:00problem so if we think about this this
- 8:34:02is a actually a real problem in real
- 8:34:04life as well so again uh like before you
- 8:34:07understand about sub agent or
- 8:34:09subordinate agent first you have to
- 8:34:10understand about this particular problem
- 8:34:12that actually this is a very very big
- 8:34:14problem everyone where if we try to ask
- 8:34:16this call out code only and if I see the
- 8:34:18context now right so I gave it a task if
- 8:34:20I see the context
- 8:34:22uh okay loading context usage I think it
- 8:34:24has been updated or something yeah I
- 8:34:26think it has updated so we are seeing it
- 8:34:27very nice manner so see it is 50k tokens
- 8:34:30right if I now just ask it normally add
- 8:34:33a login page with
- 8:34:37some test user right so I'm just asking
- 8:34:40it this And now what will happen
- 8:34:42everyone? It will send all those 50k
- 8:34:44tokens right and then again all the
- 8:34:46things which will happen it will add up.
- 8:34:48Now you will see that again a context
- 8:34:50will getting a lot I will be having lots
- 8:34:52of all these problems basically. Yeah.
- 8:34:54So what we are seeing here contextual
- 8:34:55overload uh haiku like we are using
- 8:34:57haiku but if you were be using solid
- 8:34:59maybe haiku is required like solid is
- 8:35:01not required management right again so
- 8:35:04many task and everything and again if
- 8:35:05you ask it that hey uh now if I ask it
- 8:35:08also support dark mode as well if I send
- 8:35:13this message everyone you will see that
- 8:35:14how it is not being taken care of first
- 8:35:17it will make sure that it closes out the
- 8:35:19previous task so you're also not able to
- 8:35:22multitask because again mult
- 8:35:23Multitasking is nothing but focusing on
- 8:35:25a single task right clawed code it will
- 8:35:28just make sure that it covers the first
- 8:35:30task once right so that is all the
- 8:35:32problem everyone right which basically
- 8:35:34we also face now technically if we talk
- 8:35:37about that hey what is the problem in
- 8:35:39using the same approach in cloud code
- 8:35:40because clot is machine machine can run
- 8:35:42but no that is the same problem everyone
- 8:35:44now instead of this it would have been
- 8:35:46very very good if let's say that I would
- 8:35:48have taken the same approach now
- 8:35:50everyone and I can have this brain of
- 8:35:53plot right so I can have the same plane
- 8:35:55of plot I can say that hey I'm the
- 8:35:57manager again still but for this
- 8:35:59particular task everyone if I can move
- 8:36:01this task out somehow right so I will
- 8:36:02get this plot again I will delete this
- 8:36:04thing and I ask some intern or some
- 8:36:08subordinate agent so always remember the
- 8:36:10name subordinate okay I ask some intern
- 8:36:13that hey can you instead of me spending
- 8:36:16this time can you do this thing for me
- 8:36:18right so that is now the whole idea
- 8:36:19everyone that I am saying that hey why
- 8:36:22don't you go through the particular
- 8:36:23thing. So it will be having its own uh
- 8:36:25like I will write it down. It will be
- 8:36:26having its own brain, its own skills,
- 8:36:30its own prompt or maybe you can think
- 8:36:32that it can be having its own role as
- 8:36:33well everyone. Then along with that uh
- 8:36:37it can also have its own uh let's say
- 8:36:39hooks right tools. So all of these
- 8:36:42things and what will happen now is that
- 8:36:45downloading update okay we will just
- 8:36:48send it a work and that's like how it
- 8:36:50really happens right and it will send me
- 8:36:52a summary so I will give it a task
- 8:36:56and it will start up a summary and
- 8:36:57rather it will also have its own session
- 8:36:59own session so this is like a mini clot
- 8:37:02instance like in a real sense if you
- 8:37:03have to think about that your clot it is
- 8:37:05saying that hey let me open another
- 8:37:07cloud instance so having separate
- 8:37:08context window that is the very first
- 8:37:10thing context window just like how a
- 8:37:12human works right so I can say that hey
- 8:37:14go through my emails now instead of it
- 8:37:17me going through all that multiple tasks
- 8:37:19hundreds of emails it will go through
- 8:37:20hundred of emails and tell me that hey
- 8:37:22this is the summary so maybe now
- 8:37:24everyone the summary is somewhere around
- 8:37:27say
- 8:37:29maybe let's say 2k tokens right because
- 8:37:31again summarize at a summary level it is
- 8:37:33not going to be a lot it will say that
- 8:37:34hey this file is having this this file
- 8:37:35is having this and now if you will see
- 8:37:38we can just have our own chat continued
- 8:37:40And we will of course be having lot less
- 8:37:42tokens. So maybe instead of 200k by the
- 8:37:44end I might just be having 50k tokens.
- 8:37:46Right? So that is the benefit everyone.
- 8:37:49And again the whole idea is that it is
- 8:37:51just a mini code session. So you can
- 8:37:53have multiple of them as well. So if I
- 8:37:55want tomorrow that hey I want you to
- 8:37:57review my code. I want that you add test
- 8:37:58to my code and I want to also make sure
- 8:38:00that you further check if there are
- 8:38:02something left or the code quality or
- 8:38:04something then all of this can be done
- 8:38:06in this separate manner as well. So that
- 8:38:08is the technical ideation of this
- 8:38:10concept everyone and in a way we are
- 8:38:12saving a lots of money plus context
- 8:38:15here. So I can write it we are saving
- 8:38:18lots of money plus context here right
- 8:38:22because again I don't need to now go
- 8:38:24through the complete codebase I just got
- 8:38:25this token summary which I can work on
- 8:38:27right and I can of course just call them
- 8:38:29in parallel as well. So let's now try to
- 8:38:31understand the positive everyone and yes
- 8:38:33I know that by let's say now many people
- 8:38:35just show you what to build and
- 8:38:36everything but I feel that this
- 8:38:37understanding is very very important. I
- 8:38:39have made sure that I have explained you
- 8:38:40in the very basic level with an
- 8:38:43intuition. So if I see the context of
- 8:38:45everyone with the basic level and the
- 8:38:46intuition that why this is necessary. So
- 8:38:48see it is 65k tokens. If I just send it
- 8:38:50another message right it will be a
- 8:38:52problem. So that is the whole case
- 8:38:54everyone right? I hope you understood
- 8:38:55the problem from this grassroot level
- 8:38:57because that is very very important. Now
- 8:38:59let's talk about the positives everyone
- 8:39:01like what are all the positives of this
- 8:39:02particular approach of using a sub aent
- 8:39:05if I talk about uh we can of course
- 8:39:07first thing is we can have parallelism
- 8:39:08or rather first should be context
- 8:39:11save saving or isolation okay so I'm
- 8:39:15just having isolation at a context level
- 8:39:17second everyone can be that we can also
- 8:39:20make sure that we are having a
- 8:39:21parallelism right we can call multiple
- 8:39:23of these agents which can work together
- 8:39:25so if I'm creating a plan that hey
- 8:39:27please uh write or add this feature here
- 8:39:29provided your work is mutually
- 8:39:31exclusive. So this is a very very
- 8:39:33important thing because these sub agents
- 8:39:35if they are called multiple like if you
- 8:39:37are having parallel sub aents they will
- 8:39:39not be connected to each other. So again
- 8:39:40they don't know that what the other
- 8:39:42person is doing. So it should not be
- 8:39:43that you are editing the same files or
- 8:39:44stuff right that is a problem. So again
- 8:39:46just always remember this. Third
- 8:39:48everyone can be that we can have
- 8:39:49specialized
- 8:39:51sub agent right specialized sub agent.
- 8:39:53Now again very very simple uh I could
- 8:39:55make sure that since I am having these
- 8:39:58interns or agents now I can give it a
- 8:40:00brain of haiku
- 8:40:04or if it is very very strong then opus
- 8:40:06who is stopping me right I can actually
- 8:40:08give it all the tools all the skills as
- 8:40:10well right it can inherit the skills it
- 8:40:11can inherit the p parent model or it can
- 8:40:13have its own model so we get a lot of
- 8:40:16modularity and accept in that as well so
- 8:40:18specializ agent plus modularity what do
- 8:40:20I mean by modularity that things are
- 8:40:21separated right we have kind of created
- 8:40:23module that hey this is my big cloud
- 8:40:24code session this is a small one this is
- 8:40:26a small one this is a small one all of
- 8:40:28them are working in parallel then we can
- 8:40:30also of course everyone have uh wait a
- 8:40:33minute
- 8:40:34controlled access so what do I mean by
- 8:40:37control access is that we can
- 8:40:40we can control the tools right so where
- 8:40:44is it helpful everyone I think very very
- 8:40:46important I will also make sure that
- 8:40:48again just as an idea if I have multiple
- 8:40:50emails I will not give my in turn the
- 8:40:53access to my bank account right I will
- 8:40:55not give him the main email id I will
- 8:40:57just give him the email I id I might
- 8:40:58just forward him the email id which I'm
- 8:41:00getting with respect to let's say some
- 8:41:01work so that is also very very important
- 8:41:03now I can have an agent or a sub agent
- 8:41:05rather which is not having the right
- 8:41:07access it is just having the read access
- 8:41:08so that in worst case also it doesn't
- 8:41:11mess up something so all of these are
- 8:41:12again the positives everyone of course
- 8:41:14there can be much more and where can it
- 8:41:15be used you it can be used actually used
- 8:41:17for code exploration right code
- 8:41:20exploration honestly general purpose as
- 8:41:23well right any general purpose subject
- 8:41:24we can create code review now the reason
- 8:41:27everyone it is used for code review or
- 8:41:29let's say writing test like I'm talking
- 8:41:31about in terms of technically a little
- 8:41:33bit writing test is that uh it has been
- 8:41:36seen that again if I ask this clot to
- 8:41:39add test right in my code then it will
- 8:41:42be not that good in understanding or
- 8:41:46critique of its own text like that is
- 8:41:48actually like if you're asking that hey
- 8:41:50you are asking a book author to say that
- 8:41:52hey can you review your book? He will of
- 8:41:54course be having a bias because it has
- 8:41:55created all these things with some
- 8:41:57mindset and it will say that hey this is
- 8:41:59the whole case right just as an idea I
- 8:42:00will say that hey my cloud course is the
- 8:42:01best but again I still ask you for the
- 8:42:03feedbacks and if there is any I try to
- 8:42:04improve that because you are better
- 8:42:06judge of that. So taking a real world
- 8:42:08example there as well. So that is why
- 8:42:09again we try to make sure that if we
- 8:42:11have to check any work right writing
- 8:42:13test security thing if we have to also
- 8:42:16uh do the review then we can create the
- 8:42:18separate sub agent in the overall world
- 8:42:20of coding right and of course it can be
- 8:42:23general purpose or for any particular
- 8:42:24task or skill as well so it can be let's
- 8:42:26say specialized task right
- 8:42:30specialized task so let's say that you
- 8:42:31want to create an agent which writes
- 8:42:33your LinkedIn post and you are giving it
- 8:42:34all the tools and everything and the
- 8:42:36skills as well and it just gets called
- 8:42:38and It will just write the tool and you
- 8:42:40can have table etc there only. So just
- 8:42:41as an example if you are using uh tabi
- 8:42:45right as a very very good example table
- 8:42:48gives you back the result. So you are
- 8:42:49not unnecessary getting that result like
- 8:42:51the agent will handle that just like my
- 8:42:53laptop is not getting filled up with all
- 8:42:54the thing which my intern is doing. The
- 8:42:56machines are separate. So if he's
- 8:42:58downloading lots of videos or something
- 8:43:00I don't care because my laptop is still
- 8:43:01having the space the context and
- 8:43:02everything. So that is the benefit as
- 8:43:04well everyone which we get. So now
- 8:43:06everyone with this analogy and the idea
- 8:43:08clear and I hope that it is actually
- 8:43:10actually clear as I highly suggest that
- 8:43:12you watch this again I will be showing
- 8:43:13you in a very very easy to understand uh
- 8:43:16like visualization manner as well found
- 8:43:18a very good approach I will like show
- 8:43:19you right now only actually so let me
- 8:43:21say agent flow open agent flow I will
- 8:43:23tell you like how to get it see great
- 8:43:26please now uh add some tests as well so
- 8:43:32pay attention everyone the second I do
- 8:43:33it
- 8:43:35Right.
- 8:43:36Uh okay. Which session is this? It is
- 8:43:38this session.
- 8:43:41This session. No. Okay. Yeah. See,
- 8:43:45so again uh each and everything is
- 8:43:48visible in this very very nice UI right
- 8:43:50view. So I will tell you as well I am
- 8:43:51having the sign on but I'm not also
- 8:43:52hearing anything. So see it is saying
- 8:43:54that hey I have 27k tokens. It has I
- 8:43:56think done the work. I is itating now.
- 8:43:58So this context window very very cool
- 8:44:00right? uh once the sub agents come in
- 8:44:02here that is going to be very very
- 8:44:03helpful telling you like how the session
- 8:44:05has been live it is now thinking and
- 8:44:07everything right so again this is all
- 8:44:09what have been what we have been doing
- 8:44:11till now it will show you all these
- 8:44:12things so pretty good awesome approach
- 8:44:14which I will also tell you so don't
- 8:44:16worry like we have a lot of things in to
- 8:44:17master here but yes very very important
- 8:44:18topic but major thing is this idea
- 8:44:20because this idea will remain the same
- 8:44:22everyone it is very important I have
- 8:44:24seen so many people who don't create
- 8:44:26this sub agent because they don't
- 8:44:27understand this first uh grassroot level
- 8:44:30of understanding this analogy and this
- 8:44:32complete understanding they just create
- 8:44:34sub agent for fun and they never do
- 8:44:36actually create it because or understand
- 8:44:37that hey why I might exactly need it and
- 8:44:40I make it a point that I create a lots
- 8:44:42of sub agent right because if I can get
- 8:44:46the context isolation plus I don't have
- 8:44:48to unnecessarily carry I just see it as
- 8:44:50a work that hey let me create a team now
- 8:44:53I have to actually handle the full
- 8:44:54corporate system because again there is
- 8:44:55a reason right we are not having a one
- 8:44:57tech person we are having a complete
- 8:44:58teams in management in marketing in
- 8:45:00sales. So that is where everyone this
- 8:45:02type of benefit is going to be very very
- 8:45:03helpful to you. Right? So these are all
- 8:45:05the things everyone and now a few things
- 8:45:07to note everyone here. uh if I talk
- 8:45:11about let's say types right if I talk
- 8:45:14about types then there are some inbuilt
- 8:45:17as inbuilt one right so there are some
- 8:45:19inbuilt one and there are self-created
- 8:45:23right so there are custom I think that's
- 8:45:26a better word instead of self-gated
- 8:45:30so let's get here and let me get it like
- 8:45:33this yeah so custom now again the idea
- 8:45:37is pretty simple just like skills etc A
- 8:45:39few of them are there which which are
- 8:45:40present with claude only which we will
- 8:45:42see as well. I think code review is one
- 8:45:44of them and uh you can create your own
- 8:45:46as well. No one is stopping you. And one
- 8:45:48more thing is there everyone that how
- 8:45:50does that it gets invoked. So we will
- 8:45:51discuss about that mainly again the
- 8:45:53description comes into picture there.
- 8:45:55Clot can invoke it itself as well or we
- 8:45:56can ask it to invoke one. Okay rather
- 8:45:59actually we have used the same as well.
- 8:46:00I will show you where we have used it.
- 8:46:01So see everyone now again how the things
- 8:46:03are happening. Uh it is just showing
- 8:46:04this out of tokens. I think it is
- 8:46:06writing all these things out. So lots of
- 8:46:08thing it is taking. I really hope that I
- 8:46:10have the usage left. Let me meanwhile
- 8:46:12check the usage as well once.
- 8:46:14Uh I think we should be good with this.
- 8:46:16No worries. Uh weekly 7day reset in 7
- 8:46:18hours. Oh, we have lots of usage. No
- 8:46:20worries at all. Okay, great. Uh okay,
- 8:46:22let's see one thing. Uh resets in 7
- 8:46:25hours. Yeah. So I will show you all lots
- 8:46:26of things because I have the seven hours
- 8:46:28to work on. Great. So uh with that
- 8:46:30everyone, I hope the whole concept is
- 8:46:32clear. Now let me show you one thing.
- 8:46:33Just one caveat here. One very very
- 8:46:35important caveat. If you are working
- 8:46:38with agents right uh my bad let me close
- 8:46:41everything if you are working with agent
- 8:46:44this command will not run here agents it
- 8:46:47is saying that continue in terminal or
- 8:46:49never mind just like other commands like
- 8:46:51mcp etc as of now the extension doesn't
- 8:46:54support the agents command now just
- 8:46:56let's go to the uh complete
- 8:46:58documentation as well everyone so if you
- 8:47:00will go on uh here because documentation
- 8:47:02is very important right getting started
- 8:47:05view let it load again
- 8:47:08and uh one second where exactly it was.
- 8:47:11Let me search. I think it was in build
- 8:47:13if I remember that right.
- 8:47:16Yeah, create custom sub the very first
- 8:47:18one. My bad. So see everyone like what
- 8:47:19all happens here. Sub specialized a
- 8:47:22system that handles specific type of
- 8:47:23task. Use one when a site task would
- 8:47:25flood your main conversation with search
- 8:47:26results, logs or file content you won't
- 8:47:28reference again. So very very important
- 8:47:30thing. The subision that work in its own
- 8:47:32content returns only the summary and
- 8:47:34that is then destroyed. Right? After
- 8:47:35that it is destroyed. So it it gets
- 8:47:37spawned. So cloud code starts its own
- 8:47:40cloud code session. Again it is having a
- 8:47:41jetting workflow. Gets spawned. It gets
- 8:47:44does the work and then it gets killed
- 8:47:45out. Each sub agent run its own context
- 8:47:47window with a custom system prom very
- 8:47:48very important specific tool access and
- 8:47:51independent permission. When cloud
- 8:47:52encounters a task that matches a sub
- 8:47:54aent description, it delegates to the
- 8:47:56sub agent which works independently and
- 8:47:57returns result just like interns will do
- 8:47:59or company like your subordinates will
- 8:48:01do. to see the context saving in
- 8:48:03practice. The context window
- 8:48:04visualization walk through a session
- 8:48:06where sub agent handles the research in
- 8:48:08it. So let's see this. I think this is
- 8:48:09the same one right? Yeah, which I ran.
- 8:48:11So good thing that claud is also
- 8:48:12suggesting the same. So yeah, I think
- 8:48:14I've shown you with the best example.
- 8:48:15Now these are the best profits everyone
- 8:48:17which you have to understand. If you
- 8:48:20need multiple agent working in parallel
- 8:48:21communicating see agent team instead. So
- 8:48:23I will come to the next topic which is
- 8:48:24agent team only. And these are all the
- 8:48:26benefits everyone which I'm pasting
- 8:48:30right directly from the documentation.
- 8:48:32Sub aents help you preserve context. We
- 8:48:33have discussed about this enforce
- 8:48:35constraint. I'm telling you that hey it
- 8:48:36can have an access and everything. Reuse
- 8:48:38configuration across project with user
- 8:48:39level sub agent. So again it can inherit
- 8:48:41some things as well just like let's say
- 8:48:43my team it can inherit the tools which I
- 8:48:45have like claude chat GB which I
- 8:48:47purchased specialized behavior
- 8:48:48specialized agent control cost by
- 8:48:50routing task to faster cheaper models
- 8:48:52like hyphen. So we have discussed I
- 8:48:53think all of them and that is again the
- 8:48:55whole case everyone built-in sub agent
- 8:48:56explore plan general purpose and others.
- 8:49:00So status line setup if you remember we
- 8:49:02have actually use the sub agent
- 8:49:03unknowingly right and claude code guide.
- 8:49:05So if I show you now everyone let's zoom
- 8:49:08out. Let me zoom uh it a little in so
- 8:49:10you can see it clearly. Claude
- 8:49:14let me open a new session.
- 8:49:16Okay let me cl it should start from
- 8:49:19this. Let me cl
- 8:49:22it on the top actually. Now the second I
- 8:49:24do agents, it's not agent, it's agents.
- 8:49:27Let me move it out. I think it has been
- 8:49:28a lot zoomed in. See it is saying that
- 8:49:30hey then no of the agent is running in
- 8:49:32the library. I found built-in one cloud
- 8:49:35code guide which is on haiku explore
- 8:49:38which is on ha general purpose which
- 8:49:40inherit the model plan which inherit the
- 8:49:43model status line setup which is solid.
- 8:49:45So if you remember everyone we
- 8:49:46unknowingly actually use this thing
- 8:49:48right. So all of these things which you
- 8:49:50are seeing here right all of these
- 8:49:51things I could just ask can you in the
- 8:49:55status also add the
- 8:49:59session
- 8:50:01name or ID so I know my session okay so
- 8:50:06very very important thing
- 8:50:08let's see the same let it work on this
- 8:50:15uh so it is calling need cl uh claw
- 8:50:18status sign command. I just want to see
- 8:50:20one thing. Uh okay, let's see it here.
- 8:50:25So I what we will do is we will work
- 8:50:26from here only everyone but uh let's
- 8:50:28see. So this is still working right.
- 8:50:30Again I think I've gave it a lot of task
- 8:50:32and uh see it is now showing it in a
- 8:50:34very nice manner writing. So I I love
- 8:50:36this visualization approach right and
- 8:50:38everything and it's a extension as well.
- 8:50:41Plus you can start it. So I will show
- 8:50:42you now how to set it up. Don't worry.
- 8:50:44Okay. But see 31k tokens. Okay. So this
- 8:50:46is very very good right
- 8:50:49do make sure that you again like the
- 8:50:51video and comment and also subscribe and
- 8:50:54share it with everyone because I think
- 8:50:55the way I'm teaching this visual way it
- 8:50:57is very very helpful right and with all
- 8:50:58the analogies as well
- 8:51:01so let it work let's go back meanwhile
- 8:51:03everyone so now I think we can just say
- 8:51:05yes and I think here we will not be able
- 8:51:08to see it I will show it in a better
- 8:51:09manner so through both print f lines so
- 8:51:12in a bit everyone I think it will also
- 8:51:14show us the session ID as well C ID ID.
- 8:51:16Okay. So, it is coming in here. The
- 8:51:18trader line now shows ID the first eight
- 8:51:20characters of the session ID, right? I
- 8:51:21can rename it to say uh sub agent and
- 8:51:27yeah, I think we are all good there. Uh
- 8:51:29if I refresh it. Uh okay. And one more
- 8:51:32thing everyone. So you you can just
- 8:51:34present this exclamation mark to run the
- 8:51:36shell command. So when I want to do this
- 8:51:38clear thing, right? When I run it with
- 8:51:40this exclamation, okay, it can just try
- 8:51:42to clear this thing. For example, if I
- 8:51:43do pwd, it will tell me by running that
- 8:51:46hey, where exactly I am, right? So, if I
- 8:51:48want to do ls. So, instead of doing it
- 8:51:50like that, we can easily just uh use
- 8:51:52this exclamation mark. Okay, great. Now,
- 8:51:54let's go back everyone and let's try to
- 8:51:56move forward. And now that you have
- 8:51:57understood each and everything, we will
- 8:51:59start with the practical. Just one one
- 8:52:00more very very important topic which
- 8:52:02lots of student get confused in which is
- 8:52:04that ma'am what is the difference
- 8:52:05between a skill and a sub agent? Uh now
- 8:52:07again since I've explained you from the
- 8:52:09grassroot level with the analogies I
- 8:52:10think it is very very clear. skill are
- 8:52:12my thing right which I can do faster if
- 8:52:13I can reply to emails faster at the end
- 8:52:15of the day my context my cost everything
- 8:52:17is kind of there right so see same
- 8:52:19context same tools same model step flow/
- 8:52:22command fresh context limited to cheaper
- 8:52:24model if required defined role at the
- 8:52:26ready go repeat work isolated task so if
- 8:52:29you want to have if you have a some task
- 8:52:30which is a lot of repetition is required
- 8:52:32then is when you create a skill plus
- 8:52:34your agent can also sub agent can also
- 8:52:35get that particular skill everyone
- 8:52:37whereas your uh sub agent okay it is
- 8:52:40good for an isolated task and again here
- 8:52:43the idea is very simple skill just run
- 8:52:45the steps step by step in your current
- 8:52:47window right so I can just say yes uh
- 8:52:49good that it has lots of tokens but uh
- 8:52:53yeah it is taking but I'm loving this
- 8:52:54thing like the way it tells each and
- 8:52:56everything like piece of art and uh in
- 8:52:59sub agent everyone it's a totally
- 8:53:00totally new thing right so let's let's
- 8:53:01try to actually master it I let it let
- 8:53:04it work only because I think it has
- 8:53:06worked so much let's try to wait only
- 8:53:08see the context everyone 35% still left.
- 8:53:10Let me see the usage now. It's still
- 8:53:1339%. So, should be fine. Uh should be
- 8:53:15fine. No worries. I we will change the
- 8:53:16model to some other but let it work.
- 8:53:19Looking at the card gloss, it's only
- 8:53:21checking the color items and the
- 8:53:22specific things. Just 1 minute as well.
- 8:53:25It's in 4 hours. Okay, no worries. I
- 8:53:27have the separate thing. So, say okay, I
- 8:53:29think it has gone a lot ahead. It has
- 8:53:30ran the same. It is saying that 68 of 69
- 8:53:33passing the failure is a real production
- 8:53:34bug. The function doesn't guard against
- 8:53:35an empty slice. So, yeah, I think all it
- 8:53:38has done a lot of work. Now it is
- 8:53:39running a bash command. That is how it
- 8:53:41works. Now it is giving the result. See
- 8:53:4215 tokens here. Somehow it has added
- 8:53:4669th test. I didn't want it to do that.
- 8:53:49But now seems like our complete machine
- 8:53:51is like created very much right. So no
- 8:53:52worries. Let's let's actually uh take a
- 8:53:55circle back. Uh I hope you're clear with
- 8:53:57this skills versus sub agent as well. I
- 8:53:58have created one more analogy everyone
- 8:54:00so that you can understand the same and
- 8:54:01that is very simple is survey and
- 8:54:03architecture specialist not journalist.
- 8:54:05Head doctor the main session which is
- 8:54:06decides and coordinates uh reviewer read
- 8:54:09only explorer read only tester can write
- 8:54:11as well you send it the review it gives
- 8:54:14you the finding you send it the explore
- 8:54:16it gives you the summary you give it the
- 8:54:18test it give you the results agents run
- 8:54:20independently parent combines the result
- 8:54:22they don't they are not connected with
- 8:54:24each other so something which a lot of
- 8:54:25people are confused on they are actually
- 8:54:27not connected like this that is where
- 8:54:29team comes in which we will cover next
- 8:54:30but as of now they don't have anything
- 8:54:31to do with each other okay so pattern
- 8:54:33delegate isolate and then combine
- 8:54:36because we can run parallel agents as
- 8:54:37well. Right? So now what I will do
- 8:54:39everyone pay attention like this has
- 8:54:40been done. I will start uh I will close
- 8:54:43all of these things right. I will start
- 8:54:45a new session. Okay. I will rename the
- 8:54:49session rename right.
- 8:54:53Uh okay is it is it present here? No
- 8:54:55worries. Okay. I can rename like this
- 8:54:58sub agent. Okay. So see uh session 003
- 8:55:02we should not have renamed it but no
- 8:55:03worries. Let's let's now try to do one
- 8:55:05thing. Let me call code. Okay. Uh a
- 8:55:08minute. What was the name of one of the
- 8:55:10agents? Everyone, let's see that. If I
- 8:55:13do / agents here and I can show you the
- 8:55:16library, what is the one? Claw code
- 8:55:19guide explore. So explore is the one.
- 8:55:22Everyone, let's go back and let me say
- 8:55:25explore.
- 8:55:27Okay, I cannot call it like this. Maybe
- 8:55:29let me do one thing everyone. Let me
- 8:55:30close this. And what I will do is I will
- 8:55:32get this terminal here. Right? I will
- 8:55:36start a cloud session. So again you can
- 8:55:37just do all these things here just like
- 8:55:39a terminal. Right? Now uh I will rename
- 8:55:42it here as well. Okay. Rename sub aents
- 8:55:46internal
- 8:55:48right. Uh sub aents internal. Not a
- 8:55:52problem. So see I think it has been
- 8:55:55started everyone. We can quickly check
- 8:55:56as well because we are having the
- 8:55:57session ID. If I make it very very long
- 8:56:0048717
- 8:56:01if you see it here and if I show you
- 8:56:05just a second uh because I don't want
- 8:56:07that you feel that hey my is showing
- 8:56:09another seven 48 717 right if I do uh
- 8:56:12add the rate and let's say I search
- 8:56:14explorer
- 8:56:16okay so let me quickly check how agents
- 8:56:18are called so I don't think that they
- 8:56:20have changed anything but I could just
- 8:56:21say explore the code base using at the
- 8:56:26rate explorer agent Okay. So I'm just
- 8:56:29asking it majorly, right? Let me click
- 8:56:31this. Now pay attention everyone.
- 8:56:32Explore the codebase using explorer
- 8:56:33agent. Uh run terminal setup to enable
- 8:56:36convenient. Now see it is just saying
- 8:56:38agent explore codebase. Right? If I zoom
- 8:56:40it out, see it has started another
- 8:56:42agent. This agent now everyone it is
- 8:56:45saying I will conduct a thorough
- 8:56:46exploration of the code build. Let me
- 8:56:48start by examining the directory
- 8:56:49structure. So now it is saying of course
- 8:56:52it is asking because we are not on allow
- 8:56:53everything. So it is asking us for these
- 8:56:55things. See goping it is now working in
- 8:56:58parallel everyone. So that is how it
- 8:56:59works. Bash la everything is happening
- 8:57:01here. It is running these commands. Each
- 8:57:03and every of these command gets run up
- 8:57:05right now see reading claw.md package
- 8:57:07reading these files up running these
- 8:57:09different different commands right.
- 8:57:12And now let me examine the Prisma schema
- 8:57:14or let me check types and get a better
- 8:57:16sense of test configuration. I hope this
- 8:57:18thing should be very very nice to see
- 8:57:19right. I don't think that you can get a
- 8:57:22better visualization or better
- 8:57:23understanding of subision than this
- 8:57:25right in front of you and I can say yes
- 8:57:27like when we will create our own I will
- 8:57:28show you that how it is very good as
- 8:57:30well like uh you can have the colors etc
- 8:57:32but see it is showing you that how it is
- 8:57:33reading all the files then how it is
- 8:57:35going through the same right I could I
- 8:57:37could just uh let us uh enter only like
- 8:57:42I don't want to spend a lot of token but
- 8:57:43still should be fine now if you will see
- 8:57:46everyone uh if you will see here like
- 8:57:48here it is still 5k tokens Right? It is
- 8:57:51having 12k tokens. So it is going
- 8:57:52through each and everything. So now in
- 8:57:54right in front of you I'm showing you
- 8:57:55that see the tokens of sub agent are
- 8:57:57greater than the main agent because it
- 8:57:59is going through exact codebase and that
- 8:58:01is the level of benefit which we get
- 8:58:03right everyone. So that is what we want
- 8:58:05that yes now it is exploring each and
- 8:58:07everything. If you will see we can see
- 8:58:08its particular things as well like see
- 8:58:10content 16 tools 71 second alive
- 8:58:13complete. Now it has given back the work
- 8:58:15and it has been killed. So pay attention
- 8:58:17everyone it has been killed right and
- 8:58:19our overall approach is 17k tokens so
- 8:58:22extra 12k 15k tokens are nothing to be
- 8:58:25found I have the full thing right so see
- 8:58:27it is showing it like this let me make
- 8:58:29it a little bit bigger and I can do one
- 8:58:31more thing as well uh no I think paddle
- 8:58:33will be better so I I hope that it is
- 8:58:34easily followable not should not be a
- 8:58:36problem so see cloud code version uh
- 8:58:38sonnet okay I think what happened here
- 8:58:41clear okay no yeah I think everything is
- 8:58:43fine here right let me just see saturate
- 8:58:45for 1 minute 1 second it has got the
- 8:58:47exact same thing everyone. Now if I ask
- 8:58:49it anything it will be able to just
- 8:58:52quickly answer me. So if I ask it simply
- 8:58:55does my
- 8:58:57uh code has tests. If I ask this thing
- 8:59:00right
- 8:59:01simple question I'm asking it is having
- 8:59:03the full thing 18k tokens. Hopefully
- 8:59:05based on the same it will just answer.
- 8:59:07So see it is reading something okay
- 8:59:08should not be a problem. Yes your
- 8:59:09codebase has nine test files. So see it
- 8:59:11has answered it in a very nice manner. I
- 8:59:13have not sent the exact again 12k extra
- 8:59:16tokens again that is a more benefit. see
- 8:59:18in the ADMK tokens right the best part
- 8:59:20with this tool everyone I will I will
- 8:59:21help you set it up okay it is live you
- 8:59:23can review see if you review you can go
- 8:59:26back to see what all happened so awesome
- 8:59:28awesome tool like I love like I
- 8:59:29genuinely love this tool so this is how
- 8:59:32it happens everyone you can just start
- 8:59:34the live thing so that it is always on
- 8:59:35live or you can pause it and then you
- 8:59:37can just go back right to see that okay
- 8:59:39what all happened what exactly happened
- 8:59:41right of course if you want you can
- 8:59:43start it in another uh uh let's say in a
- 8:59:46separate window as well All that is
- 8:59:48possible. Let me show you that and let
- 8:59:49me rather show you the tool list where
- 8:59:50everyone. So the tool is known as this
- 8:59:53agent flow like again I was trying
- 8:59:55multiple tools out. Uh there is another
- 8:59:57one right agent observe which also we
- 8:59:59can install. So I will share the same
- 9:00:01with you. It is again a marketplace
- 9:00:02agent which can you can easily start
- 9:00:04right. But I like this one better
- 9:00:06because of again how nicely it shows all
- 9:00:08these things right. So once it is
- 9:00:10started everyone then you can just
- 9:00:11directly go to I think local host 13.
- 9:00:13Let me see if it is running. No it is
- 9:00:14running inside that. Right. So you can
- 9:00:16easily start it on your terminal as well
- 9:00:18if you want but I have started it inside
- 9:00:20VS code. How I have started inside VS
- 9:00:22code. If you go on extension if you
- 9:00:24search for agent flow
- 9:00:26that is how you're able to find it.
- 9:00:28Okay. So again awesome tools very very
- 9:00:30helpful. Not only it shows you this in a
- 9:00:34let's say good manner. It actually shows
- 9:00:36you the things inside as well. So if I
- 9:00:38just zoom it out everyone I can actually
- 9:00:40just make sure that I go back in time
- 9:00:42when the agent was spawned why it was
- 9:00:44spawned. What was all the things explore
- 9:00:46codebase and everything I can just play
- 9:00:48it I can just do a speed of 4x right and
- 9:00:51see it will just keep on doing all these
- 9:00:53things for me so what all it read what
- 9:00:55was the bash command it is running the
- 9:00:57code base the context overall 10k tokens
- 9:01:00so this is how you are able to actually
- 9:01:02also make sure that you are calling
- 9:01:03these uh you are able to see these
- 9:01:05agents in live right so again very very
- 9:01:07easy and easy to understand manner right
- 9:01:10and I think right in front of you you
- 9:01:11have seen that how it is helpful right
- 9:01:12because if I see if I would not called
- 9:01:15my sub agent uh sorry my sub agent it
- 9:01:17was having extra 12k tokens this 12k
- 9:01:19tokens would have added and made it 30k
- 9:01:21tokens towards the end I think it
- 9:01:23returned around uh all these things and
- 9:01:25yes I'm able to take that best call now
- 9:01:26so that is the level everyone like now
- 9:01:28you can just keep on sending it thing
- 9:01:30and it will keep on answering based on
- 9:01:31these things and help you as well now
- 9:01:34again uh as I said like you can go on
- 9:01:36agents
- 9:01:37right
- 9:01:39and there is a library where explore is
- 9:01:41there cloud code guide general purpose
- 9:01:43plan and status design setup. If I go
- 9:01:45back to the documentation now everyone
- 9:01:46and uh again uh downloading is it is
- 9:01:49very very simple I think if you're
- 9:01:51having the VS code extension install the
- 9:01:53extension which I've done everyone then
- 9:01:56go here do I do command shiftp in
- 9:01:58windows you will be doing control shiftp
- 9:02:01and just search for agent flow the
- 9:02:03second you search you can see configure
- 9:02:05claude code hooks connect to running
- 9:02:08agent open agent flow to site and I just
- 9:02:11click this open agent flow right you can
- 9:02:13change other things as It works on the
- 9:02:15concept of hooks I think most probably
- 9:02:16which we have learned in depth as well.
- 9:02:18So yeah, I think it is all good everyone
- 9:02:20right runtime selection all these things
- 9:02:21it is giving but again you don't have to
- 9:02:23worry about anything it is using hooks
- 9:02:25I'm I the earlier one was using hook
- 9:02:28actually I've not gone through in depth
- 9:02:29of this one but yeah I'm pretty sure
- 9:02:31that they will be using hooks only
- 9:02:33because we we have understood hooks in
- 9:02:34depth right they don't take any tokens
- 9:02:36if you want and how fast and how better
- 9:02:38they are right so now even if you go
- 9:02:40back again few things are very very same
- 9:02:42and similar you can create sub aents at
- 9:02:44a organization uh onprise I don't think
- 9:02:47it is meion But I think it will be the
- 9:02:49same because there's a doc cloth folder.
- 9:02:51Or if you want you can create it at a
- 9:02:53user level. So if I do it at my main
- 9:02:55homepage sorry main home location which
- 9:02:57is this one right everyone. So if I
- 9:02:59create it create a agent inside it
- 9:03:02right. So see agent flow is coming into
- 9:03:03picture. Most probably it would have
- 9:03:05added some let's see this. Yeah. So see
- 9:03:08it is actually working on the host only
- 9:03:10right. So I don't see an agent folder
- 9:03:12but actually I can create one agent
- 9:03:14folder everyone like this. Again if that
- 9:03:17agent folder is not here if it is
- 9:03:19present in your uh in your project
- 9:03:22directory. So here also we have this dot
- 9:03:24load right so it can be here as well. So
- 9:03:26I hope you get this idea now because we
- 9:03:27have again followed that from the
- 9:03:28grassroot level. So again uh scope MCP
- 9:03:32servers to sub agent I think that can be
- 9:03:33done. Let's see the anatomy of the agent
- 9:03:35file right. Let me actually just do one
- 9:03:37thing. So I yeah so this was the image
- 9:03:39everyone which I have created like again
- 9:03:41a complete anatomy. The idea was very
- 9:03:43simple. I wanted that you have a one
- 9:03:45short image where you can understand
- 9:03:46everything. Uh so again first where it
- 9:03:48lives dotcl/ aents if you want it to be
- 9:03:51at a user level and in your current one
- 9:03:54as we discussed if you want it at a
- 9:03:56overall uh project level right so if I
- 9:03:58create a new folder here let's say
- 9:04:00agents right and if I create a new file
- 9:04:04let's say just as an example code
- 9:04:06reviewer
- 9:04:08dot agent
- 9:04:11MD right so it should be following a
- 9:04:15kind of a structure what What do I mean
- 9:04:16by email? Like the way we have been
- 9:04:17created till now, right? So it will be
- 9:04:19having a name everyone which is
- 9:04:20required. Then description. Now the
- 9:04:22reason description is required is very
- 9:04:23straightforward. Right? And again first
- 9:04:25we will create some of them from
- 9:04:27directly via cloud code only because
- 9:04:29that is what I will suggest if you are
- 9:04:30starting off and else we can create uh
- 9:04:32like let's say the way I'm creating
- 9:04:34right now. So just let me copy this
- 9:04:35thing up. Let me for the timing let me
- 9:04:37just close this here. See pay attention
- 9:04:39everyone. So in here if you will see we
- 9:04:42are having the name code reviewer
- 9:04:44description. Now let me discuss that why
- 9:04:46description is required and that will be
- 9:04:48clear once we understand that how agents
- 9:04:49are called. So pay attention there are
- 9:04:51three ways to invoke everyone uh natural
- 9:04:53language right and normally cloud code
- 9:04:56is also very smart like I'm not sure
- 9:04:57actually why it didn't call it when we
- 9:04:58ask it to go through the code and
- 9:05:00everything. First is natural language
- 9:05:02where you say that hey please explore my
- 9:05:03code and since it is having an explore
- 9:05:05agent it will do the same the way status
- 9:05:07line agent was getting called when we
- 9:05:09were using that name request explicitly
- 9:05:11I'm mentioning that hey please use my
- 9:05:14code reviewer agent to do this task. So
- 9:05:15that is again you can call it at the
- 9:05:18rate so add the rate mention is very
- 9:05:20very helpful. I just have to check like
- 9:05:22I'm not sure if they have changed it
- 9:05:23because I remember it working but right
- 9:05:24now I was able to get some error but I
- 9:05:26think it will work not a problem. So
- 9:05:27again low control, medium control,
- 9:05:29highest control because implicitly it
- 9:05:31can get confused if you have multiple
- 9:05:32agents or if let's say you are having
- 9:05:33agents in your home project and
- 9:05:34authorized level if you name it then
- 9:05:37also there can be issue when you mention
- 9:05:39it specifically then I think it is not a
- 9:05:41problem right so that is a whole case
- 9:05:42everyone okay uh no don't care and ask
- 9:05:46so that is a whole case everyone and we
- 9:05:48have already learned and seen rather
- 9:05:49that how it will work I have also told
- 9:05:51you that how there are two applications
- 9:05:53so again please make sure that you check
- 9:05:54out both of them this one requires that
- 9:05:58when you have to use this right when you
- 9:06:00call clot you have to do /observe and
- 9:06:03then status so it also works on your uh
- 9:06:06hooks only but you have to make sure
- 9:06:09that you do this and then open this
- 9:06:10particular thing in the browser right
- 9:06:12whereas the one which I am showing you
- 9:06:14like I can again show you both of them
- 9:06:16but uh maybe let me do that not a
- 9:06:18problem let us try to do see that
- 9:06:19everyone so I can show you this thing up
- 9:06:23plot okay no no no my
- 9:06:27out of bad clear everything up.
- 9:06:31Let's copy them one by one. So I just
- 9:06:32want that you able I'm able to show you
- 9:06:34the best approach because again it may
- 9:06:35happen that your organization has blog
- 9:06:37extensions. So in that case it will be
- 9:06:39helpful. Okay.
- 9:06:41And again please make sure that you're
- 9:06:42downloading it from a proper place. This
- 9:06:45I think is pretty good. Should not be a
- 9:06:46problem.
- 9:06:48Okay. Then uh I think yeah now you can
- 9:06:50do this thing. Let me open this up here.
- 9:06:55and we we will test it out. Okay. So
- 9:06:57when we will be having slashobserve
- 9:07:01slash Okay, I have to close this up.
- 9:07:05Start it again.
- 9:07:07slashobserve.
- 9:07:10Uh okay, what is the exact command?
- 9:07:13Let's see this status. Okay, status
- 9:07:16debug logs restart. Okay, so /observe
- 9:07:19status.
- 9:07:22So the second you do it, it picks that
- 9:07:25up. Node users uh yeah so it is it is
- 9:07:27time to run that hook. Agent observer is
- 9:07:30not running. Check error configured
- 9:07:324981. What was the exact thing which we
- 9:07:35wrote? 4981. Okay. So now it is saying
- 9:07:38agent observer is not running. Do this
- 9:07:40to start it. So I've done start. Now I
- 9:07:43can do sorry now I've done uh status.
- 9:07:46Now I can do start. Okay. I think start
- 9:07:48is the very first one. Not sure why it
- 9:07:49has given because once we start then we
- 9:07:50can do the status. The server failed
- 9:07:53because Docker is not running. Agent
- 9:07:54also requires Docker. Uh okay. So that
- 9:07:57is one thing. Again I think you can fix
- 9:07:59it up everyone. I have Docker installed
- 9:08:01which I can run but it will be asking
- 9:08:02for lots of RAM which we can it should
- 9:08:04be fine. I think you are able to see it.
- 9:08:07Run it only if I'm so close but no
- 9:08:09worries. Finally let's learn about this
- 9:08:11uh anatomy file everyone. So here what
- 9:08:12I've done name description which tool it
- 9:08:15has access to read GP glob bash
- 9:08:18disallowed tool. So I'm specifically
- 9:08:20mentioning that hey you are an intern
- 9:08:22you cannot specifically see my bank
- 9:08:24details you cannot see my emails okay
- 9:08:27you cannot go through my WhatsApp so
- 9:08:29disallowed write and edit model claude
- 9:08:32haiku okay uh again I think it will pick
- 9:08:34that up easily memory at a project level
- 9:08:36so that it will be having the access to
- 9:08:37this particular project permission mode
- 9:08:39default effort normal color blue you are
- 9:08:42a senior level so this is a system
- 9:08:44prompt everyone now we will discuss
- 9:08:45about more of these things let me for
- 9:08:47the time being close this
- 9:08:49Right. Scale everything do cloud.
- 9:08:53Uh and now if I do agents visual studio
- 9:08:57I think it is trying to do that. Uh you
- 9:08:59know I think it is trying to get docker.
- 9:09:02If I do agents it is sonet 4.6 is
- 9:09:04already given. We will have to change
- 9:09:05that.
- 9:09:08Okay / aents.
- 9:09:11What happened in here?
- 9:09:14So again as I see started it is started
- 9:09:16working. I've changed the model to IO as
- 9:09:18well. If you see the library of given
- 9:09:19project agents github sync clot code
- 9:09:21md.cloud cloud agent project code
- 9:09:23reviewer right so I can make it a little
- 9:09:25bit bigger so that you can see that how
- 9:09:27it is code reviewer now very good thing
- 9:09:29which I will show you here as well it is
- 9:09:30having a color blue right so if I just
- 9:09:33go outside here if I say run at the rate
- 9:09:38code
- 9:09:40reviewer agent so yeah it is able to
- 9:09:41catch okay I think it was my mistake run
- 9:09:43at the rate so it is just asking for the
- 9:09:44full path to review my code right I will
- 9:09:48show you like how it gets started if you
- 9:09:49don't pay attention wiping wiping all
- 9:09:51these things Right? Agent flow will also
- 9:09:53be pretty good at seeing this. Uh but I
- 9:09:55will like I will majorly show you that
- 9:09:57how see it is having the code review in
- 9:09:59blue color but for us this is better.
- 9:10:00Right? One thing more which I would like
- 9:10:02to show you now that the docker has
- 9:10:04started everyone.
- 9:10:06Uh let me in and close this. Right. Let
- 9:10:09me close this for the timing. Uh 1
- 9:10:11minute. Let me stop this thing up.
- 9:10:13Uh okay. 1 minute. Stop this. Okay.
- 9:10:16Clear. Let's go back. Let me start the
- 9:10:20same again. Uh I like the other one only
- 9:10:22but I just showing you for your
- 9:10:24reference. Okay,
- 9:10:27because that is able to catch it very
- 9:10:28easily right that was the best thing
- 9:10:30which I like. Now if I refresh it yeah
- 9:10:33so I think I was having docker running
- 9:10:35for something. So recent session across
- 9:10:36all sessions connected if I send a high
- 9:10:41across all projects.
- 9:10:44What happened here?
- 9:10:48projects
- 9:10:50uh delete all projects no session start
- 9:10:55right okay uh I'm not sure why it is
- 9:10:57having this issue so if I do observe
- 9:11:02and I can do
- 9:11:06so seem like some issue is there with
- 9:11:08the hook I was able to make it run but
- 9:11:10uh
- 9:11:13again I'm not sure but again I think
- 9:11:14everyone you can test it out uh but
- 9:11:16anyways I think the other one is better
- 9:11:17it is having a docu that as well but yes
- 9:11:20I just wanted to show you that this is
- 9:11:21also something which is present to us
- 9:11:23right it can easily be done I was able
- 9:11:24to run the same but no worries uh as I
- 9:11:27said I like this one only so yeah I
- 9:11:29think you were able to see everyone that
- 9:11:30how it is showing you that blue color as
- 9:11:31well let's quickly talk about the
- 9:11:32anatomy if we see this file I have
- 9:11:35explained you in here what all is
- 9:11:36present name description tools model
- 9:11:39color so you can give the color as well
- 9:11:40so that you can specifically see that
- 9:11:42your agent was invoked normally let's
- 9:11:44say for code review you can have the red
- 9:11:46color for code character you can have a
- 9:11:49green color all these things up icon
- 9:11:51version okay so all of these things
- 9:11:53version is for us only then uh you can
- 9:11:56have a prompt so markdown body the brain
- 9:11:58title and all these things let's try to
- 9:11:59see in the documentation as well quickly
- 9:12:00everyone so if we talk about creating
- 9:12:02custom sub agent built-in we have
- 9:12:04already seen creating / aents we can
- 9:12:06choose a location and then generate with
- 9:12:09cloth so initially let's try to build
- 9:12:11one with / aent as well because the idea
- 9:12:14is that uh again once you understand
- 9:12:16that how claude is building the same it
- 9:12:18will be very simple then select model
- 9:12:19choose a color configure memory right
- 9:12:22save and try it out that is how it
- 9:12:24happens everyone let's try the try out
- 9:12:26this one only right code reviewer code
- 9:12:28improvable agent then configuring sub
- 9:12:30agent we can do / agent so let's first
- 9:12:32do one thing let me do cloud here let me
- 9:12:36make this a little bit bigger and we can
- 9:12:38see it here right let me do agents now I
- 9:12:43will say library and I will say create
- 9:12:45new agent so again I'm just doing all
- 9:12:46via my uh keyboard. So it should not be
- 9:12:48a problem. Create new agent. It is
- 9:12:50asking me project or personal. Project
- 9:12:52dotcl/ aents which is this particular
- 9:12:55one. Okay. So in the project personal
- 9:12:57mean at a user level. So it will be
- 9:12:59created everyone inside here somewhere
- 9:13:01right. So uh let's try to create a
- 9:13:04personal at the main home directory
- 9:13:06because we already have one in this
- 9:13:08generate with cloud which is
- 9:13:09recommended. Let's do that. Help me
- 9:13:10write the so I can say uh I can mention
- 9:13:14it. Please help me create an agent which
- 9:13:17can improve the quality of my code. The
- 9:13:20agent should act as a SD3
- 9:13:23who is well aware about the best
- 9:13:25practices and also make sure that it is
- 9:13:28not unnecessarily bloating
- 9:13:31the code but rather giving the right
- 9:13:33advices.
- 9:13:35The whole aim of the agent is to go
- 9:13:37through the code and then provide with
- 9:13:39the advices on how the code can be
- 9:13:43improved.
- 9:13:46So this is what I've done everyone.
- 9:13:48Enter to submit. Ctrl G to open in
- 9:13:50editor. I think we have anywhere written
- 9:13:51it. You can of course copy paste the
- 9:13:52same as well. So it is now generating
- 9:13:54agent from description. Let it generate.
- 9:13:57I think it will be shown somewhere here.
- 9:13:59So once it generates it is agents only.
- 9:14:02Yeah.
- 9:14:04So now it is asking me for the tools
- 9:14:05everyone if you will see here. So I can
- 9:14:07select I can just first deselect all the
- 9:14:09tools. Okay. So it is saying enter to
- 9:14:10toggle selection.
- 9:14:12So I've said this selected all tools. uh
- 9:14:14I think it should only having read need
- 9:14:15only access right why would it need a
- 9:14:19right access right I'm not seeing it
- 9:14:20execution if it wants to execute
- 9:14:22something MCP as well I don't think
- 9:14:24there's a requirement okay we can show
- 9:14:26advanc option as well and then I think
- 9:14:27all the tools will be visible right so
- 9:14:29again in the advanc option we are able
- 9:14:30to see if if you want to give it some
- 9:14:32NCP access that will also be helpful so
- 9:14:34that is the level of depth which we are
- 9:14:36getting read only and execution are I
- 9:14:38think more anyways helpful like anyways
- 9:14:40we know what they are and yeah you can
- 9:14:41see each of these things here everyone
- 9:14:43because Again when you create it for at
- 9:14:45a production level each and everything
- 9:14:46will be required. So now once it has
- 9:14:48been done what I will do uh where is my
- 9:14:51code? So let me go escape to go back.
- 9:14:54Okay let me I I went back uh like so
- 9:14:57should not be a problem. Let it generate
- 9:14:58it again.
- 9:15:00As of now nothing has been created.
- 9:15:09So it is now asking for the tool given.
- 9:15:11would just give it uh the read only
- 9:15:12tools. Okay. And some execution tools. I
- 9:15:16can now do continue. Now it is asking
- 9:15:18for the model. Uh ideally I should give
- 9:15:20sonnet, right? I will make sure that I
- 9:15:22give sonet or inherit from parent. But
- 9:15:23let let me give hi to here. Let's say
- 9:15:26automatic. But let's let's start that
- 9:15:27hey this is a code uh improver agent. So
- 9:15:30this one create new agent configure
- 9:15:32agent memory. So I will say project
- 9:15:34scope so that it is having access to all
- 9:15:36the things in the project level. Uh claw
- 9:15:38agent memory local at a project scope.
- 9:15:40So that when it runs on the web as well,
- 9:15:42it is having this thing. And uh now it
- 9:15:44is saying that it has created the same
- 9:15:46uh system prompt is very long over
- 9:15:4810,000 characters. Okay. Press S to
- 9:15:50enter to save. Uh and I can do S.
- 9:15:54And uh I think it has been created,
- 9:15:56right? Created agent. Yeah, code quality
- 9:15:58reviewer. Here it was. Code reviewer
- 9:16:00agent. Okay. If I go back code quality
- 9:16:03reviewer, let me get this file up. Okay.
- 9:16:05I will just just add it for the time
- 9:16:07being. We will removing it. No worries.
- 9:16:09Okay.
- 9:16:11And I could just mention it local here
- 9:16:14or not local project here
- 9:16:16and I could say project here. So ideally
- 9:16:20now what should you do everyone is that
- 9:16:21you should copy this thing into your uh
- 9:16:23let's say chat GP cloud or anywhere and
- 9:16:26you should go through in depth here
- 9:16:27because again it has given us so much
- 9:16:29here that you should not take it on the
- 9:16:32face value that everything is fine. No,
- 9:16:34please don't do that. Please please make
- 9:16:36sure that you read through the same
- 9:16:37right I have again done it multiple
- 9:16:38times. So pretty good with that. But
- 9:16:41what I also do is that once I actually
- 9:16:43work on something uh and normally since
- 9:16:45my instances are running on the cloud as
- 9:16:47well, I make sure that I'm going through
- 9:16:48the complete depth or if you cannot do
- 9:16:51that, you can just go to let's say any
- 9:16:54AI let's say ch for reference.
- 9:16:58Okay,
- 9:17:01we can just have multiple things. Now
- 9:17:04again it is very much in depth, right?
- 9:17:05Very lots of tokens. Please go through
- 9:17:09my clawed code sub agent and correct
- 9:17:14anything if required.
- 9:17:16Give me final file in a copyable code
- 9:17:22block. Now again I'm just doing this.
- 9:17:24What you could have also done is asking
- 9:17:25to create an image or tell you what
- 9:17:27exactly it contains. So it is saying you
- 9:17:29already done the solid job here. Thanks
- 9:17:30a lot code. This is only top five% of
- 9:17:32production agent. But a few things will
- 9:17:34bite you later. So tasktop is not a
- 9:17:36valid tool. Web tools are unnecessary
- 9:17:38here. Model ho is too weak. Description
- 9:17:42is too long. Herz delegation tool should
- 9:17:44be restricted intentionally. Right now
- 9:17:46is enough. Avoid over permissioning.
- 9:17:48Mission mission missing proactive
- 9:17:51delegation. It use proactively after
- 9:17:53code changes. Okay, that's also good.
- 9:17:55Now again it is giving us this much in
- 9:17:57depth. Ideally charge GP will do a
- 9:17:58little bit of work like moving away from
- 9:18:00the work it provide you in that matter.
- 9:18:02So yeah, let's copy this. Again I will
- 9:18:04not do this without reading anything
- 9:18:06telling you on the inh initially only
- 9:18:09right but right now it's fine because
- 9:18:11this is where exactly your agent lives
- 9:18:13right like this is the exact exact same
- 9:18:16thing I think it has changed it to sonet
- 9:18:17I will change it back to hypu so less
- 9:18:21word less things right uh senior
- 9:18:24technical engineer so it has added a
- 9:18:25better approach responsibility again it
- 9:18:27has made it a lot uh review easy to read
- 9:18:29as well and now the idea is very simple
- 9:18:31everyone we can go on agent flow And we
- 9:18:33can just uh
- 9:18:37here we can just escape. So see how
- 9:18:39nicely it shifts as well. Right now I
- 9:18:42could say run my code quality
- 9:18:48quality
- 9:18:49reviewer agent. Right now of course you
- 9:18:53can ask it to explore then it will run.
- 9:18:55So you can have the plan which we will
- 9:18:56see in a bit. So pay attention everyone.
- 9:18:59Let me see the usage as well once. Uh
- 9:19:02it's 50%. Should be fine. I think we can
- 9:19:04use it. So uh create everyone. Let's see
- 9:19:07what is happening here. Did I cl Okay.
- 9:19:09So see it is asking I can run the code
- 9:19:11quality review agent for you. What code
- 9:19:13would you like me to review? State
- 9:19:14changes specific file. Uh yeah that's a
- 9:19:17good thing right rather do a specific
- 9:19:18file here. So this is our approach. Let
- 9:19:21us try to do the front end report. No
- 9:19:24known modules is not a file report
- 9:19:25Prisma
- 9:19:28uh app and let's say login
- 9:19:30functionality. So what we have created
- 9:19:31right so let me let me say
- 9:19:34please go through the / app folder
- 9:19:40right
- 9:19:42so in a bit everyone it will start our
- 9:19:44agent best part we can see it here it is
- 9:19:46working agent was spawned review right
- 9:19:51see how it is being very smart in this
- 9:19:54uh now again we have not given the
- 9:19:56terminal access to run all these things
- 9:19:57I could also say that always run right
- 9:20:00but let us Say yes for the time being
- 9:20:02because it gives us this chance. See how
- 9:20:03it is. Okay. So this is very cool,
- 9:20:05right? So how it is reading all these
- 9:20:06files very like it's generally pretty
- 9:20:08good like read file something somewhere.
- 9:20:11If you click on this it will tell you
- 9:20:12that yeah this is the agent from where
- 9:20:13it is running and all these things. It
- 9:20:15is going through your complete agent
- 9:20:16stuff. Now I can just say yes.
- 9:20:20So I hope you're loving this approach.
- 9:20:21Again I I totally love this
- 9:20:22visualization is like I I hope you can
- 9:20:24see that how I've created this awesome
- 9:20:25diagram. This is right. Visualization is
- 9:20:27like I feel my language. Okay. So no
- 9:20:29worries. Let it run misting it red
- 9:20:32prisma all these files. Okay.
- 9:20:36Code quality review was our agent and as
- 9:20:39soon as it works again just this is just
- 9:20:40our personal agent running right
- 9:20:42everyone. So that is what we have
- 9:20:42changed. I will close docker. I think
- 9:20:45I've already closed it must be taking
- 9:20:47lots of space. So now it is working. I
- 9:20:50think it has got all the information.
- 9:20:52Perfect. Now let me get a comprehensive
- 9:20:53reward. Let me key save key memory first
- 9:20:55then come back to the findings.
- 9:20:57So let it work everyone.
- 9:21:06So again uh for the time being it is not
- 9:21:08doing anything I believe agent review I
- 9:21:11have to check if can we can run it uh in
- 9:21:13async but uh will not be very helpful
- 9:21:16because apparently we can agent but
- 9:21:19let's let's try it out. Okay. So there
- 9:21:20is a way of timeline as well everyone.
- 9:21:21This is okay. I didn't check this out.
- 9:21:23This timeline was actually the feature
- 9:21:25as well. So it got killed up everyone.
- 9:21:26Right. The best part. I will show you
- 9:21:28four critical security issues that we
- 9:21:30will see as well. So this timeline
- 9:21:32everyone is how the other other tool
- 9:21:34shows. Right? So again it has done the
- 9:21:36same. Now let me go back and let me show
- 9:21:39you that how it was actually killed. Uh
- 9:21:40pause it. Sorry. See as soon as it works
- 9:21:43gets done it sends back the replies. So
- 9:21:46we can play it from here at a 4x speed
- 9:21:49or at a 2x speed. It is working all the
- 9:21:5214k tokens. It will be sending this
- 9:21:53report. So hopefully the report will not
- 9:21:56be that much high in tokens. So I think
- 9:21:57it will be what some 3k 4k tokens. Uh it
- 9:22:0128k tokens. So I think it is sending a
- 9:22:03lots of things. We can check it out. We
- 9:22:05can actually see in the context only.
- 9:22:07Let's let's see the context everyone for
- 9:22:08our chat what exactly is going here.
- 9:22:13So uh okay lots of MCPS are there MCP
- 9:22:17token 6.7 which we can remove system
- 9:22:19tools messages is 10.8 only so that does
- 9:22:21means that yes it is not happening I
- 9:22:23think it is also loading some uh that
- 9:22:25okay memory files etc. So again overall
- 9:22:28we know that anyway when we have
- 9:22:29multiple messages right that is where we
- 9:22:30will see the best benefit but overall it
- 9:22:33is pretty helpful everyone and yeah the
- 9:22:34your separate token get run and
- 9:22:37everything is fine here. So in that case
- 9:22:40we can see it and if I do an exit
- 9:22:44I think it will stop. So this is what I
- 9:22:46love about this particular tool like
- 9:22:48anything you do here you see an action
- 9:22:49here right exit exit the CLI. So see it
- 9:22:51has been stopped now right. So now it is
- 9:22:54stopped. You can click on this. You can
- 9:22:56see each and everything. And that is how
- 9:22:57we are able to work on our agent. Let us
- 9:22:59go back. I think we have covered all the
- 9:23:01different different things. But still
- 9:23:03let me see the same. Choose sub agent
- 9:23:05scope. So manage setting organization by
- 9:23:07agent current session.
- 9:23:10Cloud agent current project all your
- 9:23:11project plug-in agent directory where
- 9:23:13plug-in is enabled. So that should not
- 9:23:14be a problem. Project sub agent.Cloud
- 9:23:16agents user sub agent. I think this we
- 9:23:17have already seen everyone. CLA defined
- 9:23:20we can define by hyphen agents as well.
- 9:23:21But I think you should create it at your
- 9:23:23own uh project level rather.
- 9:23:25uh this is the file everyone very simple
- 9:23:27name description tool models but I think
- 9:23:29we have lots of other things as well
- 9:23:30which I've told here told to you all
- 9:23:32right so we can actually copy this
- 9:23:34complete one is there approach so
- 9:23:36supported front ms I think almost all of
- 9:23:39them I have kind of explained you here
- 9:23:41but still let's see what all are there
- 9:23:43present name description tools
- 9:23:44disallowed tools model permission mode
- 9:23:46we have discussed all of them right
- 9:23:48permission mode is again default accept
- 9:23:50edits auto don't ask bypass permission
- 9:23:52or plan max turns maximum number of
- 9:23:54turns agent
- 9:23:56turns before sub agent stops. Okay.
- 9:23:58Skills skills to load into the sub agent
- 9:24:00context at startup. So that is also
- 9:24:01pretty helpful everyone. MCP servers
- 9:24:03hooks memory background set to true to
- 9:24:05always run this sub agent as a
- 9:24:07background task. Okay. So that is pretty
- 9:24:09helpful. That was what I was talking
- 9:24:10about. And we can do this everywhere.
- 9:24:12Let's try it out. Okay.
- 9:24:14So I just want to show you parally. Uh
- 9:24:17just let me add this thing up. And again
- 9:24:19that is the level of in-depth knowledge
- 9:24:20which I want all of you to have. Right.
- 9:24:22Background.
- 9:24:24Right. Uh set to small group two.
- 9:24:29So this is helpful. Uh isolation set to
- 9:24:31work three to run the sub agent in a
- 9:24:33temporary get work tree. Uh okay again.
- 9:24:35Okay. It will run in a separate manner.
- 9:24:37No worries. Color initial prompt auto
- 9:24:39submitted as the first user turn when
- 9:24:41this agent run as the main sub session
- 9:24:42agent. So should not be a problem
- 9:24:44everyone. Choosing model allias. We can
- 9:24:46easily tell full model inherit omitted
- 9:24:48if not default to inherit. Makes sense.
- 9:24:51Control sub agent capabilities available
- 9:24:52tools. Okay. Okay. So I think we have
- 9:24:54kind of understood this much in depth.
- 9:24:56Permission mode like now it is
- 9:24:57explaining all these things, right?
- 9:24:58Enable persistent memory. Then uh
- 9:25:01conditional rules with hooks, right? So
- 9:25:03again hooks pre-tool use matches bash
- 9:25:06hooks. So we have learned about our
- 9:25:08hooks everyone. So it is just giving
- 9:25:10that conditional use. So again it should
- 9:25:12not that your agent is having the right
- 9:25:13access but it is still deleting each and
- 9:25:15everything right. So makes sense right?
- 9:25:16It makes a lot of sense now that and you
- 9:25:18just think of it like another cloud
- 9:25:20session. So all the things which I think
- 9:25:21we were having in our own cloud code it
- 9:25:23is having arrangement right then define
- 9:25:25hook source of agent something which
- 9:25:26again the best part with cloud code and
- 9:25:29rather with AI in default I was having a
- 9:25:31discussion with someone that how these
- 9:25:33configuration files are now very easy to
- 9:25:34make earlier like we have to actually
- 9:25:36spend days I remember I spent two days
- 9:25:38in writing a terraform file so now it is
- 9:25:41very simple right so now everyone I
- 9:25:43think we can work with sub aent
- 9:25:44understanding the delegation so again I
- 9:25:46think I've discussed and like kind of
- 9:25:50taught you each and everything in depth.
- 9:25:51The idea was that I have read through
- 9:25:52all these documentation and I get the
- 9:25:54most part out with the diagrams and
- 9:25:55everything. So highly suggested still to
- 9:25:57run the same right I'm still showing you
- 9:25:59the background part because I forget
- 9:26:00about that and there are some examples
- 9:26:02of agents as well but again we can
- 9:26:03create them ourself as well right so now
- 9:26:05what I will do everyone pay attention uh
- 9:26:07this is true now right
- 9:26:10so true now I will just start another
- 9:26:14cloud session I will go to my agent flow
- 9:26:18uh it should move in a bit as I said so
- 9:26:20I will say that
- 9:26:22uh use
- 9:26:25at the code
- 9:26:28reviewer agent. So see everyone this is
- 9:26:30where like we are able to see we have
- 9:26:32made the change in the project one.
- 9:26:33Okay. So very very smartly you have to
- 9:26:36many of you would be calling agent here
- 9:26:37but see we have done the change in our
- 9:26:41project one here. That is where we are
- 9:26:42having the back. Okay.
- 9:26:45Uh my bad. Okay. So we did in the code
- 9:26:47review agent. Okay. So no worries. You
- 9:26:49can just copy this and paste it here.
- 9:26:52Okay.
- 9:26:54Now uh okay background true good thing
- 9:26:59that it corrected my spelling okay so
- 9:27:02that file might not be okay let me let
- 9:27:05me close the session because again I
- 9:27:06want to start it again so that agent
- 9:27:08gets loaded from scratch
- 9:27:10pl now I can say use code okay use at
- 9:27:14the rate code quality
- 9:27:17sub aent of project
- 9:27:20to and run it on I will just select the
- 9:27:24easy folder. This time let's select the
- 9:27:25Prisma folder / Prisma folder and U
- 9:27:31parallelly U parallelly
- 9:27:36just create
- 9:27:38some five test users. Okay, first call
- 9:27:43the sub agent and then start your work
- 9:27:49so we can take
- 9:27:52benefit
- 9:27:54of async. Now again I'm just making sure
- 9:27:56that since I'm not uh I forget I tried
- 9:27:58it out earlier. I'm just showing you
- 9:27:59that how it will be running. So
- 9:28:00specifically just asking but I'm pretty
- 9:28:02sure that with background it will run.
- 9:28:03So let's see this everyone. Now our
- 9:28:05agent is there.
- 9:28:07It is starting up and seems like okay I
- 9:28:10can say yes here.
- 9:28:12So okay has it completed the work? No.
- 9:28:17Uh uh okay 1 minute.
- 9:28:19Now I'll complete a seed script. So
- 9:28:21again see I think it is working. Okay.
- 9:28:23Backgrounded agent to manage it is it is
- 9:28:25parally working on this thing. I think
- 9:28:27when it works uh I I feel that okay what
- 9:28:29has happened here is that everyone I
- 9:28:31could just say that do a yes thing. Okay
- 9:28:33wrote Prisma but parally it is working.
- 9:28:35But I think here is where your uh this
- 9:28:38visualization tool is not able to have
- 9:28:40the hooks configured. Uh the idea is
- 9:28:42that it is running in the background. It
- 9:28:43is running in the background. But yeah,
- 9:28:45see it is like it is not able to pick it
- 9:28:47up. But if we will see code quality
- 9:28:49reviewer agent is working. It has still
- 9:28:51not presented us with the report but our
- 9:28:55agent it has given us the users right.
- 9:28:57So if you will see our agent has already
- 9:28:59given us the users. So that is the
- 9:29:00benefit everyone. Now see agent review
- 9:29:02code quality completed. Now it is giving
- 9:29:04us with the complete report right. So
- 9:29:05this is where I think this visualization
- 9:29:07tool failed but that doesn't mean if you
- 9:29:09see the timeline I think review Prisma
- 9:29:12it is not able to yeah I think the hooks
- 9:29:14kind of is not configured for this
- 9:29:15parallel run because yeah how many
- 9:29:17people will be doing and going into this
- 9:29:18much depth right so that is the whole
- 9:29:20idea now we will see would you like to
- 9:29:21implement these changes and we can
- 9:29:22easily ask it that hey I want that you
- 9:29:25uh do it or maybe don't do it all those
- 9:29:27level kind of things we can do right so
- 9:29:30yeah I think that is also pretty helpful
- 9:29:31everyone now let's go back and quickly
- 9:29:34just see few more things up as well. We
- 9:29:36can do the hoops and everything. I think
- 9:29:38one more thing which I want to show you.
- 9:29:40Yeah, these are uh common pattern
- 9:29:43isolate high volume operation. One of
- 9:29:44the most effective uses of sub agent is
- 9:29:46isolating operation that produce large
- 9:29:48amount of output. So it is saying that
- 9:29:50isolate them. Running outputs, running
- 9:29:52test, fetching documentation or
- 9:29:53processing log files can consume
- 9:29:54significant context. By delegating those
- 9:29:57to a sub agent, the verbose output stays
- 9:29:58in the sub aent context while only the
- 9:30:00relevant submit returns to the agent.
- 9:30:03Parally we can run it everyone right
- 9:30:04chain sub agent for multi-step workflow
- 9:30:06ask plot to use sub agent in sequence
- 9:30:08each sub aent completed task and return
- 9:30:10result to clot which then passes
- 9:30:12relevant context to the next sub agent I
- 9:30:13think this is very easy to understand
- 9:30:15right I could run a code uh let's say
- 9:30:18explorer agent then based on that code
- 9:30:20explore I could call my code reviewer
- 9:30:22code improver agent right so that is the
- 9:30:23whole idea choose between sub agent and
- 9:30:25main conversation so this you can go
- 9:30:27through right your sub agent I think we
- 9:30:28have kind of done that right skills
- 9:30:30everything we have done in dem so this
- 9:30:32should This thing should also be clear.
- 9:30:33I also gave this very nice diagram here
- 9:30:35as well. So this kind of summarizes each
- 9:30:37and everything for you right. So again
- 9:30:39example workflow what exactly happens
- 9:30:41and I would like to just talk a little
- 9:30:44bit a little bit on the multiple
- 9:30:45parallel runs everyone. So if you will
- 9:30:47see here like again uh what exactly
- 9:30:49happen is that you should make sure that
- 9:30:51you're dividing your task very nicely.
- 9:30:52So again coming up from the initial
- 9:30:54analogy which we discussed if I'm hiring
- 9:30:56this one person but again I'm giving it
- 9:30:58multiple tasks that hey go through my
- 9:31:00emails craft a reply search for what is
- 9:31:03there search for the update send me an
- 9:31:04email okay go through my calendar as
- 9:31:07well that is not going to be the best
- 9:31:08approach right so that is where everyone
- 9:31:10it is suggested that always and always
- 9:31:12if you unnecessarily try to keep on
- 9:31:14having let's say multiple agents right
- 9:31:16that unnecessary calling multiple agent
- 9:31:19is not going to help please make sure
- 9:31:20that your agents are very simple you are
- 9:31:22defining the task in a very very see
- 9:31:25keep task small keep output short okay
- 9:31:26okay so parallel if you're running
- 9:31:28multiple agents and you feel that hey
- 9:31:29everything will be fine it might not be
- 9:31:31plus you might also need to see that hey
- 9:31:33do they need to be run in a sequential
- 9:31:35manner right and again the problem here
- 9:31:37is also that if let's say your agent
- 9:31:40starts right if you're running 10 agents
- 9:31:41in panda there is some inherent cost uh
- 9:31:44sorry inherent error in your initial
- 9:31:45codebase that will also propagate right
- 9:31:47so that is something which we also need
- 9:31:48to take care of so again the reason I'm
- 9:31:50specifically asking is that uh I have
- 9:31:52seen so many people that the second they
- 9:31:54learn about this sub agent thing they
- 9:31:56just uh try to run multiple agents and
- 9:31:59feel that hey I will get the best output
- 9:32:00that is not the case please keep your
- 9:32:02task very small unnecessarily don't try
- 9:32:05to parallelize operation just see in in
- 9:32:07sequence as well like just like how we
- 9:32:08work in work in an office right someone
- 9:32:10does the work he presents a report and
- 9:32:12then that report can be used by others
- 9:32:13so that is the whole idea everyone and
- 9:32:15that is where I think this is useful now
- 9:32:17the last thing which I would like to
- 9:32:18talk about like I think which will
- 9:32:19complete each and everything here Okay.
- 9:32:21Is it running still?
- 9:32:23I can just press exit. Right. So that it
- 9:32:25is. Yeah. Great. Uh last thing everyone
- 9:32:29is something a little bit about the
- 9:32:30memory, right? So I think it was here as
- 9:32:33well. But I can explain you directly
- 9:32:34because I read through the same.
- 9:32:37Yeah. So what exactly happens everyone?
- 9:32:39If you will go in here, I think it must
- 9:32:40have created the memory folder as
- 9:32:42created one dot claude.
- 9:32:45Uh okay. This is this the one
- 9:32:48it agent memory. Yeah. So see what
- 9:32:52happened everyone is that uh okay so it
- 9:32:54has not created in here but we could ask
- 9:32:56the same let me go back and see if it
- 9:32:57has stated when it ran for the first one
- 9:33:01uh no I think it is not so I will
- 9:33:04explain you exactly what happens so most
- 9:33:06sub agent okay they start fresh every
- 9:33:08time that is by design right clean
- 9:33:09context clean thinking but for some
- 9:33:11specialist sub agent memory is actually
- 9:33:13like a superpower if you have explained
- 9:33:15something and that person has done the
- 9:33:16work right so if you have told that
- 9:33:18agent that hey don't please reply to any
- 9:33:20promotion emails maybe that is not in
- 9:33:22its uh let's say uh overall system
- 9:33:25prompt that is your complete explanation
- 9:33:28of the agent right which you can make in
- 9:33:30so much depth and overall let's say if
- 9:33:32it has done something that hey I read
- 9:33:34100 emails yesterday it can create a
- 9:33:36memory level file as well so what I can
- 9:33:37do everyone I think I can go in the okay
- 9:33:41we have not we have added memory project
- 9:33:42here code quality reviewer project code
- 9:33:45quality reviewer at a project level okay
- 9:33:48so not really sure why it is not
- 9:33:49creating the memory part. It should have
- 9:33:51done it here. Memory uh so see project
- 9:33:55the sub engine knowledge is project
- 9:33:56specific and sharable via version
- 9:33:57control. When memory is enabled the
- 9:33:59subent system prompts instruction or
- 9:34:00reading and everything. So again the
- 9:34:02idea is pretty simple everyone that it
- 9:34:03will try to make sure that it creates
- 9:34:05this memory file and it is also able to
- 9:34:08update the same so that next time when
- 9:34:09it is getting invoked it is having some
- 9:34:11idea as well just like your intern how
- 9:34:12you if you have maybe scolded him
- 9:34:14yesterday or told him that hey this is
- 9:34:16how you have to do the stuff it is able
- 9:34:17to take the complete benefit of that. So
- 9:34:19that is where this memory thing comes
- 9:34:20into picture and normally your uh agent
- 9:34:24sorry your project or at a user level
- 9:34:25also you can have the memory maintained.
- 9:34:27So memory is very simple that whatever
- 9:34:28you have done a kind of a summarization
- 9:34:31and stuff of that. So that is where it
- 9:34:32is pretty helpful everyone and I will
- 9:34:34suggest that if your agent is doing a
- 9:34:36similar kind of a work etc then you can
- 9:34:37have the memory open because it will
- 9:34:38save that and keep on learning and
- 9:34:40getting better with that just like how
- 9:34:41we do the same right. So that is going
- 9:34:43to be very very helpful and that is of
- 9:34:45course also a good practice like memory
- 9:34:47is kind of that only like we kind of
- 9:34:49created a change log.md etc but clot can
- 9:34:51also handle the memory part with you and
- 9:34:53then again agent at a because agent is
- 9:34:55again a separate cloud code session or a
- 9:34:57separate subordinate right so that can
- 9:34:59also easily just uh just easily control
- 9:35:03or work on creating its own memory right
- 9:35:06so with that everyone I think we have
- 9:35:07again covered each and everything in
- 9:35:10depth like rather more than required
- 9:35:13But still when to use sub agent when to
- 9:35:15not. So task need isolated context use
- 9:35:17sub agent. Task is self-contained no
- 9:35:18back and forth needed use sub agent. You
- 9:35:20want cheaper model for routine work or
- 9:35:22maybe expensive as well. Use sub agent
- 9:35:24parallel work independent task great.
- 9:35:26Task is small four line of grip use a
- 9:35:28skill. Now why will you do that task
- 9:35:29requires back and forth with you? Use a
- 9:35:31skill again because again agents start
- 9:35:32in a separate session. Right? You need
- 9:35:34agents to talk to each other. Use agent
- 9:35:36team which is going to be the next
- 9:35:37topic. Two agent agitating the same
- 9:35:39fund. Never as I told you in the
- 9:35:41starting that when multiple sub aents
- 9:35:43work in paddle everyone something like
- 9:35:44this they are not connected with each
- 9:35:47other so if they are editing the same
- 9:35:48file it will surely be disastrous
- 9:35:51because they will not be having the
- 9:35:52context that then you can do a
- 9:35:53sequential one right so that is the
- 9:35:54benefit everyone that is how you should
- 9:35:56also focus on the same so now everyone
- 9:35:58before we move to the next topic which
- 9:36:00is your teams uh I would just like to
- 9:36:02show you how parallel widgets can also
- 9:36:05work right because though I've discussed
- 9:36:07a lot in depth about the same I feel We
- 9:36:09should try to see the same as well in uh
- 9:36:11theory. Uh in practical we had already
- 9:36:13done in theory. So let me do one thing.
- 9:36:16Let me open a new VS code. Let me open
- 9:36:19uh right from my desktop
- 9:36:22task manager app. So you will see
- 9:36:24everyone all is present here. I've
- 9:36:27trusted the folder and again just it's a
- 9:36:29empty folder just what I have done so as
- 9:36:31to quickly expedite the whole thing. All
- 9:36:32of these things we have learned and
- 9:36:34mastered. This is a clot. MD right which
- 9:36:35is again having all the details and
- 9:36:37everything. We will be building the
- 9:36:38same. We are having some skills. Uh so
- 9:36:41skill is build app which I will just
- 9:36:42call right. Build a complete quick task
- 9:36:44app. Pre-flight check cloud empty exist
- 9:36:46and is readable. No source directory
- 9:36:48exist. If source exist, pipeline okay
- 9:36:50plan planner agent code logic code
- 9:36:52writer agent service layer test and then
- 9:36:55quality pass completion. It will tell
- 9:36:57each and everything. We are having hooks
- 9:36:58as well. Okay. So to auto format and to
- 9:37:00session log the session and finally we
- 9:37:03are having these five agents. Okay. code
- 9:37:04writer, planner, quality improver,
- 9:37:08service writer and test writer. Okay. So
- 9:37:10what I will do everyone now let me first
- 9:37:13check each and every one of them should
- 9:37:14be having
- 9:37:17haiku as a model. The reason is pretty
- 9:37:18simple like uh less tokens. Okay. So
- 9:37:22that is why I'm just changing all of
- 9:37:23them to haiku for the time being.
- 9:37:26And again you will see that how each of
- 9:37:27them are having all the things which we
- 9:37:29have learned as well. Right? So now
- 9:37:32everyone what I will just do again all
- 9:37:35of the things are right in front of you.
- 9:37:36We will just start a terminal. So let me
- 9:37:38view and go terminal
- 9:37:41in this terminal everyone right what we
- 9:37:43can do now is we can just open claude.
- 9:37:46So it will be starting in this
- 9:37:48directory. Uh yes I trust this folder.
- 9:37:50Uh again asking because it is going to
- 9:37:51be start I could just rename it uh task
- 9:37:56manager app. So again we will be
- 9:37:58building this complete app. It is like a
- 9:38:00mini project. Okay. Now again you will
- 9:38:01be getting all of this in the GitHub. So
- 9:38:03please make sure that you go through the
- 9:38:04same. I'm not reading these files up. We
- 9:38:06kind of have done each and everything.
- 9:38:08So that should also be pretty simple and
- 9:38:09I will highly suggest because again I
- 9:38:10have used all the approaches in which we
- 9:38:13have discussed each and everything.
- 9:38:15Right? So now what I will do everyone I
- 9:38:17will just do slash
- 9:38:19and I will just call this skill. Skill
- 9:38:22was build up. Slash skill buildup. It is
- 9:38:26having each and everything. Okay. So
- 9:38:28just a skill which helps you to build
- 9:38:29these things up with all the approaches.
- 9:38:31So I will start it up. I will also have
- 9:38:33the agent flow open agent flow
- 9:38:37and yeah I think in a bit we will see
- 9:38:39each and everything happening. So see
- 9:38:40first the planning phase everyone. So a
- 9:38:42planner agent gets started up right. Uh
- 9:38:44we can again see and the idea is pretty
- 9:38:46simple. It will read everything. Uh so
- 9:38:48highly suggested that please go through
- 9:38:49the same before you see this part.
- 9:38:51Download the same on the GitHub and then
- 9:38:52read the same. So the things will be a
- 9:38:54lot more clear. just to save a little
- 9:38:55bit of time because again we have to do
- 9:38:57a major project as well. I'm just making
- 9:38:58sure that here should be everything
- 9:39:00clear to you. So processing run/install
- 9:39:03slack app to use plot in slack. Okay, I
- 9:39:05think it is giving us some new update so
- 9:39:07it should be fine
- 9:39:10but otherwise also we can easily just
- 9:39:11connect slack app right and again it
- 9:39:14will just do the complete planning
- 9:39:16everyone if you will see each and
- 9:39:17everything is kind of mentioned here. If
- 9:39:18I show you the planner agent each
- 9:39:20project requirement from cloud empty
- 9:39:22produces a detail implementation plan
- 9:39:24efforts high disallowed tools everything
- 9:39:26now again it cannot be started or run in
- 9:39:29the background because before that it
- 9:39:30will be all bad right so it is doing
- 9:39:32some changes let me do yes
- 9:39:36okay so seems like everything is kind of
- 9:39:38once it gives the uh give the thing and
- 9:39:40we will be having the activity log as
- 9:39:41well okay so everyone we have done this
- 9:39:42as well right very very important that
- 9:39:44what all exactly is happening could have
- 9:39:45created the memory etc so see it is
- 9:39:47doing read plan empty. This is the plan
- 9:39:50empty everyone. Now I could do uh do you
- 9:39:53want to make init? Do you make want to
- 9:39:54make edit in this init.py? Yes, we can
- 9:39:56do that. Let a very good idea to go back
- 9:39:58to our agent flow right because yes uh
- 9:40:02two agents have started I guess. So
- 9:40:04apparently do I do it? Yes, I think
- 9:40:05agent flow is very very important. So
- 9:40:07code writer agent is working everyone.
- 9:40:09Let us do a quick of yes things. I hope
- 9:40:12I do have the usage but should be fine.
- 9:40:14No wor ID. Yes.
- 9:40:19So now it is starting me each and
- 9:40:21everything. Uh now the best part though
- 9:40:23you are seeing the totally fine final
- 9:40:25thing in the end everyone uh like sorry
- 9:40:29in the starting I have done that heavy
- 9:40:30lifting part where I have explained how
- 9:40:31the agents are how the use cases. So
- 9:40:33please go through the same again
- 9:40:34repeating it again and again else you
- 9:40:36will say that hey this is all happening
- 9:40:38but what you have done I have done that
- 9:40:39difficult part and again in the future I
- 9:40:42will also make more projects which will
- 9:40:43be specdriven kind of a development
- 9:40:45where step by step we will be writing
- 9:40:47the document and that document will do
- 9:40:49the development and everything. So again
- 9:40:51by coding but in a more mature manner.
- 9:40:53Okay.
- 9:40:55So topsc
- 9:40:57it is doing this thing everyone let it
- 9:40:59run install slack app. It is just now
- 9:41:01maintaining this as a suggestion.
- 9:41:04So perfect. Let me write the files which
- 9:41:06look good. Let me write one final
- 9:41:07comprehensive test. Now again claude
- 9:41:09code it writer will also be initially
- 9:41:10single agent because we cannot have
- 9:41:14multiple files being written right
- 9:41:16either you have the full thing divided
- 9:41:18that hey this is my source.app this is
- 9:41:20my source user. You have a microservices
- 9:41:22architecture where you have different
- 9:41:24different services. So that is something
- 9:41:25which can run as well. everyone.
- 9:41:28Uh I should have a hook as well to avoid
- 9:41:31like any thing running but hopefully it
- 9:41:34will not delete anything right. So see
- 9:41:35it has now worked everyone service layer
- 9:41:37implementation service writer right so
- 9:41:39this particular one right is a service
- 9:41:42layer for a python project clim after
- 9:41:44code writer has completed the core logic
- 9:41:46and then I think uh it after that test
- 9:41:48writer and all these things came up
- 9:41:50right
- 9:41:52so this is exactly how we do it everyone
- 9:41:54this is very helpful this visualization
- 9:41:55let me stop close this and we can see
- 9:41:58the same
- 9:41:59uh I can allow it so again it writes it
- 9:42:03down it comes back my Main one is having
- 9:42:0517k tokens. It is having 25k tokens. It
- 9:42:08is still 1 million context. That is why
- 9:42:10it is,000k tokens. That also makes a lot
- 9:42:12of sense,
- 9:42:14right? Okay. Right now I'm not I'm
- 9:42:16specifically not done this allow every
- 9:42:18time. You know that it is very easy but
- 9:42:19the idea is pretty simple. We want to
- 9:42:21make sure that it is do happening in
- 9:42:23front of us. Right. And also unlike
- 9:42:25another these small videos, I'm not just
- 9:42:26jumping anything. I'm keeping it like
- 9:42:28this.
- 9:42:33some error I think came uh bash but yeah
- 9:42:35that is how you do white coding right
- 9:42:37because now the agents are created and
- 9:42:39they are kind of easily understood you
- 9:42:41have to just handle that it doesn't
- 9:42:43delete anything that is a requirement
- 9:42:45but yes yes so I think it is just now
- 9:42:46trying to run it in the terminal python
- 9:42:48source cli add another task priority
- 9:42:50okay so it is adding the task as well
- 9:42:58let me let me do it okay So no worries
- 9:43:02trying to run something. Trying to run
- 9:43:04some bash command. As we can see Python
- 9:43:05m Python this is running
- 9:43:08actually has given the files. Now it is
- 9:43:10trying to run it and see if error is
- 9:43:11coming. But yeah this one is pretty good
- 9:43:13right? We are able to see that. Yeah it
- 9:43:14is now trying to run this particular
- 9:43:16command. So at least I am also short.
- 9:43:18See bash failed. So it is running this
- 9:43:21up failed invalid priority bash ls ls.
- 9:43:25So it is not reading the files
- 9:43:28file structure of the file. Let me
- 9:43:29verify the line. So that is also a very
- 9:43:31good thing everyone. Here you have don't
- 9:43:32have to read it like this. It is right
- 9:43:34now in front of you. Okay. So now let's
- 9:43:35successfully verify. Let me run one
- 9:43:36final comprehensive test.
- 9:43:40So this will happen.
- 9:43:42Yes.
- 9:43:45G is just getting this thing up. No
- 9:43:47worries.
- 9:43:51I just hope that it doesn't run out of
- 9:43:53my local because I have to cover teams
- 9:43:54as well. But no worries. Let me quickly
- 9:43:56see we connected with the different ID
- 9:43:59or I will also show you that how you can
- 9:44:01enable extra cost that might also be
- 9:44:02helpful to many of you right so cloud
- 9:44:05has an extra cost like I have loaded
- 9:44:06some dollars there already so I will
- 9:44:08show that as well because sometime it
- 9:44:09will happen that if your usage is over
- 9:44:11you want to still in a critical office
- 9:44:14setup or you are doing some office work
- 9:44:15or client work as well then there is a
- 9:44:17way through which you can have like of
- 9:44:18course money solves everything but yes I
- 9:44:20will show you that as well okay
- 9:44:23rather I can show you right now ply it
- 9:44:25happens because we are discussing on
- 9:44:26this uh I should have done this allow
- 9:44:28all but no worries cloud AI if you go on
- 9:44:31this settings everyone and you go on
- 9:44:33usage right in here you will see that
- 9:44:36how I have $20 extra now I have the
- 9:44:38extra usage of once this fills up right
- 9:44:40once this fills up to 100% then up to
- 9:44:43this 4 hours like let's say if I do
- 9:44:45something and it gets filled up by in
- 9:44:46the next 1 hour so then for the next 3
- 9:44:49hours 15 minutes you will not be able to
- 9:44:50use clot you it will ask that hey wait
- 9:44:52and of course it gets filled up for the
- 9:44:54full weak then you will also not be able
- 9:44:56to use it right. So in that case you can
- 9:44:57enable this extra usage. Again it
- 9:44:59charges you a lot because this way it is
- 9:45:01very straightforward and easy and cost
- 9:45:04effective as well. But when you go for
- 9:45:06this it will be charging you right, left
- 9:45:08and center based on your tokens. So but
- 9:45:11yeah there is some option as well right
- 9:45:14now. If I show you if I just open a
- 9:45:16claude setup here everyone cla
- 9:45:20I think yeah see extra user configure
- 9:45:22extra usage. The second I clicked on
- 9:45:23this uh keep using cloud value limit
- 9:45:26card on visa by turning on you agree to
- 9:45:28the term usage. So I'm just escaping it.
- 9:45:30Okay, because it is connected to my card
- 9:45:32now normally it will not get clear
- 9:45:33altogether but yes my bad thing
- 9:45:39won't state here it is saying fixed
- 9:45:40what's new fixed co authentication
- 9:45:42failing with 401 data and entropic
- 9:45:44bedrock service tier. So yeah I think
- 9:45:46they'll keep on improing with everything
- 9:45:47right. So let it work and again uh most
- 9:45:51probably you will be able to easily uh
- 9:45:53recreate the same thing because I'm
- 9:45:54giving you all the files
- 9:45:57but lots of things that is running right
- 9:45:59let me create a final checklist of all
- 9:46:01the deliverables
- 9:46:0330k tokens this is still on 17k tokens
- 9:46:09yes
- 9:46:11so let me quickly go through it seems
- 9:46:14like it has done the work everyone just
- 9:46:15like when I said a service writer agent
- 9:46:17it has done the
- 9:46:1831k tokens. Now of course not all the
- 9:46:20tokens have traveled here. Found 18 new
- 9:46:22diagnostic issues everything in a bit
- 9:46:24like see it has stated everything in a
- 9:46:25bit it has done the test writer agent
- 9:46:27now as well right so it is doing a test
- 9:46:29writer thing. Okay I think I forget to
- 9:46:32do that run it in parallel but should be
- 9:46:33fine. Uh what all agents have code
- 9:46:35writer run planner done quality improver
- 9:46:38test writer. Okay so no worries
- 9:46:44but again I hope you get the idea like
- 9:46:45how we have to do the presentation and
- 9:46:46everything right.
- 9:46:50should be fine. I could do one more
- 9:46:52thing. Uh code quality improver right.
- 9:46:55So he is writing the test. What I will
- 9:46:57do everyone like again you can try it
- 9:46:58out and uh it will work. No worries. I
- 9:47:00will just stop it and I will ask it. Can
- 9:47:03you please run?
- 9:47:06Okay. So one more thing when I have
- 9:47:08stopped it
- 9:47:10it is
- 9:47:12I think still working. Uh test agent is
- 9:47:14still active. So it is still working
- 9:47:16because I have stopped the main agent.
- 9:47:18Now the test agent is also killed. See
- 9:47:20so one more thing everyone very very
- 9:47:21important you have to do that I do
- 9:47:24control C. So in Windows there is a
- 9:47:26button control. You might have to stop
- 9:47:28it with other thing but when you stop I
- 9:47:30think the main agent stopped first. The
- 9:47:32other one was still working. So if you
- 9:47:34have parallel agents maybe that's a good
- 9:47:35approach right? run the
- 9:47:38test writer agent
- 9:47:42and
- 9:47:44quality improver
- 9:47:46quality improver
- 9:47:49agent in parallel. Uh one more thing
- 9:47:51everyone in this line that again these
- 9:47:53are all small clot sessions so you can
- 9:47:55have the skill etc as well. Uh okay I
- 9:47:57think it is not configured to show them
- 9:47:59to all together both see but see both of
- 9:48:02them are running in parallel right we
- 9:48:03can see the color as well but this is
- 9:48:06where it is failing right so I hope you
- 9:48:07get the idea two local agents work for 6
- 9:48:10seconds so this one has completed
- 9:48:11because it didn't have any work but two
- 9:48:12local agents are still running but that
- 9:48:15is where I think our main one failed but
- 9:48:16yeah we can see it here right so they
- 9:48:20are running but yeah so this hook it I
- 9:48:23think handles just a single agent so
- 9:48:24that is why we are not able to see it
- 9:48:26Right. So lots of right because we are
- 9:48:29doing everything rightly. Okay. But yeah
- 9:48:31I think this will work everyone. Now
- 9:48:33test writer and quality improve agent
- 9:48:35are running in parallel orchestrator. So
- 9:48:37it is just catching the quality prover
- 9:48:40one. Okay for the timing I will stop it
- 9:48:43again. First stop nothing happened.
- 9:48:45Second stop then third stop and now all
- 9:48:47of them are stopped. Okay. So if three
- 9:48:49agents three times stop. So great. Let
- 9:48:52me see the usage.
- 9:48:55It is very close to completion 72%.
- 9:48:58Okay. Uh again you you can run it. I
- 9:49:02again it will be a just simple app. I
- 9:49:03just wanted to show you how to stop
- 9:49:04these agents how they run in parallel.
- 9:49:07So yes you will be getting this
- 9:49:08completely. Please use the same everyone
- 9:49:10and create your project. I just want to
- 9:49:12make sure that again uh I am able to use
- 9:49:15what I have for the timing this current
- 9:49:16session thing. So I I can record the
- 9:49:18team as well. But yes you when you will
- 9:49:20learn the same from your subscription it
- 9:49:22will all happen pretty nicely. So you do
- 9:49:24not have to worry about anything. Okay.
- 9:49:25So that is the whole case. Now let me
- 9:49:26get out of this.
- 9:49:28And in case this gets a lot bigger, we
- 9:49:30can have the project separately as well.
- 9:49:31But it should be fine.
- 9:49:36Start a new session with empty context.
- 9:49:38So I can just stop it anyways. Right.
- 9:49:39See this are completely empty context
- 9:49:41session everyone. And yeah, I think this
- 9:49:43completes our sub agent 71 rather than
- 9:49:45in a lot of depth much much more than
- 9:49:47you will find anywhere in a very visual
- 9:49:49manner as well covering each and
- 9:49:51everything rather going through back to
- 9:49:53the sync async manner showcase all these
- 9:49:55things we have covered in depth and that
- 9:49:56is a level of understanding which I want
- 9:49:58all of you to have. Now you have the
- 9:49:59anatomy file agents in cloud code
- 9:50:02parallel complexity when to use them
- 9:50:03when to not right. So with this all
- 9:50:05thing clear everyone now we will jump
- 9:50:06onto the agent teams which is a very
- 9:50:08small but important topic where now the
- 9:50:09whole idea is that how can we run uh
- 9:50:13agents but they will be connecting with
- 9:50:15each other as well. So instead of and
- 9:50:16again I I forget the analogy which I
- 9:50:18should have mentioned in the starting so
- 9:50:19I will write it down here so that you
- 9:50:21will get the file. They are all
- 9:50:23freelancers everyone right so they are
- 9:50:25not able to connect to each other they
- 9:50:26are all freelancers
- 9:50:28not a team okay so the idea is very
- 9:50:32simple when you are giving your work to
- 9:50:34a freelancer he is doing it in silos
- 9:50:36he's not having any connection with
- 9:50:37anyone okay that is how this works so
- 9:50:40agents sub agents are the subordinate
- 9:50:42agents they are your freelancers agent
- 9:50:44teams as the agent will be teams where
- 9:50:46teams can communicate with each other
- 9:50:47right so I will have the code reviewer
- 9:50:49code all that agent of course they will
- 9:50:50have lots of context etc but yeah that
- 9:50:52is how the basic idea of the team is
- 9:50:54okay. So with that everyone, I'm pretty
- 9:50:55sure that this is clear. Now please make
- 9:50:57sure that you are revising each and
- 9:50:59everything because I've covered the same
- 9:51:00in so much depth. If you're liking the
- 9:51:02explanation again, please make sure that
- 9:51:03you like the video. Leave a comment.
- 9:51:05Okay, I hope you like this approach of
- 9:51:07visualizing everything each and
- 9:51:08everything as well and also subscribe to
- 9:51:10the channel so that you don't miss out
- 9:51:12on future projects and everything. Okay,
- 9:51:14now let's meet in the next part where we
- 9:51:16will be covering about the claw
- 9:51:19agent teams in depth. Okay, so great
- 9:51:21everyone. Now let's jump on to the next
- 9:51:23topic and that is very very exciting uh
- 9:51:26engineering feed and I think everything.
- 9:51:28So it is teams in cloud code or the
- 9:51:30agent teams rather in cloud code. Now
- 9:51:32I've written this in very like
- 9:51:35noticeable red color that it is a still
- 9:51:37an experimental feature right. So if you
- 9:51:39go to the cloud official documentation
- 9:51:42just after creating customs of agent the
- 9:51:44next part is running agent team. So
- 9:51:45again coordinate multiple cloud good
- 9:51:46instances working together as a team
- 9:51:48with share task inter aent messaging and
- 9:51:51centralized management. So uh again like
- 9:51:54I will share a story as well but first
- 9:51:56let's try to quickly get the idea clear
- 9:51:57though I have kind of explained in the
- 9:51:59last part as well. So as of now everyone
- 9:52:01what you have to think that uh when you
- 9:52:02were hiring or when you were basically
- 9:52:04as a manager hiring these people they
- 9:52:06were interns right they were like
- 9:52:08freelancers they were not connecting
- 9:52:10with each other you used to give them a
- 9:52:11task they can work in parallel but at
- 9:52:14the same [snorts] time they don't uh
- 9:52:16they are not aware about each other okay
- 9:52:18so that is again not exactly how in real
- 9:52:20life we operate in real life of course
- 9:52:23we are having multiple ways or the
- 9:52:24better approaches overall in which we do
- 9:52:26the work and one of the best way of
- 9:52:28doing that everyone of course is by
- 9:52:30doing it by uh with collaboration. So we
- 9:52:32can have a manager and inside it let's
- 9:52:34say let's talk about any team in any
- 9:52:36particular uh department right be it
- 9:52:38marketing sales engineering you have a
- 9:52:40manager and under him like there are
- 9:52:41people who are at the same level or
- 9:52:43maybe like multiple level as well
- 9:52:44manager can have SD3 SD2 SD1s under him
- 9:52:47and then they are communicating and
- 9:52:48everything right so they are working
- 9:52:49badly with uh each other right but at
- 9:52:52the same time they are connecting as
- 9:52:53well so as of now they it was not
- 9:52:55allowed for this sales sales person to
- 9:52:58connect with intern like this okay so
- 9:52:59this was a big no no but now everyone
- 9:53:01Even what has happened with agent team
- 9:53:03like this is the main idea
- 9:53:05earlier they all were connected to main
- 9:53:08session they cannot talk to each other
- 9:53:10okay so anything which we are having
- 9:53:12right they cannot just connect with each
- 9:53:14other but in this everyone a lead is
- 9:53:16there right and these people they can
- 9:53:19share their all the things so ideally
- 9:53:21how it happens is that it creates a task
- 9:53:22list after that task list is created
- 9:53:25then we are having multiple agents spawn
- 9:53:27up or like you can again think of lord
- 9:53:29code session only and then they work on
- 9:53:32the task in a real sense. Okay. And the
- 9:53:34best best I think uh like overall proof
- 9:53:38of work was I hope all of you are aware
- 9:53:40about this clause C compiler.
- 9:53:43Let's go to news and yeah see building a
- 9:53:48C compiler with a team of parallel
- 9:53:51clots. Now that was like the very very
- 9:53:53amazing feat right everyone. So what
- 9:53:55happened in here? two stress tests with
- 9:53:58agent teams multiple cloud code
- 9:54:00instances work in pandler on a shared
- 9:54:02codebase without active human
- 9:54:03intervention the approach dramatically
- 9:54:05expand the scope of what's achievable
- 9:54:06with LLM agent so again it is not a easy
- 9:54:09thing to do in that like to understand
- 9:54:11it again they have created something
- 9:54:12with proper engineering proper uh
- 9:54:16resource management proper coding right
- 9:54:18they would have created the graph where
- 9:54:20information are getting saved and
- 9:54:21everything uh I kind of have like
- 9:54:23learned a little bit about its
- 9:54:25architecture okay not a lot in depth
- 9:54:26Because again it was a little complex
- 9:54:28but the idea was that yes that that that
- 9:54:30is where they have used a proper
- 9:54:31engineering part everyone creating
- 9:54:32graphs and everything so that these
- 9:54:34information can be shared how are they
- 9:54:35spawned creating a complete task list
- 9:54:37and using 16 agents writing a rust based
- 9:54:41C compiler from scratch capable of
- 9:54:43compiling the Linux kernel it is a very
- 9:54:45very huge feed everyone right uh if you
- 9:54:48think about this this is not some basic
- 9:54:49task it is actually writing a complete
- 9:54:51Linux kernel like over nearly 2,000 claw
- 9:54:54code session and $20,000 in API cost. So
- 9:54:58it is somewhere around in India I think
- 9:55:0018 lakhs depending on the exchange rate.
- 9:55:02The agent team produced a one lakh line
- 9:55:04compiler that can build Linux 6.9 on x86
- 9:55:07a sq. Believe me this has been like an
- 9:55:11amazing feat like if you're thinking
- 9:55:12that hey mang there is 20,000 API cost
- 9:55:14as well but yes still it is very less
- 9:55:16than what an engineer will so comparison
- 9:55:18and testing artifact on its own. So
- 9:55:20again I would highly suggest to read
- 9:55:22through this right it is a very very
- 9:55:23good thing running code plot code in
- 9:55:24parallel lessons of programming write
- 9:55:26extensively high quality test put
- 9:55:28yourself in cloud shoes context window
- 9:55:30pollution time plan so again they are
- 9:55:31all having their own approach like
- 9:55:32separate uh let's say context everything
- 9:55:35but they are able to share the result as
- 9:55:36well right now let's go to the official
- 9:55:38documentation everyone the very first
- 9:55:39thing which you have to understand agent
- 9:55:41teams are experimental right so that is
- 9:55:43the very very first thing it is of
- 9:55:44course not as of now as well right tool
- 9:55:46for every job but I feel that you should
- 9:55:48be aware about this because again the
- 9:55:49way things are moving in AI you are not
- 9:55:51sure like maybe let's say next week
- 9:55:53cloud will say that hey AI agent teams
- 9:55:54are now all good and you can use them so
- 9:55:56that way I want that you actually
- 9:55:58understand and I will be taking some
- 9:55:59effort to explain you a little bit about
- 9:56:01in depth as well like a little bit so
- 9:56:03that again you're able to understand
- 9:56:04these things up so again that is the
- 9:56:06idea we have to rather make it on now
- 9:56:07either we can make it on at the complete
- 9:56:10user level or we can make it on at a
- 9:56:11project level we will be doing it at a
- 9:56:13project level everyone a lets you
- 9:56:15coordinate multiple cloud code instances
- 9:56:16working together one session act as team
- 9:56:17lead coordinating work assigning task
- 9:56:19add synthesizing results. So again we
- 9:56:21are still having this kind of an
- 9:56:22architecture where we are having a team
- 9:56:24need everything but these are able to
- 9:56:26connect with each other now. So that is
- 9:56:27a good thing right
- 9:56:29and along with this everyone we do have
- 9:56:32a task list
- 9:56:36one minute let me search it task list
- 9:56:39okay
- 9:56:42so I think this one is pretty good let's
- 9:56:45get uh let's get this one okay let's get
- 9:56:47this it's black and white one of the
- 9:56:50task is not done here so it will be more
- 9:56:52easier right there were some cool icons
- 9:56:54but anyways everyone so that is how we
- 9:56:56have a task list as well. Right? Now
- 9:56:59along with this everyone what happens
- 9:57:01right let me first show you uh assigning
- 9:57:04task teammates work independently each
- 9:57:06in its own context window and
- 9:57:07communicate directly with each other. So
- 9:57:08again it is not that if you need to
- 9:57:10connect with your uh let's say colleague
- 9:57:12you don't go through your manager that
- 9:57:13hey can you say this to my uncle can you
- 9:57:14say that to my uncle or hey can you make
- 9:57:16sure that this is discussed with Rahul
- 9:57:18or everything but you actually directly
- 9:57:20go and talk right so that is a whole
- 9:57:21case everyone it is not a via connection
- 9:57:23it is a direct connection unlike sub
- 9:57:25agent which runs within a single session
- 9:57:26and can only report back to the main
- 9:57:28agent you can also interact with
- 9:57:30individual teammate directly without
- 9:57:31going through the read. So again uh
- 9:57:33earlier if you saw that we were had no
- 9:57:35ways of connecting to the sub agent but
- 9:57:36here we have that case everyone agent
- 9:57:38team requires claw version I think uh we
- 9:57:40can check it but I know that I have the
- 9:57:42latest one and it has been times but
- 9:57:43still let me check it for your thing so
- 9:57:45see 2.1.123
- 9:57:4832 so yeah lots of version above page
- 9:57:50covers again meant to use agent team
- 9:57:52starting a team controlling teammate and
- 9:57:53best practices for parallel work now
- 9:57:54again I would like to make one thing
- 9:57:55clear still an experimental feature it
- 9:57:57uses opus so very very expensive and yes
- 9:58:01since if it is opposite it is having 1
- 9:58:02million context window and normally even
- 9:58:04claude is suggesting that hey if you
- 9:58:06need to try it out please make sure that
- 9:58:07you are again not doing doing it for the
- 9:58:10real work right so again when to use
- 9:58:11agent teams I think research and review
- 9:58:13new modules or features debugging with
- 9:58:15competitive hypothesis cross layer
- 9:58:17coordination I think anywhere we feel
- 9:58:19that hey the work seems like it has to
- 9:58:21be done with a team not like a
- 9:58:22freelancer not with the individual
- 9:58:24context not in a sequential manner as
- 9:58:26well because there are many works which
- 9:58:27cannot be done sequentially we we need
- 9:58:29to add this two and four between the
- 9:58:30team so that is where we can use this
- 9:58:32agent team. Now compared with sub agent
- 9:58:34this is a very good diagram. I will have
- 9:58:35it in our case as well. So see main
- 9:58:38agent spawn sub agent work result all of
- 9:58:40that go back to the main agent multi-
- 9:58:42aent team spawn team and assign task
- 9:58:45share task list communicate and claim
- 9:58:47task communicate and claim task work and
- 9:58:50communicate with each other as well.
- 9:58:51Okay. So see they have also made a
- 9:58:52little mistake here but no worries. So
- 9:58:54this is a very good diagram everyone
- 9:58:55which I would like to add. Let's see
- 9:58:57where we can add it. So there are few
- 9:58:59diagram which I like. I just want to
- 9:59:00explain you a little bit. So that is why
- 9:59:02I've created these diagram. Don't get
- 9:59:03scared please. I think we have been very
- 9:59:05nicely amazingly mastering each and
- 9:59:07everything. So in that case it will be
- 9:59:08helpful. Okay. So yeah this is your uh
- 9:59:11sub agent architecture everyone and this
- 9:59:13is your agent team architecture. So just
- 9:59:14the whole idea is that if you have a sub
- 9:59:16agent like this
- 9:59:19we can have multiple of them. Uh as of
- 9:59:22now all is opus right but pretty sure
- 9:59:25that it will be there in future
- 9:59:29right. So we can have it here like I
- 9:59:30love to create these diagram because
- 9:59:32they make your task a lot clearer right
- 9:59:34and we can have a manager as well. So
- 9:59:36yes m you have just created it but yeah
- 9:59:38seeing it multiple times helps you to
- 9:59:39understand it because this diagram which
- 9:59:42I have created that is I think better
- 9:59:44than the official one. Okay. So and I
- 9:59:47want that all of you have this thing as
- 9:59:48well. So that is the reason but one very
- 9:59:50good thing which I want want to
- 9:59:52highlight is that they can communicate
- 9:59:54with each other as well. Right. So this
- 9:59:59is the level of overall thing which we
- 10:00:01get everyone. I think I can just quickly
- 10:00:02make them green because they are having
- 10:00:05this thing proper
- 10:00:08width as well. But that is how your
- 10:00:10agent team works and yeah understanding
- 10:00:12I think is very simple because we have
- 10:00:13understood uh sub agent or sub
- 10:00:15subordinate agent in a lot of times
- 10:00:17right so that is the whole idea everyone
- 10:00:19now let's see like any other
- 10:00:20information. So sub agent like again uh
- 10:00:22when sub agent may only report issues
- 10:00:24result back to the main agent and never
- 10:00:25talk to each other that is all good. So
- 10:00:27I will have like this uh thing as well
- 10:00:29quickly added to our notes but let's
- 10:00:31first go through the same uh context own
- 10:00:34context window result return to the
- 10:00:35caller own context window but fully
- 10:00:36independent communication reportly back
- 10:00:38to the main agent terminate message uh
- 10:00:40teammates can message each other
- 10:00:41coordination main agent of course is
- 10:00:43managing all the flow because see if I'm
- 10:00:44hiring freelancers like they're not
- 10:00:46talking with each other I will be having
- 10:00:47everything right
- 10:00:50shared task with self coordination best
- 10:00:52for focused task where only result
- 10:00:54matters complex work requiring
- 10:00:55discussion and collaboration and that
- 10:00:56This is the reason everyone for that
- 10:00:58particular work of Rusk compiler they
- 10:01:00use this because Rusk compiler is not an
- 10:01:02easy thing. It's not that a sequential
- 10:01:04agent will write that out. And I think
- 10:01:05you you know like if if anthropics own
- 10:01:08people take uh how many sessions
- 10:01:13what was the cost? Yeah, if they took
- 10:01:142,000 cloud code session and 20,000. So
- 10:01:16I think you understand the gravity of
- 10:01:18that right? So again this is how we can
- 10:01:20make it uh run everyone. So again and I
- 10:01:22think it is just giving this thing that
- 10:01:24helps you to develop todo. Uh I think
- 10:01:26let's let's try to work out with the own
- 10:01:28example only what I will do everyone
- 10:01:30rather. Let me see if I can create a new
- 10:01:33folder because I don't want to uh
- 10:01:35basically
- 10:01:37pop like kind of corrupt this one. But
- 10:01:39let me see like how many of session are
- 10:01:41we having right? So again and I don't
- 10:01:43feel that again we can have this uh
- 10:01:46without like this tool will be able to
- 10:01:48handle it but uh should be fine still no
- 10:01:50worries. Let me create a new folder
- 10:01:53here. Let me say it agent uh teams demo.
- 10:01:58Let me get it outside here.
- 10:02:05side everyone let me create it
- 10:02:08with terminal right clear everything it
- 10:02:12is include MD I can create mk mkdir
- 10:02:17um it's agent teams demo right and I
- 10:02:23will just open this so this I think we
- 10:02:25have already mastered let me open this
- 10:02:27one agent and going little back claw
- 10:02:31empty the same right
- 10:02:35so yeah we are in a new session everyone
- 10:02:37I think I can close this I could just
- 10:02:39have my uh terminal only let's do these
- 10:02:41things with the terminal now because I
- 10:02:43think that's a good approach I could
- 10:02:45have claude
- 10:02:47I could say enable agent teams in this
- 10:02:51folder now see as soon as I start with
- 10:02:53terminal that cloud load is created and
- 10:02:54it is having the cloud lo session as
- 10:02:56well I think we have also created hooks
- 10:02:58for that but should be fine uh So let me
- 10:03:00ask this thing up
- 10:03:03and just do this. Okay. So it will be
- 10:03:05creating a settings dojson. I think it
- 10:03:06might ask that hey if you want it at a
- 10:03:08user level or where cloud may use
- 10:03:10instruction or client for this skill.
- 10:03:11Okay. Update config cloud code. So it is
- 10:03:14doing it inside my uh particular project
- 10:03:17only. Let it work. Reading one file
- 10:03:20cloud settings.json.
- 10:03:23Uh okay I can say yes.
- 10:03:27And it has been created. So see everyone
- 10:03:29claw code experimental agent teams. Now
- 10:03:32uh what we can do we have enabled the
- 10:03:34same. Let me copy this. Let me paste
- 10:03:38this code. Ply let me have that agent
- 10:03:40flow as well. Right. So this is the
- 10:03:43current one everyone. I am designing a
- 10:03:45CLI tool that helps developer track to
- 10:03:47do comment across their codebase. Create
- 10:03:49an agent team to explore this from
- 10:03:50different angles. One teammate on UX,
- 10:03:52one on technical and one playing devil's
- 10:03:53advocate. Okay. So let's let's try talk.
- 10:03:55No worries.
- 10:03:56Just again uh I think again it will fill
- 10:03:59up context and everything a lot right I
- 10:04:01think already we have some MCPS open so
- 10:04:04agent US perspective on to-do okay us
- 10:04:07perspective one agent it has run
- 10:04:10uh okay so I think oh nice nice so see
- 10:04:13three agents have started everyone but
- 10:04:15since it is on opus right and I don't
- 10:04:17want my usage to go all bad uh I I I'm
- 10:04:21not sure if it didn't update or
- 10:04:23something but now we are able to see
- 10:04:24maybe restarting uh restarting vs could
- 10:04:26help So now I'm able to see this
- 10:04:27everyone. So it's a very good approach
- 10:04:29and yeah I think it is not able to tell
- 10:04:31that they are also connected or is it
- 10:04:32able to tell that is there anything else
- 10:04:35going
- 10:04:37so uh again all the things are good but
- 10:04:39usage will be a lot taken uh kind of in
- 10:04:42depth here because it is all using haiku
- 10:04:45but uh is it stopping now I think it is
- 10:04:48still working context is fill up it is
- 10:04:51waiting for me but these are working in
- 10:04:53parallel right so let me just see one
- 10:04:54thing quickly control your agent in
- 10:04:56chooser display mode in processing team
- 10:04:58can support two display mode. All team
- 10:05:00remain run inside your main template.
- 10:05:01You shift down to cycle through the
- 10:05:03teammates and type to message them
- 10:05:05directly. Okay, that's a pretty good
- 10:05:06thing. Each teammate gets it own. You
- 10:05:08can see everyone's output at once.
- 10:05:10Required teamwork on item two. So again
- 10:05:11everyone, I have used this item two uh
- 10:05:13in Mac. It is a very good uh replacement
- 10:05:15of simple terminal. But let's try to see
- 10:05:18it here. I could do yes and yes. And let
- 10:05:20me do shift tab.
- 10:05:23Okay. Plan mode. Let me do yes. accept
- 10:05:26edits.
- 10:05:29So yes, yes, yes.
- 10:05:33Uh I'm not sure if I'm able I am able to
- 10:05:36see this this changing. Hi coup.
- 10:05:40Okay, it is accept edits on only. So I
- 10:05:43don't think that is the case. I think if
- 10:05:45I accept edits on then it will work. Let
- 10:05:47me show to see the usage as well.
- 10:05:50Uh please show the usage please please.
- 10:05:53Control B to run in background.
- 10:05:57again see uh as I said like it's a
- 10:05:59little bit of uh your uh experimental
- 10:06:01feature right so I've pressed controlB
- 10:06:04and I think it is running in the
- 10:06:05background now everyone so it has back
- 10:06:07to the same thing good catches from the
- 10:06:08team the table agent is right genics
- 10:06:10critique without anything uh okay seems
- 10:06:13like it is not used a lot for the time
- 10:06:15being uh that is all good why is it
- 10:06:18refreshing on May 7
- 10:06:21so uh beast person usation general
- 10:06:23purpose 100% users from sub agent heavy
- 10:06:25sessions. So seems like okay now it is I
- 10:06:27think it has recently been updated. So
- 10:06:29it is telling me that okay who is using
- 10:06:30what let me cancel it out Asian
- 10:06:33technical architecture [clears throat]
- 10:06:34for todo completed name your
- 10:06:35conversation with / city name but yes
- 10:06:37everyone I think we were able to see now
- 10:06:38again as it is experimental and this is
- 10:06:40not the best way of seeing it right uh I
- 10:06:42think it is not the best part right
- 10:06:44where it is working so initial scan it
- 10:06:46is like kind of working I will be
- 10:06:47stopping this to be very honest let me
- 10:06:49stop this and I think I have to press it
- 10:06:50multiple times because multiple agents
- 10:06:52are running uh that does makes a lot of
- 10:06:54sense and uh yeah again I will just show
- 10:06:56you if I go back to this everyone
- 10:06:59Uh this is again where it is saying uh I
- 10:07:01think we can add this as well. The
- 10:07:03default is auto which uses split pane if
- 10:07:04you're already running inside a teamwork
- 10:07:06session. So I I will not be able to do
- 10:07:07this because I not setting up the split
- 10:07:09pane for the timing. But I think split
- 10:07:10pane is that you will be seeing if if
- 10:07:12you have three three agents right
- 10:07:14working in pattern in a team. We will be
- 10:07:16seeing four sessions. One for uh your uh
- 10:07:20m uh basically main agent and other
- 10:07:22three for your uh like uh sub agents.
- 10:07:25Okay. So this is where I think we can
- 10:07:27also add this thing up. Okay. To force
- 10:07:30in process mode for a single session,
- 10:07:32pass it as a flag. I will try this as
- 10:07:33well. Let me just clear it out. Let me
- 10:07:37uh Okay. So where are exactly we are?
- 10:07:39LS. Let me change the folder for the
- 10:07:42time being because I think we are in the
- 10:07:44main directory, right? At least let me
- 10:07:46create one more directory here. Make
- 10:07:48directory agent teams demo. CD agent
- 10:07:54teams demo. Clear everything out.
- 10:07:58Now I could say claude here uh trust the
- 10:08:01folder please enable [clears throat]
- 10:08:04agent teams and also add
- 10:08:10in process mode. Okay. So again I'm just
- 10:08:13showing you that how it works in the
- 10:08:15overall uh this as well like uh overall
- 10:08:17your uh terminal as well the basic
- 10:08:21terminal. Okay. Because again whatever
- 10:08:23it is using it should be able to do with
- 10:08:24that. We have to turn [snorts] off that
- 10:08:27uh MCP right let me do that actually
- 10:08:29because they are having lots of things
- 10:08:33let me go back let me turn because again
- 10:08:36I don't want that we are wasting so much
- 10:08:39of our uh things here mcb servers let me
- 10:08:43is requiring
- 10:08:48disable so yeah everyone please do that
- 10:08:51again I'm not using as of now any MCP so
- 10:08:53the idea is pretty simple my do
- 10:08:55unnecessary like waste all the context.
- 10:08:57Now again we can do that we can save
- 10:08:59this by starting in your sonnet but
- 10:09:03again I want to make sure that I have
- 10:09:04enough window. Uh last time that was the
- 10:09:06case we stopped. So it is saying status
- 10:09:09uh I can just say disable.
- 10:09:12Okay so model haiku what it is doing
- 10:09:15cloud settings JSON uh okay you can do
- 10:09:18that. Let me do a ls here.
- 10:09:24Uh bash completed enabled add disable
- 10:09:26background first to ensure the
- 10:09:27background fleet is enabled. Uh okay I
- 10:09:30think it has done one slip up which it
- 10:09:32should not have done. If we go in this
- 10:09:36this is where I think it has enabled it.
- 10:09:37So all these are notifications
- 10:09:39everything.
- 10:09:40Yeah disable background agents teammate
- 10:09:42mode in process. So I will ask it.
- 10:09:46Okay rather uh please enable only in
- 10:09:52this folder project. Okay. So now
- 10:09:55everyone I think we all are clear with
- 10:09:56this thing that it will just enable in
- 10:09:58this folder project. So that is the
- 10:09:59whole idea. Now let it run.
- 10:10:03Yes. If I now do ls.
- 10:10:09Yes. So it is removing that as well. So
- 10:10:11that is good thing about cloud like it
- 10:10:12it works. That is the idea. Okay. Uh
- 10:10:15okay ls. [clears throat] Why is it not
- 10:10:17creating bash completed with no output?
- 10:10:19That's strange. The configuration would
- 10:10:21be affected. uh agent team with in
- 10:10:23process teammate. Okay, let me see. So
- 10:10:25okay I think uh okay okay I know why is
- 10:10:27it happening everyone okay how can I
- 10:10:28forget this ls- l because it's ah ls- la
- 10:10:34so see everyone I think it is ced dot
- 10:10:36cloud folder but since it was hidden dot
- 10:10:38folder I told you in the very starting
- 10:10:39that it is for the hidden part now what
- 10:10:42I would also like to do here right
- 10:10:44everyone so let me run another command I
- 10:10:46can just showcase that just give me a
- 10:10:48minute
- 10:10:49right and I just want to show you few
- 10:10:53more things so let me Just quickly
- 10:10:56circle back. Okay,
- 10:10:58let me just quickly go out. I will be
- 10:11:01running two commands everyone. So I want
- 10:11:03you to focus. Get init and get commit.
- 10:11:05So I'm just getting a git here. Like get
- 10:11:06is basically to make sure that I can add
- 10:11:08version control to this thing just like
- 10:11:09I showed you in word. Uh there's a
- 10:11:11concept which I want to just touch upon
- 10:11:13because that would be I think in the
- 10:11:14coming time that will become very very
- 10:11:15important and though it's a technical
- 10:11:17concept I would like to explain you in
- 10:11:18an easier manner. Get in and get commit
- 10:11:20allow empty m in it and I'm creating
- 10:11:21these multiple directories. Okay. So
- 10:11:23initialize and I think if we do an ls
- 10:11:26now all of these are created. If I do a
- 10:11:28cloud now everyone of course we have all
- 10:11:31these directories and your uh dot cloud
- 10:11:33as well right inside dotcloud we know
- 10:11:36that all these things are happen now pay
- 10:11:38attention what I'm pasting. So I will
- 10:11:40create this up here uh simple let's say
- 10:11:44prompt
- 10:11:45txt
- 10:11:47create an agent team to build a user
- 10:11:49interface user preference feature. The
- 10:11:51feature allows user to save display
- 10:11:52preferences theme spawn aer teammate one
- 10:11:55teammate two teammate three before
- 10:11:56starting teammate one should message
- 10:11:58teammate two and three with exact API
- 10:11:59contact so they worked like consistent
- 10:12:01and all three worked merge branches and
- 10:12:03report so if I show you now everyone
- 10:12:05right I think I can paste it directly
- 10:12:08let me paste it so ask to create a
- 10:12:11tinkering tip ask to create a to-do list
- 10:12:13okay that's all good now since the agent
- 10:12:16team is started let's see I set up a
- 10:12:17agent team to build this user
- 10:12:18preferences feature backend engineer and
- 10:12:20Everything create preference window. Uh
- 10:12:22this is filling up right
- 10:12:25agent backend engineer. Let me now do
- 10:12:27shift tab. Okay. Uh sonet I think still
- 10:12:32let's go back and see if we are able to
- 10:12:33see this in the agent flow.
- 10:12:36Review live. Let me refresh it.
- 10:12:40Let me close this and agent flow.
- 10:12:44Okay. I think we have to start agent
- 10:12:45flow from that. That is the problem. So
- 10:12:47see uh agent back end if I implement the
- 10:12:49preferences API. I think it is doing
- 10:12:51this. So let me do yes. Okay. So again
- 10:12:54I'm just asking it for few things.
- 10:12:55Nothing else. I'm just getting few basic
- 10:12:57uh files. I think it is still working
- 10:12:59improvising. I just want to check if I
- 10:13:02could uh so again how was it setting in
- 10:13:05process. I'm just trying it out. I think
- 10:13:06ideally this one is a better approach
- 10:13:08split pain because again uh now not sure
- 10:13:11like what is this thing for Mac. So here
- 10:13:14we are. She use shift down. Okay shift
- 10:13:16down. My bad. Let me do shift down.
- 10:13:20Okay. No task currently running or
- 10:13:22selected. Enter to view. Okay. Nothing
- 10:13:24is doing. Shift down.
- 10:13:27No background task. Right. Doodling.
- 10:13:29There are three agents clear preference
- 10:13:31API and everything. Again uh as I'm
- 10:13:33saying it is still experimental. Some
- 10:13:35things might work, something might not
- 10:13:36work. That is what experimental means.
- 10:13:38Uh I might have some setting like up or
- 10:13:40down and it is not able to catch that.
- 10:13:43Uh but yeah, still I'm not able to see
- 10:13:45it. If I see usage everyone
- 10:13:48it is queued up. Press up to edit queued
- 10:13:51up message. So not worries. Three star 0
- 10:13:54done three open. Now let me do shift
- 10:13:57shift down here.
- 10:14:00Okay. Shift down. Nothing is happening.
- 10:14:03Uh okay.
- 10:14:06I think they're working in the back end
- 10:14:08everyone. So again should be fine. I
- 10:14:10think I can just exit it out. Okay.
- 10:14:12because I don't want that uh my all the
- 10:14:15tokens are added here. I will just show
- 10:14:17you that how it works with opus only. So
- 10:14:19that is why you can see it is having
- 10:14:21this much of context. The idea there is
- 10:14:23if I show you opus if you search for
- 10:14:25opus.
- 10:14:27Okay I think they have removed it. I
- 10:14:29think okay can uh agent team now work
- 10:14:34without opus as well? Let me ask this.
- 10:14:39Uh earlier that was the case. Okay. But
- 10:14:42now doesn't specify hard requirement.
- 10:14:44Let me search for mod page. There's no
- 10:14:45express requirement for opus. The page
- 10:14:47mentions. Okay. But I remember this. Let
- 10:14:49me search agent teams opus only.
- 10:14:55Agent team in cloud now multiple
- 10:14:56learning working together. Okay.
- 10:14:58Keyspect. Yeah. So key of agent team
- 10:15:00opus 4.6. Right. So that was the case. I
- 10:15:02think they have recently removed it. Uh
- 10:15:04again I specifically remember right that
- 10:15:08it was all on opus. we have introduced
- 10:15:11agent team you can now spin up multiple
- 10:15:12agent to work in parallel but uh yeah I
- 10:15:15think maybe with 4.7 they have removed
- 10:15:16that so that might be the case that it
- 10:15:18is using haiku and as you can see it can
- 10:15:21spawn up those multiple sessions as well
- 10:15:23so that is the whole idea everyone right
- 10:15:24and as far as I can see I I don't see
- 10:15:26like the agents which see these agents
- 10:15:28which it is running right so if we go
- 10:15:31back if I say cl sorry if I say slash
- 10:15:36resume
- 10:15:37right and if I just resume the last one.
- 10:15:41It was the last one, right?
- 10:15:45So I don't think that we created these
- 10:15:49agents as well, right? But it was able
- 10:15:51to have these teammates and everything
- 10:15:53run. So that is also something like it
- 10:15:54is not asking us to explicitly create
- 10:15:56these agents though I think yeah of
- 10:15:57course they will be created it will be
- 10:15:59helpful. So that is all what is
- 10:16:01mentioned here. Team lead, teammates and
- 10:16:02everything choose a display mode. Now
- 10:16:04again everyone there are lots of
- 10:16:05settings which I will ask you to go
- 10:16:07through the same how agent works like
- 10:16:09again I have read through the same but I
- 10:16:10feel that again it will be a lot uh lot
- 10:16:12lot lot in-depth for many people but
- 10:16:15this architecture thing the way it is
- 10:16:16explained I think this is pretty good
- 10:16:18just one thing I want you to explain in
- 10:16:20here and that is regarding the gree
- 10:16:23thing so see everyone now what happened
- 10:16:25is that again even though they are
- 10:16:26working in with each other they are
- 10:16:28having a separate uh context everything
- 10:16:30now git is just like your uh this thing
- 10:16:33if you remember I showed you docs new.
- 10:16:37So if I do something here, if I let's
- 10:16:39say have anything written, right? If I
- 10:16:41create these things up, there is a
- 10:16:43version history created.
- 10:16:45Now for tech and non techch people
- 10:16:47alike, I think this is easy to get like
- 10:16:48see again even if people are working,
- 10:16:50they of course will be having their
- 10:16:52separate version of code, right? So even
- 10:16:54though they are working on separate
- 10:16:55files and everything, we need to make
- 10:16:56sure that again just like let's say you
- 10:16:59are working on your copy, people are
- 10:17:00other people are working on their own
- 10:17:01copy, their copy is kind of set, right?
- 10:17:03So what happens if you pay attention
- 10:17:05let's say you're having a project okay
- 10:17:07team lead directory is the main one okay
- 10:17:10then using the concept of git work tree
- 10:17:13right using the concept of git work tree
- 10:17:15future uh like again git work tree is
- 10:17:18nothing claw or ai concept I will just
- 10:17:19show you git work tree it kind of
- 10:17:21creates copy of this so built-in feature
- 10:17:24that allow you to have multiple branches
- 10:17:25checked out simultaneously in different
- 10:17:27directories or linked to a single git
- 10:17:30repository so what is happening here
- 10:17:32everyone Ideally I am able to in a very
- 10:17:35simple sense have this main directory
- 10:17:37which my uh team lead is working on.
- 10:17:40First agent it is having a copy. Second
- 10:17:43agent it is having a copy. Third agent
- 10:17:46it is also having a copy. Now this is
- 10:17:47different from creating those branches.
- 10:17:49So it is not like uh let's say you are
- 10:17:51creating multiple copies of your uh this
- 10:17:53thing here right a minute. Yeah it is
- 10:17:56not like you are creating multiple
- 10:17:58copies of this thing here. It is just
- 10:17:59referencing to your main code and on top
- 10:18:01of that things are happening. The idea
- 10:18:02is pretty simple that once the work is
- 10:18:04done okay then we can easily merge it
- 10:18:06out. So again isolated work safe
- 10:18:08parallel and easy to merge that is the
- 10:18:09whole case like just like how we teamate
- 10:18:11work it's not that we are working on a
- 10:18:12same laptop we all are having our own
- 10:18:14context window and everything we can
- 10:18:16tell that hey I have done this change
- 10:18:18okay I might push it please do the pull
- 10:18:20and the benefit of get work everyone as
- 10:18:22compared to other branches is that just
- 10:18:24to tell whenever there are any changes
- 10:18:26happening so let's say that you have now
- 10:18:28again see there are two ways right uh I
- 10:18:30will explain you when you create a copy
- 10:18:32here if you do make a copy then when
- 10:18:34tomorrow I will be doing some changes in
- 10:18:35here like I will be pushing some
- 10:18:37changes. For example, I go and say to my
- 10:18:39agent read that hey
- 10:18:42uh spelling mistake. Okay, spelling
- 10:18:44mistake.
- 10:18:46Now if you have created this thing
- 10:18:48everyone you will always have to like
- 10:18:49this branch will be kind of uh if you
- 10:18:52get a branch right although you can have
- 10:18:55uh it you can go back and do the changes
- 10:18:58and pull it but in git work tree the
- 10:18:59benefit is that automatically that
- 10:19:01update goes through plus it is very safe
- 10:19:03and very space efficient as well. So
- 10:19:05lots of code it will be making sure it
- 10:19:07is referencing to that code. So you can
- 10:19:09read about g work a little bit but that
- 10:19:10is how agent works. I think if I go and
- 10:19:12here get uh see manual parallel session.
- 10:19:16So see uh next steps get work lets you
- 10:19:19run multiple cloud code session yourself
- 10:19:20without automated team coordination. So
- 10:19:22that is something which they also worked
- 10:19:23in here right that is why I'm mentioning
- 10:19:25this thing uh because okay I think they
- 10:19:28have not mentioned it in here. Get
- 10:19:29synchronization get work tree work tree.
- 10:19:33Yeah. So they have not mentioned it here
- 10:19:34but yes get mercy is a very good way of
- 10:19:36running this thing in uh these multiple
- 10:19:38agents in parallel because then they
- 10:19:41will not be having uh any problems plus
- 10:19:44they will also be having like again why
- 10:19:46am I telling you this because again
- 10:19:47tomorrow if you're trying it out for
- 10:19:48your real code base like as of now we
- 10:19:50are starting a new session but when you
- 10:19:52do try it out with a real code base all
- 10:19:54of this will be creating their own kind
- 10:19:55of a complete session and everything
- 10:19:58right so the way I can show you everyone
- 10:19:59this thing let me just try I do have
- 10:20:02created a experiment But again it might
- 10:20:04not be that easy. So let me just tell
- 10:20:06and then we will discuss around the same
- 10:20:08right. So let me first make sure that
- 10:20:12okay we have already on this now let me
- 10:20:15try to see that demo right
- 10:20:181 minute I'm just trying to see I had a
- 10:20:21demo created with git workry thing. So
- 10:20:22again I just want to explain you like
- 10:20:24how it will work a little bit. So that
- 10:20:27is the case. So using this git work tree
- 10:20:30everyone uh like again the whole idea is
- 10:20:32that as of now they are working right
- 10:20:33they are sharing their changes and
- 10:20:34everything you can also run this. So get
- 10:20:37work tree thing without going to this
- 10:20:40agent teams you can also run parallel
- 10:20:42sessions then that is the actually the
- 10:20:43whole idea that if you have created this
- 10:20:46get work then agent teams are not
- 10:20:47required right so that is the whole case
- 10:20:49I think I miss mess it up like they are
- 10:20:52not using git work tree but again the
- 10:20:53reason they have mentioned if you will
- 10:20:54see it here manual parallel session get
- 10:20:57work tree lets you run multiple cloud
- 10:20:58session yourself without automated team
- 10:21:00coordination right so just read about
- 10:21:02this a little bit that was the whole
- 10:21:03idea that how they are able to then work
- 10:21:05in a safe parallel environment ment
- 10:21:06again it's a little tricky right the
- 10:21:08example also which I have created that's
- 10:21:10also a little bit tricky but the way it
- 10:21:13works it creates those multiple uh so
- 10:21:15let's say three agents three work trees
- 10:21:17will be created and the command is
- 10:21:18pretty simple as well there and yeah
- 10:21:20then I think you can easily just work on
- 10:21:21that so now everyone if you will see we
- 10:21:23have three tiers of parallelism pick the
- 10:21:25simplest that works agent teams okay
- 10:21:27coordinated shared state peer talk
- 10:21:30parallel session work three which can be
- 10:21:32done by a work tree so that was the
- 10:21:33reason independent no coordination
- 10:21:35parent task the way like multiple agents
- 10:21:37are running single session plus sub
- 10:21:38agent baseline sequential simple daily
- 10:21:40work. Okay. So that is also how we can
- 10:21:42do it. It is totally on you but as of
- 10:21:44now I will suggest to use a simple uh
- 10:21:46single session one right because it is
- 10:21:48still experimental people are like still
- 10:21:50they are checking it out. Uh I did read
- 10:21:52somewhere that it also uses work
- 10:21:54sometime internally because claude also
- 10:21:56has that command. So again like you can
- 10:21:58just not get confused just I'm telling
- 10:22:00you what is possible because yes it is
- 10:22:01still an experimental feature right? So
- 10:22:03that is something which we know and as I
- 10:22:06told like uh earlier it was just having
- 10:22:08opus support now I think it is also been
- 10:22:10expanded to support other models and
- 10:22:12they will be keeping on working on the
- 10:22:14same and even it is not on by default so
- 10:22:16that is the whole learning app even with
- 10:22:18team I've shown you as well like when I
- 10:22:19run this thing I think it spawned
- 10:22:20multiple agents but we have the team
- 10:22:23thing as well open and they were able to
- 10:22:24communicate as well right so that was
- 10:22:26the case like in here if you see we were
- 10:22:28having this thing up right so I could
- 10:22:30just say normally to say continue.
- 10:22:33Uh let's see this thing up. Interrupted.
- 10:22:35What should the clot do instead? Agent
- 10:22:37observe server is starting.
- 10:22:40Agent observe server is running. Uh
- 10:22:42/observe status to check. Let me uh I
- 10:22:46will have to check it again. Okay. Slash
- 10:22:50observe.
- 10:22:53Uh
- 10:22:57so again it is reading preferences
- 10:22:59spawning teammate one back end to to
- 10:23:01define the preferences API. Now it is
- 10:23:04doing something here. Let it do uh let
- 10:23:06me try. I think I still have the tokens.
- 10:23:07If it is not using opus that should not
- 10:23:09be a problem
- 10:23:11agent teammate one.
- 10:23:14I just want to see that once it write
- 10:23:16out these things up then after that are
- 10:23:18we is it able to communicate right? And
- 10:23:20again as I said everyone like totally
- 10:23:21experimental thing right. So you cannot
- 10:23:23be like man this is not working as
- 10:23:24expected. Well claude is saying that hey
- 10:23:26use it just for experiment as of now
- 10:23:29don't have everything defined there.
- 10:23:30Okay I could change the mode as well
- 10:23:32except it's small.
- 10:23:35Okay
- 10:23:36lots of token it is taking place but
- 10:23:38good thing it is still sub agent. Our
- 10:23:40main one is free of this.
- 10:23:43So now I think it has started another
- 10:23:45one because it is 4.6. Okay not 4.
- 10:23:50Ctrl B to run on background. If I do cr.
- 10:23:52Okay, it is still running in the
- 10:23:53background and I think I got my uh
- 10:23:55status back. Observe
- 10:23:59start.
- 10:24:04Okay. User prompt expansion hook error.
- 10:24:06I see teammate one is still working on
- 10:24:07preferences API. Let me check the
- 10:24:08progress and get the API contract they
- 10:24:10have defined. Teamate one is still
- 10:24:12working through the implementation. Let
- 10:24:13me wait for completion.
- 10:24:16Okay, I think it was was not that
- 10:24:22it was not a shell command should be
- 10:24:25fine.
- 10:24:28What is it writing? At what level is it
- 10:24:31working? Let's quickly see that. Okay.
- 10:24:32So, we have this agent teams demo. Oh,
- 10:24:34okay. Okay. It has created multiple
- 10:24:35things actually.
- 10:24:39I have the get thing as well created.
- 10:24:41So, it is doing lots of stuff at there.
- 10:24:42So, should not be a problem.
- 10:24:46Uh okay. Now waiting for the task. It is
- 10:24:49843 tokens. Now thinking some more with
- 10:24:53high effort. If I do shift down. Okay.
- 10:24:56So it is saying one local agent. Let me
- 10:24:57click this.
- 10:24:59And now it is saying that hey you can go
- 10:25:02back escape enter or space to close X to
- 10:25:05stop. Okay. So I think since it is
- 10:25:06working in a team I am able to come
- 10:25:08inside it. Like it is working on a job.
- 10:25:10It is asking that hey you can do an X to
- 10:25:12stop it.
- 10:25:14But still it's a little bit tricky if
- 10:25:16it's actually teams or something. But
- 10:25:18let's see. Front end back end
- 10:25:20preferences done. Okay. Almost done
- 10:25:23thinking with high effort. Now let's see
- 10:25:26what it is saying. Let me go back
- 10:25:27actually.
- 10:25:30Test engineer. Okay. So I think now both
- 10:25:32of them are also started right. So this
- 10:25:33has been connected. But I don't see that
- 10:25:35we have done anything here because again
- 10:25:37it is working in a team fashion only. I
- 10:25:38feel because we are not seeing anything
- 10:25:40here. It is still seeing one local
- 10:25:42agent.
- 10:25:44Right. So maybe not that easy to see it.
- 10:25:47Okay. Let me stop this. Let me stop this
- 10:25:50and ask was agent teams running. Let me
- 10:25:55ask this.
- 10:25:57I'm not sure still if the last agent is
- 10:25:58stopped because again it is still
- 10:25:59showing one local agent there which
- 10:26:01means it has not been killed. So let me
- 10:26:02kill it. Uh so I went there and print X.
- 10:26:05Okay.
- 10:26:07Got it. The back end agent was stopped.
- 10:26:09However, I can see from the earlier
- 10:26:10output that they did complete their work
- 10:26:11before being killed. Okay, the files are
- 10:26:13there and ready. Would you like me to
- 10:26:14spawn teammate 2 and three to build the
- 10:26:16react component test? Okay, review the
- 10:26:18what was offered.
- 10:26:20Can you tell me if in earlier message
- 10:26:24agent teams were running? Okay, so I'm
- 10:26:27just asking it only like let's ask plot
- 10:26:28only. It is still saying that hey I have
- 10:26:31this agent no worries no agent even not
- 10:26:34okay were not fully running. Here's what
- 10:26:35actually happened. Teammate one
- 10:26:36successfully spawned and ran as an
- 10:26:37agent. Okay, killed. So only one out of
- 10:26:40three agent actually ran and even that
- 10:26:41got terminated before I could collect
- 10:26:42its final output. However, the files it
- 10:26:44created before termination are visible.
- 10:26:45Would you like me to spawn team? Okay.
- 10:26:47So I would just ask it spawn and agent
- 10:26:51teams. Okay. So they can work together
- 10:26:56and also
- 10:27:00and also connect with each other. we
- 10:27:04already have made agent teams on in the
- 10:27:12settings dojson. Okay. So let let me ask
- 10:27:14this specifically to claude because I
- 10:27:16want to want it to uh specify that hey
- 10:27:18yes let me check the agent configuration
- 10:27:20in the settings dojson. So claude
- 10:27:22inspired in that case. Perfect. I can
- 10:27:24see you have configured teammate in
- 10:27:26process for agentation. Let me spawn the
- 10:27:27full agent team with three specialized
- 10:27:29who can work together in a communicate.
- 10:27:30Okay. So now I think it is working that.
- 10:27:31Okay. So again
- 10:27:33running two agents. Uh running three
- 10:27:34agents. Uh okay.
- 10:27:38If I do shift down now nothing is
- 10:27:40happening. No no task it is saying is
- 10:27:42running.
- 10:27:44Uh it is asking for something should be
- 10:27:46fine. Shift down. Still nothing
- 10:27:47happening. I can do shift tab plan mode.
- 10:27:51Accept edits. Okay. Plan mode I think
- 10:27:54maybe in on uh sonnet only. But is that
- 10:27:57the case? No. Accept edits.
- 10:28:00No background task running.
- 10:28:05So yeah, seems like I think again in
- 10:28:07back end engineers is working right. If
- 10:28:08I see agents,
- 10:28:11okay, it will be queued up that
- 10:28:14now is the agent team running. So I
- 10:28:19think it is running now because I see
- 10:28:20that they are able to communicate
- 10:28:22searching for two patterns, reading one
- 10:28:23file, right? So it is not parallel
- 10:28:25because again back end engineer is also
- 10:28:28working and we said that hey first back
- 10:28:30end engineer should start the work. I'm
- 10:28:32not sure that why it is showing like
- 10:28:33this and see right back end setup and
- 10:28:35then they are converting with each other
- 10:28:36as well. So it is not that it is coming
- 10:28:38up. See seven tool uses seven tool uses
- 10:28:40but we told that hey uh please make sure
- 10:28:42that first the back end engineer works
- 10:28:44and it communicates all the things
- 10:28:45right. So in that case I feel that now
- 10:28:47it is working. Let me stop that because
- 10:28:49again it will be charging a lot. I have
- 10:28:50to press command lots of time. claude
- 10:28:53/ash usage
- 10:28:57uh okay so again it is not using hiku
- 10:29:00that's a good thing update config build
- 10:29:01agent general purpose all the things
- 10:29:03agent observe so it may be pushing up
- 10:29:05the general purpose agent for my agents
- 10:29:08which it is getting maybe that is the
- 10:29:09case okay 38% usage come from that sub
- 10:29:12agent heavy session so it should not be
- 10:29:13a problem everyone we can just cancel it
- 10:29:15out so yes everyone that was the case
- 10:29:17with agent teams now again the
- 10:29:19conceptual level is clear but I will
- 10:29:20still warn that it is getting a little
- 10:29:21bit more mature so that we can use it. I
- 10:29:23think as of now it is using general
- 10:29:24purpose agent giving it whatever we are
- 10:29:26asking and then it is running the same.
- 10:29:28So that is the whole case. Uh one more
- 10:29:30thing everyone I am actually seeing that
- 10:29:32how just right now it has start uh
- 10:29:35basically started supporting non-opus
- 10:29:38model as well but earlier it was using
- 10:29:407x times the normal token. So again
- 10:29:43experimental feature don't rely on it.
- 10:29:45It is very very expensive. So you can
- 10:29:47see no session assumption within process
- 10:29:49teammates stash resume do not restore in
- 10:29:51process teammates. Okay. After
- 10:29:53resumeuming a session the lead may
- 10:29:54attempt to message teammate that no
- 10:29:56longer exists. If this happen tell the
- 10:29:57lead to spawn new teammates. I think it
- 10:29:58will handle itself. Task status can lag.
- 10:30:01Makes sense. Shutdown can be slow. One
- 10:30:03team per session. Of course that is the
- 10:30:05case. No nested team. So it is not that
- 10:30:07your back end engineer here. It is able
- 10:30:10to spawn uh a team inside it. Okay.
- 10:30:13Though it is a CL code session only but
- 10:30:15is still not able to do that. Lead is
- 10:30:17fixed of course. Permission set at
- 10:30:19spawn. All teammates start with a leads
- 10:30:20permission mode. Oh okay. Okay. You can
- 10:30:22change per teammate modes. Split P
- 10:30:24require T-max or item. So again T-Max
- 10:30:27and item two they are just like your uh
- 10:30:29kind of terminal replacement but I think
- 10:30:33that should be more than enough
- 10:30:34everyone. I don't want that you go a lot
- 10:30:35in depth. I think I've explained the
- 10:30:37same with you. Uh the idea is that again
- 10:30:39they we we can make sure that they work
- 10:30:41again on some separated branch. they
- 10:30:42should not still be having lots of
- 10:30:44things but yes they can still
- 10:30:45communicate and work on those things up.
- 10:30:47Uh we have seen that how using the
- 10:30:49general purpose agent they were able to
- 10:30:50work because as I said if it would have
- 10:30:53been not a agent team they would not
- 10:30:55have been working like this because he
- 10:30:56specifically asked that back end
- 10:30:57engineer should work and it has worked
- 10:30:59on these things and then communicate. So
- 10:31:01that is why those three were working
- 10:31:02first back end started it done the work
- 10:31:04communicated and then all of them
- 10:31:06started and they are using these eight
- 10:31:07tools seven tools are uh this one right
- 10:31:11this particular if you say agent flow I
- 10:31:14think it will still show that as a
- 10:31:17multi- aent thing because it is not I
- 10:31:19don't think it will be supporting that
- 10:31:20as of now right because again it is a
- 10:31:21little bit different architecture this
- 10:31:23app it is just based on hook overall but
- 10:31:25yeah pretty good work whoever has done
- 10:31:26that so in that case I think everyone
- 10:31:28this is more than enough I will still
- 10:31:30still highlyuggest is that you are
- 10:31:32waiting for the timing now when it can
- 10:31:34be helpful. Uh I can just write down
- 10:31:36best cases for agent team because I
- 10:31:39don't want that you are behind in
- 10:31:40anything right that is my whole idea. So
- 10:31:42first large scale refractory refactoring
- 10:31:46okay so when you have lots of big code
- 10:31:48or you are like kind of totally you are
- 10:31:51uh so there are lots of this thing in
- 10:31:53job right in the tech world specifically
- 10:31:54that when you are migrating your entire
- 10:31:56codebase let's say from Java to Python
- 10:31:58that is where
- 10:32:00full stack feature development the
- 10:32:01reason if it will be that then you will
- 10:32:04be talking and everything parallel code
- 10:32:06review plus testing where they are able
- 10:32:08to connect with each other security
- 10:32:10audit
- 10:32:12at scale because now again when it
- 10:32:15happens with simple subordinate agent
- 10:32:18one will do then it will fix one will do
- 10:32:19then it will fix that is something which
- 10:32:20we can avoid and fix let's say everyone
- 10:32:23again for the codebase understanding
- 10:32:27or rather longer one and here as well I
- 10:32:29think I will first call explore agent
- 10:32:30that is going to be pretty helpful now
- 10:32:32where they cannot run everyone I think
- 10:32:34this I will just quickly copy so that
- 10:32:36you're able to understand it pay
- 10:32:37attention sequential task with hard
- 10:32:39dependencies okay if you need that Okay,
- 10:32:41agent one should first close and then a
- 10:32:42B will start. Of course, a subordinate
- 10:32:45agents are pretty good with that
- 10:32:46subordinate. Yeah, same file edit
- 10:32:48simultaneously guaranted conflict. So
- 10:32:49again there will be some conflicts small
- 10:32:51task under 10 minutes lots of agents
- 10:32:54lots of cost work that need tight
- 10:32:56coordination more efficiently done by
- 10:32:58one agent when experimenting bugs would
- 10:33:00block you. So again that is the case
- 10:33:01there you can use the manual parallel.
- 10:33:03So what do I mean by manual parallel
- 10:33:04everyone? Where you are getting these
- 10:33:06three get workflow things and then each
- 10:33:08one of them is working on that. So in
- 10:33:10that case in the end it is just like
- 10:33:11three people working on a branch and you
- 10:33:13can then easily merge them. So that is
- 10:33:14the whole case area and I think we have
- 10:33:16covered each and everything in here like
- 10:33:17again not a lot of things were here in
- 10:33:19this particular thing. So I made sure
- 10:33:21that what exactly can be the case and I
- 10:33:24have already shown you that how even at
- 10:33:26an it was able to do a very very awesome
- 10:33:28work with that entropic thing but yeah
- 10:33:31that was also very expensive right so
- 10:33:32that is something which we have to
- 10:33:33always remember anthropic
- 10:33:36rust story right C compiler
- 10:33:41so let's wait for it to get a lot better
- 10:33:44okay and I think in some time we will be
- 10:33:46seeing and using agent teams in no time
- 10:33:47so that would be the case but yeah now
- 10:33:49you have an idea So things to take away
- 10:33:51from this everyone. Yes, uh agent teams
- 10:33:52are present which can work uh very
- 10:33:54effectively in a parallel setting. Yes,
- 10:33:57it is expensive. It is in experimental
- 10:33:58mode. Yes, we can also spawn multiple
- 10:34:01sessions and then make them work just
- 10:34:03like agent teams work a little bit
- 10:34:04closer to that though they can still not
- 10:34:06communicate. But yes, since it is also
- 10:34:08based on architecture and coding maybe
- 10:34:09we can have one file which all of them
- 10:34:11is common. So again having context share
- 10:34:14is not that difficult. If you say that
- 10:34:15hey if I just explain you in a very
- 10:34:17simple manner what I will do here is
- 10:34:18that pay attention everyone. So just to
- 10:34:20show I can just create one folder here
- 10:34:22let's say agents. Okay, inside this
- 10:34:25folder everyone know I can have A1, I
- 10:34:28could have A2 and I could okay not like
- 10:34:31this move and I could have A3.
- 10:34:37Now though a little bit hacky but what I
- 10:34:38can also have everyone I could have uh
- 10:34:40let's say change lock MD and I could say
- 10:34:43that hey whenever you are working on
- 10:34:44something now again there will be some
- 10:34:45conflicts but we can handle it. we can
- 10:34:47say that hey please please make sure
- 10:34:49that no one else is guarding the file or
- 10:34:52maybe again in some time we are kind of
- 10:34:54joining this file we are giving them
- 10:34:55three files so let's say I'm giving it
- 10:34:57inside like this so this I'm just
- 10:34:58telling based on my experience C1 uh
- 10:35:01C1MD
- 10:35:02okay in here we are giving C2MD and
- 10:35:05let's say we are also running some uh
- 10:35:07command parallelly on some agent which
- 10:35:09just join these things after every 2 3
- 10:35:11seconds right or after every 2 seconds
- 10:35:14so that they are not directly jumping
- 10:35:15onto that and again they are still
- 10:35:17having the change that hey what others
- 10:35:19are doing right so they can keep on
- 10:35:20reading this thing everyone will be
- 10:35:21having an access so those kind of stuff
- 10:35:23we can play around okay so again that is
- 10:35:25one way get work tree everything you can
- 10:35:27read about it and we can also spawn
- 10:35:29multiple sub agents parally right so
- 10:35:30that is multiple ways of doing this
- 10:35:32thing up everyone now I think actually
- 10:35:34you have covered most of the things
- 10:35:35which is required for this particular
- 10:35:38claw code but I would still like to show
- 10:35:39you that how can you make it a little
- 10:35:41bit more uh overall expanded with
- 10:35:43plugins and uh let's say your uh
- 10:35:46marketplace. So in the next part let's
- 10:35:47discuss about that very very important
- 10:35:49part but uh and it will just uh kind of
- 10:35:52open the horizon of cloud code a lot
- 10:35:53more but I feel that as of now in this
- 10:35:55complete crash course you have mastered
- 10:35:57a lots of things and I think the
- 10:36:00complete thing is right in front of you
- 10:36:01with lots of code and everything which I
- 10:36:03will be pushing uh in the g repo which
- 10:36:05you will be having access and if you
- 10:36:07will go on the overall documentation
- 10:36:09itself I think hardly there will be
- 10:36:11something which you have not gone
- 10:36:12through. I actually took the time up
- 10:36:14where I have actually gone through this
- 10:36:15complete documentation each and every
- 10:36:17page and then I made that part where I
- 10:36:19thought that hey I will create the best
- 10:36:21plot code resource. So that was my plan.
- 10:36:22So in the next part now everyone let's
- 10:36:24jump and master about the plugins and uh
- 10:36:26the marketplace. So great everyone now
- 10:36:28let's jump onto the next topic and like
- 10:36:31now obviously all the topics are done
- 10:36:33like which were actually required for
- 10:36:35you to build. We will be also seeing a
- 10:36:37quick projects uh in the next to next
- 10:36:39part like there are few small small
- 10:36:40things which I would like to show you
- 10:36:42and the idea is very simple like see you
- 10:36:44have now mastered and you know
- 10:36:45everything right. So the reason that I
- 10:36:46have kept these things towards the end
- 10:36:48is that majorly people uh sell or like
- 10:36:51uh override these things but without
- 10:36:53knowing right the full dotclaw directory
- 10:36:55and all this thing which we have
- 10:36:56mastered I think having these plugins is
- 10:36:58of no use. So yeah like overall once you
- 10:37:01understand that okay how one thing works
- 10:37:03that is where I believe that uh it is
- 10:37:04helpful right so by now you have
- 10:37:06actually built skills configured hooks
- 10:37:08created sub agent set up MCP servers and
- 10:37:11of course you have run uh like let's say
- 10:37:13agent team as well every single one of
- 10:37:16those lives in our dotcloud folder right
- 10:37:18so this dotcloud folder which we created
- 10:37:20everyone I think I can take maybe this
- 10:37:22task manager one so we are having each
- 10:37:24and every one of this I could of course
- 10:37:25have the team etc here as well but each
- 10:37:28and every one of this lives in your dot
- 10:37:29clot folder and now the idea everyone is
- 10:37:32that each one of it is able to do your
- 10:37:35job very nicely right now next comes the
- 10:37:37next question like what if someone else
- 10:37:39has already built the thing right which
- 10:37:40we need or what if the skills which we
- 10:37:42are spending let's say 2 hours building
- 10:37:44what if other people have already built
- 10:37:45the same with respect to hooks and
- 10:37:47everything right and conversely let's
- 10:37:49say if you have uh let's say built
- 10:37:51something how can you share it very
- 10:37:54nicely with your uh co-workers or like
- 10:37:57across your organization Because just as
- 10:37:59an example and I believe that all of you
- 10:38:00are pretty good. If a new join comes in
- 10:38:02like I think you should give him a dot
- 10:38:03clot directly right that person will be
- 10:38:05thanking you for life because you would
- 10:38:06have saved him easily one week or more
- 10:38:08than of that of time right. Uh so now
- 10:38:11that is where everyone's skills come
- 10:38:13into picture. So a very good graphic
- 10:38:14before copy these skills.mmd agent MD
- 10:38:17hooks py settings py you are sending
- 10:38:19them like again not safe plugins after
- 10:38:21that is just like actual everyone where
- 10:38:23if you remember like when we didn't used
- 10:38:26to have these apps and everything like
- 10:38:27back in time and again I'm not very old
- 10:38:29but still just giving you an idea that
- 10:38:30before internet we used to have
- 10:38:32Bluetooth to uh like send files to each
- 10:38:34other right where we used to send the
- 10:38:35files of songs because internet was not
- 10:38:38cheap uh it was difficult to find songs
- 10:38:40and everything right so people were able
- 10:38:43to relate do let me know and please
- 10:38:45leave a comment as well that would be
- 10:38:47very very helpful I think there was some
- 10:38:49sides songs.pk PK as well with so yeah
- 10:38:51am I I'm not still I'm I'm not told but
- 10:38:53yes just telling you but uh yes everyone
- 10:38:55the whole idea is that in a similar
- 10:38:57manner now earlier we used to do that
- 10:38:59thing but in claude as well like right
- 10:39:00now in the we are in the information age
- 10:39:02right so we can just directly install
- 10:39:04our plugins so that is the wful idea
- 10:39:06right so all these things which we are
- 10:39:08building every we can just install them
- 10:39:10easily and a plug-in is actually a
- 10:39:12directory which contains all those
- 10:39:13things right along with metadata which
- 10:39:15we will see like in the same we are just
- 10:39:18having all these skills age and
- 10:39:19everything in a single file uh in a
- 10:39:21single sorry uh basically yes plug-in
- 10:39:22dot plug-in file and everything so this
- 10:39:24is a structure plug-in directory
- 10:39:25structure my plug-in dotplot plug-in
- 10:39:27only plug-in dojson okay skills agents
- 10:39:30hooks everything only manifest inside
- 10:39:32everything else at root and yeah we
- 10:39:35should not be misplacing files let me
- 10:39:36show in the official documentation as
- 10:39:38well I think they have covered around
- 10:39:39creating it if I go here and if I just
- 10:39:42search for plugins
- 10:39:45yeah I think a yeah I think it's within
- 10:39:48the reference right So if you see
- 10:39:49plugins complete technical reference of
- 10:39:50cloud plug-in system including schema,
- 10:39:52CLI, command everything. So see this is
- 10:39:54actually what I was mentioning skills
- 10:39:55and everything we are creating right
- 10:39:57agents etc we are creating now the whole
- 10:40:00idea becomes everyone this thing when
- 10:40:01you install a plug-in you choose a scope
- 10:40:02that determines where the plug-in is
- 10:40:04available and who else can run it. So
- 10:40:05again I think pretty simple right if
- 10:40:06you're installing a plugin at a user
- 10:40:08level or on level or at a project level
- 10:40:11I think this thing should be very much
- 10:40:12clear to you because kind of we have
- 10:40:13marked on like understood each and
- 10:40:15everything here right then plugins
- 10:40:16manifest schema the claw plug-in file
- 10:40:19defines your plug-in metadata and
- 10:40:20configuration this section documented
- 10:40:23all the supported fields so manifest is
- 10:40:24optional if omitted claw code
- 10:40:26automatically def discovers component in
- 10:40:28the default location derive the plug-in
- 10:40:30name from the directory name user
- 10:40:32manifest when you need to provide
- 10:40:33metadata or custom component path. So
- 10:40:35again it is a file which gives you just
- 10:40:38little bit more uh control okay or more
- 10:40:42idea to your clot code that hey this is
- 10:40:43how it works. login I think the files
- 10:40:45and everything are present right then
- 10:40:47component path field you can just
- 10:40:49quickly go through the same I think we
- 10:40:50have covered this whole idea in a lot of
- 10:40:52depth so that is where everyone it is
- 10:40:54helpful right and this is the whole
- 10:40:56plug-in ecosystem so let me now discuss
- 10:40:58about the same right but before I move
- 10:41:00to this everyone of course you have to
- 10:41:02understand that when and when not to uh
- 10:41:04build plug-in because as we have seen
- 10:41:06like plug-in has some overhead right we
- 10:41:08have to create these multiple files etc
- 10:41:10so this table will be pretty helpful
- 10:41:11situation personal or project specific
- 10:41:13tools
- 10:41:14You can just have a simple standalone
- 10:41:16dot clock config quickeration still
- 10:41:18experimenting one skill on the hook you
- 10:41:20won't share this beyond yourself
- 10:41:21something which I have created for
- 10:41:22myself and that is the idea right
- 10:41:24plugins if created very nicely and
- 10:41:27specifically in an organization or an
- 10:41:29authorize right they are very very
- 10:41:30helpful so sharing with your whole team
- 10:41:32publishing to the community building
- 10:41:34three plus related component need
- 10:41:36version management one more very
- 10:41:37important thing like if you are like
- 10:41:39just as an example like okay if you are
- 10:41:42working in a company right and Even as a
- 10:41:43tech lead or let's say as a CTO if
- 10:41:45you're watching that I think this is a
- 10:41:46very very good thing which you can do
- 10:41:48for your company. Now if you know that
- 10:41:50hey this is the way I write code this is
- 10:41:52all the organization stuff and
- 10:41:53everything and I see so many people
- 10:41:55again wasting this time again at the end
- 10:41:57of the day if you master this thing as a
- 10:41:59senior or normally as well in your
- 10:42:02company if you go and tell to your
- 10:42:03manager that hey can let us create a
- 10:42:05plug-in for our team right why can't we
- 10:42:08have a plug-in directory on GitHub for
- 10:42:10our team only okay if you do that that's
- 10:42:12going to save lots of time because last
- 10:42:14I uh asked a people are not aware of
- 10:42:17that b because of that they are wasting
- 10:42:19so many tokens and C they are doing like
- 10:42:22work which is not up to the mark because
- 10:42:25again the way you understand code is
- 10:42:26different from the other one the way
- 10:42:28other person understand the code and
- 10:42:30then when you are let's say uh again
- 10:42:33everyone is using cloud code or some
- 10:42:34other thing right to write the code or
- 10:42:36either they are using uh versel or
- 10:42:38something uh sorry not cursor or
- 10:42:40something and the whole idea becomes
- 10:42:41everyone that how that you are now uh
- 10:42:45let's say writing the code you are
- 10:42:46unnecessarily creating these merge
- 10:42:48request where the approach or the syntax
- 10:42:51or like let's say the way of writing
- 10:42:52code is not as per the project or as per
- 10:42:54the organization. Why can't we create
- 10:42:56organization and let's say project level
- 10:42:59plugins and maintain them with version
- 10:43:01so that everyone downloads them if
- 10:43:03required they can add it. It can be
- 10:43:04easily easily let's say held at the
- 10:43:07manager's end. So he approves the
- 10:43:09changes and everyone is pretty good. So
- 10:43:10new joiny he will be very happy. he will
- 10:43:12be blessing you that hey this team seems
- 10:43:14to follow all the different different uh
- 10:43:16let's say best practices now the problem
- 10:43:19which I see it is something which a lot
- 10:43:22of people are aware about the benefit
- 10:43:24you will see lots of token you will have
- 10:43:25the uniformity the team will be happy
- 10:43:28because they will be able to deliver the
- 10:43:29same kind of work because at least again
- 10:43:31if your agents and everything is same
- 10:43:32right how helpful that would be and plus
- 10:43:34I feel that it would be giving you
- 10:43:36exponential gains with time because you
- 10:43:38can create multiple agents spread across
- 10:43:40you can gain multiple skills specific to
- 10:43:42a particular project as well as to a
- 10:43:44specific organization or your maybe team
- 10:43:46as well. So highly suggestive please
- 10:43:47make sure that you do that. Now this is
- 10:43:50the whole plug-in ecosystem everyone
- 10:43:52unnecessary don't create plug-in but
- 10:43:54overall that is the whole idea that how
- 10:43:55the plug-in licks I think we already
- 10:43:57have seen that in our uh I think we saw
- 10:44:00that in skills if I remember right I
- 10:44:01will close this and I will open the clot
- 10:44:03code via this now if you remember we did
- 10:44:05this plug-in and your uh MCPS etc are
- 10:44:08also present in the plug-in right so few
- 10:44:10of the plugins I think okay these are
- 10:44:11the agents everyone which I think we
- 10:44:13have and then there are multiple
- 10:44:15different different plugins right if I
- 10:44:16even go on the internet and if I go on
- 10:44:19plugins uh enthropic
- 10:44:23enthropic also have this particular
- 10:44:25website everyone so it's cloud.com not
- 10:44:28clot.ai okay I hope you understand this
- 10:44:30particular thing uh normally it is
- 10:44:31clot.ai right when we are having it
- 10:44:33cloud.ai I so clot.com is also owned by
- 10:44:36them and uh like just so that you don't
- 10:44:37get that hey if it is spammy or not. I
- 10:44:39don't think it is spam. Uh we can also
- 10:44:41share our plug-in right I will rather
- 10:44:44try that if I can share maybe some
- 10:44:45plug-in you related to this class. I'm
- 10:44:48not sure if someone is at claude and if
- 10:44:49you think that I'm doing an awesome job
- 10:44:50please reach out I can try to maybe
- 10:44:52generate some plug-in so that people can
- 10:44:54learn it easily. Now if you will see
- 10:44:56claude code claude co-work right so we
- 10:44:58have plugins related to them everyone
- 10:45:00right and along with that multiple
- 10:45:04plugins are present so this is actually
- 10:45:06the best one claude code okay now we can
- 10:45:09of course submit our own plug-in as well
- 10:45:10I will just kind of discuss a little bit
- 10:45:12on that but you can ask claude only to
- 10:45:14create one like that's the best part
- 10:45:15with claude right it is smart enough so
- 10:45:17it can create one from your thing we
- 10:45:18will maybe we can try to create one as
- 10:45:20well now again you can just builtin
- 10:45:22plugins are present everyone so if you
- 10:45:24will see Right? There are lots of
- 10:45:26plug-in which are already present.
- 10:45:27Right? Maybe we have used many of them.
- 10:45:28So when we write slash,
- 10:45:32right? Uh lots of things are coming. Let
- 10:45:34me go back and write it here. Slash get
- 10:45:37claud
- 10:45:41slash and again along with skills
- 10:45:44observe agent observe server dashboard
- 10:45:46management in it tab search few skills
- 10:45:49are coming right. The skill creator kind
- 10:45:50of is also kind of a plug-in or skill
- 10:45:52only right. So that is the whole idea.
- 10:45:53Everyone if you actually do uh this
- 10:45:55slash and skills right
- 10:45:59and it will list your available skills.
- 10:46:01So see along with a plug-in it is able
- 10:46:04to tell you that hey these are all the
- 10:46:05skills which you have you can search
- 10:46:06them as well. So that is the whole idea
- 10:46:08like that is how it works. I think
- 10:46:10plug-in skills are managed by a plugin.
- 10:46:12Okay. So I think they have changed it
- 10:46:13plug-in and let me do this. See front
- 10:46:16end design everything we can easily
- 10:46:17download them. Context 7 is pretty good
- 10:46:19one which I can download. Install for
- 10:46:22you. Let's install it at a user scope.
- 10:46:25So I will tell you for what it is used
- 10:46:27at this just just like that you can
- 10:46:28easily just install them and reload
- 10:46:30plug-in and we can erode it. Right. So
- 10:46:33now when I search context 7 we are
- 10:46:36having context 7 plug-in everyone. And I
- 10:46:39think if I do skill
- 10:46:42okay no so I'm not able to see it like
- 10:46:44that. I remember that uh if I do context
- 10:46:477. Okay. No context 7 not 8. No, that is
- 10:46:50not context. Let me quickly just do a
- 10:46:53slash plug-in.
- 10:46:57Okay, manage plug-in.
- 10:46:59It is not showing the installed one.
- 10:47:01Context
- 10:47:027, right? So, you can already see this.
- 10:47:06Let me show you like where it is
- 10:47:07installed if you want because it was
- 10:47:08installed. So, if I go to my dot cloud
- 10:47:12directory, right? So, in my
- 10:47:14if I will go to do.clude cla
- 10:47:20task. Now again I'm just showing you
- 10:47:21these things in depth because most
- 10:47:23people jump on these things and they are
- 10:47:24not able to save the time and that is
- 10:47:26where again they are never able to even
- 10:47:27use this thing to the best. So see
- 10:47:28plugins installed plugins uh I think it
- 10:47:31is showing the same cache marketplaces
- 10:47:33agent observe claude official plugins
- 10:47:35officials I think this is where we are
- 10:47:37having all these different different
- 10:47:38plugins everyone so or lots of them
- 10:47:40rather right so we can see all of them
- 10:47:42and yeah this is how we can create it
- 10:47:43repost block list I think we'll be block
- 10:47:46listing this this is a security test
- 10:47:47this is test five so yeah I think we are
- 10:47:50able to find it like this and context 7
- 10:47:52official plugins data is present here
- 10:47:54installed plugins I think all the
- 10:47:55different different plugins which we
- 10:47:56have installed context 7 are just come
- 10:47:58in here as we can see cache is there I
- 10:48:01think. Uh okay so still I have not
- 10:48:03called this thing so maybe that is why
- 10:48:05it is just missing out and see this is
- 10:48:07the plug-in dojson file name context 7
- 10:48:11if I ask if I just open a new chat here
- 10:48:14I could say can you access context 7
- 10:48:19I installed the same as a plug-in okay
- 10:48:24so let ask plot let's see what it will
- 10:48:26tell hopefully it will be able to okay
- 10:48:29so available as an MCP server plugin in
- 10:48:31the environment ment I will use it to
- 10:48:32fetch current documentation whenever you
- 10:48:33ask about library. So that is what
- 10:48:34context M is used like let's say if
- 10:48:36there is some new change in cloud code
- 10:48:38only tomorrow right in the repository
- 10:48:39etc. So it can get the latest changes.
- 10:48:41That is the whole idea everyone. So
- 10:48:43again built-in uh I think we have
- 10:48:44already seen like these all are present
- 10:48:46here everyone like lots of them honestly
- 10:48:47I think please don't create it yourself
- 10:48:49if it is present. I think the one
- 10:48:50present will be better. Plus of course
- 10:48:52now that you understand all these things
- 10:48:54right you can easily uh expand on the
- 10:48:57same. So that was the very first thing
- 10:48:59everyone that how it is available. So
- 10:49:01official one is like very very helpful.
- 10:49:03If I say right if I just let's say go
- 10:49:06back and present here and I say I want
- 10:49:09to use the superbase Python SDK to
- 10:49:11create new file and add them to a custom
- 10:49:13table called subscriber show me the
- 10:49:14exact code. So when I ask this question
- 10:49:16everyone in a new chat hopefully it will
- 10:49:18try see it is saying that hey MCP
- 10:49:21plugins context 7 resolve library id so
- 10:49:24it will just call context 7 with this uh
- 10:49:26library it will get the same. Now it is
- 10:49:29saying query documentation. So it will
- 10:49:30try to query the documentation and
- 10:49:33context I think will increase in so it
- 10:49:34is 6k once it queries
- 10:49:38uh okay I think it has got all these
- 10:49:39things so it was not very big actually
- 10:49:41should be fine so yeah I think we can
- 10:49:43see that how it is able to get the best
- 10:49:45code out there so any library anything
- 10:49:46context can help you with that that is
- 10:49:48the whole case now to be very honest
- 10:49:50everyone you can also do one thing if
- 10:49:52you go in here there is a I think a code
- 10:49:55review one as you can see code review
- 10:49:57claw plug-in official I can just go
- 10:49:59outside I could just uh paste this
- 10:50:02plug-in install code review at the rate
- 10:50:04code plug-in official and it will just
- 10:50:06install the same so again just going to
- 10:50:08the that side and just installing it
- 10:50:10that is how it is helpful and we can do
- 10:50:12all these things we can now run the same
- 10:50:13as well everyone front end plug-in and
- 10:50:14all these things next uh everyone again
- 10:50:17there is one very good as well I will
- 10:50:18just show you which is hookify okay
- 10:50:23so Hookie easily create custom hooks to
- 10:50:25prevent unwanted behaviors by analyzing
- 10:50:27conversation patterns or No explicit
- 10:50:29pattern defined loose via simple
- 10:50:30markdown file. So we'll install
- 10:50:32components make sure you test a plug-in
- 10:50:34before installing updating or using it.
- 10:50:36Enthropic does not control what MCP
- 10:50:38server file or other software included.
- 10:50:39So it is telling you this as well right.
- 10:50:41So I can just open homepage.
- 10:50:43When I open homepage everyone this thing
- 10:50:45gets opened.
- 10:50:48So again clawed plugins official it is
- 10:50:51with anthropic so it should be fine
- 10:50:53right? I can see plugins and I can see
- 10:50:55external plugins. So again it can be
- 10:50:57like this as well where it is present or
- 10:50:59it is inside your GitHub as well like
- 10:51:02where it all of this is present rather
- 10:51:03see skills created is present here. So
- 10:51:06that is the whole idea everyone skills
- 10:51:07creator as a plug-in is having create
- 10:51:09skill as a skill. Okay. So skill creator
- 10:51:11as a plug-in it is having create skill.
- 10:51:14So all these are present. Uh now of
- 10:51:16course I can I think copy this and if I
- 10:51:18go back here if I do slash plug-in and
- 10:51:22next is marketplace everyone. So again
- 10:51:24we have the agent observed from GitHub
- 10:51:26cla plug-in official but if I paste this
- 10:51:29and if I try to add let's see uh cla
- 10:51:32exited is code on fail to add
- 10:51:33marketplace failed to clone marketplace
- 10:51:35repository. Okay let me do this three
- 10:51:37main and let me now try to add it. Okay
- 10:51:40so we can check like how we can add it
- 10:51:41but yeah marketplace is again where all
- 10:51:43these different different plugins are
- 10:51:44created. So if you are adding a
- 10:51:46marketplace then you will see plugins
- 10:51:47from that marketplace. So app store apps
- 10:51:50okay uh that is the whole case. Now let
- 10:51:52me talk about a little bit on the third
- 10:51:53party one as well. So if I open few of
- 10:51:56the websites there is smidri.ai AI right
- 10:52:00connect agent to MCP in minutes that is
- 10:52:02the whole idea but yeah it is also
- 10:52:03giving you these plugins only right like
- 10:52:04remote reddit jai gi Instagram Google
- 10:52:08super right then there is everyone's
- 10:52:10skills MP
- 10:52:12agent skill master so again it is
- 10:52:14telling you as skills but I think if you
- 10:52:16go in any of them let's say open claw
- 10:52:20npx add uh wget let me just go back and
- 10:52:24specifically search for claude right
- 10:52:27claude code. Let me go back and search
- 10:52:30Claude code.
- 10:52:32So it is giving or let me just ask
- 10:52:34plugins claude code. Okay. So create
- 10:52:37plug-in that is present. Official claude
- 10:52:39code plugins. I think these we have
- 10:52:40already seen. Then these are 28 official
- 10:52:43cloud code plugins. Most people don't
- 10:52:44know about. So you would know about them
- 10:52:46now. Right. Let's see this. So clot
- 10:52:48plugins. I think anyway now we are
- 10:52:50having it. So it should not be a
- 10:52:51problem. So this should be pretty
- 10:52:52helpful everyone. I remember one being
- 10:52:55this particular everything clot code.
- 10:52:57Yeah. So, aan m uh everything clot code.
- 10:52:59Now, again these are third party
- 10:53:00everyone just like smidi and others
- 10:53:02which I showed you. Uh again it is
- 10:53:05having multiple different different
- 10:53:07plugins and stuff right so see the guide
- 10:53:09this is only short hand guide long form
- 10:53:10like again it has just done the part
- 10:53:12what I will do I will just make sure
- 10:53:14that I could easily add right so I will
- 10:53:18just copy and go to marketplace
- 10:53:20/marketplace uh sorry slash plugins I
- 10:53:24can go in this marketplace and see what
- 10:53:26I'm pasting github col aan m and let's
- 10:53:29see air exited try owner or http let me
- 10:53:33get the complete HTTP path maybe right I
- 10:53:36think it can get added by this so now it
- 10:53:39is working okay so seem like it should
- 10:53:41need some particular file acceptor right
- 10:53:43once it adds again all the plugins will
- 10:53:45be there we can delete the same as well
- 10:53:46I will be deleting it because again I
- 10:53:48have not gone through each and every one
- 10:53:49of them but now I think if you will see
- 10:53:52few of the plugins in the end will be
- 10:53:54from that marketplace okay so that is
- 10:53:55the whole idea even
- 10:53:57from everything see from everything claw
- 10:53:59code right so that is how we see the
- 10:54:01same now of course you can go through
- 10:54:02the file or an ask plot code for the
- 10:54:04timing I will be deleting it you can
- 10:54:06refresh them as well so if you're
- 10:54:07creating it as your at your company
- 10:54:08level I think you can easily just
- 10:54:10refresh for the latest changes so it is
- 10:54:11just like a repo which all of you guys
- 10:54:13are having right but again uh most of
- 10:54:15them are safe but still see this uh
- 10:54:18forks and stars like this one is pretty
- 10:54:19good right agent harness performances
- 10:54:21skill inst memory security so pretty
- 10:54:24helpful right that is the whole case I
- 10:54:26think in the so it is having for codeex
- 10:54:28cursor lots of things rather so that's
- 10:54:30pretty helpful right everyone dot plot
- 10:54:32dot claude plug-in right I think this is
- 10:54:35where it is having that file which I was
- 10:54:36talking about name see so this is
- 10:54:38something which is actually in the back
- 10:54:39end helping claude to say that hey yeah
- 10:54:41seems like this person is having
- 10:54:42something so it is having this claude
- 10:54:45plug-in and if you go back there is dot
- 10:54:47claude as well so now I'm just telling
- 10:54:49you that how these all things gets
- 10:54:50connected right so see it is I think
- 10:54:52having some teams everything cloud code
- 10:54:53team config
- 10:54:56controls empty but yeah I think skills
- 10:54:58are there which we can use so multiple
- 10:55:00things are there everyone which we can
- 10:55:01go through but Again, as I said,
- 10:55:03community plugins are not reviewed by
- 10:55:04anthropics, so they cannot always be
- 10:55:06saved. Please do a due diligence
- 10:55:08properly. That is the whole idea, right?
- 10:55:10That will just help you to save. But
- 10:55:11again, just try to search and if you're
- 10:55:13able to find one, just test it out. This
- 10:55:15is the complete anatomy everyone. Now,
- 10:55:17again, instead of understanding this
- 10:55:18because I know that most of you might
- 10:55:20not do that. Uh because you can see
- 10:55:21cloud code is good with this thing,
- 10:55:23right? I can just copy paste this
- 10:55:24complete thing. I can just actually copy
- 10:55:25paste it like this, right? Copy paste.
- 10:55:28Uh let's say copy page or uh copy page.
- 10:55:30Okay. Or I could normally ask, can you
- 10:55:34create a plug-in for from my dotcloud
- 10:55:40folder? Okay. In this project. So, let
- 10:55:42me let me just answer a simple thing.
- 10:55:44Now, the reason I'm doing this and most
- 10:55:46people don't is I want that you use and
- 10:55:47save your token, save your money in your
- 10:55:49company, right? If none of them is
- 10:55:51listening, you go and create one for
- 10:55:52you. Okay? I'll help you create a skill
- 10:55:54based uh okay skill. What we doing?
- 10:55:56Skill based pas. Let me start by
- 10:55:58understanding. So now again see now it
- 10:55:59is doing the mistake. I will go here. I
- 10:56:02will paste this thing which I copied.
- 10:56:04Okay. Uh rather lots of things honestly.
- 10:56:06So should be fine. I can I can spit some
- 10:56:08context for all of you. And now I will
- 10:56:11ask can you create a plug-in for me from
- 10:56:16my claude folder in this project. Right?
- 10:56:21Because it is having multiple things
- 10:56:22everyone. I want to use that. Let's see
- 10:56:24what all it is having agents hooks and
- 10:56:26everything. Right? So let's see. I'm
- 10:56:29ready to ship your uh task manager app.
- 10:56:31Quick task project based on cloud. MD. I
- 10:56:33can see you're building a Python task
- 10:56:34manager. Okay. What would you like to
- 10:56:35work on?
- 10:56:36I want to create a claude code plug-in.
- 10:56:42Okay. So I'm just asking it. Let's see.
- 10:56:44I will not push it a lot but I just want
- 10:56:46to show see to get started. See it is
- 10:56:48asking what is the purpose code review?
- 10:56:49What component does it need? We will use
- 10:56:51it. Okay. So purpose is to share with
- 10:56:56team. It should contain
- 10:57:00everything
- 10:57:03inside my dotcloud folder in this
- 10:57:07particular
- 10:57:09particular project. So what I will also
- 10:57:10do every I will go here copy path and
- 10:57:15paste it.
- 10:57:16So hopefully I think it will be able to
- 10:57:19create if you're not missing out on
- 10:57:20anything because it is having the
- 10:57:21complete context now. So thought and
- 10:57:24yeah I think it can take time. So that
- 10:57:26should not be a problem. It is having
- 10:57:2718k tokens because we have provided this
- 10:57:29complete thing reading few things. It is
- 10:57:31on the edit edit automatically. See it
- 10:57:33is reading the multiple files and
- 10:57:34everything creating claw code cloud md
- 10:57:37settings.json because again it needs to
- 10:57:40uh create that right everyone. So that
- 10:57:41is the case.
- 10:57:44So it is saying that hey uh perfect I
- 10:57:46can help you create a plug-in that
- 10:57:47packages everything from dotcloud folder
- 10:57:48for deal sharing. Let me clarify a
- 10:57:50couple of things. Plug-in name let's say
- 10:57:51quick task.
- 10:57:53So I can just say quick task. Scope uh
- 10:57:57let's say local scope.
- 10:58:01I'm just saying local scope not a
- 10:58:02project scope. What to include
- 10:58:05everything? Okay
- 10:58:08[snorts]
- 10:58:09I will scapold [clears throat] the full
- 10:58:10plug-in structure for you. So auto
- 10:58:12format or reading like again now majorly
- 10:58:14it is reading everything of course when
- 10:58:15we are creating it uh we can spend more
- 10:58:17time uh I'm just doing it maybe just in
- 10:58:195 minutes for all of you settings dojson
- 10:58:22cloud.plugin is created everyone uh so
- 10:58:25that is a good thing like it is having
- 10:58:26cloud.plugin/cryptas plugin/cryptas
- 10:58:29and okay I think that is where it will
- 10:58:31also be present in our yeah so dot
- 10:58:33claude do we have a dotcloud/plugin here
- 10:58:37as well
- 10:58:39uh unable to see it so maybe it is not
- 10:58:42present what I will also do a name so
- 10:58:46now if I see this everyone dot claude
- 10:58:50dotcloud jawbackm no dotcloud plug-in
- 10:58:53okay so it should be fine let's go back
- 10:58:55I can say yes so again let it is copying
- 10:58:57everything as you can see. So all of
- 10:58:58these things are being copied everyone
- 10:59:00but it is having this plug-in JSON as
- 10:59:02well. So name, version, description,
- 10:59:04name, keyword and everything and I think
- 10:59:06this is yeah how it can easily be
- 10:59:08maintained. So on this dotcl/ plug-in is
- 10:59:10there in any directory we can quickly
- 10:59:12add the same or we can install this as
- 10:59:14well. Okay or we can ask lot only like
- 10:59:16hey now can you push it to some GitHub
- 10:59:17and everything. So see it is saying that
- 10:59:19hey let me create a settings on. So in
- 10:59:21that case it is doing all these things
- 10:59:22for us enabled plug-in quick task
- 10:59:24plug-in directory.
- 10:59:26Uh so it is installing and enabling it
- 10:59:27for me. That is the whole idea.
- 10:59:30Perfect. I have created a quick task
- 10:59:32plug-in for team sharing. Uh what your
- 10:59:34team gets all six to share with the team
- 10:59:35it is giving. Anyway commit the dot
- 10:59:37plugin/quick to directory to version
- 10:59:39control. So I can do get add get commit
- 10:59:42then update.cloud setting.json project
- 10:59:44scope enabled plugins and this
- 10:59:46particular thing. This way team members
- 10:59:47automatically get the plug-in when they
- 10:59:48pull the repo. So pretty good thing
- 10:59:50right? That is very very nice way of
- 10:59:52just sharing your plugins and you can
- 10:59:53create it at the biggest end as well. So
- 10:59:55that is the whole case. Now of course
- 10:59:57you can go through the complete uh thing
- 10:59:58as well everyone like go through the
- 11:00:00complete anatomy of this file. I have
- 11:00:02built the same right in front of you as
- 11:00:03well using the thing which we have
- 11:00:05already done. So pretty sure that that
- 11:00:06would be helpful. And apart from that if
- 11:00:08I see uh so there is one more uh like
- 11:00:12concept which I will leave you with. You
- 11:00:14can just go through the same uh lsp
- 11:00:16which is language uh language I think
- 11:00:20what was the full form server protocol.
- 11:00:23Okay. So again you I want that you read
- 11:00:25through it. What clot code does everyone
- 11:00:27is that it uh like it can get into an ID
- 11:00:31is like how it is suggesting the code
- 11:00:32and everything ids autocomplete go to
- 11:00:35definition all these things and it can
- 11:00:36actually try to work with that as well.
- 11:00:37So that is where this is helpful. Let me
- 11:00:39search like I was again as I've learned
- 11:00:41lots of context. So that is where it has
- 11:00:44now it is created as well. The LSP tool
- 11:00:46gives clock intelligence from a running
- 11:00:47language server. After each file edit it
- 11:00:50is able to give you all these things. So
- 11:00:51monitor and all this. Just just read
- 11:00:52about this. This is also part of plug-in
- 11:00:54and claude actually provides you some
- 11:00:56plugins right so if you will see let me
- 11:00:58quickly search uh let's say python lspa
- 11:01:03code uh little technical little
- 11:01:05technical but still it is helpful right
- 11:01:06cloud code also code lsp which allows
- 11:01:08the cli to understand your python code
- 11:01:10structurally rather than just as plain
- 11:01:12text by integrating lsp server like
- 11:01:13python cloud can jump to definition find
- 11:01:16references and detect type errors in
- 11:01:18real time so the idea behind is that I
- 11:01:19will tell you why it is helpful uh now
- 11:01:22if you see this file right let's say
- 11:01:24source
- 11:01:26claude will not see now this epicosy our
- 11:01:30id and again no one will tell you this
- 11:01:32the reason I'm able to tell because I've
- 11:01:33learned like full documentation lots of
- 11:01:35content so like at highest level I think
- 11:01:38I I have actually done more than like I
- 11:01:41have spent like actually a more than
- 11:01:42month to master clot code before I
- 11:01:44teaching you these all things your uh
- 11:01:46particular ID it is seeing this as from
- 11:01:49this as an import these as libraries
- 11:01:52these as uh constants but your cloud
- 11:01:55code everything is a text right once you
- 11:01:57install these plugins then connecting
- 11:01:59with the same it is able to jump and do
- 11:02:02that everything so see enabled lsp tool
- 11:02:04language server binary so again install
- 11:02:06the cloud plug-in / plug-in python lsp
- 11:02:09restart your cloud code key benefit
- 11:02:11speed code navigation move from 30 to 60
- 11:02:13second to less than 50 IC because now
- 11:02:16when it sees this particular thing like
- 11:02:18let's say if I see
- 11:02:21uh where is this create app getting used
- 11:02:23so I can directly jump. So now see your
- 11:02:25browser it is having the exercise that
- 11:02:27hey this is where this create app is
- 11:02:28getting used it is the same file I think
- 11:02:29somewhere we will be using other things
- 11:02:31as well. So that is the whole benefit
- 11:02:33like whenever wherever like let's say
- 11:02:35for example this task is used I could
- 11:02:37see that it is being used in models py
- 11:02:39and then storage py now for example
- 11:02:42[clears throat] everyone this storage py
- 11:02:44your clot code as of now for it it is
- 11:02:46just a tool like it will try to see that
- 11:02:48hey it is being integrated from
- 11:02:49source.model let me go to models and let
- 11:02:51me get the read file but when it gets
- 11:02:53that ISS so that is where the plug-in is
- 11:02:55also very very helpful okay so maybe
- 11:02:57have that thing just touching upon that
- 11:03:00the whole idea is that it is
- 11:03:02The complete difference between cloud
- 11:03:03code guessing your types and cloud code
- 11:03:05knowing your types uh in a complex
- 11:03:07typescript or python project the
- 11:03:08difference is like let's say it is able
- 11:03:10to understand the full working code and
- 11:03:11you can see semantic is distri between a
- 11:03:13class definition and a comment
- 11:03:15mentioning that class name real time
- 11:03:16diagnostic lo detects missing imports or
- 11:03:18type mismatches support go to definition
- 11:03:21file references hover to see real
- 11:03:22function signature and do string so
- 11:03:24maybe when it is having it here since
- 11:03:26your model is able to tell this
- 11:03:28particular thing it might not even have
- 11:03:29to go through that so That is the
- 11:03:31benefit of these plugins. I think they
- 11:03:33are present directly here.
- 11:03:36But yeah, please make sure that you see
- 11:03:39that out. Uh and let me search LSP.
- 11:03:42Yeah, see TypeScript LSP and everything.
- 11:03:44I can just quickly download for one for
- 11:03:47Python. Where is it for Python?
- 11:03:52Okay. So, uh I think I have the command
- 11:03:55only. So, copy that command for Python.
- 11:04:03Uh okay let me go back
- 11:04:06this
- 11:04:09uh python has been not found. Okay
- 11:04:11strange maybe then it was typescript
- 11:04:13only. So I remember python tsp being
- 11:04:15there and I could say install it for
- 11:04:17user scope. So now again at a if you're
- 11:04:18working on this you are totally sorted.
- 11:04:21Okay so this I think is like the last
- 11:04:23part and with that again everyone I
- 11:04:25think we have covered plug-in as well in
- 11:04:26a lot of depth. Now I know that people
- 11:04:28close this thing up in 3 to 5 minutes
- 11:04:29maybe some clickbaity videos but uh I
- 11:04:32don't want to stop there. I want to make
- 11:04:34sure that I tell you that how it is
- 11:04:35actually useful. So again takeaways
- 11:04:37create plugins across teams or
- 11:04:38organization very very helpful. You will
- 11:04:40save like actually tons of tokens
- 11:04:42because people will not be recreating it
- 11:04:44again and again. You will also make sure
- 11:04:46that along with that you are able to
- 11:04:48maintain that uniformity because if your
- 11:04:50agents are same, if your skills are
- 11:04:52same, if your way of coding and Claude
- 11:04:54is having the idea then it will be very
- 11:04:55very nice. if your MCPS etc are also
- 11:04:57same. So it is actually like when people
- 11:04:59ask me that thing like how can I make
- 11:05:01like for a for a manager or for a normal
- 11:05:03person that how can I make my team and
- 11:05:05uh let's say company AI ready this is
- 11:05:08the thing which gets done there right
- 11:05:10like that is what is making you AI ready
- 11:05:12because if your whole team is because
- 11:05:14see no one will share these dot plot
- 11:05:16folders they will be getting outdated
- 11:05:18and again people might be very touchy
- 11:05:20about them as well but yeah the whole
- 11:05:22idea is that once you create this thing
- 11:05:23and you increase that kind of a overall
- 11:05:26uh let's a
- 11:05:28culture then for sure your team will be
- 11:05:30shipping a lot faster and believe me on
- 11:05:33this you will see the difference okay so
- 11:05:34take it from me this thing is something
- 11:05:36which no one will tell you but it is
- 11:05:37very very helpful okay so with that
- 11:05:39everyone I think we have actually
- 11:05:41covered plug-in in a lot more depth way
- 11:05:43way way more than required of course you
- 11:05:45can go through the documentation please
- 11:05:46understand about this MCP part uh LC LCP
- 11:05:49part that is very very helpful okay so
- 11:05:51that you can read through the same and
- 11:05:53yeah I think that is all now let's meet
- 11:05:55in the next part where I will just talk
- 11:05:56a little bit about scheduling because I
- 11:05:58want to make sure that you're not always
- 11:05:59hooked up to your like machine and if
- 11:06:02you're let's say on a break in your
- 11:06:03office or normally as well you can even
- 11:06:05have the full control of cloud code and
- 11:06:07everything there or you can maybe run
- 11:06:09something without uh let's say uh
- 11:06:11directly being connected to your cloud
- 11:06:14code or any other thing so that is
- 11:06:15something which I will teach you now
- 11:06:17right uh that let's say if even if you
- 11:06:19want to run something every day in the
- 11:06:21morning the code review or maybe you
- 11:06:22want to do a code review right uh like
- 11:06:25Why what is stopping you to just uh
- 11:06:27let's say have it on a server cloud code
- 11:06:29on a server and just schedule the same.
- 11:06:31So that is what I going to teach you.
- 11:06:32Now again why am I teaching you because
- 11:06:34I want that you actually use cloud code.
- 11:06:36You're not just having a idea that hey
- 11:06:37this is how cloud code works. My idea is
- 11:06:39that in real time how can I give you
- 11:06:41that confidence that hey AI is actually
- 11:06:44saving my time. uh and yeah he's maybe
- 11:06:47not coming for my job because if it
- 11:06:48comes I know so many things that easily
- 11:06:50I can get another job or even I know
- 11:06:51that hey how can I automate my whole job
- 11:06:53as a coder or as a no coder anyways that
- 11:06:56is the whole idea everyone so let's meet
- 11:06:58in the next part where we will discuss
- 11:06:59about scheduling and automation loops
- 11:07:00okay if you're liking the content and I
- 11:07:03do hope you're liking it because I've
- 11:07:04put in so much effort please make sure
- 11:07:06that you like the video please share it
- 11:07:07with everyone else in your network
- 11:07:09because again it took me a so many time
- 11:07:11of effort I think for the entire full
- 11:07:12month I was learning it and I didn't put
- 11:07:14up any video etc as well and yeah do
- 11:07:16make sure that you subscribe to my
- 11:07:17channel so that you keep on getting all
- 11:07:19these awesome videos in depth
- 11:07:20explanation and then you can make uh
- 11:07:23make yourself properly ready. Okay, so
- 11:07:24let's now meet in the next part. So
- 11:07:26great everyone now let's start with the
- 11:07:28next part that is scheduling and
- 11:07:30automation loop. Now again that is
- 11:07:32actually something which will help you
- 11:07:33to automate your job right for real. So
- 11:07:35again as of now what all we have been
- 11:07:37doing we you need to be in front of your
- 11:07:39machine and for many of them who wants
- 11:07:41to actually enjoy life and let AI do
- 11:07:43their work maybe that is not something
- 11:07:45again at many places we actually need
- 11:07:46that hey things can work so let me paint
- 11:07:48you a picture because that would be very
- 11:07:50helpful let's say that picture one you
- 11:07:51arrive every day at office and every
- 11:07:53morning you are spending your first 30
- 11:07:54minutes doing the same thing right check
- 11:07:56for failing test review the overnight
- 11:07:58error logs then read through the open PS
- 11:08:00okay then make sure that you scan the
- 11:08:02build state like status of the pipeline
- 11:08:04and And then let's say copy paste a
- 11:08:06message to slack that hey this is all
- 11:08:08what is happening and every single day
- 11:08:09you are using it and I think again many
- 11:08:11of you will be doing the same thing. Now
- 11:08:12let me help you to automate the same.
- 11:08:14Now under the next part every when you
- 11:08:15arrive at the office your standup is
- 11:08:17already written the failing test are
- 11:08:18already kind of diagnosed and error logs
- 11:08:21or anything which has to be focused
- 11:08:22right that has already been kind of
- 11:08:25mailed to you directly right uh all the
- 11:08:27risky PR they have been flagged and
- 11:08:29let's say that all has been done ATM so
- 11:08:31you're getting a email as well like if
- 11:08:32you want we can we can even expand it
- 11:08:34because I've taught you at that level
- 11:08:35that you can expand that hey every day
- 11:08:37you are getting that email as well and
- 11:08:38it is directly connected to your real
- 11:08:40work so again you can automate lots of
- 11:08:43things uh which might or might not have
- 11:08:46to do with multiple things but yes here
- 11:08:47you it is all connected with your
- 11:08:48rework. So the difference between those
- 11:08:50two picture is scheduling everyone and
- 11:08:52claude code gives us multiple ways like
- 11:08:54majorly three ways in which we can uh
- 11:08:56like make sure that we can have the p
- 11:08:58like overall picture two as our reality.
- 11:09:00So that is the whole case. So now let's
- 11:09:02try to understand everyone. Now first
- 11:09:04let's try to understand that how cloud
- 11:09:06code scheduling is different from others
- 11:09:08right. Uh very very important thing I
- 11:09:10would like to also show you one thing.
- 11:09:11So all of this I think is present
- 11:09:13somewhere in uh okay where it was
- 11:09:16automation with hooks
- 11:09:19programmatical usage. Let me see
- 11:09:21scheduling.
- 11:09:24Let me search loops
- 11:09:28take loop requires a loop.
- 11:09:31So it was somewhere I think it built
- 11:09:34with cloud code and if I remember yeah
- 11:09:37pops so I miss it out like it was /
- 11:09:39loops and everything but honestly I've
- 11:09:40gone a little bit more ahead in that so
- 11:09:43it was all in cloud version right I will
- 11:09:45also like so these are actually the
- 11:09:46three versions actually three things
- 11:09:48which I was also talking about so that
- 11:09:50is where I will keep this image as well
- 11:09:52use it but no worries let's first see
- 11:09:54this uh idea even that how is cron jobs
- 11:09:57uh with judgment so how is clot code
- 11:09:59different from your typical chron job
- 11:10:01Right? And that is where even in a
- 11:10:03traditional chron job and for people who
- 11:10:05are not aware I will explain chron job.
- 11:10:06Chron job is just like let's say you
- 11:10:08have hired someone and say that hey run
- 11:10:10this thing just that so at a particular
- 11:10:13time you will tell him exact pinpoint
- 11:10:14time that hey if it needs to be run at
- 11:10:168:00 a.m. every day then it will run at
- 11:10:188:00 a.m. every day. Now again I will
- 11:10:20discuss about multiple ways. If your
- 11:10:21machine is not running for example if
- 11:10:23you say that hey claude please run the
- 11:10:25code review agent at 8:00 a.m. every day
- 11:10:26but your machine is off it will not
- 11:10:28work. So we have other ways for that but
- 11:10:31traditionally what used to happen
- 11:10:32everyone it was a simple script. So
- 11:10:34let's say that if you're moving
- 11:10:35something or if you are reading some
- 11:10:36file but if it has not been done then
- 11:10:39that used to stop okay so because it
- 11:10:41gain an error. So see script runs API
- 11:10:43returns error script exist no output
- 11:10:44silence 12 p.m. humanize check logs see
- 11:10:47exit code one from 3 hours ago start
- 11:10:49debugging blindly. So execute scripts
- 11:10:51fail surrenly in cloud code now again
- 11:10:54because it is smart. If API returns an
- 11:10:56error, it agent reads the error. Tries
- 11:10:58alternative endpoint. Alternative also
- 11:11:00fails. Document both failure with
- 11:11:02context. Sends lack notification with
- 11:11:04diagnosis. Suggest fix in notification.
- 11:11:06So this is the level of control which we
- 11:11:07get because uh chrome Java just like
- 11:11:10let's say you are
- 11:11:13uh having something which is no brain.
- 11:11:14Okay. So no brain nothing at all. But
- 11:11:16with clot when you schedule a task, it
- 11:11:19can also fix your errors etc as well.
- 11:11:20Right? So that is the whole case
- 11:11:22everyone. So difference is reasoning not
- 11:11:23just execution. very very important part
- 11:11:25which I want all of you to master. Okay.
- 11:11:27Now let me show you what do I mean by
- 11:11:29chrome. So I think there's a chrome guru
- 11:11:31or some website I remember. Yeah. So
- 11:11:33back in so I have actually written chron
- 11:11:35job for the very longest of the time. Uh
- 11:11:37thanks to AI now actually you don't need
- 11:11:39to worry about that. You just tell what
- 11:11:42you want right and it will all be kind
- 11:11:44of done. So ideally it is something like
- 11:11:46this where the first one is minute then
- 11:11:49hour then day month then week day. So
- 11:11:51using this five uh basically things uh
- 11:11:55five sorry digits you can easily specify
- 11:11:58right you can easily specify that when
- 11:12:00you want to run like complete thing
- 11:12:02right and believe me this has genuinely
- 11:12:05powered so many scripts in my career
- 11:12:07like when I started my career I remember
- 11:12:09that we were having at least 15 20 uh
- 11:12:12scripts back in oo running so that it
- 11:12:15can do our work and all these things and
- 11:12:17I create the dashboard everything right
- 11:12:18so believe me like this is actually from
- 11:12:21software development started. I myself
- 11:12:23have done this thing. Now the best part
- 11:12:24with us is that now everyone is that
- 11:12:26chat GPT
- 11:12:29give me a chron config for running
- 11:12:35something on
- 11:12:38M uh MWF at 8:00 a.m.
- 11:12:44See it has just given you. So that is a
- 11:12:47whole idea right. It is very very simple
- 11:12:48or you can tell the script as well.
- 11:12:50Earlier uh believe me like there has
- 11:12:52been a case uh and I'm sharing because
- 11:12:54many people might be able to report
- 11:12:56where I used to create this and I used
- 11:12:58to then check every at that particular
- 11:13:00if if it had ran or not because again it
- 11:13:02can get confusing as a fresher right. So
- 11:13:05good or bad old days but no worries. Uh
- 11:13:07now let's see everyone move forward and
- 11:13:09understand the three ways of scheduling.
- 11:13:11Now the very first one everyone is cloud
- 11:13:12routine desktop schedule task and then
- 11:13:15is the loop command. So I will just
- 11:13:17discuss them one by one. We will start
- 11:13:19from the bottom and we will make sure
- 11:13:21that we are kind of going to the top. Uh
- 11:13:24/ loop command is everyone what runs on
- 11:13:25your local. So the idea is very simple.
- 11:13:27I will just need it runs in current
- 11:13:28session only. So I can just have
- 11:13:29actually / loop here as well. Right? So
- 11:13:32if you will see / loop it will just ask
- 11:13:34me that hey what do you want to run on
- 11:13:36loop and tell me when you want to run.
- 11:13:37See uh okay. So it is saying I see the
- 11:13:39plug-in command isn't available. Let me
- 11:13:41open a new a new one and just have this
- 11:13:43slash
- 11:13:45setting fail to parse user main task
- 11:13:47manager app claw setting local expected
- 11:13:49record but received array. So I think
- 11:13:51this can be deleted. Uh I think it has
- 11:13:53done some problem like something here.
- 11:13:55Let me delete it. That would be a better
- 11:13:56approach. So see it is asking loop
- 11:13:59interval the loop command and a prompt
- 11:14:00or a slash command repeatedly. You need
- 11:14:02to provide what you want to loop. So it
- 11:14:03is directly asking you that hey when do
- 11:14:04you want to run and everything. So that
- 11:14:06is how the loop command runs everyone.
- 11:14:08So you can easily have a skill a
- 11:14:10command. So if you remember we also
- 11:14:12discussed that how can I create a not
- 11:14:15file. How can I create a command here?
- 11:14:19So this
- 11:14:21in it command I think it was command on
- 11:14:24commands you can see the same but yes
- 11:14:26inside it if you have defined a command
- 11:14:27then it can run right. So that was the
- 11:14:29whole idea of even and yeah it is
- 11:14:31actually that simple that where if you
- 11:14:32have a / loop command you just tell when
- 11:14:34you want it to run and you can even
- 11:14:35provide chron there. So just as an
- 11:14:37example if I want to run everything let
- 11:14:39me open a new one only let me see some
- 11:14:41skill here what is the skill which skill
- 11:14:44is this build app okay so it's a
- 11:14:46complete skill let us go back and see
- 11:14:48like what other we are having let me
- 11:14:50open another one everyone just a second
- 11:14:52file open descent
- 11:14:58we can I think open this one so it was
- 11:14:59the major one which you were working on
- 11:15:00right so now if I show you this skills
- 11:15:04here we are not having any skill in This
- 11:15:08in this we are having so claw empty
- 11:15:10because we kind of went inside it we are
- 11:15:12having whatever right generate report so
- 11:15:15what I can do everyone pay attention I
- 11:15:17could just copy this as well copy path
- 11:15:22go here
- 11:15:24/ loop 1 minute
- 11:15:27uh and I could just provide so let's
- 11:15:29let's try to see what we are having here
- 11:15:32what is the skill or I can just run the
- 11:15:35skill
- 11:15:36from this directory
- 11:15:39directory.
- 11:15:41So again it is just going to take and
- 11:15:43schedule this thing up everyone. Now I
- 11:15:44will highly suggest that we can also ask
- 11:15:46cloud code that hey any loop which I'm
- 11:15:48creating any task please make sure that
- 11:15:50you are creating a uh you are creating
- 11:15:53let's say a file for that so you are you
- 11:15:56are sure that what all is there right
- 11:15:58skill generate report is in recognized
- 11:15:59let me check what's in the skill
- 11:16:00directory so see how nicely it is able
- 11:16:01to see now now I can see it is a let me
- 11:16:04invoke it and see generate report is
- 11:16:05working now I will proceed with the
- 11:16:07default input to scan/ src python and
- 11:16:09everything now I will read the python so
- 11:16:10it is working if you stop it as well if
- 11:16:13you stop it as well for to time me uh in
- 11:16:16this particular session right everyone
- 11:16:18in this particular session very very
- 11:16:20important thing this skill will run most
- 11:16:22probably in 1 minute okay so I think we
- 11:16:24can try to understand more things so I
- 11:16:28hope that the killing it have not done
- 11:16:30let me ask okay so see I think it has
- 11:16:32started so again I'm not done anything
- 11:16:35like it is just doing perfect now I have
- 11:16:37the full information of the Python let
- 11:16:38me stop it
- 11:16:40I'm stopping it again let us just wait I
- 11:16:43think in in just 30 40 seconds because
- 11:16:45it started 10 20 second have been passed
- 11:16:47and it will run again again I've just
- 11:16:48shown you with 1 minute of course we can
- 11:16:50do it a lot better and instead of 1
- 11:16:52minute you can either ask cloud only
- 11:16:53that hey this is how I want to run or
- 11:16:55you can just pro give your chron command
- 11:16:58so that is a more mature way of just
- 11:16:59giving these things up nothing else uh
- 11:17:01and in this particular session everyone
- 11:17:03as long as this session is running uh it
- 11:17:05will keep on working so that is the
- 11:17:07whole idea now see uh okay I think it
- 11:17:09will be starting so it has started again
- 11:17:11everyone again I've not done anything it
- 11:17:12is starting let Let me just do one thing
- 11:17:14I can show you. So can you please
- 11:17:18uh stop a loop I created? Let's ask
- 11:17:22claude only like how it will do it. Let
- 11:17:24us ask this first this thing user is
- 11:17:26asking me to uh so yeah chron delete was
- 11:17:28the command. I forgot about that. Yeah
- 11:17:29the loop has been cancelled. So chron
- 11:17:31delete was the command everyone and if
- 11:17:32you want actually you have a uh overall
- 11:17:34control. So if you remember we used to
- 11:17:37create these environment variables
- 11:17:39right. So in claude at administration
- 11:17:42level I think there are environment
- 11:17:43variables right environment
- 11:17:47variables
- 11:17:49this is uh something which we have been
- 11:17:51setting right so in this you can set up
- 11:17:53these environment variables everyone
- 11:17:54where if you want to let's say have
- 11:17:56something disabled you could easily do
- 11:17:58the same so that is the level of control
- 11:18:00which we get uh again I will be showing
- 11:18:03you towards the end like which
- 11:18:04environment variable it is but for the
- 11:18:05timing let's go back to
- 11:18:08scheduling run and prompt on the
- 11:18:09schedule and this I think is pretty
- 11:18:11simple thing like it creates a chron job
- 11:18:13now people uh if you I think you should
- 11:18:16be aware like if I think go here as well
- 11:18:17when I do plen I can see all the chron I
- 11:18:20don't have any chron on my laptop of
- 11:18:22course but this is how actually it works
- 11:18:24so again uh very important thing uh I
- 11:18:27don't need need think that you should go
- 11:18:28inside this now just please make sure
- 11:18:30that you are asking your clot that hey
- 11:18:31please create a file which where you are
- 11:18:33just telling that what all I have
- 11:18:35scheduled but let me tell you about the
- 11:18:37negatives everyone if you close the
- 11:18:38terminal and stop if claud is busy on a
- 11:18:41long request. So for example, if I was
- 11:18:42already uh working on something here,
- 11:18:45right? If I was already kind of doing
- 11:18:47some edits etc which is working with
- 11:18:48multi- aent setup and everything, it
- 11:18:50will it will get uh overall uh basically
- 11:18:53it will be queued up. So it will not
- 11:18:55that hey it will work and everything
- 11:18:56because at the end of the day it is just
- 11:18:58like that if I send it high then I'm
- 11:19:00sending another message. So this is
- 11:19:01queued up right. So again first one will
- 11:19:03get done. Now it is saying user type
- 11:19:05which appears to be a random text or
- 11:19:06possibility type. they should ask for
- 11:19:08the clarification. So again it is just a
- 11:19:10message which gets picked up into your
- 11:19:11current terminal and uh if let's say you
- 11:19:15start a current new uh new conversation
- 11:19:17everything is gone. So no context not
- 11:19:19whatsoever. Right? So of course what I
- 11:19:21can do everyone if I just create uh I
- 11:19:24will create some things here. Right? I
- 11:19:26will just create new folder in here. Let
- 11:19:29me create a new folder and let me say
- 11:19:31loops and automation.
- 11:19:34Right? I will just have 1 txt. So pay
- 11:19:39attention on what kind of things we can
- 11:19:40control we can create. If you are let's
- 11:19:42say having this right uh start a cloud
- 11:19:46code in your project. Uh so once you
- 11:19:48have started the clock code then start
- 11:19:49clock and loop 2 minutes. Check if the
- 11:19:51file deploy.log exist. If it does read
- 11:19:53its first 20 lines and tell me whether
- 11:19:54the deployment succeeded or failed or is
- 11:19:56still in progress. If it succeeded stop
- 11:19:59watching. If it failed explain the
- 11:20:00error. Now instead of this again this is
- 11:20:01a very very simple approach everyone. Uh
- 11:20:03second everyone where we can have this
- 11:20:05kind of a thing. So zero check for any
- 11:20:08new pull request open in the last hours
- 11:20:10using the GitHub MCP. If anyone are
- 11:20:11found give me PR title and other a one
- 11:20:14paragraph description of what it means.
- 11:20:15So again I'm just giving you the
- 11:20:16scenario right? what all it can do and
- 11:20:18the idea is very very simple everyone
- 11:20:19that uh in here you should ideally be
- 11:20:22running a complete skill and then you
- 11:20:25can connect that skill with some command
- 11:20:26or with some MCP as well. So again I've
- 11:20:28already showed you that how you can
- 11:20:29connect M with MCP. If you will go in
- 11:20:32here and if you will search Slack MCP so
- 11:20:35Slack MCP servers are also present right
- 11:20:37GitHub MCP Slack MCP telegram WhatsApp I
- 11:20:40think WhatsApp is little bit difficult
- 11:20:42Telegram is pretty simple and any app
- 11:20:44rather which you're using and even you
- 11:20:46can have the Gmail MCP etc as well right
- 11:20:48and if required you can get your own MCP
- 11:20:50server as well on any 10 or any other
- 11:20:51easy route. So that should all be very
- 11:20:53very simple and easily doable for all of
- 11:20:55you. So believe me it is an awesome
- 11:20:56awesome way of doing it. Now uh normally
- 11:20:59everyone I think most of the people just
- 11:21:02close this loop thing here but I would
- 11:21:04like to show you few more things here
- 11:21:06right what exactly happens everyone or
- 11:21:08something which I'm showing you that is
- 11:21:10something known as headless uh pay so I
- 11:21:12will just show headless mode now the
- 11:21:15reason again I'm showing because uh if
- 11:21:17in case let's say when you run a loop
- 11:21:19right it ask you that hey I want your
- 11:21:22input so you will learn from me or
- 11:21:24somewhere else uh not from me you will
- 11:21:26learn from somewhere else you will see
- 11:21:27that
- 11:21:28This person told me that uh we can
- 11:21:31easily
- 11:21:32create a skill and it will run. But now
- 11:21:34when I'm doing the same uh it is asking
- 11:21:37me in between. So something which I
- 11:21:38thought will be over at ATM it is stuck
- 11:21:40because it needed my input. And that is
- 11:21:42where everyone I think if I search it
- 11:21:44here it should be present
- 11:21:46uh headless. Yeah
- 11:21:49run clot code programmatically. And in
- 11:21:51this everyone we have a headless mode as
- 11:21:53well. So here I was previously called
- 11:21:54headless mode. The hyphen P flag what it
- 11:21:56is called now? Uh okay so I think it has
- 11:21:59changed see what happens everyone the
- 11:22:01whole idea is that when you run it
- 11:22:02beside this right it will be not asking
- 11:22:05you anything so see cla p what does the
- 11:22:08o module do right and you can give it
- 11:22:11allow tools etc as well so understand at
- 11:22:13what level now we are mastering these
- 11:22:15things up right that you can give it
- 11:22:17some allow tools you can some give it of
- 11:22:19course all these things and it will run
- 11:22:20this and this hyphen p everyone make
- 11:22:22sure that it is not going to ask you for
- 11:22:25anything so that is what the headless
- 11:22:27this uh basically mode happen and that
- 11:22:29is what you want right it should not be
- 11:22:31the case because I told you that how it
- 11:22:33is intelligence so I told you that how
- 11:22:35it is different right claw code
- 11:22:36scheduled task it is having that
- 11:22:38intelligence but let's say that if you
- 11:22:40are asking okay so I will just say
- 11:22:42review the code okay just I'm saying
- 11:22:43this and if I just ask this particular
- 11:22:46thing and you create your skill uh you
- 11:22:49create some automation and it is asking
- 11:22:51you in between that hey please say yes
- 11:22:53let me let me stop this it will
- 11:22:54unnecessary have four tokens I would Say
- 11:22:57create a dummy. py file. Okay, let's say
- 11:23:01that it it you have a skill which
- 11:23:03creates a file like hey what all
- 11:23:04happened and it is it is stuck on this
- 11:23:06when you come back it is stuck on this.
- 11:23:08Not a not a right thing right and
- 11:23:10normally you will be creating these
- 11:23:11skills up in some server which is
- 11:23:13running because of course you will not
- 11:23:14be having your laptop open atm. So what
- 11:23:16do I mean by server? I will quickly show
- 11:23:18you and I will create a dedicated video
- 11:23:20around that as well. If you go, let's
- 11:23:22say if I'm hosting a server, if I go to
- 11:23:25my account,
- 11:23:27if I log in with this one, right?
- 11:23:32Then everyone uh I think I deleted clot
- 11:23:34code, but I can still show you what I
- 11:23:36mean by server. So I have a machine here
- 11:23:37which is running 24/7. So if I go on my
- 11:23:40VPS, if I go on manage and that is like
- 11:23:42actually how we do stuff, right? So I
- 11:23:46think uh okay, so it is connecting. Nice
- 11:23:47thing. See see everyone what is
- 11:23:49happening here in this now I can have
- 11:23:52everything right so I can actually have
- 11:23:54each and everything so it is just saying
- 11:23:56select an editor to change the latest
- 11:23:58select editor I can select uh let's say
- 11:24:01I'm more fine with them so should be
- 11:24:03fine so here is where you can have all
- 11:24:05these commands right everyone so again
- 11:24:08if I do chron a see it is 522 stars to
- 11:24:11run by chron now what I can do where I
- 11:24:13can take the benefit pay attention again
- 11:24:15I will just quickly recap what all we
- 11:24:16have done because For few of you this
- 11:24:18might be little bit technical. See we
- 11:24:20want to make sure that we set an intern
- 11:24:22who can run our command. Earlier the
- 11:24:23intern was totally having no brain. Now
- 11:24:25with claud it is having a brain. Then we
- 11:24:27kind of understood that okay what are
- 11:24:28the different different ways of doing
- 11:24:29this thing. So this is where it is
- 11:24:30present everyone and I mentioned
- 11:24:32everything here as well. So I think we
- 11:24:34we added that image as well which I
- 11:24:35would like to paste now. So multiple
- 11:24:38ways uh entropic cloud are the routines.
- 11:24:42Then it's the desktop which is our
- 11:24:43machine and / loop which is also on our
- 11:24:45machine. requires machine on? Yes. No.
- 11:24:47Yes. Okay. So, we we will see that. For
- 11:24:49example, if I talk about loop, it is
- 11:24:51running on our machine. Yes. Does it
- 11:24:52require my machine to be on? Of course,
- 11:24:54it requires. Requires an open session.
- 11:24:56Of course, it requires an open session
- 11:24:57because it runs in that particular
- 11:24:58session only. Persistent across restart
- 11:25:02if an expired. Okay. So, if it is not
- 11:25:04expired because normally I think it is
- 11:25:06having an expiry of 3 days. So, you can
- 11:25:08check that up. Access to local files. Of
- 11:25:10course, it is having that. MCP servers
- 11:25:11it can inherit from the session. all the
- 11:25:13session which is having the edit uh
- 11:25:15servers permission prompt in edit from
- 11:25:17the session customize schedule yes you
- 11:25:19can customize it minimum interval of 1
- 11:25:21minute okay so that is the whole case
- 11:25:22now pay attention everyone when we talk
- 11:25:24about loop I have told that hey how can
- 11:25:25you create this thing and that is where
- 11:25:27everyone stops I am saying that hey if
- 11:25:29you have also created a loop but at the
- 11:25:31end of the day that loop requires some
- 11:25:33input from you okay so let's say it is
- 11:25:35asking you these things right or
- 11:25:36normally as well it is saying it is
- 11:25:37running and it feels that it should ask
- 11:25:39something from the user work will stop
- 11:25:42you expecting that hey at 8:00 a.m. May
- 11:25:44told me that I will be totally free
- 11:25:45because my work will run at 8 a.m. but
- 11:25:48it is not working. So that is where
- 11:25:49everyone what we do pay attention. Uh if
- 11:25:52I show you this terminal I can do an ls
- 11:25:55quickly. Yeah. So if I do claude uh - p
- 11:25:59and I say let's say explain code and
- 11:26:03create a file. Okay. So it is now
- 11:26:05running in a headless mode everyone.
- 11:26:07Okay. The whole idea it will run it will
- 11:26:10not show me anything. It will just do
- 11:26:11the work. It will not ask me for any
- 11:26:13input or anything as well and see I
- 11:26:16would happy to help once you provide the
- 11:26:18details I can explain the code. So again
- 11:26:19it is again our prompt was pretty bad.
- 11:26:21Okay so that was the case. What code
- 11:26:23would you like me to explain because I
- 11:26:24think we have not ran it properly. Let
- 11:26:26me just do this. So claude pi
- 11:26:31how are you? Let me do this.
- 11:26:37So this headless mode is very very
- 11:26:39helpful. Now what you can do everyone
- 11:26:40you can make sure that if you are
- 11:26:42creating something so see hello I'm
- 11:26:43doing fine thanks for asking I'm ready
- 11:26:45to help you with your agents teams demo
- 11:26:46project okay I can just say claude
- 11:26:49hyphen p let me clear out everything as
- 11:26:51well because this is a very very good
- 11:26:53hack now one thing to clear everyone
- 11:26:56this is not a replacement of allowed all
- 11:26:58edits or something no it is just a way
- 11:27:01in which your claude will work okay I
- 11:27:04will repeat it claude will work without
- 11:27:07any interface or something. So this is
- 11:27:09what headless mode is. Okay, so don't
- 11:27:11get confused that hey man said that this
- 11:27:13can work and everything. No, you still
- 11:27:14have to give each and every permission,
- 11:27:16right? But the best part is that you
- 11:27:18will not see all that long text and
- 11:27:19everything. So that is where plot-
- 11:27:22p if I ask it create a dummy file,
- 11:27:26dummy. py file, it will still not work.
- 11:27:31It will say that hey you have not
- 11:27:32provided me a permission like I cannot
- 11:27:33do that. So let's wait for this.
- 11:27:38do v I think I've done the same. So see
- 11:27:40I need your permission and everything it
- 11:27:41is still saying that but if let's say I
- 11:27:43add this change uh let me copy the same
- 11:27:46because I will make a spelling mistake I
- 11:27:48know that danger skip permission and I
- 11:27:51think I'm not uh stopped that from the I
- 11:27:54hope I'm not stopped that from the like
- 11:27:55top up so that should be helpful.
- 11:27:59So create a dummy py file create a dummy
- 11:28:01py file right so again it is not uh it
- 11:28:04is just starting it is just doing like
- 11:28:05that because see once you do this every
- 11:28:07day you will not be like seeing all the
- 11:28:08things and everything right and in that
- 11:28:10manner everyone what you can also do
- 11:28:12once you have done this right I can say
- 11:28:15hyphen allowed
- 11:28:18tools and let's say I just give it read
- 11:28:21okay so I'm just giving it read by by my
- 11:28:24uh choice it will most probably not
- 11:28:26create it because again though it can
- 11:28:27change permission allow tools are just
- 11:28:29read. So for your majority of the jobs I
- 11:28:32think it will be read or it will be
- 11:28:34based on some condition. We have already
- 11:28:35seen this. So see it is already exist.
- 11:28:37It is saying let me just do one thing I
- 11:28:39think. So first it tries to see the
- 11:28:40file. Let me do with dummy 2. Okay. Let
- 11:28:44me do
- 11:28:49let it run.
- 11:28:55Great. Uh okay. So I think that this
- 11:28:58allow tool is something different maybe
- 11:28:59then I have I hope I'm not again let me
- 11:29:03just check
- 11:29:05I think it was like this let me check
- 11:29:07again let me change
- 11:29:11I hope like again it is not dangerous
- 11:29:12skip permission is kind of going through
- 11:29:14that but let's see still else you can
- 11:29:16check it out like you can just ask that
- 11:29:18hey why this is happening
- 11:29:22run.
- 11:29:26So okay, it is able to create. Maybe the
- 11:29:29commands are coming from the top but
- 11:29:30again we can check that up. I thought
- 11:29:31that it will fail but uh again everyone
- 11:29:34what will happen right? What we have to
- 11:29:35make sure when we are doing these things
- 11:29:37up if we are running these things right
- 11:29:38if we are running these things normally
- 11:29:40just telling we have to make sure that
- 11:29:42we are also uh kind of creating a log
- 11:29:44file because see at the end of the day
- 11:29:46just just giving you an example that why
- 11:29:48this is very very important at a very
- 11:29:50very high level.
- 11:29:51If you are running something and let's
- 11:29:55say that someone comes up and he
- 11:29:56destroys the session. So let's say my my
- 11:29:58command is running here okay and someone
- 11:30:00just refreshes or do a quick clear and
- 11:30:03you cannot scroll and everything right
- 11:30:04here you are able to scroll but if
- 11:30:06someone peers and deletes something or
- 11:30:07maybe machine restart by any chance then
- 11:30:09you will not be able to get it right. So
- 11:30:11this is not how you should be using it.
- 11:30:12What I can do everyone pay attention. I
- 11:30:15could also make sure that I am running
- 11:30:17it clot-p check deployment status. Okay,
- 11:30:19instead of this I will just make it
- 11:30:22check
- 11:30:25if file exist
- 11:30:29if dummy py exists.
- 11:30:32Right, it will not show me anything.
- 11:30:34Okay. Uh, permission denied. Claude P.
- 11:30:37Uh, okay. I think where is it trying to
- 11:30:39create? Just a second everyone.
- 11:30:44So, no. Okay. I think I have to create
- 11:30:45this. So, what I will do? I will just
- 11:30:47read all of this thing because this uh I
- 11:30:49think I've done this particular part and
- 11:30:51yeah
- 11:30:54see this read only file system
- 11:30:58let me try this because
- 11:31:01yeah so again this time what it will do
- 11:31:03and that is where like smartness of
- 11:31:04cloud comes in I just told that hey run
- 11:31:07this thing up and I will just tell you
- 11:31:08in a bit that how it will be kind of uh
- 11:31:10used then so see now if I do an ls I
- 11:31:13should be having a file uh created clot
- 11:31:16task if I do vi claude task log dummy if
- 11:31:20you it's an untacked file in your
- 11:31:21working directory what you like me to do
- 11:31:22with it so again you are able to see
- 11:31:23each and everything right so that is
- 11:31:25where you log these things up now
- 11:31:26everyone though most people stop on loop
- 11:31:30now I will tell you how you actually do
- 11:31:31the whole thing right see pay attention
- 11:31:33now what we have covered you have
- 11:31:34covered the loop command it requires
- 11:31:35every time that you have a session open
- 11:31:38but normally as I said you will be
- 11:31:39working on machine like this right which
- 11:31:40will be always open your session might
- 11:31:42not always be open now you can go inside
- 11:31:44this chrome tab
- 11:31:46Okay, hyphen
- 11:31:48and you can create a job in here. So
- 11:31:50that was the whole point everyone. So
- 11:31:52that is why I was just showing you these
- 11:31:53things up and again I know that these
- 11:31:55are not that straightforward but the
- 11:31:58whole point was that at the end of the
- 11:32:00day this is how you actually use it. You
- 11:32:02will not be creating keeping your
- 11:32:03session open. Now if I paste this pay
- 11:32:04attention 09 like again I'm just saying
- 11:32:07here work days at every uh like let's
- 11:32:09say every 9th like every day in the
- 11:32:12morning for weekdays
- 11:32:14I'm telling it that hey this is like
- 11:32:16again this is the full command right so
- 11:32:18I'm just telling that hey this is the
- 11:32:19full command cloud - p okay you just go
- 11:32:22to this directory cla p read git log for
- 11:32:25the last 24 hours and write a standup
- 11:32:26report to this particular thing so now
- 11:32:28when I open it my cla will be running
- 11:32:30now and this is the level of actual
- 11:32:32understanding which I want all of you to
- 11:32:34have because now it is actually uh
- 11:32:36actually actually scheduled earlier that
- 11:32:39hashtag log a hashtag loop is good for
- 11:32:41showing and everything but this is where
- 11:32:43actually it gets up and kind of does the
- 11:32:45work and if I now let's say go back and
- 11:32:47just save it so my chron tab is there
- 11:32:49now of course I'm not having I think
- 11:32:50output uh here so I can just delete this
- 11:32:52file up and it will work or let me just
- 11:32:58start so it is not deleted uh how I'm
- 11:33:01using whim is totally different uh don't
- 11:33:02worry But uh yeah everyone that is the
- 11:33:04whole way you are able to do these
- 11:33:06things up and that is actually how now
- 11:33:08you're you are actually scheduling stuff
- 11:33:11because again it is going to run a new
- 11:33:12session it is going to run that command
- 11:33:14it is not it is going to have all the
- 11:33:15logs and you can just add that hey just
- 11:33:17skip permission or you can give it a
- 11:33:19scale as well. So go to that particular
- 11:33:20directory now again this is actually how
- 11:33:22things run in the corporate and
- 11:33:23enterprise right you will not be doing
- 11:33:24everything from your browser. So and
- 11:33:27again you can give it an access maybe
- 11:33:28you can have a machine to yourself or
- 11:33:31maybe you can call it to uh actually
- 11:33:32call some API. So again this is very
- 11:33:34helpful as well. You are asking it to
- 11:33:36call an MCP server and that MCP server
- 11:33:37send you the request. So you are not
- 11:33:39also having any problem here. Right. So
- 11:33:40that is how actually you do these things
- 11:33:42up. Okay everyone. So very very
- 11:33:43important. Believe me no one will teach
- 11:33:45you this things because they are
- 11:33:47actually very very advances. Not
- 11:33:49advanced I would say that the major
- 11:33:50problem happen that people who are
- 11:33:52teaching they have not worked in this
- 11:33:53state uh in this environment. So they're
- 11:33:55teaching without that experience. So my
- 11:33:57experience is actually coming in role
- 11:33:58here. I know that just having a simple
- 11:34:00session level/ loop is not helpful.
- 11:34:03Okay. So yes uh that is actually how you
- 11:34:06use clot for scheduling. And this is
- 11:34:08something which I wanted to tell. So
- 11:34:09again now let's everyone see the next
- 11:34:11part. Now next is actually in the
- 11:34:13application. If you will see this
- 11:34:14application uh now again I'm not doing
- 11:34:16it like you can see routines here. Okay.
- 11:34:18Create a temporary routine that can be
- 11:34:19kicked off on schedule by AP or a web
- 11:34:21hook. So you can create a local or a
- 11:34:22remote routine. I will show you the
- 11:34:24routine in a bit. But what it also gives
- 11:34:26you a is this dispatch. Okay. So again
- 11:34:29the idea is that your claude in your uh
- 11:34:32phone it will get connected to this
- 11:34:34session. So even if you're away uh how I
- 11:34:37see it that you are connected via your
- 11:34:39mobile to your uh this and you can just
- 11:34:42tell it like this is just an input thing
- 11:34:43right? So because at the end of the day
- 11:34:45we are just typing something right. So
- 11:34:46you can just type and it will just give
- 11:34:48you the respond and everything here by
- 11:34:49doing it on your machine. So as an
- 11:34:50example we have already seen the
- 11:34:51playright MCP. we can learn a skill and
- 11:34:53everything. So see it is just able to
- 11:34:55call these things up everyone and this
- 11:34:57you can try it out. I think this is more
- 11:34:58than easy to do uh anything you open see
- 11:35:01can you open adm landing page propose in
- 11:35:04my downloads and give me the key points.
- 11:35:06So it will be able to access your uh
- 11:35:08computer right so that is the whole idea
- 11:35:10like it is having the access to your
- 11:35:11machines and everything your files. So
- 11:35:13that is how it is able to work. If I do
- 11:35:14pair your phone then it will be showing
- 11:35:15me a QR my phone is actually being
- 11:35:17getting used right now. So that is why I
- 11:35:19want to make sure that you understand
- 11:35:20this as well. The idea is pretty simple
- 11:35:22here. If I show you
- 11:35:24let's go see desktop your machine still
- 11:35:26it is on your machine it requires
- 11:35:28machine on of course it requires like if
- 11:35:29you will stop your machine how will it
- 11:35:31access your download folder or open your
- 11:35:32browser requires an open session no
- 11:35:34because it can start a new session up
- 11:35:36but I've given you a very very good hack
- 11:35:37okay I've given you a excellent hack
- 11:35:39hack which doesn't require even you to
- 11:35:41open your session uh and etc because
- 11:35:43when you will be working on machine so
- 11:35:45the hosting the machine which I was
- 11:35:46showing you everyone and I will be
- 11:35:48creating some separate thing in here
- 11:35:50Right.
- 11:35:52Run. So this hostinger machine I will
- 11:35:53show you how to set it up and everything
- 11:35:55in maybe a separate video. Okay. They
- 11:35:56have open clause separately and agents.
- 11:35:57So they're also doing a lot better. So
- 11:35:59if I go and manage it has been running
- 11:36:01for like like what it has been on since
- 11:36:04VPS and time 19 days and that is
- 11:36:06actually how things get sent right.
- 11:36:08Okay. What is this thing incoming
- 11:36:10traffic? Okay. Very strange but yeah I
- 11:36:13think should be I will I will check it
- 11:36:14afterwards. But yeah this is the uh
- 11:36:15machine everyone which keeps on running.
- 11:36:17Now I've told you that how you can
- 11:36:18automate. So just have your code on like
- 11:36:20again for people who are aware for
- 11:36:22nontech people a little sorry uh this
- 11:36:24might not be a little clear to you for
- 11:36:26tech people you just have a machine from
- 11:36:28which you can have a command running I
- 11:36:30think that you [clears throat] all are
- 11:36:31very equipped if not let me know and I
- 11:36:33will explain that as well but yeah I
- 11:36:34think we are well equipped that how to
- 11:36:36not run things on this machine for again
- 11:36:38this this next part everyone is I think
- 11:36:40pretty helpful for ning people and
- 11:36:41everyone so see uh just directly go to
- 11:36:43this connect your phone and everything
- 11:36:45will be working right so that is the
- 11:36:46whole case
- 11:36:48All these things are I think kind of
- 11:36:50present permission prompts customizable
- 11:36:52schedule minimum interval config files.
- 11:36:55So you can even have something running
- 11:36:56here. If you go on routines you create a
- 11:36:59local routine it will just ask you the
- 11:37:01same thing that name which folder and it
- 11:37:03will just work in the background right.
- 11:37:04I think it is present in the in that as
- 11:37:06well. If you will go on go right it is
- 11:37:09present here as well right? So that is
- 11:37:11the whole case. So turn ideas into
- 11:37:13diagram chart. I think they have just
- 11:37:14keep on updating few things. Okay.
- 11:37:18So, uh in here as well everyone you will
- 11:37:20see that how schedule manually, hourly,
- 11:37:22daily, weekday, weekly if you go on
- 11:37:24manually. Uh okay. So, where is it
- 11:37:27asking? I think it might ask you
- 11:37:28afterwards but uh you can give it I
- 11:37:30think a chrome thing or just ask and
- 11:37:31tell it. So that is again how the things
- 11:37:33will work. So very very important but
- 11:37:35again it also requires you to get your
- 11:37:37machine open. Now let's move on to the
- 11:37:39last one everyone. So that would be very
- 11:37:41very helpful. Okay. Again I'm not go
- 11:37:43like again you can easily just connect
- 11:37:44it and see the demo. The idea is that it
- 11:37:46will work in that case. Next everyone is
- 11:37:48very very important which is your clawed
- 11:37:50routines. So loop we have discussed
- 11:37:52clawed routines automate without
- 11:37:53infrastructure. Now here you can be
- 11:37:55anywhere in the world because your
- 11:37:56machine is not not getting used. So if
- 11:37:58you go on cloud if you go on cloud AI in
- 11:38:02here you will see this /ash code. Okay.
- 11:38:04So here it is also there / code. When
- 11:38:06you click on this cloudi/code
- 11:38:09uh again it is not running on your
- 11:38:12machine. It is all on the internet.
- 11:38:13Right.
- 11:38:14Lots of things are kind of lost. But
- 11:38:16what the best part is everyone that
- 11:38:17again you can select a repo. You can
- 11:38:20also select the cloud environment etc.
- 11:38:22We can see the cloud environment. Okay.
- 11:38:23Name it. We can just even have the full
- 11:38:25access. We can give it environment
- 11:38:26variables and subscripts as well and it
- 11:38:29will just just connect and run that
- 11:38:31there. So again all the same thing which
- 11:38:32I've told you plan mode accept right.
- 11:38:34This is transcript view mode add you can
- 11:38:38give the command as well. So press and
- 11:38:39hold to record. So again everyone more
- 11:38:41thing here also we have this voice
- 11:38:42command now. So let me go to claude.
- 11:38:46In here there's a voice command. Toggle
- 11:38:48voice mode on. It will ask for your So I
- 11:38:51I have actually disabled this
- 11:38:52permission. Like if I show you here as
- 11:38:54well. Let me see if it is present here.
- 11:38:55Voice. Uh it is in the terminal only. I
- 11:38:57actually it asked me for a permission
- 11:38:59but I don't want to give my permission
- 11:39:01to my terminal. Okay. No never because I
- 11:39:03terminal can actually access everything.
- 11:39:05But yes you can just give the inputs
- 11:39:07like with voice. Okay. That is the whole
- 11:39:08case. So all the things are present here
- 11:39:10as well. Now if you will see we can
- 11:39:11select a repo as well everyone. Now
- 11:39:13again my GitHub is connected so I can
- 11:39:15see all these repo and it can then work
- 11:39:16on the same. So that is the whole idea
- 11:39:18but but but at the same time the whole
- 11:39:20benefit lies when you can connect it to
- 11:39:21a routine. If you will click on this new
- 11:39:24routine here you can say that hey daily
- 11:39:26code review
- 11:39:29make sure that you go through my code
- 11:39:35every uh properly as an SD3. So just
- 11:39:40normally schedule GitHub event or an
- 11:39:42API. So I can give it an API as well
- 11:39:44every or it will give me an endpoint
- 11:39:45which I can directly hit it is connected
- 11:39:48to my different different tools. It is
- 11:39:49having a behavior autofix pull request
- 11:39:51permissions. So I can add a repository
- 11:39:53to configure a permission. I think I can
- 11:39:54select a repository. Let me just select
- 11:39:56uh let's say
- 11:39:58uh this is zon detection for the time
- 11:40:00being. Now I can give it a permission
- 11:40:01that hey allow unrestricted get push let
- 11:40:03the agent push to any branch on this
- 11:40:05repo including the default branch. So
- 11:40:07yeah maybe I maybe I can tell it that
- 11:40:08hey please please create another branch
- 11:40:10don't create into the main thing I can
- 11:40:11tell it the model as well. So let's say
- 11:40:13IU default cloud environment if I want
- 11:40:15that hey it is having some environment
- 11:40:17variables then I can create an
- 11:40:18environment. So very very helpful but
- 11:40:21nothing of this is running on your
- 11:40:22machine. You can call it either via uh
- 11:40:25API or you can call it on a schedule as
- 11:40:27well. So let's say I call it every day
- 11:40:29at 9:00 a.m. my it should go through my
- 11:40:31codebase. Then it is connected to my
- 11:40:33Gmail. It can be connected. I can add a
- 11:40:34connector. Let's say uh slack. Okay. I
- 11:40:37think I've not connected my snack
- 11:40:38outside. So if we go on project
- 11:40:42customize connectors,
- 11:40:45browse connectors.
- 11:40:47Slack is there. Connect it. It will ask
- 11:40:49me to login. Right? Pretty simple
- 11:40:51approach. That is what you can also do.
- 11:40:53Ask your team that hey please open this
- 11:40:55and then tell it like that that hey what
- 11:40:57you want and I think you can easily
- 11:40:59create it.
- 11:41:01Copy this token or it won't be shown
- 11:41:02again. use it to fire the same routine.
- 11:41:04So I can just copy this uh I can copy
- 11:41:06this done and see it is API trigger is
- 11:41:11enabled connector it is also repeat
- 11:41:12instructor make sure that you go through
- 11:41:14the same I can run it now normally as
- 11:41:15well and it is all on cloud. So actually
- 11:41:18this is like the best thing which you
- 11:41:21can do now again it comes with your
- 11:41:23subscription so you can create it. Uh if
- 11:41:25I refresh let me just check because
- 11:41:27again if you will see routines are here
- 11:41:30here as well everyone
- 11:41:32let it refresh remote
- 11:41:36uh different accounts my bad so I'm not
- 11:41:38sure like you can check if it gets
- 11:41:39refreshed but this is from a different
- 11:41:41account and this is a different account
- 11:41:44so that's why they are not synced okay
- 11:41:46so I can uh edit it out very simple like
- 11:41:48again I think this is as easy as it gets
- 11:41:50right you can just run your routines if
- 11:41:52you want you can actually run your like
- 11:41:53create a routine here which has nothing
- 11:41:55to do with uh let's say your code bases
- 11:41:58right so delete it ask it that hey go
- 11:42:00through my Google calendar and send me
- 11:42:01an email pretty simple approach right uh
- 11:42:04this is not able to send a g like the
- 11:42:06character of claude it is not able to
- 11:42:08send a Gmail message so maybe you can
- 11:42:10select slack etc but yes that is how it
- 11:42:12will work and it can send you these
- 11:42:13things up so very very simple I think
- 11:42:15the same kind of things are more easily
- 11:42:17doable if you have co-work right because
- 11:42:21in co-work as well we are having the
- 11:42:22schedule task but Again it will require
- 11:42:25that you are having your machine open
- 11:42:28whereas in your cloud code and I I think
- 11:42:30now it should be clear like they created
- 11:42:32cloud code then they said that hey
- 11:42:34nontech people can also love this thing
- 11:42:36let's keep that from nontech people and
- 11:42:38that is where co-work came into picture
- 11:42:40and believe me all the things are
- 11:42:41exactly the same in the co-work projects
- 11:42:44live artifact dispatch is there
- 11:42:46customize and having the skills so that
- 11:42:48is the mindset of building and rather
- 11:42:50their their goal uh line was clawed code
- 11:42:52for I everyone. Yeah, that was a main
- 11:42:55line of cloud code a few time back. So
- 11:42:57if I search just in front of you claude
- 11:42:59code for everyone.
- 11:43:03Uh okay, I think they have just changed
- 11:43:05it or maybe gone through it. So claude
- 11:43:08co-work cla code power for knowledge
- 11:43:10work. Yeah. So they they they know that
- 11:43:12this the main thing is claude code only,
- 11:43:15right? That is the whole idea. So see it
- 11:43:17just works in that manner. So I'm not
- 11:43:18going in depth everyone. But yeah, you
- 11:43:20can create it. I will be deleting it.
- 11:43:21But I hope you get the idea clear and
- 11:43:23one thing more because it is clawed code
- 11:43:25it is also on GitHub event. Okay. So if
- 11:43:28I select a repository let's say uh this
- 11:43:30again I could say that hey whenever
- 11:43:32there is a PR open whenever there's a PR
- 11:43:33merge when there is a release published
- 11:43:35whenever there is a issue open I think
- 11:43:36you like again for people who know
- 11:43:38GitHub they will understand that you can
- 11:43:39have a filter condition as well that
- 11:43:41author is one of okay another one so
- 11:43:44title all these things. So again if it
- 11:43:46is a bug if you are having in the title
- 11:43:48bug or in the body bug ask it that hey
- 11:43:50don't do anything okay so that is the
- 11:43:52kind of condition so I can say that if
- 11:43:54title
- 11:43:56[clears throat]
- 11:43:57equals or let's say is not one of
- 11:44:02contains yeah so it's not one of let's
- 11:44:04say bug right or I could just say
- 11:44:07contains matches reg x so reg x also you
- 11:44:11can use here everyone equals contains
- 11:44:12starts with so that is all the thing
- 11:44:15which we can do right so then only it
- 11:44:17will be triggered so that is all the
- 11:44:18filters etc will be even so other is not
- 11:44:21one of let's say I don't want that hey
- 11:44:23it runs on my github so again it is
- 11:44:24giving you all that level of command and
- 11:44:26that is the real automation right so
- 11:44:27this is actually the real automation I
- 11:44:29think custom is not working maybe we
- 11:44:31will have to go back but yeah I think
- 11:44:33you get the idea even that is how strong
- 11:44:34it is and that is how you can actually
- 11:44:36now add the things up so schedule API
- 11:44:38post or get payments I've shown you both
- 11:44:40all of them entropic infrastructure your
- 11:44:42credentials stored security Agent cloud
- 11:44:46code instance spin-ups repo fresh clone
- 11:44:48of your repository it gets all the code
- 11:44:50tools MCP servers GitHub Slack access
- 11:44:52everything results files written PR
- 11:44:54committed message sent report generated
- 11:44:56your laptop is sleeping task runs
- 11:44:58laptop's closed you don't need to be
- 11:44:59there this is the level of automation
- 11:45:01and uh looping which you can do and that
- 11:45:03is where actually AI is working for you
- 11:45:04now so now the whole idea clear and I
- 11:45:06think I have not seen anyone talking in
- 11:45:08this much depth because now you actually
- 11:45:10know how you can automate stuff these
- 11:45:11are few of the examples everyone
- 11:45:13automate PR workflow
- 11:45:14GitHub event PR open cloud routine read
- 11:45:16need read difference to write the
- 11:45:17initial review comment and everything
- 11:45:20error response loop GitHub event PR open
- 11:45:22okay so I'm just telling you like where
- 11:45:23all it is possible daily data engine 6
- 11:45:25a.m. Cloud routine
- 11:45:28runs a particular skill valid data
- 11:45:31quality. Now again when you are pushing
- 11:45:33your repo it can have cloud skills at
- 11:45:34separate as well. Right? So that thing
- 11:45:35is always there because it is a cloud
- 11:45:37code instance just on the web. It will
- 11:45:38do its work and stop. If okay runs
- 11:45:41writes output if errors post to Slack.
- 11:45:42Desktop task read process data that
- 11:45:45generates daily dashboard event send to
- 11:45:46stakeholder email by MCB. Weekly code
- 11:45:48quality Sunday 11 p.m. Clo routine read
- 11:45:51test fees check test coverage run
- 11:45:53security scan morning Monday 8 a.m.
- 11:45:56cloud routine reads previous night's
- 11:45:58report create prioritized task list for
- 11:45:59the week assign to appropriate team
- 11:46:01members via GitHub. So see that this is
- 11:46:03now how the automation and everything
- 11:46:05can be done. This is how you can make AI
- 11:46:06actually work for you. I know that many
- 11:46:08of you might not even thought at this
- 11:46:10level it is possible. Now continuous
- 11:46:11documentation every time a file is
- 11:46:12pushed to the main getup command. Cloud
- 11:46:14routine read change files. So again the
- 11:46:16reason I'm showing all of this from
- 11:46:17cloud routine is very very simple. I
- 11:46:19don't want your laptop to be always open
- 11:46:20right or your session. So that is the
- 11:46:22whole case and plus it gets triggered
- 11:46:24based on API and that as well. So that
- 11:46:26is very very important thing as well.
- 11:46:28Okay everyone now before we move and
- 11:46:30close this topic up I think I would just
- 11:46:31like to talk that how we have to discuss
- 11:46:33around the safety as well. So see the
- 11:46:35whole idea everyone is that when you are
- 11:46:37scheduling right when you are scheduling
- 11:46:39these things up of course it is having
- 11:46:41some excesses right which we have to
- 11:46:42discuss about I as a responsible
- 11:46:45uh mentor I cannot just leave you like
- 11:46:47this. So see when you schedule a agent
- 11:46:50that runs without you watching you have
- 11:46:51created a system that can read and write
- 11:46:53your files can run bash commands can
- 11:46:55call external APIs can commit code and
- 11:46:57open PS and can send messages. So I hope
- 11:46:59you do understand that this is not the
- 11:47:02like again these are not the permission
- 11:47:04which you will want any AI to have
- 11:47:06right. So I have though covered around
- 11:47:09hooks and everything in depth each and
- 11:47:11everything we can actually control and
- 11:47:13if you just ask cloud code and sit with
- 11:47:14cloud code I think in one week you will
- 11:47:16be able to easily automate 40 to 50% of
- 11:47:18your job for sure I can assure you like
- 11:47:20after not understanding you can say that
- 11:47:22hey please don't delete my database
- 11:47:24please don't run any command and I think
- 11:47:25it was recently also noticed that cloud
- 11:47:28code deleted a complete database now
- 11:47:30again nothing against anyone I think
- 11:47:31they might have the checks and
- 11:47:32everything in place as well but I feel
- 11:47:34that again with all what we have covered
- 11:47:36you can a better check so that it
- 11:47:37doesn't delete or even it is asking now
- 11:47:38again yeah it may happen that one in
- 11:47:41million it has gone haywire and broke
- 11:47:43but I feel that it is easily possible so
- 11:47:45what we can do everyone like few of the
- 11:47:46tests in which I will write start with
- 11:47:49read only okay so initially make sure
- 11:47:52that when you are trying to automate
- 11:47:53things start with read only things not
- 11:47:54any so make sure that you are giving it
- 11:47:56those commands to just read then write
- 11:47:58output to a specific nondestructive
- 11:48:04path
- 11:48:06So whenever your cloud routine or
- 11:48:07anything is working please make sure
- 11:48:08that you are writing in a
- 11:48:09non-destructive path. What is a
- 11:48:10non-destructive path man? Maybe you can
- 11:48:12ask that hey please send your uh reports
- 11:48:14into this MCP or send this as a slack so
- 11:48:17that even it deletes your repository you
- 11:48:18have an idea okay
- 11:48:21then use human review gates right when
- 11:48:26uh let's say uh when gates for
- 11:48:29irreversible
- 11:48:32actions now here what I what do I mean
- 11:48:34by that everyone so let's say instead of
- 11:48:35saying deploy when test pass right I can
- 11:48:38just give you some prompts to give you
- 11:48:39an idea okay so I've actually written
- 11:48:40them
- 11:48:41Let me copy this and paste it here only.
- 11:48:45See, let me
- 11:48:49stop.
- 11:48:50Okay, I know that I'm discussing these
- 11:48:52things in a lot of I think this will be
- 11:48:53very helpful. So, see this can be a bad
- 11:48:55prompt to everyone. These are a good
- 11:48:57prompt for the same problem. Deployment
- 11:49:00test pass. Here I'm saying that hey
- 11:49:03when test pass write assembly to ready
- 11:49:05to deploy MD and send a slack message
- 11:49:07for asking for human to deploy. Okay, in
- 11:49:10a very similar manner everyone for the
- 11:49:11second part we can have this part C
- 11:49:16for the second one this is the bad
- 11:49:18approach
- 11:49:20and you'll be getting this file so
- 11:49:22please make sure that you take the
- 11:49:23benefit
- 11:49:26update the codebase to fix any linting
- 11:49:28error identify linting errors and write
- 11:49:29the list to reports lint issues do not
- 11:49:31modify any source file only report so
- 11:49:33these are the kind of checks which you
- 11:49:34can have everyone now next part which is
- 11:49:36very very important something which I've
- 11:49:38done as well fourth
- 11:49:39log everything. So I showed you that how
- 11:49:42you can create a log file. Very very
- 11:49:44important because again when it runs in
- 11:49:45the back end you will not be scrolling
- 11:49:47and seeing everything and maybe
- 11:49:48something get lost. You're not sure of
- 11:49:49that. Right? And the last and rather
- 11:49:51very logical part one fifth test
- 11:49:53everything. If you're writing a headless
- 11:49:56command or anything which you're doing
- 11:49:57for that matter test it out first. Like
- 11:49:59don't don't just directly schedule it.
- 11:50:01Just first make sure that every like
- 11:50:02let's say for 3 days at least wake up at
- 11:50:048:00 a.m. and do that thing. Right? So
- 11:50:05that is a b case everyone. Now uh there
- 11:50:08is just one more thing as well. If you
- 11:50:10want right if you want you can just go
- 11:50:12to your uh let's say this thing in a
- 11:50:16project okay in a settings.json you can
- 11:50:18just say claw code disable clone okay so
- 11:50:20I will just copy this thing up and I
- 11:50:22will search in the official
- 11:50:23documentation as well.
- 11:50:27Uh give one minute let me search it.
- 11:50:30See set cloud code equal to one in
- 11:50:32environment to disable the schedule
- 11:50:34entirely. the chron tools do become
- 11:50:36unavailable and any already scheduled
- 11:50:38task stop firing see environment
- 11:50:39variable so if something goes bad uh and
- 11:50:43you are you are like hey I have 10
- 11:50:45things scheduled I don't know what is
- 11:50:47the ID you you kind of got me where I am
- 11:50:50stuck no worries my is here so you can
- 11:50:52just push this thing in your particular
- 11:50:54settings JSON or at a system level
- 11:50:57everything will stop okay so that is the
- 11:50:59whole case everyone uh that is how you
- 11:51:01have to master these things up and I
- 11:51:02think yes just now Like every other
- 11:51:05thing we have mastered this as well a
- 11:51:06lot in depth rather a lot lot in depth.
- 11:51:09Please please remember that headless
- 11:51:10thing and the way I told you how to
- 11:51:12automate that because that is how it
- 11:51:13actually gets automated using that
- 11:51:15actually if you think about it right if
- 11:51:16you actually think about it I have given
- 11:51:18you a claw routine uh claw routine
- 11:51:21uh like a displacement uh not
- 11:51:25displacement an alternative of claw
- 11:51:26routine right which because see cloud is
- 11:51:29also starting a claw code session. I
- 11:51:31have told you that hey just go to your
- 11:51:32chron tabs set up that time and of
- 11:51:34course like maybe like I know I know
- 11:51:37that it can be also automated now like
- 11:51:38it's very simple like you can just run a
- 11:51:40script which you can expose as API point
- 11:51:42and it runs your clot command and
- 11:51:44everything so I've actually given you a
- 11:51:46very very strong thing now so please
- 11:51:48remember that because that is not
- 11:51:49covered anywhere that is something which
- 11:51:50I thought of and I came up that hey this
- 11:51:52can be very very helpful right so that
- 11:51:54is the whole idea everyone based on my
- 11:51:55experience that hey why can't we go and
- 11:51:57go to my machine and have the claw in a
- 11:52:00headless mode it is logging everything
- 11:52:02and it can just run the command and
- 11:52:04again in that it will be also having my
- 11:52:05code every time so it's cloud routine
- 11:52:07will download my code every time because
- 11:52:09it will start that session on the cloud
- 11:52:11so it can still take time it can still
- 11:52:13fail but that one it can just easily get
- 11:52:15the latest updates and everything so I
- 11:52:16can have each and everything so I've
- 11:52:18kind of given you a very good claude
- 11:52:19alternate uh cloud routine alternate as
- 11:52:21well everyone so with that I think uh we
- 11:52:23have again covered this in a lot of
- 11:52:25depth I don't think that you need to
- 11:52:27actually know about anything else in
- 11:52:28cloud each and everything in cloud code
- 11:52:30have been covered. Uh again I will
- 11:52:32highly highly still suggest that you
- 11:52:33read through the same everyone. This
- 11:52:35will be really really helpful. Now I
- 11:52:37think what is left is an end to end
- 11:52:39project where we are using all these
- 11:52:40stuff up. Although I think I've done
- 11:52:41multiple mini projects in between which
- 11:52:43are more than uh capable of explaining
- 11:52:46you about these things up but still uh
- 11:52:48let's try to see if we can have a
- 11:52:49project but I will highly highly suggest
- 11:52:51that run through all these things again
- 11:52:52and master them once and for all because
- 11:52:55all the things which we have covered
- 11:52:56here it is not that they are just useful
- 11:52:58for plot going forward. This is going to
- 11:53:00be the new era of development or new era
- 11:53:03of like creating stuff right even if
- 11:53:05you're a no coder I think the way I've
- 11:53:07explained with all these images and
- 11:53:08everything it should be very very clear
- 11:53:09to you right so that is the level of now
- 11:53:11understanding which I want from all of
- 11:53:12you and I feel that this will be very
- 11:53:15very helpful because the way I've
- 11:53:16discussed and the spend amount of effort
- 11:53:19which I have spent that I think is going
- 11:53:20to be really fruitful for all of you
- 11:53:22okay so with that everyone if you're
- 11:53:24liking now this is actually where we are
- 11:53:26closing the teaching part because though
- 11:53:28there might be some concept here and
- 11:53:30there but I think I have covered more
- 11:53:31than anyone else has covered in more in
- 11:53:33more depth showing you each and
- 11:53:35everything putting in a lot of effort so
- 11:53:36if you are liking this please like this
- 11:53:38video like generally it took a lot of
- 11:53:39time please uh share this with everyone
- 11:53:41and do subscribe to my channel so that
- 11:53:43you keeps on getting this level of
- 11:53:44in-depth content okay so with that let's
- 11:53:47now meet in the next part where we will
- 11:53:49try to maybe create a project or I will
- 11:53:51see like if it needs a separate all
- 11:53:53together part where we have to do the
- 11:53:54project with some understanding but yes
- 11:53:56that is the whole case everyone you can
- 11:53:58of course go through the complete docu
- 11:53:59recommendation so that you can learn out
- 11:54:00other things as well. But after spending
- 11:54:02so much time, I have made sure that I've
- 11:54:04explained each and everything in depth.
- 11:54:06Great everyone. Now let us start with
- 11:54:08our end to end mega project. Now
- 11:54:10although we have done like many many as
- 11:54:12well as I think I think that was almost
- 11:54:14complete multiple projects which we have
- 11:54:15seen and yeah we have learned these
- 11:54:17things in complete depth. uh having a
- 11:54:18project like this it will help you to
- 11:54:20quickly just understand and revise all
- 11:54:21the things plus also to understand that
- 11:54:23how exactly right you will be able to
- 11:54:26develop from scratch using plot code and
- 11:54:28all the things which we have learned
- 11:54:29with respect to skill hooks agent where
- 11:54:32the same will be actually helpful to you
- 11:54:34okay so with that let's get started
- 11:54:35everyone uh one thing to note before we
- 11:54:37start so normally whenever you will be
- 11:54:40working so I can have it like this yeah
- 11:54:42whenever you will start working right so
- 11:54:43whenever you will start there will
- 11:54:45majorly be two things in front of you
- 11:54:47right so either you will be starting
- 11:54:48with uh let's say directly on a project
- 11:54:52right so either you will be starting uh
- 11:54:54just on a project so let me just write
- 11:54:56it down let's say from scratch or you
- 11:55:00will be starting or joining an already
- 11:55:02built project right so let's say already
- 11:55:05built so I can just have it okay I'm not
- 11:55:10here so either you will be now already
- 11:55:11built one right now again both of these
- 11:55:15are very very possible right rather I
- 11:55:17think you should be knowing about them.
- 11:55:18The way we have discussed things, I
- 11:55:20don't think it should be difficult. But
- 11:55:21let me just tell you what should be the
- 11:55:22major aim everyone. So the major aim
- 11:55:24should be that if you are let's say
- 11:55:26starting on an already built project, we
- 11:55:28already have discussed about the /init
- 11:55:30command at least right. So we know that
- 11:55:32how /init command can help you to
- 11:55:34actually create a cloud file which goes
- 11:55:37through all your files and is able to
- 11:55:38work on the same. Along with that if you
- 11:55:40remember we also discussed about explore
- 11:55:42agent and of course we can create our
- 11:55:43own agent etc as well. But very very
- 11:55:46important if the project is already
- 11:55:48built please first try to understand it
- 11:55:51yourself okay because if you are
- 11:55:53thinking that hey just by using AI I
- 11:55:55will be able to do the changes it might
- 11:55:57work for the small small changes but for
- 11:55:58the mega uh changes it might not be that
- 11:56:01helpful so that is the thing which I
- 11:56:03make people uh sorry that is a mistake
- 11:56:04which I make uh sorry see lots of people
- 11:56:07making where they are just saying that
- 11:56:09hey I don't need to know learn how to
- 11:56:11code because majorly you will be kind of
- 11:56:14or might be working on an already built
- 11:56:16project right especially in the company
- 11:56:18and or you might be trans uh like kind
- 11:56:21of transporting a project to cloud code
- 11:56:23and in that case it becomes very very
- 11:56:25important that you are aware about all
- 11:56:27these things right so in there just
- 11:56:28start your slash unit understand the
- 11:56:30projects in depth and then try to see
- 11:56:32that what all different different things
- 11:56:33we can have in there like with respect
- 11:56:34to agents hooks uh skills all these
- 11:56:37things will be really really helpful to
- 11:56:39you plus along with that once you have
- 11:56:41done this a lot you know what the drill
- 11:56:42is we can create a skill as well which
- 11:56:44can start and do all these things for
- 11:56:45us. Right? So with that everyone now
- 11:56:47let's start our project. Now we will be
- 11:56:49doing the same from scratch so that even
- 11:56:51if you're from a tech or a non techch
- 11:56:52background you will be easily able to
- 11:56:53follow. Plus if you're in a college etc
- 11:56:55then you will be able to also makes a
- 11:56:58lot of sense of it right. So with that
- 11:56:59everyone let's try to first quickly
- 11:57:01understand uh what we are building. So
- 11:57:03daily pulse uh again I thought of like
- 11:57:05what can be the right project for
- 11:57:06everyone right because the way I have
- 11:57:08created this course it is good for
- 11:57:10people in tech people in nontech people
- 11:57:12who are just learning lot and I thought
- 11:57:14that hey my you can pick up any industry
- 11:57:16any domain and you will surely lose out
- 11:57:17people right if I pick up HR people from
- 11:57:20marketing will say that hey my marketing
- 11:57:21if I pick up marketing people will sales
- 11:57:23from say that hey my sales and that is
- 11:57:25when the idea strike that if I could
- 11:57:27help you create a AI powered daily
- 11:57:29command center right which kind of helps
- 11:57:31you to manage yourself that is something
- 11:57:33which will be valid for everyone because
- 11:57:35again each and every one of us is an
- 11:57:36individual and I feel that AI should be
- 11:57:38helpful from day one right so if you are
- 11:57:40seeing this crash course in complete
- 11:57:42depth AI should be directly helpful to
- 11:57:44you and that is why this is the project
- 11:57:46which we are going to build everyone it
- 11:57:48will be directly directly helpful to you
- 11:57:50and you can just start with that right
- 11:57:52uh now again once you get the whole idea
- 11:57:55clear I think it should be very very
- 11:57:56easy to like build anything because
- 11:57:58again the whole uh
- 11:58:01point of VIP coding is that how you
- 11:58:03understand what you have to give the
- 11:58:04input right. So the input and prompts
- 11:58:06everything will be changing. So that is
- 11:58:07the major thing and in that case I think
- 11:58:09it will be a usable project for
- 11:58:10everyone. So with that everyone let's
- 11:58:12now get started. Now what I will do I
- 11:58:15will uh just have this. Yeah. So I have
- 11:58:17actually created a new folder. I will be
- 11:58:18pushing each and everything in here. So
- 11:58:20let me just open this up. Let me say
- 11:58:22open and we will just select uh daily
- 11:58:26flow. Okay. One minute. Let me open it
- 11:58:29again.
- 11:58:30pen daily flow great so yes everyone we
- 11:58:35are starting from complete scratch let
- 11:58:36me close this as well for the time being
- 11:58:39I'm just starting right so what I will
- 11:58:40do please make sure that you follow each
- 11:58:42and every step and I would just create a
- 11:58:44file here as well saying commands dot uh
- 11:58:48txt and I will have another find prompts
- 11:58:52dot txt okay so that is the case and I
- 11:58:55will have it inside a folder where I
- 11:58:57would say ignore or let's say
- 11:59:00commands
- 11:59:02commands and prompts
- 11:59:05please ignore. Now the reason I'm doing
- 11:59:07ignore so that again it is not read by
- 11:59:09any of the AI like again uh it will
- 11:59:11still try to read it but hopefully it
- 11:59:12will try to understand from this go idea
- 11:59:14right that is what I try to normally do
- 11:59:16a quick little hack we can say that hey
- 11:59:18don't unnecessarily try to read the file
- 11:59:19where I have added in the folder please
- 11:59:21don't please ignore so that it is not
- 11:59:23unnecessary going in the g space we will
- 11:59:25be kind of having not having them uh
- 11:59:28like let's say with respect to your for
- 11:59:32sorry we will be having them in getting
- 11:59:33right so with that everyone let me start
- 11:59:36a terminal.
- 11:59:38So now the terminal has started here
- 11:59:40everyone. I have to get rid of this open
- 11:59:41claw over start but should be fine. Let
- 11:59:44me clear it out. So the way we normally
- 11:59:46start a project everyone I will just
- 11:59:47keep on pasting these commands. Claude
- 11:59:49version I should first check that yes
- 11:59:51claude is there. So I'm just picking up
- 11:59:52from the scratch right? Seems like
- 11:59:54claude is already installed everyone now
- 11:59:56just to make sure that since I will be
- 11:59:58building this as a react plus python
- 12:00:00app. Okay. Normally cloud will also like
- 12:00:03just install the same but I'm following
- 12:00:05the best practices that hey I should be
- 12:00:07having node as well. So seems like node
- 12:00:08is also there. If you find an error just
- 12:00:10add cloud code only that hey how can I
- 12:00:12install it or maybe just go to cloud
- 12:00:14then since my back end will be in python
- 12:00:16everyone and I will tell you what all
- 12:00:17this back end front end is. I'm just
- 12:00:19checking out that hey things should be
- 12:00:20available. So let me get this and I
- 12:00:22should get the npm as well. Right.
- 12:00:27So I am having all these different
- 12:00:28different uh technologies if you just
- 12:00:31have to think about it. See the idea is
- 12:00:33that we will be seeing a complete
- 12:00:34dashboard everyone. So this will be kind
- 12:00:37of our front end right. We can just have
- 12:00:40this as an icon
- 12:00:43in it. Yeah. So this everyone will be
- 12:00:45going to be our front end. Right now
- 12:00:48with respect to our front end of course
- 12:00:49there will be multiple things which will
- 12:00:51be happening in the background and that
- 12:00:53is actually what we say as back end.
- 12:00:55Right. I actually plan to create more
- 12:00:57videos on this stuff because I feel that
- 12:00:59many people are now moving from non tech
- 12:01:01towards this side. So
- 12:01:04do let me know like or what all you
- 12:01:06would like me to cover in this like let
- 12:01:07me know in the comment. Now let me just
- 12:01:09have uh this as an icon here everyone.
- 12:01:11So let me copy this.
- 12:01:14This is where your back end will be
- 12:01:16right. It will be all in Python etc.
- 12:01:20this and again you can I am just giving
- 12:01:21you these commands. You can ask claude
- 12:01:23or chat GP that hey I want to create a
- 12:01:24project like this just copy this and
- 12:01:26give these commands. Okay. So these are
- 12:01:28the basics of building. So I don't want
- 12:01:30to uh go away from it. If you are uh
- 12:01:33sure of that that's pretty good else
- 12:01:35you're learning it with me. And the
- 12:01:36third layer everyone will be MCP. So I
- 12:01:39think it's pretty straightforward. MCP
- 12:01:40can easily just connect with anything we
- 12:01:42want right. So sorry AI MCP is
- 12:01:44afterwards. AI is basically to make sure
- 12:01:46that we are able to hit anything from
- 12:01:48our overall uh cloud etc. Now with that
- 12:01:52everyone after that what I will do as of
- 12:01:54now I'm not setting enthropic or tably
- 12:01:55key I will just make sure that uh we are
- 12:01:58able to do that afterwards right so for
- 12:02:00the timing I will clear this out now
- 12:02:02what I will do everyone I will now make
- 12:02:03sure that I am able to create the init
- 12:02:06command so I will just do this in front
- 12:02:08of you okay so get init
- 12:02:11everyone it basically creates a g uh
- 12:02:14version kind of a thing which I have
- 12:02:16explained you via document version
- 12:02:17control so how we have in a doc file we
- 12:02:19have different different versions
- 12:02:21Now I will just create some different
- 12:02:23different uh directories. So I will just
- 12:02:25create these things see back end and
- 12:02:29front end right. So nothing else
- 12:02:31everyone and I have also created this
- 12:02:33dot cloud where I am having agent hooks
- 12:02:36and skills and see this is the very very
- 12:02:38important part most people they will
- 12:02:41start from cloud code because
- 12:02:45uh they don't know anything about uh the
- 12:02:47development the way we have covered
- 12:02:48about these things. Now it is very very
- 12:02:50important that we set the structure.
- 12:02:52Number one thing which I have seen
- 12:02:53people doing and failing with AI or
- 12:02:55normally as well they let AI dictate
- 12:02:58them. So they will ask cloud code and it
- 12:03:00will tell them what to do. And always
- 12:03:03remember like we are the humans we
- 12:03:04should be in control not the AI right?
- 12:03:06So we should be telling AI. I have seen
- 12:03:08that most of the people who are bad in
- 12:03:10building things with AI, right? Even in
- 12:03:12the AI world, they are actually the ones
- 12:03:14who let AI dictate them because AI most
- 12:03:16of the time will give you AI slow and
- 12:03:18that is actually the reason most of the
- 12:03:20people are not able to do anything,
- 12:03:21right? So now everyone I will create uh
- 12:03:24these files. So settings dojson. Now as
- 12:03:26you are aware these are all very very
- 12:03:28important things. I will create this
- 12:03:29environment files. So in the back end
- 12:03:31you will see that how I'm having this
- 12:03:33env file where I can have any secret. So
- 12:03:35let's say if I will be having Tavly API
- 12:03:38key which I will be adding in a bit. I
- 12:03:40could just enter my key here. Right? So
- 12:03:42that is the best practices. Now the
- 12:03:43reason I'm setting it up like this
- 12:03:45because I want that if you showcase this
- 12:03:46project anywhere as a coder non-coder
- 12:03:50student
- 12:03:52should be able to see the structure
- 12:03:53because we will be pushing it to GitHub
- 12:03:54as well. Right? Then everyone I would
- 12:03:57just make sure that I am having these
- 12:03:59three commands. I don't want to send any
- 12:04:01of these things into my git. So I will
- 12:04:04just do get ignore. The idea is pretty
- 12:04:05simple. G will just ignore these files.
- 12:04:08Right? So it will just say that hey I
- 12:04:10will not be doing anything. These files
- 12:04:11will remain on the Mayan's PC only. Now
- 12:04:14I think everyone we can start with
- 12:04:16cloud. So what I will do I will start
- 12:04:18cloud from here only. Let me close this
- 12:04:20up.
- 12:04:22And we have started a new cloud session.
- 12:04:23Okay. Let me for the time being just
- 12:04:25first check model and I will keep the
- 12:04:27model to ha only should be fine. And we
- 12:04:30can just uh okay. I think that is one
- 12:04:32thing which we don't get a lot in
- 12:04:33control. Effort thing is not here
- 12:04:36and I think we can keep it edited
- 12:04:38automatically. So again I'm just doing
- 12:04:39all these things right in front of you
- 12:04:40so that you get a quick revision that
- 12:04:42hey yeah this is the first time when we
- 12:04:43learn about these things. Okay now
- 12:04:45everyone what I will do pay attention
- 12:04:47and I will copy this here and the reason
- 12:04:49again I'm sure of these things are very
- 12:04:51very simple. I know these things are the
- 12:04:53best practices. So either I can play
- 12:04:56dumb and say that hey no no no no you
- 12:04:57don't need to know these things and I'm
- 12:04:59not uh using my experience like I think
- 12:05:02most of the people who are just building
- 12:05:04unusful things like they are able to
- 12:05:06build and show you that but I don't
- 12:05:07think that is the best way right or I
- 12:05:09could use my decade of experience and
- 12:05:11make sure that I'm teaching you things
- 12:05:12which actually will be having a
- 12:05:14difference right now everyone we will
- 12:05:16make sure that we run this so for the
- 12:05:17same again I will switch snip back to
- 12:05:19terminal because that is the best
- 12:05:21approach I will just install these
- 12:05:22things uh okay my bad claw first
- 12:05:26right and one by one I will just install
- 12:05:28first one is the marketplace I'm adding
- 12:05:30I think it is already added uh enter
- 12:05:33marketplace I think it is already added
- 12:05:35I can ex uh just do escape then I'm
- 12:05:38adding the front end design skill
- 12:05:39everyone so again claude is having a
- 12:05:41very good front end design skill I will
- 12:05:43say keep it to a install all
- 12:05:45collaborator on this repository install
- 12:05:47for you and in this ripple only uh we
- 12:05:50can I think install for uh like user
- 12:05:52right that should not be a problem and I
- 12:05:53will also install the context 7 though I
- 12:05:55think I've already done that as well
- 12:05:57right uh it already exists right the
- 12:05:58idea is pretty simple let me close this
- 12:06:00up that uh these plugins everyone they
- 12:06:04are kind of the things which I told you
- 12:06:06right if you remember I told you that
- 12:06:08hey you should be using these things up
- 12:06:10and genuinely with plug-in that is the
- 12:06:12whole idea right using them is so easy
- 12:06:14and you should be adding them in the
- 12:06:16starting so I have just made sure that I
- 12:06:17went to the cloud marketplace and added
- 12:06:20a front end design context 7 and just
- 12:06:22added that marketplace place like if you
- 12:06:24don't have it set up right so now let's
- 12:06:26go back everyone let's just have it here
- 12:06:28okay cool so now let's start everyone
- 12:06:31and what I will do I will just make sure
- 12:06:33that the next part right now I have the
- 12:06:36kind of a thing set now I'm not making
- 12:06:37it very complex because I want you to
- 12:06:39follow it it should not that my you have
- 12:06:42done the 150 level of development no
- 12:06:45that is why we will be doing it all in
- 12:06:46local right in future I could have more
- 12:06:48projects which will be where I will be
- 12:06:50talking about the deployment and these w
- 12:06:52coding different different part as well
- 12:06:53but for the time being I want it to be
- 12:06:55quick that you are able to follow it and
- 12:06:57actually do it with me. So that is why
- 12:06:59in complete depth I'm giving each and
- 12:07:01everything to you. Okay. Now everyone
- 12:07:03once we have done this I think the next
- 12:07:04part all of us are knowing that that is
- 12:07:07the claw.md. So again without claw.md we
- 12:07:10will be having to explain the project
- 12:07:11and this is where again I see a lot of
- 12:07:13people making a mistake. They ask claw
- 12:07:17only to cl their create their claw.md.
- 12:07:19Now again what is the problem with that
- 12:07:20ma'am? Well, the problem is that again
- 12:07:23you are letting AI do the stuff, right?
- 12:07:25Please first write it down. So, what I
- 12:07:27have done for this project, everyone, I
- 12:07:28took a pen and a paper or like a
- 12:07:29notepad. I I normally like to write on
- 12:07:31pen and a paper because pen and paper,
- 12:07:34okay? So that uh I am able to follow
- 12:07:37each and everything
- 12:07:39and again I'm having that mental picture
- 12:07:40as well like this thing is really
- 12:07:41helpful to me. But you can write it on
- 12:07:43notepad as well and that is where you
- 12:07:45you can then ask cla that hey create
- 12:07:47this thing. So you should be having an
- 12:07:48idea clear. If you just say that hey
- 12:07:50write me a cloud.md which can help me to
- 12:07:53create a personal dashboard then AI is
- 12:07:56irreating you. So in that everyone what
- 12:07:58I will do I will go to dot cloud. Now if
- 12:08:00you remember I can either create it
- 12:08:02inside the folder or outside to maintain
- 12:08:05each and everything the sanity of
- 12:08:06complete thing I will be creating it
- 12:08:08inside. And since you will be getting
- 12:08:11this I am just copy pasting this here.
- 12:08:13See create a claw.md file for this
- 12:08:16project called daily pulse. Project
- 12:08:18description daily pulse is a personal AI
- 12:08:20productivity web app. Users get a
- 12:08:22morning briefing. Manage smart task. AI
- 12:08:25breaks task into subtask. Generate
- 12:08:28standups from completed task and view
- 12:08:30daily insight. So again I am just making
- 12:08:31it for everyone. There is no person if
- 12:08:34you're if you're a student in school, if
- 12:08:35you're a college student, if you're an
- 12:08:36intern, if you are a director, if you're
- 12:08:39a VP, everyone knows a daily dashboard,
- 12:08:41right? And once you build it yourself
- 12:08:43then you can do the changes and believe
- 12:08:44me the chances that you will actually be
- 12:08:47using it will go a lot up when you have
- 12:08:49built it yourself. Okay. Because again
- 12:08:50you can change it right. You can see
- 12:08:52that hey my I want to change it for my
- 12:08:53use case. I want to add this. I will say
- 12:08:55that no problem just please add the
- 12:08:57same. Now a little bit technical
- 12:09:00and you will see that I am following all
- 12:09:02the best practices. Okay. So it is not
- 12:09:04having very vague language everything in
- 12:09:05point. Back end Python fast API runs on
- 12:09:07port 8000 data stored in back end/ data
- 12:09:10as JSON files. task.json briefing dojson
- 12:09:12I am not going to any uh DB as of now
- 12:09:16not Excel nothing because again that is
- 12:09:18where I think these gets difficult and
- 12:09:19already you have done so much lot with
- 12:09:21me right so those are all the things
- 12:09:23which we will uh again have in a more
- 12:09:26not advanced but more technically
- 12:09:27advanced widget okay because again data
- 12:09:29has to be saved it can either be on your
- 12:09:31local it can either be on an impair it
- 12:09:33can either be on a DB it can either be
- 12:09:36on an XM file front end react with wipe
- 12:09:40tailwind CS CSS run on port 5173. Again,
- 12:09:42if you don't know what this means,
- 12:09:43totally fine. Just take my word and say
- 12:09:45that hey, this is where it will be
- 12:09:46running. Use fetch for API calls to
- 12:09:48local host. Now, since I don't want it
- 12:09:51to be a static app, I am making sure
- 12:09:53that yes, we are having this kind of a
- 12:09:55back end here. Right? So, very very
- 12:09:56important thing. Now, pay attention
- 12:09:58everyone. Claw empty the project brain.
- 12:10:00Claude code session one today. Claude
- 12:10:02knows the stack. Session two tomorrow,
- 12:10:04same knowledge, fresh context, right?
- 12:10:06Session three still knows conversation.
- 12:10:08So, again, it is having each and
- 12:10:09everything. you know that it can update
- 12:10:10the CMS as well right so this is the
- 12:10:13whole case Python again code standard
- 12:10:14I'm telling everything black formatting
- 12:10:16no bears except black blocks functional
- 12:10:19component I will show you what this
- 12:10:20black formatting also is so if I go here
- 12:10:23if you search python blank
- 12:10:27library so there is just library which
- 12:10:29takes care of this uncompromising python
- 12:10:31code formatter okay so by using it you
- 12:10:34agree to code seed control over mini of
- 12:10:37hand formatting and return lag gives you
- 12:10:39speed, deterministic and code style. So
- 12:10:41just again something which takes care of
- 12:10:43my uh Python code formatting. Okay.
- 12:10:47So in this everyone I just for the
- 12:10:49timing explained a very very basic
- 12:10:50stuff. Okay. So it is just telling that
- 12:10:52how it has to run all these stuff. Now
- 12:10:54you could take it up and just ask claw
- 12:10:57or chat deep to explain you what it is
- 12:11:00and you could take it my work because
- 12:11:02this is actually the easiest way of
- 12:11:03building this. Right now everyone once
- 12:11:05I've done this what I will also do I
- 12:11:08will just first make sure that I could
- 12:11:11then have a session which of course can
- 12:11:14be easily uh built right so for the time
- 12:11:17being let me uh also go here right what
- 12:11:20I will do next pay attention so this is
- 12:11:23where actually your cloud MD gets
- 12:11:25revised like we did it I think in part
- 12:11:26four so we can just check it out but
- 12:11:28yeah this is where your cloudmd is kind
- 12:11:30of making a lot of sense that hey this
- 12:11:32is all done now what I will to everyone.
- 12:11:34Ideally, I should also create some
- 12:11:35hooks, right? So, pay attention. I will
- 12:11:37just copy this. I will uh paste it in
- 12:11:40prompts. So, prompts.
- 12:11:43Okay, I think I did a mistake. Let me uh
- 12:11:45copy all of this. Paste it here. Delete
- 12:11:49this and just paste them.
- 12:11:52Create a cloud. Setting JSON with two
- 12:11:54hooks. Post to use on write or edit
- 12:11:57matching. PY file. You run Python M
- 12:11:59black so that my Python uh my that
- 12:12:01particular thing can run everyone.
- 12:12:02Right. And uh let me do one thing as
- 12:12:04well. Wrap text.
- 12:12:07See stop hook print daily pulse plot
- 12:12:09finish review output above to std error
- 12:12:11use async true. So I'm just kind of
- 12:12:12running these things up. I will just
- 12:12:14copy this. Go here. Ask my clot that you
- 12:12:17do this. I'm just setting a few things
- 12:12:20up before like again hook should be
- 12:12:21before clot empty should be created and
- 12:12:23everything will be set. You see did you
- 12:12:25know you can drag and drop? Uh I could
- 12:12:27say yes should be fine. what it was
- 12:12:30saying. Did you know that you can drag
- 12:12:32and drop? Okay, my bad. Very bad. Sorry,
- 12:12:35sorry, sorry.
- 12:12:38So, it is creating these things up. Drag
- 12:12:40and drop image file into terminal. Yeah.
- 12:12:42Oh, that's a very good thing. I I
- 12:12:43thought that we can only paste it.
- 12:12:44That's good that it can take up the
- 12:12:46dragging and dropping cloud as well. So,
- 12:12:47see that's a good thing. You done
- 12:12:49everything. Uh, all right.
- 12:12:52I did escape everyone. Uh, I was doing
- 12:12:55something, but no worries. Let me do it
- 12:12:57again.
- 12:12:58Uh so I don't think it would have
- 12:13:00created it. Yeah, because I pressed
- 12:13:02escape so it kind of got out of this. I
- 12:13:04could just say yes
- 12:13:07and it should be all done. Okay, so the
- 12:13:08hooks are now active. The post cues will
- 12:13:10fire synchronously after you edit or
- 12:13:12write Python files and the stop hook
- 12:13:13will run async when the clot finishes.
- 12:13:15So again I'm just showing you you can
- 12:13:17create much better hooks, a lot more
- 12:13:19hooks. My idea here is to make sure that
- 12:13:21I do what is easily followable. Okay, if
- 12:13:23I create 10 hooks here, you will run
- 12:13:25away. I want to just show you that hey
- 12:13:26we are creating hooks a simple hook
- 12:13:28every time my cl code comes I will be
- 12:13:30running a formatter on that you can have
- 12:13:32it on other files as well I'm just
- 12:13:34keeping on python now let's start with
- 12:13:36building everyone so what I will do pay
- 12:13:37attention let me close this for the time
- 12:13:40being and let me open a cloud session
- 12:13:42here
- 12:13:44let me go to prompts and I would just
- 12:13:46add the next prompt okay so this is a
- 12:13:48pretty big prompt everyone if you will
- 12:13:49focus first I am building back end
- 12:13:53building back end okay I know it will
- 12:13:55take a lot of time because that is how
- 12:13:57the uh building should be. It should not
- 12:14:00that you are building uh like again it
- 12:14:03should not that you are building without
- 12:14:04any idea here I am just taking all these
- 12:14:06things so pay attention of what I'm
- 12:14:07doing everyone build a complete fast API
- 12:14:09back end for daily pulse create these
- 12:14:11files backend/pain.py PI fast API with
- 12:14:14these endpoints. So now again I have
- 12:14:16these endpoints prepared. I don't want
- 12:14:18AI to take a lot of decision for me. If
- 12:14:20you as a like again I understand that
- 12:14:23from a non-coder perspective and that is
- 12:14:25where again what you can do you can
- 12:14:27follow these things up like you copy
- 12:14:28this complete cla file and give it to
- 12:14:31let's say your uh chat GP or cloud and
- 12:14:35then ask it that hey this is what I want
- 12:14:36to do can you give me similar prompts
- 12:14:38that I think that is the best approach
- 12:14:39because I have seen this that if you try
- 12:14:42to build all the things in cloud it
- 12:14:44works in a separate manner so it's
- 12:14:45better like we are behaving like two we
- 12:14:48are having two AIs so go to chat GP
- 12:14:50cloud say that hey you are a senior
- 12:14:53developer or you are a CTO or everything
- 12:14:55make sure that you set the context then
- 12:14:57give it these prompts and then say that
- 12:14:59hey this is what I want to build take a
- 12:15:01decision as a smart person the file it
- 12:15:05gives you copy that and then let clude
- 12:15:07build and you will see a very very big
- 12:15:09difference because again here claude is
- 12:15:10taking doing everything for you there
- 12:15:12you have set a set separate persona so
- 12:15:14it is giving you the same in a very much
- 12:15:16mature manner okay so with that everyone
- 12:15:18now let's copy the name uh it will be
- 12:15:21creating these endpoints. It will be
- 12:15:23creating this task, JSON everything for
- 12:15:25the databases. I will be adding my
- 12:15:27entropic API key. So the reason is
- 12:15:29pretty simple everyone. I want it to be
- 12:15:30an API AI app. Right?
- 12:15:34Now pay attention very very important
- 12:15:36thing. Let's see how many of you are
- 12:15:37able to understand this my AI app. Okay.
- 12:15:40So let's say for example if any
- 12:15:42application is AI it cannot use my cloud
- 12:15:44subscription cloud code. It is tied to
- 12:15:47claw. That is why it is able to use it.
- 12:15:49tomorrow if any app is AI right. So I
- 12:15:52can show you an example as well
- 12:15:53everyone. So let me show you this uh
- 12:15:55dashboard.
- 12:15:57So this is a similar one which I built
- 12:15:58on Liberal.
- 12:16:01So see this is again everyone like my
- 12:16:03complete dashboard which I have created.
- 12:16:05Now again very very simple pulse AI. I'm
- 12:16:07having an AI here. When I ask it to do
- 12:16:09something right I think I disabled the
- 12:16:11key because of some leak but let me try.
- 12:16:14I think it will fail but let's see. I'm
- 12:16:16not sure what key I'm using. Maybe it's
- 12:16:17Gemini. Okay. You see hey I can help
- 12:16:19you. It is saying that it has created.
- 12:16:20Okay. Now I cannot ask that hey take
- 12:16:23this message go to claude write the
- 12:16:25message there and then come back. I
- 12:16:27cannot do that right. I hope all of you
- 12:16:28are able to understand this. So in that
- 12:16:30sense I have to make sure that rather I
- 12:16:33am having an API which is supporting it.
- 12:16:35So it can be Gemini, it can be open or
- 12:16:38it can be cloud. The way you use again I
- 12:16:41will make it very clear the way you are
- 12:16:42able to use chat GBD here versus when
- 12:16:45your application will be using it. it is
- 12:16:46completely completely different. Okay,
- 12:16:48for your application to use it, it needs
- 12:16:50a key and that key is separately
- 12:16:52chargeable just like how if you remember
- 12:16:55if you go back here in the login option
- 12:16:58if I want that I want to use it without
- 12:17:00any uh subscription then I have to
- 12:17:02create an entropic key so that this
- 12:17:05particular application can connect to
- 12:17:07claude. So exactly the same thing. Okay,
- 12:17:09so I will close it up. Let me open it
- 12:17:11again. Uh I will be adding maybe Gemini
- 12:17:14key because you all can get your hands
- 12:17:15on to that. I will just ask it then task
- 12:17:17schema I'm just giving these schemas as
- 12:17:18well for post task call clot so 46 to
- 12:17:21break the task title into 35 complete
- 12:17:23subtask I will say it ho only okay
- 12:17:27for get briefing I'm telling that hey
- 12:17:29what exactly has to be done there as
- 12:17:30well for get standard read today's
- 12:17:32completed task from task JSON for get
- 12:17:34inside all task from today call clot to
- 12:17:37find patterns P3 time task return inside
- 12:17:40adds middleware for this add a
- 12:17:42requirement txt file so again just the
- 12:17:44last line you can just take it from my
- 12:17:46experience. Okay. So what I will do
- 12:17:48everyone pay attention. I will just try
- 12:17:50to make sure that I just copy the same
- 12:17:53and I can just paste it. Right. So let
- 12:17:56me copy it. I have pasted it on my uh
- 12:17:58one note. Let me just get this
- 12:18:01one minute. Where exactly is my one
- 12:18:04note? Let me copy it from here.
- 12:18:08Okay. So pay attention. I will just go
- 12:18:11here.
- 12:18:13I will say also add support for Gemini.
- 12:18:18Gemini for now as I will use Gemini key.
- 12:18:23The reason is pretty simple. Uh for
- 12:18:25claude you all will have to spend some
- 12:18:27money. For Gemini you can do it for free
- 12:18:29more or less right. Gemini like is
- 12:18:31pretty good with their speed tire. I
- 12:18:32will show you how to get the key as
- 12:18:33well. So for Gemini as well uh so
- 12:18:38instead of Lord in the app. Okay. So,
- 12:18:42yeah, I think and one more thing I think
- 12:18:44I can change the model. Should I change
- 12:18:46the model?
- 12:18:48Let's switch the model everyone to solid
- 12:18:51here. Maybe that might be little better,
- 12:18:53right? And let me paste it. If in case
- 12:18:55my credits get lower, I will show you
- 12:18:57the extra usage part here. Okay? Because
- 12:18:59my other cloud I did a lot of work. So,
- 12:19:01that is all over with uh with the
- 12:19:03credits as well. Okay? So, let it build.
- 12:19:06Now I want that these good things get
- 12:19:07started with the overall case and I
- 12:19:09don't think it is very very difficult as
- 12:19:10well right and finally I can show you
- 12:19:12this dashboard is very big one uh the
- 12:19:14one which I created here pay attention
- 12:19:16so having a task in a similar manner
- 12:19:18where I can just move and drop the task
- 12:19:19so again understand how good it will be
- 12:19:21right at your level then analytics just
- 12:19:23few of the things uh it is having the
- 12:19:25paid and the back end daily digest what
- 12:19:27all is happening right priority emails
- 12:19:29and everything so we can collect our
- 12:19:30emails data sheet uh this is dummy data
- 12:19:33to be very honest okay so this has
- 12:19:34nothing to do with anything uh meeting
- 12:19:36intent. I could just give it a meeting.
- 12:19:38What all happened? I could ask it for
- 12:19:40analyze with AI and it will give me the
- 12:19:42intent. Sorry, the full intelligence.
- 12:19:44Right. Along with that, I could actually
- 12:19:46export to PDF. See, it is exporting it
- 12:19:48to PDF. I could send to Slack. I could
- 12:19:50save it to transport as well. Right.
- 12:19:52Market news real time. Uh, it searches
- 12:19:55for the market news. I think it was
- 12:19:56having my tab tab key which I kind of
- 12:19:58exhausted. Slack digest. I can send
- 12:20:01everything to Slack. Telegram digest, I
- 12:20:03can send everything to Telegram. Uh I
- 12:20:05hope the key is working because it has
- 12:20:07been time. So if I show you right if I
- 12:20:08just quickly show you it has actually
- 12:20:11sent me everything. So good morning my
- 12:20:12this is all the things today meetings
- 12:20:14everything. So yeah it can be that smart
- 12:20:15right that is the level of things which
- 12:20:17you can build and there are again
- 12:20:18settings like what is a role slack and
- 12:20:21everything is connected daily email
- 12:20:22summaries save settings dark mode pretty
- 12:20:26good app right so that is the level of
- 12:20:28thing which you can build a now I built
- 12:20:29this loable but yeah clo is I think
- 12:20:31better only. So it is saying the Gemini
- 12:20:34model okay I think it has created the
- 12:20:35same the Gemini model uses Gemini 2.0
- 12:20:37flash fast compared to haiku. The report
- 12:20:40missing warning disappear once you run
- 12:20:41pip install. So I think it is doing the
- 12:20:44work everyone. I think we can let it
- 12:20:45work and it would have created lots of
- 12:20:48files right. If I go on back end see it
- 12:20:51is creating all these files up. I think
- 12:20:55uh is it stopped everyone? I think it
- 12:20:57has stopped. And if I go back right in
- 12:21:01the I can close all of these things in
- 12:21:03the uh data everyone. I think in data we
- 12:21:06have the main.py PY
- 12:21:08where we are having everything. So if
- 12:21:10you will see there are different
- 12:21:11different uh APIs endpoint right the way
- 12:21:14it is working in the ENV I think I have
- 12:21:16the Gemini API key as well right and
- 12:21:20again what it has done everyone I think
- 12:21:22it has created the full logic here so I
- 12:21:24could just ask it only
- 12:21:26can you create a separate logic file
- 12:21:32instead of main py so that uh the
- 12:21:37endpoints
- 12:21:40and logic are separated. Okay, so again
- 12:21:43I'm just asking it that hey please don't
- 12:21:44have this so long of a code. Normally
- 12:21:46it's better if you're having a little
- 12:21:47small input, right? So I think it will
- 12:21:49just create some endpoints and
- 12:21:50everything. So see services py and main
- 12:21:52py uh they will get just get uh kind of
- 12:21:56uh not broken they will be just kind of
- 12:21:58divided right so see it is reading now I
- 12:22:01will write services py with all the
- 12:22:03logic and then rewrite main.py as a
- 12:22:05thinned out layer. So the idea is that
- 12:22:06everyone now I'm having a back end
- 12:22:08created. What will happen in the back
- 12:22:10end? I will be having these end points.
- 12:22:12Why are you doing this my end? Because I
- 12:22:13don't want to build a very basic project
- 12:22:15which is just static project. What about
- 12:22:16if we don't if we are from a non tech
- 12:22:18background maybe we are not
- 12:22:19understanding it. Take my word. Instead
- 12:22:21of jumping off to another video or
- 12:22:23instead of saying that hey I don't
- 12:22:24understand this just try to ask chat GP
- 12:22:27and cloud question. Either you can waste
- 12:22:296 months to learn from the basic of
- 12:22:31software or you can say that hey this is
- 12:22:33what what AI and CL is helpful right let
- 12:22:35let me use AI if I have to understand
- 12:22:37some command either I can go back to
- 12:22:39reading the books or I could ask K to
- 12:22:41explain me about stock and everything
- 12:22:43right so I'm just taking the latter
- 12:22:44approach because it is faster so in that
- 12:22:46everyone I think see it has done the
- 12:22:48same okay it is still doing
- 12:22:50yeah so now in the mainp by everyone if
- 12:22:54I just show you by zooming it out it is
- 12:22:56just having these end points
- 12:22:58and all the logic is now written here.
- 12:23:01Okay, so pretty simple thing. It is just
- 12:23:03having the prompts and all the logics.
- 12:23:04Okay, that is where our back end gets
- 12:23:07created. Now this back end can be used
- 12:23:08actually by multiple people. It can be
- 12:23:10used anywhere and that is actually how
- 12:23:12the real application gets. Okay, so you
- 12:23:14can go on lovable or you can go on
- 12:23:16cloud, you can create those funny HTML
- 12:23:18based one but that is not scalable
- 12:23:21neither that is a real development. Once
- 12:23:23you have done things with me, I don't
- 12:23:25want to showcase you something funny.
- 12:23:26Right? So with respect to that everyone
- 12:23:28let's now move forward and now again I
- 12:23:30will show you that how can you get your
- 12:23:32uh API key as well. Now the reason is
- 12:23:34pretty simple actual API apps you want
- 12:23:36to make right so if you go everyone here
- 12:23:38and let's say if I go on Google just
- 12:23:40search for Google AI studio
- 12:23:43go to this uh again it is free better
- 12:23:47than open router and it gives you more
- 12:23:48things right so I will go to get API key
- 12:23:50here in the left and I will just say uh
- 12:23:54create API key okay and I think I have
- 12:23:57the paid one here as well but no worries
- 12:24:00let me maybe also use the free tier one
- 12:24:01let's see that how much it is active
- 12:24:03Actually you can see if I click on this
- 12:24:05particular key
- 12:24:07I can copy the key as well here I could
- 12:24:10just get back
- 12:24:12and there is a usage part right so if
- 12:24:16you see this default Gemini
- 12:24:18or rate limit yeah so see for Gemini 2.5
- 12:24:22flash it tells you that hey you can have
- 12:24:24five requests per minute tokens are 250k
- 12:24:27and you can make 20 request and then we
- 12:24:29can change the model as well so again
- 12:24:31even if you don't have anything right
- 12:24:34you can generally use this thing
- 12:24:35directly so that is the whole idea that
- 12:24:37is why I'm using it because everyone can
- 12:24:38use it open router I think is very very
- 12:24:40uh less it just gives you I think five
- 12:24:42calls here at least you're having 20
- 12:24:43calls okay so I will just go here I will
- 12:24:46go to ENV and I will just say that hey
- 12:24:49this is my key okay so I'm just pasting
- 12:24:51my key don't use it it will be it is
- 12:24:53anyway free tier so you can get your own
- 12:24:55now everyone once it has been built I
- 12:24:57will go to uh commands and prompts and I
- 12:25:00will go to commands so see now Now that
- 12:25:02once your back end has been built, we
- 12:25:04have to make sure that we are testing it
- 12:25:05out as well. Now how do we test it? Back
- 12:25:08end is a separate layer. Okay. So when
- 12:25:11you are having let's say cooking here
- 12:25:14this Google everyone I could just go to
- 12:25:17uh let's say inspect.
- 12:25:21I think I could just easily uh copy all
- 12:25:26the code. Right? If I just select
- 12:25:29one minute I'm just trying to show you
- 12:25:31one thing. Okay. I'm just trying to show
- 12:25:32you one thing. Let me say edit as HTML.
- 12:25:34I could just copy all the code. I could
- 12:25:37goes to HTML to uh HTML viewer. Okay,
- 12:25:42paste it here and see the Google is
- 12:25:45built like generally like the Google is
- 12:25:48right in front of you. But if I do a
- 12:25:50high, it will not work. Nothing will
- 12:25:52work rather for that matter because see
- 12:25:54it is saying that hey request is not
- 12:25:55found because see what is happening
- 12:25:57everyone is that and this is very very
- 12:25:58important thing from a technical
- 12:26:00perspective that your front end is
- 12:26:01separate and your back end is separate
- 12:26:03right the whole idea becomes that if you
- 12:26:05are creating an application back end
- 12:26:07always lives in the back end that is the
- 12:26:09name it is back end front end calls that
- 12:26:12back end so ideally when you actually
- 12:26:15search anything here if I just close
- 12:26:17this NBA let's say it will go and hit
- 12:26:20that particular
- 12:26:21API which we which Google must have
- 12:26:24created and then it gets back you the
- 12:26:25result and then front end renders it in
- 12:26:27a nice okay so that is the whole idea
- 12:26:29everyone now again see like how good it
- 12:26:31is right this is just actually the
- 12:26:33simple code which you can get from
- 12:26:34Google only and that is where again
- 12:26:36front end also are having some logic etc
- 12:26:38but that is how back end now what I will
- 12:26:40do everyone I will go back and I will
- 12:26:41show you how you can check your back end
- 12:26:43so back end we can run I will just copy
- 12:26:46some command C I will just have a
- 12:26:50okay view terminal.
- 12:26:54I will just create another terminal
- 12:26:56input. Now what I will do if you pay
- 12:26:58attention I will do uh one minute let me
- 12:27:01close the last one. I will first make
- 12:27:03sure that I go to cd back end. Okay so
- 12:27:05I'm inside the backend folder. Now let
- 12:27:07me for the time being close this up. So
- 12:27:10now everyone I'm inside the backend
- 12:27:12folder. Right. I would just say pip
- 12:27:15install r requirements. Right. The idea
- 12:27:18is pretty simple. this particular
- 12:27:20package it runs on some codes and I have
- 12:27:22made sure that it is running on that
- 12:27:23code. So it is saying pip dependency
- 12:27:25solver does not currently take into
- 12:27:26account all the packages that are
- 12:27:27installed. The behavior of the source
- 12:27:29and everything but I think it is
- 12:27:31installed so should not be a problem.
- 12:27:33Okay, I can just clear everything out.
- 12:27:36Then there is a command which I'm
- 12:27:37writing uon main app reload and it is
- 12:27:41going to start my service. Right? So see
- 12:27:44application startup complete starter
- 12:27:46server started server process waiting
- 12:27:48for application start. Now everyone what
- 12:27:51actually happened is that at this
- 12:27:54particular command at this particular
- 12:27:58link right a back end is running. So see
- 12:28:01if I go here it is saying that hey
- 12:28:03someone tried to reach it out and that
- 12:28:04is what happens in real life as well. So
- 12:28:06back end is just like someone have
- 12:28:08written a code which anyone can hit and
- 12:28:10get the results if needed. Now if we see
- 12:28:13our services, if you see this main.p
- 12:28:17I actually have multiple endpoints.
- 12:28:19Let's try to hit this /task endpoint.
- 12:28:22Okay. So if I go here everyone do /task
- 12:28:27it is nothing showing nothing because I
- 12:28:29think we have not created any task
- 12:28:30right. If I now try to uh I think I ask
- 12:28:34it to create some basic task. So what I
- 12:28:36can do if you I can go to chat uh this
- 12:28:38chat again I could say resume
- 12:28:43okay resume conversation the last one I
- 12:28:46could say can you please add three dummy
- 12:28:50tasks and my hook and everything are
- 12:28:52working as because I've configured it
- 12:28:53like that so that is the whole idea I
- 12:28:55could just saying that hey can you
- 12:28:56please add three dummy task what will
- 12:28:58happen in my data in the task it will
- 12:29:00just create three dummy task for me okay
- 12:29:01I think briefing and data task both are
- 12:29:03empty
- 12:29:05So again that is how we will be also
- 12:29:07creating task every one. So pay
- 12:29:08attention.
- 12:29:10It is seem like it has added three W
- 12:29:12task everywhere. Now I have given that
- 12:29:13that is the reason these task are so
- 12:29:15much in depth. Now since my DB has been
- 12:29:18updated so that is where database as a
- 12:29:20concept come into picture. Now again if
- 12:29:22it is getting a little heavy be happy
- 12:29:24that you are getting something worth
- 12:29:25creating. If you refresh see three task
- 12:29:28in front of you. Now man these are very
- 12:29:30very bad Google need it and that is
- 12:29:31where front end is helpful because if
- 12:29:32Google shows you result like this you
- 12:29:34will never use Google right now everyone
- 12:29:37seems like our back end is working in a
- 12:29:39similar manner I could ask it great add
- 12:29:42three briefings as well
- 12:29:46and finally what I will do I will just
- 12:29:48open this app
- 12:29:51in front of so uh where is the commands
- 12:29:58okay so that is the whole idea.
- 12:30:00So, uh current beefing is only stored
- 12:30:02one. Okay. Okay. I think yeah be
- 12:30:04briefing would be one. Uh it will be
- 12:30:05creating the same.
- 12:30:07We will we will make it empty. That's
- 12:30:09the benefit.
- 12:30:11So I think it has refreshed our whole
- 12:30:12server.
- 12:30:16So briefing is a single one. Not a
- 12:30:18problem. See it has done the briefing.
- 12:30:20And if I do on briefing everyone
- 12:30:23briefing see
- 12:30:27code focus tip and message today is a
- 12:30:29full of potential focus on matters like
- 12:30:30again not making any sense as of now but
- 12:30:32I wanted to show you this thing because
- 12:30:33see that is how appcript we really we
- 12:30:36start from front end like we have to
- 12:30:38first make sure that we are building all
- 12:30:39these things up right but now yes m is
- 12:30:41not going to leave you in between this
- 12:30:42is actually now how we build things up
- 12:30:44just that I wanted to make sure that
- 12:30:45your back end is running that is the
- 12:30:47whole idea be now let's move to our
- 12:30:49front Now let's build our front end
- 12:30:51everyone. So in this what I will do? Let
- 12:30:53me close this particular thing up. Open
- 12:30:55this up and uh we can let's let's get it
- 12:31:00here only. Okay. I don't think the usage
- 12:31:01would have gone a lot high. Uh it's 19%.
- 12:31:04I think we can live with it. Okay. So it
- 12:31:05should be fine everyone. Now what I will
- 12:31:07do pay attention. Okay.
- 12:31:10Following the best practices again I'm
- 12:31:12just going to run some commands. So I'm
- 12:31:13just giving you these hairs. Now again I
- 12:31:15could have created it completely from
- 12:31:16scratch but I don't want to have that
- 12:31:18mindset. What I will do every one I
- 12:31:20would just open terminal again view
- 12:31:22terminal and I will just set uh set my
- 12:31:25front end up right so I will say I'm
- 12:31:28inside this folder I would say that let
- 12:31:30me go to front end
- 12:31:33front end or or let's follow another
- 12:31:35approach okay let me just delete this
- 12:31:38let's delete this
- 12:31:40let me copy this run it here
- 12:31:44set up my front end
- 12:31:47first
- 12:31:49by running this. Okay. So again it will
- 12:31:52understand and it will run this inside
- 12:31:53front end folder only. That's the
- 12:31:54benefit again of uh your uh cloud code.
- 12:32:00So we will see everyone back end is fine
- 12:32:01and again I'm not making it very complex
- 12:32:03but at the same time not very simple as
- 12:32:05so seems like again everyone has created
- 12:32:07multiple files and the idea there is
- 12:32:09very simple not so why it has focus
- 12:32:11activity log it is maintaining that's a
- 12:32:12good thing.
- 12:32:14Install white project dependencies. So
- 12:32:16again it is just doing some
- 12:32:17dependencies. Now these are just like a
- 12:32:19we say this we used to say this as a
- 12:32:20boiler plate code. The idea is that
- 12:32:22pretty simple and I want you to
- 12:32:23understand these terms. If you're a
- 12:32:25product manager if you're from a
- 12:32:26nontechnical background technical people
- 12:32:28will know we're just setting up that hey
- 12:32:30these are all the things which we anyway
- 12:32:31do. So I'm just setting up the boiler
- 12:32:32plate and you will see that lots of
- 12:32:34things are set up here. Okay. And
- 12:32:37normally this one tailwind init command
- 12:32:39just does all that for you for us. Okay.
- 12:32:43So I hope like it is not doing this
- 12:32:45thing for us as of now it is not
- 12:32:46building it. Okay I will just mean give
- 12:32:49you other commands everyone configure
- 12:32:51tailwind CSS for this y project. Update
- 12:32:53tailwind config.js. So this would be
- 12:32:54created somewhere here.
- 12:32:57Uh I think somewhere here it will be
- 12:32:58created.
- 12:33:00So it is doing tailwind v4 was
- 12:33:02installed. It no longer uses in it.
- 12:33:03Instead it's using by plugin. So again I
- 12:33:05think there is some control which it
- 12:33:06will do already.
- 12:33:08So it has added some packages. It is
- 12:33:10doing some of these things. So again
- 12:33:11that is the benefit of V coding. Now you
- 12:33:13can see that what is happening well by
- 12:33:15coding that is the whole case right
- 12:33:17although we can go in depth and we can
- 12:33:19understand each and everything but yeah
- 12:33:20let's let clo
- 12:33:22these things because these are the best
- 12:33:23practices which I still want to follow
- 12:33:25as I said again just copy pastes
- 12:33:27complete uh commands things right and
- 12:33:29the prompts thing and just ask your
- 12:33:32child GP cloud to behave like a complete
- 12:33:35in-depth uh full-fledged CT or something
- 12:33:38and it will be all fine. Okay. So I will
- 12:33:41just paste this everyone
- 12:33:44so that it can work on that. Uh again I
- 12:33:47should not have given it command txt. Uh
- 12:33:49this is not needed unnecessely. We are
- 12:33:51just having this extra thing. The setup
- 12:33:54is already doesn't tailwind v4. Okay. I
- 12:33:56think it is using some other version. So
- 12:33:57no worries. No tailwind config
- 12:33:59everything. Will we confirm tailwind
- 12:34:01classes work correctly? The instruction
- 12:34:02written for table. Okay. So I will just
- 12:34:04make sure.
- 12:34:07Great. Can you please update my claw.mpp
- 12:34:09MP or any other file in the project so
- 12:34:11that we are not limited to this
- 12:34:13particular version of Tailwind
- 12:34:22again it will understand cloud.md and
- 12:34:24anything right
- 12:34:28again lots of things are happening but
- 12:34:30we are following just a best practices
- 12:34:32plus as of now I am just as I said like
- 12:34:34this project is a whole basic idea of
- 12:34:36things right so see it has done few of
- 12:34:37the changes everyone It has added few
- 12:34:39things on the tail end ending and
- 12:34:41everything and telling that how we can
- 12:34:43run front end and everything. So see my
- 12:34:45idea is pretty good because plotted MD
- 12:34:46can edit the same out but it still
- 12:34:48followed my approach. So that was the
- 12:34:50benefit of creating it myself. Okay. So
- 12:34:52let it work.
- 12:34:56Okay. So again I think it has just done
- 12:34:58the same thing everyone. Now what I will
- 12:35:00do pay attention now since as of now as
- 12:35:02well front end is not created. What I
- 12:35:03will do I will go to your commands. This
- 12:35:05time I will go to prompts and I will
- 12:35:07give you the give you the front end
- 12:35:08prompt.
- 12:35:11Front end prompt. Okay, let me check the
- 12:35:14usage once because I don't want to go
- 12:35:16above 50%.
- 12:35:19I will just copy paste this command. See
- 12:35:23build the complete react front end for
- 12:35:24daily part that should have a single
- 12:35:26page I use four section header morning
- 12:35:28briefing card smart task manager because
- 12:35:30as of now again it doesn't know that hey
- 12:35:32this is having a back end and everything
- 12:35:33right panel design requirement and
- 12:35:36everything all these things I'm giving
- 12:35:37API base URL this one handle all loading
- 12:35:39statements error state gracefully the
- 12:35:41second I paste this and give it will
- 12:35:44start now again everyone I have not
- 12:35:45followed a very plan approach or
- 12:35:47everything because
- 12:35:48uh that is where again I want to show
- 12:35:50you in one very good approach which is
- 12:35:52your uh spec driven development but
- 12:35:55again I don't want to overburden you
- 12:35:57with things right I just want that you
- 12:35:58are able to build this with best
- 12:35:59practices now again it is using the
- 12:36:01front-end design skill if I could have
- 12:36:03wanted I would have shown you to build
- 12:36:05this by nothing but I think those things
- 12:36:08we have already kind of done I wanted to
- 12:36:10make this project as a little bit of
- 12:36:11advanced stuff so you keep on learning
- 12:36:13right if I would have asked claude only
- 12:36:14to create it then what is the difference
- 12:36:16like then what extra we are doing then
- 12:36:17why lovable why not lovable here you are
- 12:36:20able to see some better approach right
- 12:36:21I'm having everything ready now of
- 12:36:23course as I said I first write down and
- 12:36:25everything I had an idea and then of
- 12:36:26course I asked claude only I asked
- 12:36:28charity to generate these prompts for
- 12:36:30okay so now this will get build everyone
- 12:36:32the front end design plug-in will get
- 12:36:34started and everything it is also using
- 12:36:35if you will see the complete skill as
- 12:36:37well right so that is very very
- 12:36:38important
- 12:36:40and since cloud and everything is set up
- 12:36:42it will not unnecessarily uh move and
- 12:36:45everything right so and once it gets
- 12:36:47built then we will jump onto skills and
- 12:36:48other stuff as well and in the Same part
- 12:36:50everyone hooks are overall working
- 12:36:52right. So see clin py post tool use
- 12:36:55fires auto format py runs it is kind of
- 12:36:58already done cloth edit main py to add
- 12:37:01post to use auto format py is like doing
- 12:37:03all these things for us right so that is
- 12:37:04the whole idea of hooks now of course we
- 12:37:06can make sure that we are having this in
- 12:37:08a we can have some logs etc as well but
- 12:37:10you all know about these things now
- 12:37:11right it is being taught in depth but
- 12:37:13see now it is getting the complete front
- 12:37:14end everyone the level of code now again
- 12:37:18I don't know I'm actually not a front
- 12:37:19end guy to be very honest but yeah with
- 12:37:21with AI I So it is able to work out
- 12:37:23everything for us and then we can easily
- 12:37:26just change anything as well. So let me
- 12:37:27just wait and come back as it is
- 12:37:29completed.
- 12:37:31So again it is working. We can see that
- 12:37:33how good now I built the complete front
- 12:37:34end 8 files total writing all of them
- 12:37:36now and it automatically is there
- 12:37:38already active everyone. So it is just
- 12:37:40writing all the files. We will we will
- 12:37:41talk that how can we make it more better
- 12:37:43and overall like again that is a benefit
- 12:37:45you can just ask it. Uh again uh the
- 12:37:48whole idea everyone this is a very good
- 12:37:49practice of building your first app. It
- 12:37:51is expandable as well, right? Otherwise,
- 12:37:53I could have gone to chat GP only and
- 12:37:55asking for a daily daily like AI or
- 12:37:58something like that. This is expandable.
- 12:38:01So in that way that is how applications
- 12:38:04are built in real world as well. You can
- 12:38:05actually have your back end somewhere
- 12:38:07deployed then front end separately
- 12:38:08deployed and they can connect with each
- 12:38:09other as well. So that is actually how
- 12:38:11things work in real life. I've shown you
- 12:38:13that anyone can create this front end
- 12:38:15with Google thing right which I showed
- 12:38:16you something which we don't want to and
- 12:38:19your back end is still running. I think
- 12:38:20I can just do beefing. Yeah. So back end
- 12:38:21is still running everyone. Let's go back
- 12:38:23and see. It is working out. So let me
- 12:38:26just come back as soon as it is clear.
- 12:38:28So now it has written all the files and
- 12:38:30it is asking me if it can build it. I
- 12:38:31could just say yes.
- 12:38:38So let it run. Zero errors. Now it is
- 12:38:41saying that everything is completed. It
- 12:38:43has I think given us everything as well.
- 12:38:44All the things. Uh I could just copy
- 12:38:47this and I could just open a terminal.
- 12:38:50So things get run by a terminal. Okay,
- 12:38:52that is the whole idea. So uh view
- 12:38:56terminal.
- 12:38:58I will open another terminal instance.
- 12:39:00Uh you can have it separately as well.
- 12:39:02Like if you want you can run it like in
- 12:39:04here only or rather let me show you like
- 12:39:06maybe I can run this thing from here.
- 12:39:09Just that I will have to go to that
- 12:39:10folder. Uh okay let me let me try it
- 12:39:12here. You should be fine. So again you
- 12:39:14just have to make sure that you run it
- 12:39:15with front end folder. So let me maybe
- 12:39:17copy the path. Okay.
- 12:39:21CD
- 12:39:22too many arguments. How can that happen?
- 12:39:33Losers. Okay. CD went back CD
- 12:39:38that how can that have been printed? I
- 12:39:40stuck. So let me do it. CD may slash
- 12:39:44GitHub
- 12:39:47CD users may GitHub repos okay I think
- 12:39:52the break is kind of GitHub
- 12:39:56uh okay GitHub repos GitHub
- 12:40:00synced
- 12:40:02code daily flow center that is how you
- 12:40:04can type everything okay say npm rundev
- 12:40:08so it is just a simple command which
- 12:40:09runs your folder so see it is saying
- 12:40:10that hey at this particular endpoint
- 12:40:12point your front end is running.
- 12:40:16Ah and see it is pretty good everyone
- 12:40:18right so see bond morning briefing code
- 12:40:19now I think things are making sense so
- 12:40:21if I would have done it without the back
- 12:40:22end it would not be making sense uh
- 12:40:25these we will talk about so as of now we
- 12:40:26have not created it do something today
- 12:40:28that your future self will thank you
- 12:40:29this is a quote focus tip before opening
- 12:40:32email or messages spend the first 10
- 12:40:34minutes writing down your top three
- 12:40:35priority today message today is full of
- 12:40:36potential as of now this generation
- 12:40:38stand up and everything is not working
- 12:40:40so I've kept something like we are
- 12:40:42building we are built then we are kind
- 12:40:44of having something missive but see all
- 12:40:46these things are present everywhere. I
- 12:40:47could say that hey
- 12:40:50uh complete an awesome claude code
- 12:40:56project.
- 12:40:59Uh okay I think it has given an error.
- 12:41:01Why it has given an error? Let's go back
- 12:41:03in back end. Uh have we have this
- 12:41:06closed? Let me start the back end again.
- 12:41:10Application started completed. Let me
- 12:41:13try to refresh this.
- 12:41:18Where is so I think it is filling. What
- 12:41:20we will do? We will do this thing. Now
- 12:41:22that is where now comes into picture.
- 12:41:24Right. I will go back and it told me
- 12:41:27that I can now paste this thing
- 12:41:29directly. Right. So I could have it like
- 12:41:32this.
- 12:41:34It is not connecting to back end.
- 12:41:39Now again by coding everything will be
- 12:41:42fixed. Failing to fetch means back end
- 12:41:45uh isn't running. Let me check and
- 12:41:46start. I think it will just restart it
- 12:41:48somehow.
- 12:41:51I think the back end is running has a
- 12:41:53python but uh okay. So I think okay I
- 12:41:56think Google generative agent installed.
- 12:41:57Let me install the requirement. Okay. So
- 12:41:59uh actually we have in we have kind of
- 12:42:01in that in between we have the Google
- 12:42:03API thing running learning right. So see
- 12:42:04it is installing that library
- 12:42:05dependencies and I think in a bit then
- 12:42:07it will stop and start it again. I hope
- 12:42:10this is the right light right library
- 12:42:12else we will move to openi. Okay.
- 12:42:15So it will kill this everyone and then
- 12:42:16it will try to make sure that you can
- 12:42:18start it again
- 12:42:21we having this context as well now start
- 12:42:24the server. So again that's a benefit
- 12:42:26right it will start itself
- 12:42:30back end is live and running the root
- 12:42:31cause was go generative refresh the
- 12:42:33browser get task
- 12:42:35let's go back refresh
- 12:42:39create awesome
- 12:42:42claw code project
- 12:42:49still
- 12:42:51failing
- 12:42:53with failed
- 12:42:55to fetch. Okay, let it ask this.
- 12:42:57[clears throat] Let me close this
- 12:42:58meanwhile.
- 12:43:04So, let it run again. I could have tried
- 12:43:06it out without this as well, but since
- 12:43:09I'm doing wipe coding, I just want to
- 12:43:10show you that keep on asking AI and it
- 12:43:11will fix this.
- 12:43:17And in a bit, I will be doing the
- 12:43:19context thing as well where I will be
- 12:43:20kind of having this done. Let's see.
- 12:43:22Usage 38% So we will be moving to haiku
- 12:43:26in a bit
- 12:43:32let it happen
- 12:43:36and one more thing everyone meanwhile
- 12:43:38it's fixed like it will again get fixed
- 12:43:39because cloud is pretty smart though you
- 12:43:42could have created a in-depth one as
- 12:43:43well I wanted to start small that is a
- 12:43:45mistake another like a lot of people
- 12:43:47again do that they create a project
- 12:43:49which is so complex that they are never
- 12:43:51using it right they just created and it
- 12:43:52kept on like
- 12:43:54I know that from a tech perspective for
- 12:43:56people who are from core tech this is
- 12:43:57not that uh big but again you can do
- 12:43:59that thing right you can easily just
- 12:44:00build with that because now you know all
- 12:44:02the tricks in the hands I just wanted to
- 12:44:04make sure that I can create a project
- 12:44:06which is actually to any lawyer any CA
- 12:44:08everyone right so that is why I've
- 12:44:09created it now you can easily just add
- 12:44:11any other approach as well that is the
- 12:44:12whole case everyone so let's go back and
- 12:44:14see I think it is fixing it up so let it
- 12:44:17fix right test post returns an HTTP
- 12:44:19status not a network error and option
- 12:44:21prefite returns course headers
- 12:44:23So let it fix up. Uh so let it run. I
- 12:44:29don't care what it is fixing up.
- 12:44:34So again everyone I think Google was the
- 12:44:36main issue as I can see uh Gemini
- 12:44:38configuration everything. Uh the whole
- 12:44:40idea was that uh again I know that
- 12:44:42Google has some library issues but let
- 12:44:44it fix. I don't want to go in depth of
- 12:44:45that. uh it will just fix it up and
- 12:44:47hopefully it will just make sure that it
- 12:44:49can again let let it get white coded.
- 12:44:52Okay, so that is the whole case. I can
- 12:44:54get the into the depth of errors but the
- 12:44:56whole idea will that that will kill the
- 12:44:58biteing part. But again as of now again
- 12:45:00for the like let it fix let it run then
- 12:45:02we will create skills sub agent
- 12:45:04everything as well. Okay and those
- 12:45:05skills and subgent will also be called.
- 12:45:06So that is where it will be helpful and
- 12:45:08we will also integrate MCP and all the
- 12:45:10scheduling part as well. Okay.
- 12:45:13So it is saying that kota issues or
- 12:45:15maybe something now test now test the
- 12:45:17post again. So let me just get this
- 12:45:22uh okay I think it is saying that hey
- 12:45:24you have exceeded your portal limit let
- 12:45:25me get a separate key out everyone
- 12:45:28so what I've done everyone I've just got
- 12:45:30another key now it is also saying the
- 12:45:32same that hey just make sure that you
- 12:45:33enable the billing or get another key if
- 12:45:35you want you can actually try to make
- 12:45:36sure that you are also so I will go to
- 12:45:39environment first let me show you that
- 12:45:40particular envir
- 12:45:44so that's why I'm doing it uh you can of
- 12:45:45course add the key from open router or
- 12:45:47any other service. What do I mean by
- 12:45:49that? So we don't know what open router
- 12:45:51is. Go here. Open router.
- 12:45:54Uh it also gives you the key from which
- 12:45:56you can call the API. But again it is
- 12:45:57also having the limits, right? So I can
- 12:45:59just ask it only. Let me go to uh I
- 12:46:03think personal workspaces.
- 12:46:06It has been time since I used it.
- 12:46:10I think I have to go here and credits.
- 12:46:13Yeah.
- 12:46:15So let me get a new one. I think yes
- 12:46:18here as well I have actually gone above
- 12:46:19the limit or not let me see
- 12:46:22no expiration name can be let's say
- 12:46:24claude code
- 12:46:28right and create it
- 12:46:32copy this close this
- 12:46:35and I could just add normally open
- 12:46:37router API key
- 12:46:42wait so I would just say uh now a few
- 12:46:46things that even which we have learned
- 12:46:47during the learning. Uh if I see
- 12:46:49context, I think you should keep on
- 12:46:50seeing this context usage. I think it
- 12:46:52has recently been updated. We saw that
- 12:46:54how it is very much in depth. I think uh
- 12:46:56MCP is still less. So that should not be
- 12:46:57a problem. What I will do, I will just
- 12:46:59make sure that I do a compact something
- 12:47:01which we have learned as well because
- 12:47:03again it is reaching that right. So the
- 12:47:05whole idea is that while it was building
- 12:47:06uh just we face the issue with the
- 12:47:08Gemini key which we have updated. So let
- 12:47:11it run. Okay, let it just compact
- 12:47:13everything. Now parallelly since we have
- 12:47:15updated it let me go back and try to use
- 12:47:17it.
- 12:47:18Uh let me copy this refresh
- 12:47:21paste it. So again it is still giving
- 12:47:24the same error. I think we will have to
- 12:47:25fix it. So let me fix it finally.
- 12:47:28So again everyone it has compacted. I
- 12:47:30think if we see the context now it will
- 12:47:33be pretty less right. So see it has been
- 12:47:35kind of very less. Now I will say I have
- 12:47:38updated the key but still the error is
- 12:47:43same. Okay and again everyone once you
- 12:47:44actually build this stuff up right you
- 12:47:46will face error rather I'm happy that
- 12:47:49I'm facing error because if everything
- 12:47:51would have been straightforward you
- 12:47:52would be feeling that hey this is so
- 12:47:53easy and that is easy when you are
- 12:47:55making some funny projects but with real
- 12:47:57back end real development kind of a
- 12:47:58project that is how you face it error
- 12:48:00and that is why I'm showing you these
- 12:48:02things up as well. So I'm not deleting
- 12:48:03any of this part. The idea is pretty
- 12:48:05simple. Why should I not face all the
- 12:48:08things which you are facing, right? It
- 12:48:10mean the service isn't reachable or not
- 12:48:12that API. So let it work, right? So I I
- 12:48:14want to make sure that everything is
- 12:48:15kind of totally totally working.
- 12:48:16Finally, let us try for uh like local
- 12:48:19host 8,000 is working. Let me just do a
- 12:48:21duplicate. Let me run at 8,000/ tasks.
- 12:48:26Seems like this is working. So back end
- 12:48:28is up, right?
- 12:48:32the back end respond but I don't see CS
- 12:48:33header. Let me check the full response
- 12:48:35headers. Uh normally don't get this
- 12:48:37cause table of issues but again it fix
- 12:48:39it. I'm not going into deep courses
- 12:48:41should be fine.
- 12:48:43And just to let you everyone what happen
- 12:48:44is that if you give a
- 12:48:47this create task it uses AI to create
- 12:48:50like the proper task. So see create a
- 12:48:52task with AI generated subtask. So that
- 12:48:54is actually why Google is getting used.
- 12:48:56Now I could not have used clot directly
- 12:48:58here. That is the whole problem because
- 12:49:00my back end is running separately,
- 12:49:01right? It doesn't have access to my
- 12:49:02cloud uh browser or cloud on browser or
- 12:49:05by anything right. So let it work.
- 12:49:10So again everyone it is saying that yeah
- 12:49:12the things have been fixed and it is
- 12:49:13saying that hey now when you will try it
- 12:49:15will show you the real error because I
- 12:49:16think some problem was there. So it has
- 12:49:18added some code. Now when I'm going back
- 12:49:20actually it is showing me the error that
- 12:49:22you exceeded your current kota. But if I
- 12:49:24see it here, it is still telling me that
- 12:49:26how I have this thing present. Now I was
- 12:49:29on a feed tier.
- 12:49:31Let me check like I did had a project
- 12:49:34where actually I could uh I I think this
- 12:49:37is giving some issue because of the
- 12:49:38models. Let me just try to create one
- 12:49:40with uh let's say project paid. Okay.
- 12:49:44And I would say claude code daily pulse.
- 12:49:48Okay. Now again it is giving in my end.
- 12:49:50You can just ask it to give you you can
- 12:49:52either use open router. We just needed
- 12:49:53an AI there, right? So now let it run.
- 12:49:56Let me copy the key. Hopefully this will
- 12:49:59be in paid tier. So what I will do, I
- 12:50:01will go back. I will go to env and just
- 12:50:04I will change the Okay. Now let me try
- 12:50:08it out. Hopefully it will work.
- 12:50:12It is still saying right. So again here
- 12:50:15what I can do everyone then I think we
- 12:50:17can do the other approach. Please uh
- 12:50:21please shift it to
- 12:50:25Lord. Uh let me also check one more
- 12:50:27thing like which model is it which we
- 12:50:28are using right so let me go on main and
- 12:50:30let's say on services
- 12:50:33in here it is using 2.5 flash light
- 12:50:36right so let me make it 2.5
- 12:50:38flash because I think this has been
- 12:50:41decommissioned now because in here if I
- 12:50:44see I if I go on usage and again you
- 12:50:47should know these things up right if I
- 12:50:49go back let's say in the rate limit
- 12:50:53if I go on this one maybe
- 12:50:58so 2 flash five flash is still available
- 12:51:01right 2.5 flash is still available so
- 12:51:02let us try to use that maybe if I now
- 12:51:06let's say
- 12:51:08first please
- 12:51:11use 2.5 flash because I do have kota
- 12:51:17there okay so again it might be the
- 12:51:18model which is not active so let's try
- 12:51:20to fix it as well
- 12:51:22uh so it has done the same everyone I
- 12:51:24think there here it has done the same
- 12:51:25read services.
- 12:51:28Okay. So I I can ask it only. Can you
- 12:51:32test it now if it's working?
- 12:51:42So it is making the call. Let it work.
- 12:51:44It is still saying 43. The project has
- 12:51:46been
- 12:51:48the project uh I don't have access.
- 12:51:51Okay. What it is saying the AP doesn't
- 12:51:52have access to Gary. Let me check which
- 12:51:54models are actually available on this
- 12:51:55key. So it is just testing out in the
- 12:51:57key thing you need to generate a new one
- 12:51:59the API. So back end will not autoate
- 12:52:01once you save the image then ping me I
- 12:52:03will use test. Okay. So again the key is
- 12:52:05giving the main issue. I will just ask I
- 12:52:07have given open router as well. Open
- 12:52:12router key.
- 12:52:14Let us shift to that. Okay. So I'll just
- 12:52:18ask it that hey use any model from open
- 12:52:20router. Maybe I'm not doing anything.
- 12:52:22See, I could use the paid key and
- 12:52:23everything, but I want to make sure that
- 12:52:25at least whatever I'm using, you also
- 12:52:27are having that thing. Okay, so that is
- 12:52:29the whole idea. Now, in the open router,
- 12:52:30everyone, as I showed you, you can just
- 12:52:32create an account, and I think it gives
- 12:52:34you $2 worth of free credits, which are
- 12:52:36also pretty good for just testing out.
- 12:52:38So, just create with uh let's say your
- 12:52:41uh Google and in this you can just
- 12:52:43create an API key. And I think if you go
- 12:52:45on uh logs or I think credits
- 12:52:49as of now I am on 0 0. So hopefully I
- 12:52:52will be having some free limits right.
- 12:52:54So just create the key and now I think
- 12:52:56it will just install something for me.
- 12:53:00It will already just see it is already
- 12:53:02doing this thing up. This is the
- 12:53:04previous one and it will just handle
- 12:53:07everything and that is a good thing
- 12:53:08right as well because I want to show you
- 12:53:09like what free AIB might have available.
- 12:53:12We could have used Olama like the
- 12:53:14locally hosted one as well but I think
- 12:53:15this one is still better. Okay.
- 12:53:18So now everyone what it has done like we
- 12:53:20have just moved from Gemini like I'm not
- 12:53:22sure why it was giving that quot error
- 12:53:24maybe you will not get it but we have
- 12:53:25just moved to uh your open router. Okay.
- 12:53:27So same thing again it has actually done
- 12:53:29the whole thing for me. I'm not even
- 12:53:30writing a single line of code in the
- 12:53:32complete thing. It has fixed up for me.
- 12:53:34And what I can do now I think I can go
- 12:53:36back and again it is uh where if you see
- 12:53:39this right if I show you the logs
- 12:53:42it will show you that how it was used
- 12:53:43just now. So see uh it is showing that
- 12:53:45Gemini 2.5 flash is used again for the
- 12:53:47testing purpose it is still very less.
- 12:53:49So we are just using very very less
- 12:53:50part. If I refresh it I think one. Yeah.
- 12:53:54So one part it has added. So see it is
- 12:53:56saying that all these things up. It
- 12:53:58tried it out. I could say uh teach
- 12:54:02project on how it is actually made and
- 12:54:06if I add it now it will make a API call
- 12:54:09and see this has been created. So again
- 12:54:10good thing that we faced these errors
- 12:54:11but we have solved these errors as well
- 12:54:13now right so that is where it is all
- 12:54:15helpful everyone now let's go back
- 12:54:17actually these one will also work
- 12:54:18because I think we have created the end
- 12:54:19points if I click on generate standup
- 12:54:21this will also send uh setup project
- 12:54:23repository next write API documentation
- 12:54:26and build the task list UI component
- 12:54:28daily insights
- 12:54:32productivity insight early start focus a
- 12:54:34single completed task now again if you
- 12:54:36will see like these are not coming up a
- 12:54:37little bit more in depth right so what I
- 12:54:39can I think I should make them a little
- 12:54:41bit better. So I've kept them by design
- 12:54:42as of now like this. So pay attention
- 12:54:44everyone what I will majorly be focusing
- 12:54:46on. I will just make sure that again
- 12:54:50with this right first I could ask you to
- 12:54:52improve the UI a little bit and I will
- 12:54:54copy paste and ask you to do the things
- 12:54:56right in front of me. Right. So uh one
- 12:54:59more thing quickly I will just check. We
- 12:55:00have already done the compact part
- 12:55:02right.
- 12:55:04Let me just ask it for some changes.
- 12:55:07First I will say that hey and I will
- 12:55:09paste the prompt here. So again this is
- 12:55:10a very different kind of development but
- 12:55:12I want that you understand this as well
- 12:55:13because here we are coming it from the
- 12:55:16approach where uh that is how like
- 12:55:18engineers normally do it right so I want
- 12:55:20that you understand these things in
- 12:55:21depth might seem a little diff not
- 12:55:23difficult I think different again so
- 12:55:24that is the full aim right I don't want
- 12:55:26to just follow that approach where you
- 12:55:28are having a p or something and that
- 12:55:30because I think we can easily do that as
- 12:55:32well right so let me just get this let
- 12:55:34me paste the image
- 12:55:36let me say also make sure that you fix
- 12:55:39the way it is coming the daily standup
- 12:55:41should also easily able to
- 12:55:45read through my task so as to provide a
- 12:55:47better idea.
- 12:55:50Now
- 12:55:52the setting I second I do this everyone
- 12:55:54I can just press enter it will just go
- 12:55:55through each and everything and make
- 12:55:56sure that it is fixing the same up from
- 12:55:59the usage part we are I think kind of at
- 12:56:01around 40 50% 64% so should be fine I
- 12:56:04think we can just test it out let it run
- 12:56:08a lot of things so let it run all these
- 12:56:10nobody
- 12:56:12so great everyone seems like it has done
- 12:56:14the same and yeah that is like the real
- 12:56:16problem which we face when we are
- 12:56:17building like this so the idea is pretty
- 12:56:18simple let me refresh
- 12:56:22Let me just zoom it into default. Uh
- 12:56:26stand up and it is using the API to
- 12:56:28open.
- 12:56:30We have to fix it
- 12:56:33inside. Let's see if it is fixed or not.
- 12:56:34So yeah, this is kind of fixed. Okay,
- 12:56:36break down larger task and everything.
- 12:56:38It is giving very basic one as of now,
- 12:56:39but should not be a problem. Uh I would
- 12:56:41also want it to like be a little bit
- 12:56:43more interactive.
- 12:56:45So we can do that. Let me first like fix
- 12:56:48other things as well.
- 12:56:52So again as we can see everyone like we
- 12:56:54do have a front end built. So let me see
- 12:56:56it here. Now actually we will correct
- 12:56:58the front end and everything that should
- 12:57:00be a pretty easy thing and there are
- 12:57:01again many website as well. So if you
- 12:57:03will normally just go and search for
- 12:57:04front end elements right you will see
- 12:57:08like how there are different different
- 12:57:09websites from which we can get these
- 12:57:11components as well right? Many of them
- 12:57:13now actually also provide that if you
- 12:57:14will browse all elements but again as
- 12:57:16I've shown you that just like with
- 12:57:17Google these are pretty simple thing to
- 12:57:19work right so if you just let's say copy
- 12:57:20this code right easily you can just get
- 12:57:23into your uh let's say easily into your
- 12:57:26website so that should not be a
- 12:57:27difficult thing everyone all of these
- 12:57:29different different things right which
- 12:57:30we are seeing in here that are very very
- 12:57:31easy to get okay so with respect to that
- 12:57:34now what we can do everyone let's go
- 12:57:36back and for the time being let me first
- 12:57:38create some skills and first let me
- 12:57:40compact the conversation as well so if
- 12:57:42you will Our conversation has of course
- 12:57:43expanded a lot. So what I will do I will
- 12:57:46say compat keep the full file structure
- 12:57:48all API endpoints the react component
- 12:57:50structure and all the typescript python
- 12:57:52pattern established. So again you can
- 12:57:54normally compact as well just leaving
- 12:57:56the whole thing to clot code or you can
- 12:57:58compact with your instructions. So
- 12:57:59something which we have also discussed.
- 12:58:00So again small small things are getting
- 12:58:02revised here and that is how you have to
- 12:58:04follow. So it normally happen that you
- 12:58:06are uh let's say learning something with
- 12:58:08me but when you have to actually use
- 12:58:10[clears throat] that right you are not
- 12:58:11remembering that you must be compacting
- 12:58:13without anything. So that is now how
- 12:58:15these things are helpful. Now in the
- 12:58:17next part everyone we will actually go
- 12:58:18and create the skills. So if you will
- 12:58:21see hooks are silently working in the
- 12:58:22background and ideally this is how it
- 12:58:25happens like when we are creating a
- 12:58:27task. So you saw that how this is
- 12:58:29working. Now if I go back let's say when
- 12:58:32I create a task browser send a request
- 12:58:34okay so my react front end it's call my
- 12:58:39back uh back end on the fast API server
- 12:58:42then that fast API server everyone in
- 12:58:45here it is mentioned that it is calling
- 12:58:46clot but uh so that all of you are also
- 12:58:50able to uh do it for free I have used
- 12:58:52open router here and the idea was pretty
- 12:58:54simple right like again buying open
- 12:58:55router because it was pretty
- 12:58:58straightforward that you get free
- 12:58:59credits there in cloud you will have to
- 12:59:00unnecessely add your card once you have
- 12:59:02done that everyone it gets back the
- 12:59:05overall let's say task so if I just say
- 12:59:07that do an awesome clawude code projects
- 12:59:13this request will first go to the back
- 12:59:14end back end will then make a call to
- 12:59:17open router open router will send the
- 12:59:19request that request will be then
- 12:59:21received by back end it will be saving
- 12:59:23that into the DB like the local DB which
- 12:59:25we have created and then finally we will
- 12:59:27be able to see it in our front end
- 12:59:28because front end gets the data from the
- 12:59:30back end. Okay, so this is again very
- 12:59:31very important thing and this is where
- 12:59:34your AI layer is kind of getting into
- 12:59:35picture front end it calls your / uh
- 12:59:39like post command to create a task then
- 12:59:41it goes here gets the task created goes
- 12:59:44back goes back and we able to see each
- 12:59:46and everything okay so that is actually
- 12:59:48what happens everyone like this is the
- 12:59:49whole uh let's say structure so you type
- 12:59:52five words claude or any a I did the
- 12:59:54structure a did the thinking user does
- 12:59:56the thing right so I think yeah the
- 12:59:58compacted chat has been also done uh we
- 13:00:00have saved 78k tokens. Now pay attention
- 13:00:02what I will do. I can do that in a
- 13:00:04separate chat as well. But let me just
- 13:00:06do one thing. Yeah,
- 13:00:09in the [clears throat] prompts I will
- 13:00:11just have this and I will also have this
- 13:00:13compact thing because I want all of you
- 13:00:15to maintain this right. So pay attention
- 13:00:17everyone. Create a skill file at
- 13:00:19particular skill files morning brief.
- 13:00:20Call this particular thing to get
- 13:00:22today's briefing. If the briefing hasn't
- 13:00:24been generated yet, trigger generation.
- 13:00:26Display the briefing in a formatted way
- 13:00:27in a terminal. then call get task and
- 13:00:30show how many tasks are pending and
- 13:00:31everything. So again this is just uh
- 13:00:33another way of doing this particular
- 13:00:34thing. So pay attention. I would just uh
- 13:00:37enter this and before entering I will
- 13:00:39just change it to
- 13:00:41haiku. Okay. So let me now enter this
- 13:00:45and again we learned that how we can
- 13:00:46create these skills up and yes actually
- 13:00:49if you want uh you can create multiple
- 13:00:52skills but just one thing if you are
- 13:00:53noticing there is no way. Okay and
- 13:00:56listen to this very very carefully.
- 13:00:57There is no way that though I will be
- 13:01:00able to create this skill, my user
- 13:01:02right, he will not be able to call this
- 13:01:03skill. Okay, I hope you do understand
- 13:01:05this because your skill runs on claw
- 13:01:07code. I am not providing a claw terminal
- 13:01:10with this particular thing. Okay, so uh
- 13:01:12see understand clot can help you to
- 13:01:14build things. Okay, it going to help you
- 13:01:17to sustain things. It is not that you
- 13:01:19will add that hey generate stand up and
- 13:01:20then in the back end a skill is getting
- 13:01:22called. No, either have your skill here
- 13:01:24or maybe you can have this skill on
- 13:01:26cloud routine okay on the cloud but your
- 13:01:30overall thing right your overall let's
- 13:01:32say application it is not powered by
- 13:01:35cloud code cloud code is just for
- 13:01:37building right all the back end all the
- 13:01:39logic that you have to handle so that is
- 13:01:41very very important thing so let me do
- 13:01:42that what would you like to tell me are
- 13:01:44you looking to okay let me I think copy
- 13:01:46this uh I think it is not having the
- 13:01:48context so let me
- 13:01:50get this uh Let me go. I think it got
- 13:01:54confused because of this. But no
- 13:01:55worries. So create a skill.md everyone.
- 13:01:58It will be creating a skill. Then we can
- 13:01:59call that skill very nicely. So that
- 13:02:01again if I am running this over my
- 13:02:03machine or anywhere I can just call the
- 13:02:04same. Okay. So let it work and I think
- 13:02:07it will just create the same in a
- 13:02:09minute. So as we can see everyone this
- 13:02:11skill is created right? Pretty good
- 13:02:13skill overall. I can just say yes and I
- 13:02:16will be having the skill created.
- 13:02:17Similarly uh we can call the skill but I
- 13:02:19will also have the standup skill here
- 13:02:21and I will show you that how can you use
- 13:02:23it as well like just as I told you. So
- 13:02:25see created the morning brief skill the
- 13:02:27skill. So let me do
- 13:02:30uh slash briefing what was okay I think
- 13:02:32I have to start a new chat right
- 13:02:35chat slash bonding briefing and see now
- 13:02:39again send celebrating thinking forming
- 13:02:42I'll fetch a morning via everything. So
- 13:02:44let it do it.
- 13:02:47Yes.
- 13:02:50Reading skill.mmd of course it will
- 13:02:52understand what all is there. Call my
- 13:02:53back end
- 13:02:56and hopefully it will be easily easily
- 13:02:58able to get all my task.
- 13:03:01Yes.
- 13:03:04Good morning. Your briefing is ready.
- 13:03:05You have six pending task out of seven
- 13:03:06with one already completed. Focus on
- 13:03:08these areas. Right. API documentation is
- 13:03:10ready to type in. So again what I will
- 13:03:11do everyone? I will now create another
- 13:03:13skill which is standup skill. Okay. So
- 13:03:15let me paste this up. And just like that
- 13:03:18it will just create my standard skill as
- 13:03:20well. Okay. So pretty simple thing. Also
- 13:03:21one more thing everyone like if you will
- 13:03:22see uh though I have it selected and
- 13:03:25just this is sent uh you you can just
- 13:03:27avoid this thing right because
- 13:03:28unnecessarily it is also adding to your
- 13:03:31uh this particular token and stuff
- 13:03:33right. So yes I think this has been done
- 13:03:35as well everyone. Now I think if I open
- 13:03:37a new chat
- 13:03:40I could just say generate standup and it
- 13:03:44will just do the same for me. Okay
- 13:03:46pretty simple thing nothing difficult.
- 13:03:49Generate standup skill is being called
- 13:03:53and see it is saying I see you already
- 13:03:55using the generate scatter skill to run
- 13:03:56this successfully. You'll need this
- 13:03:57particular thing to get started. Right
- 13:03:59now if you run this skill without
- 13:04:00backend running it will be so I can just
- 13:04:02say back end is running. Okay. Okay. So
- 13:04:04I have to mention that hey back end is
- 13:04:05running because it it is saying that hey
- 13:04:07I you are asking me in the skill to call
- 13:04:09a particular local host and you should
- 13:04:11have that running. So it this new chat
- 13:04:13is not having that context. So we have
- 13:04:14just told that hey this is running.
- 13:04:16Okay. So the skill script is set up but
- 13:04:18since it is an interactive nodes read
- 13:04:20commands from blockers and clip it needs
- 13:04:21to be run directly. Okay. So what I will
- 13:04:24do everyone I will just show you this is
- 13:04:25actually I I forgot it will be asking
- 13:04:28you this thing right. So let me open the
- 13:04:30terminal in here.
- 13:04:32So small small things which you are
- 13:04:34learning right that this skill asks you
- 13:04:36something right. So again multiple
- 13:04:38different different type of skill I can
- 13:04:39create. Let me say claude and stand up
- 13:04:43generate stand up.
- 13:04:47So it will not start fails with again
- 13:04:49when it is asking you for a lo input it
- 13:04:51cannot be run in the clawed window.
- 13:04:53Right? So normally terminal is actually
- 13:04:54the best test way of doing these things.
- 13:04:56Right? So I see the standard is ready to
- 13:04:59generate a report. First I need to check
- 13:05:00back end is running. So I will say yes
- 13:05:01you can check or I could let him know
- 13:05:03that like back end is running no
- 13:05:04worries. Okay. So see it has got the
- 13:05:05some task. Now let me run it again.
- 13:05:09Stand up it is just getting these things
- 13:05:10up right still thinking with high
- 13:05:12effort. I think it is haiku with high
- 13:05:14effort. Reading back end is running but
- 13:05:16the standard point endpoint is returning
- 13:05:17a different format than the skill
- 13:05:19expert. Let me check. So again it will
- 13:05:20do the changes and everything. Uh okay I
- 13:05:23think it is trying to access something.
- 13:05:24Don't allow don't allow. Okay. So
- 13:05:26everyone you can face this kind of
- 13:05:28issues as well. And let me close this.
- 13:05:30Okay. So it seems like it is trying to
- 13:05:31allow something altogether different
- 13:05:33right. So I would say rather I can say
- 13:05:36change the
- 13:05:38back end
- 13:05:40uh change the
- 13:05:43skill to be in line with my
- 13:05:49backend format. Okay. So again what we
- 13:05:53are trying to do we are trying to
- 13:05:54actually hit this uh backend endpoint
- 13:05:56right daily standup generator and this
- 13:05:58daily insights. So it is saying that hey
- 13:06:00this format it is different than what I
- 13:06:02expect. So I've just said that hey
- 13:06:03please change the skill so it supports
- 13:06:04the current backend format. Okay. So
- 13:06:07hopefully it will change the skill as of
- 13:06:09now. I think the skill it has created.
- 13:06:11And again uh one more thing everyone. So
- 13:06:12when you are actually building these
- 13:06:14things up right they are going to be a
- 13:06:15little two and fro. In what way two and
- 13:06:17fro you will be creating something then
- 13:06:20you will be working on that. So all of
- 13:06:21this like will be there unless you are
- 13:06:23bringing like building something very
- 13:06:25very funny or just simple right? So see
- 13:06:27it has done the same. Now what I will do
- 13:06:29everyone uh we have created these skills
- 13:06:31up. Now of course I can have multiple
- 13:06:32other skills as well. Now we will start
- 13:06:34with sub agents. Okay. So
- 13:06:37if you will see uh sub agent and main
- 13:06:40agent like we have already understood
- 13:06:41and kind of know about the same main
- 13:06:43session handling it main cloud session
- 13:06:45project context all of this are there.
- 13:06:47Sub agent can make sure that it starts
- 13:06:48with something new. So this is the
- 13:06:50prompt everyone pay attention. Create a
- 13:06:52sub aent file at this task breakdown.
- 13:06:54The agent is a specialist in breaking
- 13:06:55down vague task into concrete actionable
- 13:06:57subtask for matter name task breakdown
- 13:06:59description bakes any v task everything
- 13:07:01tools and batch right you are a task de
- 13:07:04composition specialist your only job is
- 13:07:06to take a vague task and goal and break
- 13:07:08it into three to five concrete so what
- 13:07:10we are doing in here everyone we are
- 13:07:12just using or creating this sub aent so
- 13:07:14that it is kind of able to help me in
- 13:07:17breaking those task up so either I can
- 13:07:18use AI or if I'm doing it via my claw
- 13:07:21here I'm not using open order or
- 13:07:22something then I can just do it from
- 13:07:24this as well. So that is the whole idea
- 13:07:26right and I think all of us know I have
- 13:07:28this awesome thing agent flow
- 13:07:32where we can just have each and
- 13:07:33everything running. So let's I think the
- 13:07:35one agent is running so I can now say
- 13:07:37great
- 13:07:39call that sub agent
- 13:07:42now with task I want to
- 13:07:47work on
- 13:07:49clawed design. Okay. Okay. So let's say
- 13:07:52the next video we can have the claw
- 13:07:53design thing converted.
- 13:07:56So mustering I think in a bit we will
- 13:07:58see the agent getting created.
- 13:08:01I think since we have started it
- 13:08:02afterward after the session already
- 13:08:04being started it is not able to pick it
- 13:08:05up. So should be fine.
- 13:08:08Yes I think it will start up in a new
- 13:08:11session. Right. If I say hi here.
- 13:08:14Yeah. So again normally it is expected
- 13:08:17that you start the session right in
- 13:08:18front of it then it will be good. Okay.
- 13:08:21So I could say yes.
- 13:08:24Yes. I it is just reading all the
- 13:08:27things. That is how the sub agent works,
- 13:08:28right? So it is just going through all
- 13:08:29of them. Uh allowing all the commands.
- 13:08:32Okay,
- 13:08:36crafting, envisioning,
- 13:08:42thinking, transmuting. Okay, the agent
- 13:08:44need clarification. Claw design could
- 13:08:45mean a few thing. Which one would you?
- 13:08:47Okay. So now everyone if you will see it
- 13:08:50is getting confused because according to
- 13:08:51claude as of now I think it is not
- 13:08:53updated with its own offering which is
- 13:08:55claw design right. So see claw design is
- 13:08:58there which was recently introduced by
- 13:08:59anthropic. I think this is a very very
- 13:09:01important thing which my agent should
- 13:09:02have an aware uh idea about. Now if my
- 13:09:05agent is having this particular problem
- 13:09:06now again I can do this thing as well.
- 13:09:08Pay attention. I can just go into this
- 13:09:11particular one and say add the red task
- 13:09:13breakdown. Okay break down this task
- 13:09:15improve the daily pulse app performance
- 13:09:16and add better handling. Okay. So I
- 13:09:18could just have task
- 13:09:21I think it catches that in your uh so I
- 13:09:24would just say call the agent. Okay.
- 13:09:28Now you will see that how I have sent
- 13:09:29this for a task which is pretty
- 13:09:30straightforward. So this time it will
- 13:09:32not face any issue because it is having
- 13:09:33the context. So I don't see task
- 13:09:35breakdown skill. So I will say oh yeah
- 13:09:37so I think it has kind of understood
- 13:09:38that there is an agent. So now agent is
- 13:09:40running everyone. It is reading few
- 13:09:41things up and in a bit it will just
- 13:09:43break it down for us. Right. So that is
- 13:09:45I think all of these things are the one
- 13:09:46which we have kind of discussed but if
- 13:09:48you will see we are also able to
- 13:09:50understand here that how uh my agent as
- 13:09:54of now it is working independently
- 13:09:55because it doesn't have any uh searching
- 13:09:58skill or something right so two things
- 13:10:00we will do right we will first make sure
- 13:10:02that this agent which I have created I
- 13:10:04am able to connect it with my
- 13:10:05application as of now if you notice it
- 13:10:08is going to break down the task but
- 13:10:09again that is not going to be helpful
- 13:10:11right unless and until I see it here
- 13:10:13which it is not updating So if you will
- 13:10:14see let it just run quickly we will see
- 13:10:16the same if it doesn't go a lot step
- 13:10:18ahead and like try to just update it in
- 13:10:20our list. Let's try to see the same.
- 13:10:23Okay. So let me quickly come back just
- 13:10:24as soon as it's done. So as we can see
- 13:10:27it has just rolled it out here the
- 13:10:28comprehensive breakdown of the task
- 13:10:30organized into 14 categories with 34
- 13:10:32specific subtask. I think it has gone a
- 13:10:34lot lot ahead. Okay. What I would rather
- 13:10:37do everyone pay attention. I would make
- 13:10:40sure that I able to connect my agent to
- 13:10:42my application. How will I do that? And
- 13:10:44this is actually how you build these
- 13:10:45things up, right? It is not that you
- 13:10:47will be building your agent completely
- 13:10:48with a single prompt. You have to do it
- 13:10:50in a incremental manner. So pay
- 13:10:52attention. I would say update the post
- 13:10:54task endpoint in back end main API to
- 13:10:56add a fallback. If the AI subtask
- 13:10:58generation fails for any reason, return
- 13:10:59the task with a single subtask. Okay. So
- 13:11:01all I'm saying is that hey, if by any
- 13:11:04chance there is a problem, it should
- 13:11:06just have a single subtask created. So
- 13:11:07for that everyone, I will go here and I
- 13:11:10will just paste this. Okay. So in a way
- 13:11:13I am now making sure that my let's say
- 13:11:16if I'm calling an agent or if I'm
- 13:11:17calling AI let's say just if I am
- 13:11:19calling AI and we were facing the error
- 13:11:21here right if you remember but I instead
- 13:11:23of showing an error why not let me pick
- 13:11:25up the individual task for the timing.
- 13:11:27So this is what is happening in here
- 13:11:29right?
- 13:11:31So that is how we handle the error
- 13:11:33everyone because as of now if I try
- 13:11:34let's say if I go back if I change this
- 13:11:36key I'm just removing s from the
- 13:11:38starting okay now if I do teach claude
- 13:11:44design
- 13:11:45right so see it is it is now what it did
- 13:11:48break down this task manually because my
- 13:11:50call must have failed right so I can
- 13:11:52mark this completed and everything and
- 13:11:54it will be shown in the completed today
- 13:11:56part so in a way we are adding a error
- 13:11:59handling kind of a part now it is just
- 13:12:00editing getting the same out. So see new
- 13:12:02post task break in endpoint. So it will
- 13:12:04try
- 13:12:06and make sure that everything in here
- 13:12:07like is getting connected. So that is
- 13:12:09the whole idea. Now of course uh
- 13:12:11everyone along with that I mentioned
- 13:12:13that how now we are having an error
- 13:12:15handling part as well. So if you will go
- 13:12:16here if you will see the post uh where
- 13:12:19it is added exactly ask Gemini. So I
- 13:12:22think create task in here subtask and
- 13:12:25everything. So you can see that again
- 13:12:27the prompt is given right the ask gemini
- 13:12:29I think it is trying if it doesn't work
- 13:12:31let's see the ask gemini in that
- 13:12:33function
- 13:12:35it is using the chat completion I think
- 13:12:37so yes it is openi open router yeah so I
- 13:12:40think again since we are using gemini
- 13:12:422.5 flash it is saying like that so that
- 13:12:44should not be a problem the function is
- 13:12:45just ask gemini that should not an issue
- 13:12:48and it is saying that hey I have now
- 13:12:50added added this particular thing as
- 13:12:52well so break this down manually break
- 13:12:56down. Let me search this a minute.
- 13:13:00Break down
- 13:13:04task. Let's see where it has done it.
- 13:13:08So, exactly if we see this. Yeah. So, I
- 13:13:12think uh this is the case. Try if in
- 13:13:15case it is facing any issues then break
- 13:13:16this down t uh down manually. Okay. So,
- 13:13:18break this task down manually. Task
- 13:13:21searching that. So, this is where
- 13:13:22everyone this thing happens. is now
- 13:13:24again very very important that how are
- 13:13:25we handling these error handling stuff
- 13:13:27as well. Now again I could have created
- 13:13:30an application which was very very
- 13:13:32complex but you could have not have done
- 13:13:33anything right in here the whole idea is
- 13:13:35that once you will get your hands onto
- 13:13:36this code you will be still able to
- 13:13:39understand few points easily right so
- 13:13:40that is the whole point now everyone
- 13:13:42let's move forward and try to understand
- 13:13:44about MCP as well okay so pay attention
- 13:13:46what I will do I will just go to
- 13:13:50uh prompts and I will just simply add an
- 13:13:52MCP okay so 1 minute
- 13:13:57add MCP to this project. So the morning
- 13:13:59brief include a real-time motivational
- 13:14:00inside of productivity tip from the web.
- 13:14:02Okay. So again see I'm just telling each
- 13:14:04and everything in here. I will just
- 13:14:06again I think all of us are kind of
- 13:14:07pretty aware that how we handle MCP. I
- 13:14:09will just paste it and along with the
- 13:14:11same I will just go and search tably MCP
- 13:14:15cloud code. Okay search this go to cloud
- 13:14:20code and I will just add this as well.
- 13:14:22Right now the reason I'm doing this
- 13:14:23multiple things is very very simple. I
- 13:14:25want to make sure that it is having all
- 13:14:26the context right because see again
- 13:14:28better context it will be a lot better
- 13:14:30than uh for a claude as well right so I
- 13:14:32will just go back paste the same let me
- 13:14:36paste it afterwards
- 13:14:38yeah and I could just press enter okay
- 13:14:43now again just started a new chart
- 13:14:44because I think it can just easily do
- 13:14:46the same uh ideally one more thing which
- 13:14:49I might or which I should have done
- 13:14:50which I expect that all of you will do
- 13:14:52is that please create some like so See
- 13:14:54once it explores like once you're having
- 13:14:56a sub agent to explore the codebase etc
- 13:14:58maybe we can save that output somewhere
- 13:15:00so that all the pre future chats they
- 13:15:02can read from that particular uh file.
- 13:15:03So cloud is of course there but along
- 13:15:05with that as well it can be helpful. Now
- 13:15:07once this happens everyone I think it
- 13:15:09will require my key. So tabi
- 13:15:12uh tab not tabi okay tally right uh let
- 13:15:16me check it
- 13:15:19continue with Google. I think this one
- 13:15:21was should be having some key because
- 13:15:24last we used it there was still a zero
- 13:15:26of 100 credits. Let me copy this key. Go
- 13:15:29back. Yes,
- 13:15:32in a bit I think it will ask for my key.
- 13:15:34So let me just paste it here only. I
- 13:15:35think I've already created this right.
- 13:15:37So the key is kind of being put
- 13:15:38everyone.
- 13:15:40So now it is saying that hey nice it has
- 13:15:42added the MCP server as well.
- 13:15:45Good. I can see table API has been
- 13:15:47added. Now let me update the env file
- 13:15:49with tably enabled flag. So now it will
- 13:15:52be reading the same. I think it has just
- 13:15:53added tavly enabled. So that should be
- 13:15:55helpful. And of course along with that
- 13:15:57it will do some changes in the code etc
- 13:15:58because it has to see this as a complete
- 13:16:01system. Right? That is what clot code is
- 13:16:03good at. So if you ask it something it
- 13:16:04goes few step ahead and make sure that
- 13:16:06it does those changes as well. Right? So
- 13:16:08again it is killing the back end making
- 13:16:09sure that everything is all fine. I
- 13:16:11would also like to give my agent. So if
- 13:16:14you remember our agent uh where has it
- 13:16:15been created
- 13:16:18okay I think it has created in the main
- 13:16:19one no worries we will check it out
- 13:16:22read services py so it is adding all
- 13:16:25these things up everyone
- 13:16:29so it is just restarting series let me
- 13:16:31start the back end and test the same
- 13:16:32thing so it is just doing all these
- 13:16:33things itself right that is the best
- 13:16:34part with cloud code like the reason
- 13:16:36cloud code works so good right it is not
- 13:16:38that we don't have any of these good uh
- 13:16:40this system of working on our terminal
- 13:16:42we had that for I over one and a half
- 13:16:44years. But with the latest model,
- 13:16:46Clotwood is getting very smart in these
- 13:16:47things, right? So if you will see
- 13:16:48everyone let it quickly build
- 13:16:51sleep three girl. So I think it has
- 13:16:53started the same. We can go back here
- 13:16:55and actually we can see the same as
- 13:16:57well. Let us go to this if it is
- 13:16:58working. Let me do daily briefing. Let
- 13:17:01me start this now. This time actually it
- 13:17:03will be loading tagly, right? So we can
- 13:17:05see the same in our uh commands. If I
- 13:17:07refresh it like if it will be working,
- 13:17:09it will be getting refreshed here.
- 13:17:11That's the idea.
- 13:17:13So as of now again it is also trying to
- 13:17:16test it out
- 13:17:18and if you are aware about code you can
- 13:17:20surely go inside the code and see the
- 13:17:22same. If you are not I think that's also
- 13:17:23fine because that is the whole benefit
- 13:17:25of my coding. All right. So let it run.
- 13:17:28I think we have the MCP file. I feel
- 13:17:32that it is creating that MCP at a user
- 13:17:34level. So something which we might need
- 13:17:35to check. Here are all the session
- 13:17:38activity logs. So okay. So it is
- 13:17:40creating this thing. That should be a
- 13:17:41good thing.
- 13:17:43Okay,
- 13:17:46be fine. Py cache
- 13:17:49cloud logs are there
- 13:17:52and if I go on front end here as well I
- 13:17:55think the logs are there right. So yeah
- 13:17:56logs are there.
- 13:18:00So again everyone if you will see like I
- 13:18:02feel that MCP is kind of facing some
- 13:18:04issue there because again I have seen
- 13:18:05that you know when you try to add
- 13:18:06tablely MCP without this command
- 13:18:09sometime cloud code like with at least
- 13:18:11with uh your uh haiku it fails some
- 13:18:13issues right so I can just paste this up
- 13:18:15for the time being and I could just open
- 13:18:18a terminal so let me go to view terminal
- 13:18:21let me try to add it like this okay
- 13:18:25uh yes I can improve it should not be a
- 13:18:28problem
- 13:18:30so So it is added to the main one. Okay.
- 13:18:31Done. Table MCP server is now added. You
- 13:18:33can use tably search for skill. So I
- 13:18:35think if I now go inside claude and
- 13:18:39if I now do /mcp
- 13:18:42right if I manage there is tab one or
- 13:18:45not. Okay I think it will be in the
- 13:18:46separate one. But what I will do
- 13:18:48everyone pay attention. The best
- 13:18:49practice is what I was saying you. I
- 13:18:50will say that please instead maybe
- 13:18:54create a Python script to get the latest
- 13:19:00news and quotes etc from tabuli table
- 13:19:07using my key. Okay. So again I'm just
- 13:19:09following the best practices here. Yes,
- 13:19:11MCB and everything is fine but since we
- 13:19:12have understood this and this is what
- 13:19:14I've told you as well like see in the
- 13:19:15long run for many things MCB might be
- 13:19:18very helpful but may like overall it is
- 13:19:20also a good choice if you know that hey
- 13:19:22this is the exact API which I want to
- 13:19:23call so let me just create a Python
- 13:19:25script for that so this is what I'm
- 13:19:26doing here everyone if you will focus
- 13:19:28right so overall just I'm making sure
- 13:19:29that yes I am able to create this tably
- 13:19:33by this particular thing so let it work
- 13:19:35and in a bit what will happen so let it
- 13:19:38work the good part again uh It is
- 13:19:40handling all the changes everything
- 13:19:41itself and in the end I will show you
- 13:19:43the better UI and everything as well. So
- 13:19:45MCP I think all of us know how it works
- 13:19:46everyone without MCP our fast API server
- 13:19:49it hits claw gemini whatever it is not
- 13:19:52having the updated data right so that is
- 13:19:54the whole problem because of which MCP
- 13:19:56kind of or maybe API we are kind of
- 13:19:58picking up in when we add MCP JSON tavly
- 13:20:00connected then it is able to get all the
- 13:20:02latest information as well. So again
- 13:20:04tavly MCP is having the blog the news
- 13:20:06everything is there and then it can get
- 13:20:08the latest thing and ideally it works
- 13:20:10with adding the two lines. I think it
- 13:20:11has added that into the main one but
- 13:20:13still let us try that.
- 13:20:15So now it is saying table is working
- 13:20:17beautifully. So actually cloud is using
- 13:20:19that language. Tablely is working
- 13:20:20beautifully with the API key. I can see
- 13:20:21it's fetching real current productivity
- 13:20:23tips and codes. So if I go back everyone
- 13:20:25and if I show you it will be refreshed
- 13:20:28right three of thousand. So it has run
- 13:20:30actually three three requests
- 13:20:32and again it is saying you can clean up
- 13:20:34the tably file now if you would like.
- 13:20:36Would you like me to update the front
- 13:20:37end to display the web tip? Yes. Uh
- 13:20:39please update the front end
- 13:20:42to uh display web tip and the latest
- 13:20:49latest AI news as well which I can
- 13:20:54refresh. Okay. So again I'm just asking
- 13:20:56it all the things which I want and it
- 13:20:57will do it for me. Pad everyone this
- 13:20:59happens. Let's also talk a little bit
- 13:21:01about one more thing which we discussed
- 13:21:02if you remember. So what I can do I can
- 13:21:05go to my uh prompts again right and this
- 13:21:09is how you handle scheduling loop 09. So
- 13:21:13every week at 9:00 a.m. morning briefing
- 13:21:14will run. Now again I do understand that
- 13:21:16this should be running uh the claw
- 13:21:18should be running with the session open.
- 13:21:20But I hope I have told you the hack not
- 13:21:22hack actually the right way of doing
- 13:21:23that as well. So let me do a yes. all
- 13:21:26these things will be happened and then
- 13:21:28we can just create a particular this
- 13:21:30command as well. Right? So let me create
- 13:21:32this actually pally I just want to show
- 13:21:34you one thing because that would be
- 13:21:35easily possible with terminal. So pay
- 13:21:36attention everyone I would just stop
- 13:21:38this up clear everything. So let it work
- 13:21:40right again we can have multiple
- 13:21:42sessions that's also a beauty. I will
- 13:21:43start cla I will paste this loop so that
- 13:21:46it works on this. Say yes here
- 13:21:50we can have it automatically should be
- 13:21:52fine.
- 13:21:53Yes.
- 13:21:56So see I'll set up this bickering
- 13:21:57weekday ask to run morning briefing at
- 13:21:599:00 a.m. So skill loop successfully
- 13:22:01loaded the skill because again I ask you
- 13:22:02to create a use a skill there, right?
- 13:22:04That is the best way of doing this as
- 13:22:06well or either you can just make sure
- 13:22:08that you create a chrome list and
- 13:22:09everything with this. So let it create.
- 13:22:14Okay. So again since I've asked for a
- 13:22:16few of the changes in the UI as well, it
- 13:22:18will do all those changes and restart
- 13:22:19it. Okay. So see it is saying use skill
- 13:22:22schedule. Yes. uh I can use the same so
- 13:22:24that it is scheduled for me. So I'm
- 13:22:27doing two things parally. One
- 13:22:28development is happening. Second I'm
- 13:22:29also scheduling few few things up. Okay.
- 13:22:32And yeah I think I will uh see I'll help
- 13:22:35you set up this particular thing once
- 13:22:36you clarify these points. So I would say
- 13:22:40first Asia Kolkata
- 13:22:43time zone what agent should actually do
- 13:22:45the remote agent can't run your local
- 13:22:47morning briefing skill but it can call
- 13:22:48daily pulse API. So I would say second
- 13:22:51call the API with in line with skill and
- 13:22:57do the work where the output does. I
- 13:23:00will say third save in a daily briefing
- 13:23:04file in my folder. So that is actually
- 13:23:06what I wanted to show you everyone that
- 13:23:08what we can do. I was telling you that
- 13:23:10how you cannot call a skill from your UI
- 13:23:12right as of now you cannot call any
- 13:23:14skill from your UI. So see it is doing
- 13:23:16these changes everyone. But what you can
- 13:23:18do is that you can have these skills
- 13:23:20scheduled. It will run and it can create
- 13:23:21a file and your front end can read from
- 13:23:24that file. So very very smart thing I'm
- 13:23:26doing here. What I'm actually doing I
- 13:23:28will explain you again. See if I go back
- 13:23:30to my diagram. Yeah. See so our
- 13:23:33application is running everyone. We have
- 13:23:34our daily pulse application running
- 13:23:35here. Daily pulse. Right now this Daily
- 13:23:39Pulse application everyone it is not
- 13:23:42able to it is not able to of course go
- 13:23:44to my claude and say that hey run this
- 13:23:46command my cloud might not be running at
- 13:23:48all that can be also one of the case
- 13:23:49right plus that session might not be
- 13:23:51open plus again as a as a application
- 13:23:54this is not connected to your computer
- 13:23:56or laptop right it will be somewhere on
- 13:23:58the web but what I can do is inside my
- 13:24:00codebase right so inside my codebase
- 13:24:02everyone or inside my overall let's say
- 13:24:04some DB or something I could myself run
- 13:24:07these commands. So I can just run these
- 13:24:09commands
- 13:24:12on schedule or loop basically and these
- 13:24:16can do the work for me by saving it into
- 13:24:17a DB or in a file and then my UI it can
- 13:24:21read from that DB or a file. So again
- 13:24:23I'm just using skill as well here. So
- 13:24:24that is the whole idea right. So is a
- 13:24:26daily bus rep on GitHub at a specific
- 13:24:28URL uh not on GitHub
- 13:24:32right
- 13:24:33store in a file only
- 13:24:38let me say yes so again I think it is
- 13:24:39restarting everything here as well
- 13:24:40everyone
- 13:24:42so yes I I have not created [snorts] a
- 13:24:44repo for gap that's the problem
- 13:24:48yes
- 13:24:51so uh okay so it is asking more question
- 13:24:53okay what actually what is the local
- 13:24:54session based loop that runs in terminal
- 13:24:56can can access your local services.
- 13:24:58Exactly. Let me set up local loop. This
- 13:24:59will run. Okay. Would you like me going
- 13:25:01to create this loop? Yes.
- 13:25:04Yes. Create the same. Okay.
- 13:25:09So again it is just giving the same
- 13:25:11problem that hey are you trying to
- 13:25:12create it? So it will run in your local
- 13:25:14but then uh what if it is not running
- 13:25:16and everything. So see it has also done
- 13:25:18everyone. So see I think it has done all
- 13:25:20the stuff. Perfect. Integration is
- 13:25:22complete. See what have been updated. /
- 13:25:23briefing endpoint now includes web tip
- 13:25:24built with realtime productivity inside
- 13:25:27from tamil/I
- 13:25:29news endpoint it has added new itself
- 13:25:31okay uh let me pick up one chrome so it
- 13:25:35is saying that if you pick option one I
- 13:25:36can show you the chron tab setup so
- 13:25:39local option one local chrome job so it
- 13:25:41is getting a local chron job okay front
- 13:25:43end updates it has done the same task is
- 13:25:45done what to expect click the refresh
- 13:25:46button to fetch the fresh briefing plus
- 13:25:48AI news web show current productivity
- 13:25:49tips from developers AI news section
- 13:25:51autoloads on page open and refreshes
- 13:25:53while you briefing. The app grad gates
- 13:25:55if table is available the briefing will
- 13:25:57still work without the web tip and the
- 13:25:58new section shows no AI news available.
- 13:26:00You can now start the dev servers and
- 13:26:02test the full experience. Ready to open
- 13:26:03your browser? So I can just actually go
- 13:26:05here refresh it.
- 13:26:08Okay, I think I will have to refresh the
- 13:26:10same maybe. Uh okay. So I think overall
- 13:26:12the UI is not running. So let me go here
- 13:26:16everyone and I could ask it only can you
- 13:26:18run both the front end and back end. So
- 13:26:22again everyone what has happened is that
- 13:26:24u back end is not running. So if you see
- 13:26:26just like Google I showed you nothing is
- 13:26:28coming here right because back end is
- 13:26:30all dead. So let me go back I could
- 13:26:32press yes here so that it creates this
- 13:26:34task. I could just say and ask it only
- 13:26:37because it can run my uh let's say that
- 13:26:39particular thing. So see it is saying
- 13:26:40that hey it will just run the same. Now
- 13:26:43parally I think I have created other
- 13:26:45things as well. So if you see GitHub
- 13:26:47sync cloud code daily flow generate
- 13:26:49briefing. So everything it is working
- 13:26:52for me everyone.
- 13:26:54Now it is creating a Python script and
- 13:26:55everything. Now I can do yes.
- 13:26:59So it is doing this part partially via
- 13:27:01script and everything. So it should not
- 13:27:02be a problem. Open changes in VS code.
- 13:27:05Right.
- 13:27:07Okay.
- 13:27:08See great. Uh try the test. So I can if
- 13:27:12I just show you everyone what I wanted
- 13:27:13to show if I do chron tab right sorry
- 13:27:15chron list as a shell command it will
- 13:27:17show one of the thing so okay what is
- 13:27:20saying to test it now without waiting
- 13:27:21until line I can okay I think it has
- 13:27:22created the file and what is this done
- 13:27:25at UTC changes the directory does the
- 13:27:28script and everything okay add this line
- 13:27:30okay okay so it is saying that hey now
- 13:27:32you do thing now let's set up chron tab
- 13:27:34run this command to edit your chron tab
- 13:27:36and add this particular line so all it
- 13:27:38is saying everyone if I copy this if I
- 13:27:40go on my terminal here. Let me close
- 13:27:43everything. Clear everything out.
- 13:27:46Chron tab-en e I can enter this line.
- 13:27:50Exit. And if I think I do uh
- 13:27:54not allow for the typing chron tab chron
- 13:27:58list I am having one of the zsh killed.
- 13:28:02Okay. So I've killed that particular
- 13:28:03thing. But that is how you can see what
- 13:28:04all is running like it was asking for
- 13:28:05some administrative permission which I
- 13:28:07for the time being removed. And I will
- 13:28:09just delete that as well. Okay. So,
- 13:28:12okay. So, it has deleted the same
- 13:28:13because I removed the permission. But
- 13:28:15that is how we can have the schedule and
- 13:28:16loop everyone as well. Now, it is
- 13:28:18starting my both the front end and the
- 13:28:19back end. So, it is saying that back end
- 13:28:21is running now everyone and front end
- 13:28:23will run in a bit. And I think we all
- 13:28:24will be good in that sense. Right. So,
- 13:28:27let me close this up. We have added
- 13:28:29table support as well. Now again you can
- 13:28:30enter any uh UI like anything you can
- 13:28:33support. Right. So, let me refresh it.
- 13:28:36See AI news it is able to fetch uh task
- 13:28:39and everything it is able to fetch
- 13:28:40inside it is saying that it's an error
- 13:28:43this it is saying that it's an error. So
- 13:28:44what I will do everyone now I will take
- 13:28:46a screenshot full page screenshot I will
- 13:28:48take okay I will just paste it here and
- 13:28:52say fix the same. Now ideally the
- 13:28:54screenshot is a little bit higher in
- 13:28:55size and with image your context will go
- 13:28:57up a lot. So this is something which I
- 13:28:59want all of you to know as well. So what
- 13:29:00I will do everyone pay attention
- 13:29:03paste and compress image. Okay.
- 13:29:08Image compressor
- 13:29:13or let's try it out. I think should be
- 13:29:14fine. Let's try it out. Fix the same
- 13:29:18few errors. Errors are there. Okay. And
- 13:29:22that is actually how the like porting
- 13:29:24thing works. So if you're thinking that
- 13:29:25hey man why are you doing so much uh
- 13:29:26here and there? Because again I'm
- 13:29:27building something very quickly. Right.
- 13:29:29The good part everyone and I want all of
- 13:29:30you to understand this. See what
- 13:29:32happened with with and without uh let's
- 13:29:35say AI right so if I explain you these
- 13:29:37thing very in a very very easy to
- 13:29:39understand manner pay attention what
- 13:29:40happened see without AI everyone and
- 13:29:43with AI so what exactly is the case let
- 13:29:45me just delete this one see if you're
- 13:29:48having this time versus quality of the
- 13:29:50work right if you're having this
- 13:29:52particular graph like this and this is a
- 13:29:54very common graph which I think every
- 13:29:56developer will be knowing let me get
- 13:29:58this pencil see earlier this was all
- 13:30:01very much like that how you used to take
- 13:30:04a lot of time. Okay, it's very bigger
- 13:30:06one. Yeah, you used to take a lot of
- 13:30:08time everyone to going going like this
- 13:30:10and let's say this is 80% of your work,
- 13:30:12right? Uh sorry if this is 80% of your
- 13:30:14work, you used to take a lot of time in
- 13:30:17completing it, right? And then with time
- 13:30:19you were able to do a little bit more
- 13:30:22quickly the rest of the 100%. So rest of
- 13:30:25the 100% was pretty easy for you. Okay,
- 13:30:27with AI what happens the 80% work is
- 13:30:30done very nicely. So you will see that
- 13:30:32how so quickly you're able to do this
- 13:30:3480% of the work right but then to do the
- 13:30:38rest of the work or rest of the 100% if
- 13:30:41I say this is 100%. It still takes a
- 13:30:44little bit more time right I'm not so
- 13:30:46going to say that okay it is at the same
- 13:30:47point maybe you can complete it quickly
- 13:30:48rather a lot quickly but yes most people
- 13:30:51stop it at 80% but believe me this 80
- 13:30:53like the rest 20% is where the major
- 13:30:55effort lies now you are able to see that
- 13:30:57how things are failing how we can add
- 13:31:00logging we can add test and everything
- 13:31:01here okay it is testing the different
- 13:31:03different commands and everything in
- 13:31:04front of me I can see the usage as well
- 13:31:06what is the usage criteria so 36% should
- 13:31:08not be a problem and that is how
- 13:31:10everyone now it will be fixing things up
- 13:31:12for
- 13:31:12And once if you see like if this thing
- 13:31:15is was created at 80% level not a
- 13:31:17problem but at the same time now to do
- 13:31:20and make sure that this 20% is also
- 13:31:23working that is a very very big task and
- 13:31:25that is why like you will be you will
- 13:31:26see that hey I have to spend the maybe
- 13:31:29equivalent or maybe half of the time in
- 13:31:33doing that 20% which in which I
- 13:31:35completed my 80% of the project and that
- 13:31:37is always the case with the because it
- 13:31:39tries to give you things very fast and
- 13:31:40everything in an efficient manner but
- 13:31:42when you have to uh tweak the things
- 13:31:43based on your liking based on your
- 13:31:45understanding that is where the things
- 13:31:46happens right so now everyone we have
- 13:31:48added this as well I would just show you
- 13:31:51that how we can work it in a team as
- 13:31:52well so I would just enter it team here
- 13:31:56so pay attention see
- 13:31:59now I'm not running this but this is how
- 13:32:01it will show up I can just remove this
- 13:32:02for the time being pay attention I can
- 13:32:04just say yes here so see when we will be
- 13:32:06having a team everyone teammate agent
- 13:32:07one can build fast API backend plus test
- 13:32:09wait for API contract from t1 build
- 13:32:11react back end write integration test
- 13:32:14build the front end build the back end
- 13:32:15that is how team will work something
- 13:32:16which we have tested it out along with
- 13:32:18that towards the end I can also do some
- 13:32:20final backend level changes so see
- 13:32:23review the complete react front end and
- 13:32:24make these improvements rather I can do
- 13:32:26it pally as well if I want but again not
- 13:32:28a good ch good choice if I start doing
- 13:32:30it padly then uh like if I let's say I
- 13:32:33start another cloud session then again
- 13:32:35some file will be changed some file will
- 13:32:36not be changed so all of these things
- 13:32:37can give an issue so see it is saying
- 13:32:39that all the errors are fixed I've added
- 13:32:40graceful fallbacks when the geminy API
- 13:32:42is not available. All endpoints are not
- 13:32:44returning 200. Okay, refresh the
- 13:32:45browser. So, let me go back. Let's
- 13:32:47refresh.
- 13:32:51So, yeah. Okay. Okay. Now, it's fine.
- 13:32:52See today's message. Start by rectifying
- 13:32:54and you will see that how my tablely
- 13:32:56tably will be used a lot. Three, I think
- 13:32:58it will be a 7 or 8 14 because every
- 13:33:00time I'm refreshing this thing is
- 13:33:01happening. If I generate this, it is
- 13:33:03giving me everything. If I do this, it
- 13:33:05is giving me everything. Right? So,
- 13:33:06overall, it's a pretty good app. I can
- 13:33:07just complete as well these things. I
- 13:33:09could just mark them as complete. I
- 13:33:12could just add that please give Mayank a
- 13:33:17shout out for this awesome project.
- 13:33:21That's a task for you but should be
- 13:33:23fine. Now it is saying make this task
- 13:33:24manually. So what I will do everyone I
- 13:33:26will take the screenshot as well now and
- 13:33:27say that
- 13:33:30it is not hitting AI and always creating
- 13:33:36tasks like this. Please fix so it
- 13:33:41happens only during
- 13:33:46uh when AI isn't available. So I do hope
- 13:33:50that I have still credits in my open
- 13:33:51router but again everyone I'm showing
- 13:33:53you that how at the small uh application
- 13:33:56level as well right I know that many
- 13:33:57people will show this at 20 30 minutes
- 13:33:59of video and say that hey see we have
- 13:34:01built this uh this particular let's say
- 13:34:03uh the overall extension or maybe the
- 13:34:07replacement of this full app or I have
- 13:34:08replaced the complete Instagram Facebook
- 13:34:10in 2 hours but when you actually build
- 13:34:13something it takes time like there is
- 13:34:15actually actually no like from my very
- 13:34:18very extensive experience
- 13:34:19No AI I have seen which actually uh
- 13:34:24works this good. Okay. So it is doing
- 13:34:26some mistake everyone. If I read this I
- 13:34:27will just say please use open router
- 13:34:31only. I feel this is due to
- 13:34:36code issue only. Okay. So again we know
- 13:34:39that with Gemini if it moves to Gemini
- 13:34:42from open router then everyone the key
- 13:34:46will not work. Okay. So open order key
- 13:34:48will not work. I need to make sure that
- 13:34:49I stay in open order only. Okay. And
- 13:34:51that seems like a issue with respect to
- 13:34:53your uh this is only. So let me fix this
- 13:35:01your 92% of session limit.
- 13:35:05That would be a little bit problematic
- 13:35:06but should be fine. Okay. I think the
- 13:35:08usage okay I think I'm using it in the
- 13:35:09same chat right okay strange
- 13:35:15which I'm using. Let me check the model.
- 13:35:19Yes,
- 13:35:21icon I'm using, right? That should not
- 13:35:23be a problem. Okay, let's see.
- 13:35:26So, see some error. The issue is
- 13:35:27confirmed. The open API key is returning
- 13:35:28missing authentication error. This is
- 13:35:30actually an API authentication error,
- 13:35:31not a code issue. Let me verify the API
- 13:35:33key. Oh. Ah, okay. Okay. I think I know
- 13:35:34this. I know this. We only made this
- 13:35:36bad, right? Let me add a s.
- 13:35:40Fix the key now. Please check.
- 13:35:44Uh we only made this problem right? It
- 13:35:46is saying that hey wrong format open
- 13:35:48order key should start with SK or K or S
- 13:35:51like this. So we have actually made this
- 13:35:52problem everyone. Uh sorry for this
- 13:35:54sound model fell.
- 13:36:00Now it is saying that hey everyone
- 13:36:01works. Let me restart the back end. And
- 13:36:03I think once it happens everyone what we
- 13:36:05will just do is we will give this last
- 13:36:07prompt where I will be just making the
- 13:36:09UI a little bit better. Okay.
- 13:36:13So it can work on this and ideally I can
- 13:36:16start a new chat as well but again then
- 13:36:18it will go through the code base and
- 13:36:20everything or rather I should I think I
- 13:36:21can compact the same again that would be
- 13:36:23the better option. Okay
- 13:36:26so yeah it is calling your back end and
- 13:36:28everything just make sure that you are
- 13:36:29not unnecessarily giving it access to
- 13:36:31access anything in the folder or
- 13:36:32something right that would be a little
- 13:36:34problematic thing. So see it has worked
- 13:36:37it is giving me the summary as well. Let
- 13:36:39me go back. Let me refresh this.
- 13:36:44Let me mark this as complete and let me
- 13:36:45now try again. Please give my a shout
- 13:36:49out for this awesome project. Let me add
- 13:36:54this.
- 13:36:56Okay, this confetti was mine not this
- 13:36:58but yes identify see draft a concise
- 13:37:00short for my project post a shout
- 13:37:02publicity on the chosen platform. So
- 13:37:03yeah, maybe you can do that as well.
- 13:37:04Okay, we'll be waiting for that. Now let
- 13:37:06me copy this whole thing.
- 13:37:08paste it here
- 13:37:11and just ask it. So this can be a last
- 13:37:12message everyone actually if you see
- 13:37:14about this we have kind of run
- 13:37:15everything if you just see the project
- 13:37:17we are having multiple things here right
- 13:37:19and we have actually revised almost all
- 13:37:21the different different modules which we
- 13:37:22learned about so if you will see we
- 13:37:24started everyone with claud mdity which
- 13:37:26was our module 4 where we understood
- 13:37:28that okay how cloud mds in the starting
- 13:37:30we were creating plugins so how we also
- 13:37:32added the plugins in the starting only
- 13:37:34you can add those skills as well I added
- 13:37:35the front end design skill and that was
- 13:37:37used as well hooks okay auto formatter
- 13:37:39on empty python file we've already done
- 13:37:40that mc MCP okay Tav MCB in real time I
- 13:37:44have shifted to API because I wanted to
- 13:37:46show you that yes that is the best way
- 13:37:47okay I though I like MCP as a concept in
- 13:37:51building I don't feel that it is the
- 13:37:54final like it is the right concept in
- 13:37:56deployment okay I I am always still a
- 13:37:59pro API person because again at the end
- 13:38:01of the day MCP is calling API out of a
- 13:38:04bunch and I see that hey if I know an
- 13:38:05API why why shouldn't I select the same
- 13:38:08directory okay then sub aents everyone
- 13:38:09we discussed and created one as
- 13:38:11Agent teams I have talked about the same
- 13:38:13because again it is experimental feature
- 13:38:14and we are aware of that thing.
- 13:38:16Scheduling also we have done everyone I
- 13:38:17didn't give it the permission but I
- 13:38:18showed you how you can do it. ID I don't
- 13:38:20want anything to run on my laptop
- 13:38:22because of like multiple files. So again
- 13:38:24a little bit of uh thing is there. I I
- 13:38:26always do this scheduling and everything
- 13:38:28on the uh machine okay and again skills
- 13:38:31etc. We have also created context and
- 13:38:33everything I have also told you right.
- 13:38:34So one project nine modules all working
- 13:38:35together. This is what cloud core
- 13:38:37mastery looks like. Right. So if I go
- 13:38:38back now it will be doing some lots of
- 13:38:40things here. So let it say yes let me
- 13:38:44update CSS to add the stagger animation.
- 13:38:46I will just show you one more thing
- 13:38:47everyone. I think I was showing you here
- 13:38:48right.
- 13:38:50So any any good approach here which we
- 13:38:53can copy
- 13:38:57I can use this as well like I can
- 13:38:59directly get this code right I can copy
- 13:39:01this CSS and copy this HTML. So we can
- 13:39:04see this and yeah let's try I think
- 13:39:06there are lots of free APIs which we can
- 13:39:08easily uh use here. So let me try this
- 13:39:11and copy this. This was card.
- 13:39:16Let me copy this.
- 13:39:20This was front end. Please also add this
- 13:39:26weather
- 13:39:28widget. Okay. So all I'm saying is
- 13:39:30please also add this widget.
- 13:39:33Now let me verify the front end is
- 13:39:35running and test on improvements. So
- 13:39:36this will be the last thing everyone
- 13:39:37because I think we have actually done
- 13:39:39all these things. I just wanted to show
- 13:39:40you like how can you go a lot ahead when
- 13:39:43you are building these things up right.
- 13:39:44So let me just add this widget in the
- 13:39:48top right.
- 13:39:51Again I can change I as of now it will
- 13:39:53just add the same and I think claude
- 13:39:54will be happy that you're providing it a
- 13:39:56code because uh yeah it doesn't have to
- 13:39:58think it is still going up with this
- 13:40:00element I selected. So again everyone
- 13:40:02just one more thing notice that see I
- 13:40:04can just specifically say no to this
- 13:40:07because every time I have something
- 13:40:08selected or a file open that also goes
- 13:40:10as my context and even I try like kind
- 13:40:13of missed out on these thing because see
- 13:40:14this whole thing also went to the
- 13:40:15context this time. So again lots of
- 13:40:17tokens and SSD by giving it as an input
- 13:40:19that would be a problem. Okay so see
- 13:40:22so now since it is having the full code
- 13:40:24I think it should be easier for it to
- 13:40:26add but we will quickly try it out. It
- 13:40:28may do some changes to fit in with our
- 13:40:30overall approach. So that should also be
- 13:40:32something which it will fix up. Context
- 13:40:34is going and I want to actually test
- 13:40:36this out as well like how it will
- 13:40:37happen. So we will see this auto
- 13:40:39compacting. Okay.
- 13:40:42Uh okay it is saying something or not.
- 13:40:45Let me check usage.
- 13:40:47Okay.
- 13:40:50Let me go back. Let me refresh.
- 13:40:55Okay. Okay. So it is added. Okay. Uh now
- 13:40:58again, yeah, it is pretty long. It is
- 13:41:00still loading and everything. We can fix
- 13:41:01that. Things are working here. I think
- 13:41:03if I click on refresh, both of them will
- 13:41:05refresh. That is how we have done it.
- 13:41:07Code is pretty quick. News comes like
- 13:41:09this. I can have the hyperlink as well
- 13:41:11because Tableau normally returns me the
- 13:41:13links. Standup generator daily insights.
- 13:41:16Create a task.
- 13:41:18Enjoy. Now, let me add task. See, it is
- 13:41:22I've been slipping this thing. There was
- 13:41:23a very very slight uh like UI thing
- 13:41:26added. If you will see I ask it. Add a
- 13:41:28subtle application uh animation when
- 13:41:30task are added. Add a loading spinner to
- 13:41:32the generate standard button while
- 13:41:34fetching. Make the copy to clipboard
- 13:41:35interaction show a copy confirmation. So
- 13:41:37where is copy to clipboard?
- 13:41:40Let's see. This is refresh.
- 13:41:44Uh okay. Where is this copy to
- 13:41:46clipboard?
- 13:41:48Yeah. Okay. This one. So see it is
- 13:41:49seeing this copied thing, right? I can
- 13:41:52try. Let's let me just tell our thing.
- 13:41:54When I add a task, can you add some
- 13:41:59confetti? Oh no. When I
- 13:42:03complete a task, can you add a confetti
- 13:42:07or celebration
- 13:42:10animation? Now again earlier this used
- 13:42:11to take so much time. I I remember back
- 13:42:13in 2015 16 when people used to create
- 13:42:16these things up they used to actually
- 13:42:18showcase that hey see when you click
- 13:42:19this button I have created this in 2
- 13:42:20days where this confetti or something
- 13:42:22since shows up now so it is just a
- 13:42:25second job right so I can just use this
- 13:42:28and honestly uh not being a very very
- 13:42:30good front- end person I don't know how
- 13:42:31it will happen but let's see okay
- 13:42:34so I I did this confetti myself from my
- 13:42:37machine but let's see how it will handle
- 13:42:39it
- 13:42:41Okay. And I think yes everyone this more
- 13:42:44or less completes our project. Uh you
- 13:42:45will be getting the complete code. Uh it
- 13:42:47was pretty much in depth and uh see nice
- 13:42:51nice. Let's go back refresh it.
- 13:42:55Everything is coming. It will be reading
- 13:42:56like that. Mark completed. Okay. Didn't
- 13:42:59work right. Mark completed. No it didn't
- 13:43:00work. So I can say right I can say uh
- 13:43:05refresh your browser. Not working. I
- 13:43:07also want to show you this like when it
- 13:43:09will be done it will auto auto compact
- 13:43:11and I have totally made it off. Okay,
- 13:43:15if there is any error in the browser
- 13:43:16console by checking the confetti
- 13:43:18component. Let me get a simple more
- 13:43:19robust. Now again I can also do one
- 13:43:20thing everyone if I do on confetti
- 13:43:23front end right confetti react component
- 13:43:26and templates. So
- 13:43:29again I can just install it as well so
- 13:43:31that it can be used. I could have the
- 13:43:33code as well right. uh it is coming from
- 13:43:36this particular design right I'm not
- 13:43:38sure if it is free but uh yeah that is I
- 13:43:41think how we can use it everyone right
- 13:43:43it should not be that difficult actually
- 13:43:44I think it should already be having this
- 13:43:46you can like install this with this
- 13:43:48particular thing or just having the
- 13:43:50script it is that easy but I think plot
- 13:43:52should also be able to do it right it is
- 13:43:54now saying that let me get a simple most
- 13:43:56robust confetti compress that definitely
- 13:43:57works now let me simplify the CSS to
- 13:43:59just use the one confetti fall animation
- 13:44:03it is at 0% everyone so I think it will
- 13:44:04be compacting in a bit. As soon as it
- 13:44:06goes for the next message, it will be
- 13:44:08compacting. Okay.
- 13:44:10Okay. All is good here. Not a problem.
- 13:44:12Let me simplify the trigger logic in
- 13:44:14task card.
- 13:44:16This thing I'm just doing for fun,
- 13:44:18right? So that you know that hey, how
- 13:44:19you have to work in future like if you
- 13:44:21want and I'm leaving it up to you. Uh
- 13:44:23you can create a very good message at
- 13:44:25the starting. You can have some uh tabs
- 13:44:27on the left. You can have a very good
- 13:44:28thing in the right. Why did why does it
- 13:44:30want my location? Okay, I think it has
- 13:44:32fixed this as well. I'm not allowing it.
- 13:44:34Okay. So, no. Okay. Okay. I think that
- 13:44:37is why it was maybe refreshing, right?
- 13:44:39Uh it should be fine. I'm not giving it
- 13:44:40to the location.
- 13:44:43So, let it work.
- 13:44:50It has actually refed refresh everything
- 13:44:52and see now should you should see
- 13:44:54confetti and everything. Let's see. You
- 13:44:56have used 100% of your session limit.
- 13:44:59Okay. So I think someone maybe from my
- 13:45:01team is using
- 13:45:03uh great seems like it has done. If it
- 13:45:06doesn't happen everyone I will go and on
- 13:45:07the extra usage for you as well. Okay.
- 13:45:10Uh great great completed. No
- 13:45:15stand up any insights.
- 13:45:17Let me add a new task.
- 13:45:20Where is
- 13:45:25completed? Nothing is happening here.
- 13:45:28Okay. I thought that it would be easy.
- 13:45:31Okay. So, okay. So, something is
- 13:45:33happening in here. I am not sure like I
- 13:45:35think it has done it another way but I
- 13:45:36think you can check it out everyone. So,
- 13:45:37that's a good uh follow-up thing for
- 13:45:39you. Uh now when this happens everyone
- 13:45:42if I send a message now still not
- 13:45:45working. I think it will not work. So,
- 13:45:47I'm good that this think of kind of an
- 13:45:48error is also coming. See you have hit
- 13:45:49your session limits. I can go on extra
- 13:45:52usage
- 13:45:54and now the browser is opening at my
- 13:45:55end. Right. And from the ID which I am
- 13:45:58connected I can easily just on this
- 13:46:00extra usage right. So if I just go back
- 13:46:02extra usage
- 13:46:04if I show you like what is happening
- 13:46:06right? If I just quickly show you. So
- 13:46:08just to get me this uh particular thing
- 13:46:10see it is saying that hey 100% of you
- 13:46:13have been used weekly mall models. Now I
- 13:46:15for as a like you can just say that as a
- 13:46:18good practice I'm just having this extra
- 13:46:19usage off but I can easily make it on
- 13:46:22right and the second I make it on and
- 13:46:24now go back and I will tell you as well
- 13:46:28that how much it charges right so now
- 13:46:29I've done it please fix
- 13:46:34it's still not working
- 13:46:38so I will tell you like how much this
- 13:46:39message charges I will show you only
- 13:46:41okay because I wanted to make sure that
- 13:46:43you have this experience as well that
- 13:46:44hey how claude is so uh cheap without
- 13:46:49this extra thing which you have to do
- 13:46:51right and it can or cannot fill it now
- 13:46:53again I'm not going to spend my $5 okay
- 13:46:54if it doesn't fill but I will show you
- 13:46:56like how much has been uh spent here
- 13:46:59okay
- 13:47:02so let me simplify the task trigger card
- 13:47:03even more and add logging
- 13:47:06and one thing everyone which I even made
- 13:47:07a mistake though I think I should have
- 13:47:09caught that is that I should have
- 13:47:11compacted the things first right Because
- 13:47:13if you think about it, we are getting
- 13:47:15charged on the input and the output
- 13:47:17tokens. I am unnecessaring so much
- 13:47:19tokens, right? So I will just refresh
- 13:47:21and show you like how much this
- 13:47:22particular last message uh kind of
- 13:47:25costed me.
- 13:47:27It costed me10.
- 13:47:29Okay. So see10 USD. How much is that10
- 13:47:34USD? Around 9 rupees. So just the last
- 13:47:38message everyone it costed me right. So
- 13:47:40this is actually how you are charged.
- 13:47:41Now I think normally if you do the full
- 13:47:43thing on haiku by uh let's say 5 to I
- 13:47:47think it should be fine. Let me refresh
- 13:47:50this. Please work this time. Okay. Okay.
- 13:47:521 minute 1 minute. I think this is not
- 13:47:53this right. So on this this
- 13:47:57this
- 13:47:59finally this this. No. So still not
- 13:48:02working. Okay. Uh I know everyone what I
- 13:48:05should do right. Complete any task and
- 13:48:07look for falling particular spad. Check
- 13:48:08browser console f10 for debug logs. I
- 13:48:11can it should be fine. I think you can
- 13:48:12fix it up. Ideally, what I will do is I
- 13:48:14will just try to get this uh from some
- 13:48:16pre-built thing because building it from
- 13:48:18scratch might not be that
- 13:48:19straightforward. Like anyway, it's a
- 13:48:20simple element to build, right? But
- 13:48:23building it from scratch might require
- 13:48:24some extra effort and that is where I
- 13:48:26think cloud might be failing. Along with
- 13:48:27that, one might one more thing can be
- 13:48:28there though I would check it out and I
- 13:48:30hope that might or might not be the
- 13:48:32case. It is actually also dependent on
- 13:48:35my browser. So I have actually changed a
- 13:48:37lot of things in my browser like that is
- 13:48:39the reason I use this particular one but
- 13:48:41uh yeah should be fine no worries I
- 13:48:42think we can fix it up and as of now I
- 13:48:44have not done this undone delete task
- 13:48:46and everything which I'm pretty sure you
- 13:48:47all can take it up I'm just leaving you
- 13:48:49at a very very good level where you now
- 13:48:50know how to use these things up right so
- 13:48:52that is the whole case everyone now we
- 13:48:54have completed this awesome awesome
- 13:48:56project where we have revised each and
- 13:48:57everything in complete depth we have
- 13:48:59kind of tried to make sure that how all
- 13:49:01these features are coming in together
- 13:49:02and you will notice one more thing as
- 13:49:04well that it is not the case that all
- 13:49:06the different different concepts which
- 13:49:07you will learn they will be ready or
- 13:49:08usable directly. It might take you some
- 13:49:10or little time to actually make sense of
- 13:49:12them to actually use them and that is
- 13:49:14the kind of a thing as well which we are
- 13:49:16fine with right that maybe you are not
- 13:49:18using hook in some project but knowing
- 13:49:21them gives you a very good edge because
- 13:49:24now at least you know that hey I can use
- 13:49:26hook I can use plugins I can use skill
- 13:49:28the problem happens when people are not
- 13:49:29doing them and they are unnecessarily
- 13:49:31spending so much time effort and
- 13:49:32everything now you can have this
- 13:49:33variable as a complete project and
- 13:49:35everything right I can push it to the
- 13:49:37github etc as well but I think for the
- 13:49:39timing that should also not be a
- 13:49:40problem. We have just made sure that in
- 13:49:42the last I think 91 100 some minutes we
- 13:49:44have built these things up. This is
- 13:49:46actually not a toy. This is a real
- 13:49:47deployable project as well. So I'm not
- 13:49:49going to deployment but you can deploy
- 13:49:50this project as well uh by pushing it to
- 13:49:52GitHub. Then we can have the back end on
- 13:49:55render and front end or versel. Okay. So
- 13:49:57I will cover that in maybe some other
- 13:49:58video. But overall we are able to build
- 13:50:00this thing up everyone. It is not a bad
- 13:50:01one. It is actually pretty something
- 13:50:03which everyone can use. You can have
- 13:50:04your hello, hi, time all these things
- 13:50:07you can add. Now you can of course have
- 13:50:08this in a separate one just like I
- 13:50:10showed you that how I created this
- 13:50:12particular dashboard right. So this of
- 13:50:13course I took so much time but this was
- 13:50:15kind of created with many much effort.
- 13:50:17It is again my complete center where
- 13:50:19having this task board like this. So you
- 13:50:20can create this canvas etc as well
- 13:50:22everyone can manboard everyone then all
- 13:50:24these analytics and all these things you
- 13:50:25can add right I'm not making it
- 13:50:27unnecessarily difficult so that you
- 13:50:28don't follow and you like okay it is
- 13:50:30being created I don't worry but I just
- 13:50:32want to make sure that yes at least you
- 13:50:33are able to get the whole thing clear.
- 13:50:35Uh one more thing I have not followed a
- 13:50:37separate approach here. The reason is
- 13:50:38pretty simple. I wanted to show you all
- 13:50:40the different different ways of
- 13:50:41development and this is coming more from
- 13:50:44a technical side where we know a little
- 13:50:45bit of things and that is how I want you
- 13:50:47to think about it because when you try
- 13:50:48to build with directly let's say calling
- 13:50:51with claude there your final project
- 13:50:53will be claude based right I want that
- 13:50:55you start as a technological guy so just
- 13:50:57go to claude or charg say that hey I am
- 13:50:59a c like beh as a CTO this one give it
- 13:51:02all these prompts and ask it that hey I
- 13:51:04want to now create this app please give
- 13:51:06me these prompts or please give me these
- 13:51:07commands for that in that way you will
- 13:51:09be building up a project like a tech
- 13:51:11team not like a product manager because
- 13:51:13there is a difference in which you give
- 13:51:14prompt and how you get the output
- 13:51:16because then it may happen that your
- 13:51:18claude is making your uh back end a lot
- 13:51:20messy your front end a lot messy so when
- 13:51:22we give these technical level prompts
- 13:51:25the output is a lot lot better so that
- 13:51:27is actually the whole aim everyone okay
- 13:51:28so with that I think we have kind of
- 13:51:30completed the project very very nicely
- 13:51:32we have completed each and everything in
- 13:51:34the cloud I don't think there is
- 13:51:35anything else which anyone can teach you
- 13:51:37in cloud code as of now like unless of
- 13:51:39future updates and yeah that kind of
- 13:51:41completes your uh complete cloud code
- 13:51:43journey and that should be more than
- 13:51:45helpful in mastering cloud codeex
- 13:51:47anything which comes in because believe
- 13:51:48me more or less all of them will be
- 13:51:49following the same architecture. So with
- 13:51:51that thanks a lot everyone. I hope you
- 13:51:52like this particular session. Of course
- 13:51:54took a lot of effort. Please make sure
- 13:51:55that you like the video, share it with
- 13:51:57everyone, subscribe to my channel so
- 13:51:58that you keep on getting these awesome
- 13:52:00awesome videos in future as well. Okay.
- 13:52:01So with that let's meet in the next one
- 13:52:03and I will make sure that if you have
- 13:52:04any issues I will just solve the same
- 13:52:06for all of you and we will be having an
- 13:52:08awesome time in learning such
- 13:52:09technologies and being in line and being
- 13:52:11in front with AI taking over us. Right.
- 13:52:13So with that let's meet in the next
- 13:52:14video everyone. Thanks a lot. So great
- 13:52:16everyone first of all thanks a lot for
- 13:52:18watching the complete crash course and
- 13:52:19now you are actually in the top.1% of
- 13:52:22the people who not only understand plot
- 13:52:24code but actually understand how we can
- 13:52:26build things with a before we close I
- 13:52:28would like to mention something that uh
- 13:52:30most of the videos or uh like people
- 13:52:32they teach you about tools about an
- 13:52:34application but my whole aim with this
- 13:52:36particular video was to teach you about
- 13:52:38system a system which can help you to
- 13:52:40actually build something which can help
- 13:52:42you to automate your job which can help
- 13:52:44you to actually move ahead with the
- 13:52:46cloud who are still afraid of AI. That
- 13:52:49was my honest attempt where I have made
- 13:52:50sure that each and everything I have
- 13:52:53taught you with complete depth using my
- 13:52:55experience and making sure that it is
- 13:52:57actually helpful from the get- go. If
- 13:52:59you like this effort, please make sure
- 13:53:00that you like this video, share it with
- 13:53:02everyone and do subscribe to my channel
- 13:53:04because I will be bringing in more
- 13:53:06content, more projects in line with how
- 13:53:08can you master clot code even further.
- 13:53:10Just think about what this means. Now
- 13:53:12that you have mastered all these things,
- 13:53:13you can automate your entire work. You
- 13:53:15can help someone build an application.
- 13:53:16You can even open an alternate source of
- 13:53:18income. And if you like this, again,
- 13:53:20please make sure that you read uh leave
- 13:53:22the comment. I read each and every
- 13:53:24comment. And yes, again, I'm asking, but
- 13:53:26do subscribe to the channel and share it
- 13:53:27with everyone because a lot of effort
- 13:53:29was put into making this one video. I
- 13:53:31think this is the longest video on my
- 13:53:33channel as well. And I will make sure
- 13:53:35that I go through your comments and
- 13:53:36provide you with what all you want. And
- 13:53:38now, let's meet in the next video
- 13:53:40everyone. Thanks a lot.
About this transcript
This page contains the full transcript of CLAUDE CODE FULL COURSE 12 HOURS: Build Real AI Projects (2026) by Mayank Aggarwal, generated from the public captions YouTube serves with the video. The transcript has 171,114 words across 23,280 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.