This guide shows you how to install Claude Code, set up project workspaces, and build a complete content multiplication system using plain English, no coding required. This step-by-step tutorial covers plan mode, brand voice embedding, and iterative feature development.
What You'll Build
You will create an AI-powered content multiplication system. It takes one long-form piece of content and automatically generates multiple derivative assets: social media posts, email summaries, blog snippets, and more.
Prerequisites
You need:
- A computer with internet access
- An Anthropic account (free tier works)
- Basic familiarity with your operating system's terminal
Step 1: Install Claude Code
First, get the tool installed on your machine. Claude Code runs as a terminal-based agent that understands natural language instructions.
For macOS:
npm install -g @anthropic-ai/claude-code
For Windows, use WSL (Windows Subsystem for Linux) first, then run the same command above.
Verify installation:
claude --version
If you encounter issues, refer to the official installation guide. For a broader understanding, check out our Claude Full Masterclass 2025: The Complete Guide in Tamil.
Step 2: Set Up a Project Workspace
Create a dedicated folder for your content multiplication system:
mkdir content-multiplier
cd content-multiplier
claude init
This creates a .claude directory with your project configuration. Open the project in your terminal and start a Claude session:
claude
Step 3: Use Plan Mode for Architecture
Claude Code operates in two modes: Plan and Act. Use Plan first to design your system.
Type this prompt:
"Switch to plan mode. I want to build a system that takes a blog post and generates: 5 Twitter threads, 3 LinkedIn posts, 1 email newsletter summary, and 1 Reddit post. Outline the file structure and workflow."
Claude will produce a clear architecture plan. Review it, then confirm or request changes.
For more on plan mode, see How to Build a Self-Improving System with Claude Code in 5 Steps.
Step 4: Build the Content Multiplier
With the plan approved, switch to Act mode:
"Switch to act mode. Create the main script and configuration files as planned. Name the script
multiply.js. Include functions for reading input, calling the AI model, and writing output to separate markdown files."
Claude writes the code. Review each snippet before accepting.
Key File Structure
content-multiplier/
├── multiply.js # Main logic
├── config.json # Brand voice & formats
├── input/ # Place source content here
└── output/ # Generated content appears here
Step 5: Embed Your Brand Voice
Open config.json and add your brand guidelines:
{
"brandVoice": "Professional yet friendly, uses industry jargon sparingly, ends with a call to action in every piece.",
"tone": "Instructional and confident",
"targetAudience": "Solopreneurs and small business owners",
"platformFormats": {
"twitter": "Max 280 characters, 1-2 hashtags",
"linkedin": "Paragraph style with line breaks, question at end",
"email": "Subject line, greeting, 3 bullet points, CTA"
}
}
Instruct Claude to use this config during generation:
"When generating content, always reference config.json for brand voice and format rules."
Step 6: Test with Real Content
Place a sample blog post in the input/ folder as sample.md. Then run:
claude run "Run multiply.js with input/sample.md"
Check the output/ folder. You should see files like:
twitter-threads.mdlinkedin-posts.mdemail-summary.mdreddit-post.md
Step 7: Iterate and Improve
Use Claude's iterative feedback loop. Ask for refinements:
"The Twitter threads are too long. Shorten each to exactly 280 characters. Also add a hook in the first tweet."
Claude will update the code. Re-run and verify.
For advanced iteration techniques, read Claude Code Finally Supports Agents MD: Universal AI Standard Arrives.
Step 8: Automate the Workflow
To process multiple inputs, create a batch script:
for file in input/*.md; do
claude run "Run multiply.js with $file"
done
Run once to repurpose your entire content library.
Bonus: Build a Self-Improving Loop
To make your system smarter over time, save high-performing outputs as examples. Ask Claude to reference them:
"Use the files in output/best-examples/ as templates for future generations."
For a deeper dive into this concept, explore How to Build a Self-Improving System with Claude Code in 5 Steps.
Troubleshooting Common Issues
| Issue | Solution |
|-------|----------|
| Claude not recognizing commands | Ensure .claude/config has correct permissions |
| Output files empty | Check that your input file has at least 200 words |
| Brand voice ignored | Explicitly add "Reference config.json" to every generation prompt |
Comparison: Claude Code vs Other Tools
If you're evaluating options, see our detailed Claude Code vs OpenAI Codex: Real AI Coding Tool Comparison.
Build Stunning AI-Powered Websites
While this course focuses on content systems, you can also use Claude Code to Build Stunning AI-Powered Websites with Claude Code: No Coding Needed.
Next Steps
- Start with a single piece of content
- Refine your brand voice in
config.json - Experiment with different platform formats
- Automate the batch workflow
You've now built a complete content multiplication system without writing a single line of code from scratch. Claude Code handled all the programming, you just guided it with plain English.
Happy multiplying!
Clot code works really well on a day but then when you close the terminal and reopens the clot code again the next day
it would have forgot everything about your project what you did it on a previous day. So I built this whole
entire clot code course in [music] a way that each lesson builds on top of the mistakes that previous lesson have left
behind. And by the end of this full claude code course, you would have three agents working inside a claude plug-in
that you can install on anybody's system. And to do all this, you do not need to be a coder or a technical
person. Do all this by copy and pasting and talking to plot code in [music] plain English. Welcome to gen plugged.
My name is Dhiraj and this is my full claude code course free for you so that you can go from lesson number one to
lesson number eight and become an expert on clot code without knowing anything about clot code. So [music] let's take a
look at the full course road map now. So in this course we go through eight lessons. Each one [music] builds one
before it. In the lesson number one, you install cloud code and build your first working tool by just describing what you
[music] want in plain simple English. Then in lesson number two, you give that project a memory, a few skills and a
hook. So you stop reexplaining yourself every single time when [music] you open cloud code again on day two, three and
subsequent days. Lesson number three is where you connect it [music] with web and other tools and give it external
intelligence. That's what I call it. In lesson number four, you build a research agent that does its work on its own
window. And in lesson five, you build another AI agent that gets your writing cited by AI tools as well as helps you
with the search engine optimization of your content over the internet. Lesson six puts a team of three agents on one
topic. And lesson seven tags the whole team into a clot plug-in that [music] anybody can install on their system. And
finally, in lesson number eight, you run clot code on free models. You run clot code for free [music] even when you do
not have claude subscription. So let's get started with lesson number one. What you are seeing is a content
multiplication system I built with claw code. One article goes in, 10 plus platform specific content pieces comes
out of it. LinkedIn posts, tweets, substack notes, newsletter sections or YouTube scripts, all in my voice, all
ready to publish. And here is the thing, I built this entire system without writing a single line of code myself. I
described what I wanted in plain English and Claude Code built it for me. Well, I am a software engineer. However, I have
not coded for a very long time, maybe more than a decade. I have been doing content creation for almost like 17 18
years now. Started my journey in 2009. But when Claude Code came along last year, well, everything changed for me.
It completely changed the possibilities that are available to likes of us who are content creators, small business
owners or soloprunners who want to build real tools. However, do not want to go into coding or software development or
hire software developers in order to do these job. Well, that's where claude code comes into play. Today, I'm going
to start a cloud code course on this channel which will be a series of videos to come in the coming weeks. And by the
end of this series, you will be able to go from opening up a terminal or a blank terminal to all the way building the AI
agent systems to run or power your businesses. In this first video of the series, we are going to talk about the
basics. What is cloud code? How to install cloud code? How to set up cloud code properly and initiate your project
workspace. And finally, we are going to build a content multiplication from scratch so that you have a full
understanding of how to leverage cloud code and how to interact with it. And by the end of the lesson, you have a
working content multiplication system for running your business or for any needs of content repurposing. So you
will walk away with actually something to use by the end of the lesson. But what is this content multiplication
system? Well, we'll get to it in a bit. But let's start with the basics first. Before we install anything, let's first
understand what is claude code because it's not what most people think. Well, Clot Code is an agentic AI powered
coding assistant from Enthropic. It lives in your terminal and it can read your files, write code, run commands,
create entire projects all from natural language instructions or communication that you do with it. Think of it having
a senior developer sitting next to you who can access your system, access your files, understand you, understand the
problem that you are stating and build systems for you in a much faster and very iterative manner. The keyword over
here is agentic. It just does not answer your question, but it acts on it. It takes action. It brainstorms with you.
It writes content, create files, edit files, run test, commit to git repositories, manage your servers,
manage your entire cloud environment and whatn not. You describe what problem you are facing, what you want to solve in
plain English and cloud code is going to do or solve that problem for you. And how to use this cloud code? Well, there
are many ways of using cloud code. Some people use it directly in the terminal. Some uses visual studio code and an
integrated terminal or visual studio code plug-in. Then some people use with cursor or conductor. Some uses even
desktop app of claude or even the web version of claude code. But today we are going to use the terminal version
because that's where the most power lies and I'm going to mostly use integrated terminal with visual studio code. Now
let's quickly go to the screen share and start installing clot code and set up your environment. All right. As you can
see, I have opened up terminal on my Mac. If you are using Windows, you can open up the command line utility on your
machine and follow the steps that I'm going to follow. First, I'm going to head to the code.clude.com.
Over here, you can see that the documentation exists so that you can easily follow it. I'll also attach a
file that is having all the commands that we'll be running and all the prompts that we'll be using throughout
this tutorial. But this is a good reference which you can also refer at a later stage as well. So what I'm going
to do is it's first step is installing plot code. You can see that there is native install which is the recommended
one. Then there is homebrew and then there is vinget. What I'm going to do I'm going to use this native install
over here. Right now I'm using Mac OS which is supported also by Linux and WSL. So for that you are going to copy
this command and come back over here and just paste it and run it. Since I have already installed cloud code on my
machine, it is going to check whether everything is installed or not. But if you are installing it for the first
time, it is going to do the entire installation for you. Let's just wait for it. It takes a little time in order
to fetch it and then install the clot code. As you can see that it has started installing but it quickly said that it
has successfully installed the clot code on my machine. But for you it might take some time if you have not installed the
clot code. Now next thing how we can test it out? We can just write claude d-help. So if I write this then it is
going to provide some sort of help commands. As you can see the help commands are over here. That means
claude is successfully installed on our machine. If we go back to the documentation over here you would see
that there is this Windows PowerShell command as well. So you can use this Windows PowerShell command or you can
use the Windows cmd command as well in order to install clot code on your system. But because I am on Mac OS, I
use this particular command in order to install on my machine. So now the installation is complete. Next thing is
authentication of your claude code with your claude account. So the prerequisite of installing claude code is that you
must have if I go up you must have a terminal and a command prompt open. You have a code project to work with. So for
now we use this my home directory as a base and we install cloud code. That is completely fine because we are going to
set the home directory or project directory project workspace later for the project that we are creating but you
can install it from anywhere. So that's what it means that a code project to work with. And finally and the most
important one is the claude subscription you must have pro max or teams or enterprise plan in order to use claude
code. You can also use claude console account by using API as well. But I would recommend that you start with pro
version of the subscription of claude and then start using claude because it becomes pretty cheap or I would say like
you would get much more usage limits while using the claude subscription instead of using the API credits through
claude console. That is going to cost much more and API credits burn much faster in my experience. And once you
have set up that account, what you have to do is follow the second step. If we go down, you will see that second step
is to log into your account. So over here, we are going to start the clot. So I'll come over here and I'll say clot.
So this is going to kickstart the clot. So first time you'll type this command and press enter for any working
directory or any folder. It is going to give this particular warning or a safeguard measure that hey are you sure
that this is your own work? This is a folder that you trust. This is the folder in which your work is there
because you are giving it access to claude code and claude will be able to read, edit and execute files in this
particular directory. So that means you need to be sure that whether this particular directory is owned by you or
not and then only allow the access. So we are going to trust this because this is my system. So I'm going to trust it.
I'm going to say yes, I trust this folder. And you can see cloud code has started. And since there is so much of
space, let me just minimize a bit and drag it over here. So the first line tells us which version of clot code you
are using. So currently we are on 2.150. The model that it is going to use is Opus 4.6 and I am currently on my Claude
Max plan. If you are on cloud pro plan, you are going to see Claude Pro. So these are a few things. This is the
working directory you are in. So you can see it over here where you are working right now. So I'm right now working in
my home directory. We are not going to continuously work over here. It is just to show you how the login works and what
basics are there of cloud code in a terminal. Because when we start the project, I'm going to switch on the
project directory. So this is where you are going to start typing commands or start speaking or start telling claude
what to do. So this is your that chat interface where you are going to tell what to be done. First thing like we
said if I go back to the portal of documentation you can see we have to do / login in order to authenticate our
claude code with our main account or subscription account that we have taken from claude. So I'm going to come back
over here and I'm going to say slash and as you can see there are so many commands that has opened up. You might
not be able to see all these commands because these are special skills and commands that are created on my
particular system. And we are going to talk about how to create all this in rest of the lesson so that you have full
understanding of what I have created and what you can create. First thing is / login. So you can see sign in with your
anthropic account. That is what the meaning of this command is. And I'm going to press enter. What it is going
to do? Select the login method. You can use claude account with subscription pro max team enterprise entropy console
account or third party platform like Amazon bedrock foundry or vortex AAI. So this is the third way of authenticating
claude code on your machine. Whichever you have set up, you can use that. I'm going to use that claude account with
subscription. So I'm going to press enter. It is going to open up claude website for me. Clot.ai. And it is going
to open up this particular screen where it says claude code would like to connect your claude chat account. So
your account will be used to all these things. read them, review them and then basically you have to click on authorize
so that the system start getting used by claude code on your local machine. So your local machine is now authenticated.
You can see that it says build something great. You're all set up for cloud code. Now we are going to come back over here
and over here you can see as well login successful. Press enter to continue. So I'm going to press enter over here and
now cloud code is set up connected and working for you. But before starting up any kind of project or build anything
with Lord code, we have to first create a project workspace. I don't want to pollute the main home directory which is
there which is my own user home directory. I don't want to pollute that. I want a special project directory where
all my projects reside or sub projects reside. So we'll exit out. I'm going to just clear it and I'm also going to
close the terminal because what I want to show you is how I use cloud code where I use cloud code. I don't use it
in the terminal of the MacBook rather I use it in the integrated terminal of Visual Studio Code. So let's head over
there. If you have not installed Visual Studio Code, you can install it from this particular link code.studio.com.
If you are using Windows, it will show download for Windows. If you are using Mac, it is going to show download for
Mac OS. download it, install it and how it will look like is something like this. So this is the Visual Studio code
over here and the main reason I prefer using integrated terminal is that it gives access to me for the project files
as well as the integrated terminal all in one screen. Now Visual Studio is installed and open on your machine. Next
thing what we are going to do is set up the project directory in which we are going to create project which is content
multiplication system and for that either you can follow the GUI version like you can go to the explorer and
create those directory and come back over here or you can use the command line. So for that I'll go back to the
command line interface. So on the command line I'm going to change the directory from my home directory to this
claude code project masterclass directory that I have created. This folder or directory is already created
on my machine. That is why I was able to change the directory from my home directory to this directory. In this
directory, we are going to create our project. For that, you are going to use either MD for make directory in Windows.
On Mac, it is mktir. And I'm going to say content. So now the directory is created for our project.
Let's get into that directory. So cd. So you can see that the directory that we created exists in this particular cloud
code-masterclass. So now we are going to come back to the visual studio and over here it says
start. We are going to open up our own directory. So that's what we just created. So I'm going to head over here.
I'm going to head over here and this is the directory that we created. I'm going to open this. So now you can see that on
the left hand side the explorer is showing the empty directory. There is no file in it. That's why it is empty. And
that's what I was telling you that I can access all the project files over here. I can doubleclick it. I can open it, I
can see it, I can edit it, I can save it. So that's the power or that's the advantage of using Visual Studio Code
and a integrated terminal with cloud code inside it. Over here there is a chat session as well. I have also
installed Visual Studio CL code plug-in as well. You can use that if you want, but I would prefer that you use an
integrated terminal because it has all the power. So I'm going to click on this. I'm going to cross this and we are
going to go into the menu bar and say new terminal. In the menu bar when you start the new terminal you will see it
like this. [snorts] Here you can expand it. You can create more terminals from here. New terminal new terminal window.
You can split the terminal. So you can manage all the terminals and run multiple instances of cloud code in
different terminals integrated inside the visual studio. all giving you access to the project directory on the left
hand side so that you can view the files and I'll come to it and it will get more and more clear to you as we are going to
work and create this system. So you can see the terminal has opened inside our project directory over here that is
where we are going to start the clot code and for that you already know we just have to write clot and I'm going to
click on this and you can see welcome back right now you are in this particular directory you are on this
particular model you are on this particular plan so now the clot code is up and running into our project
workspace and I'm going to click on this square brackets over here as you can see maximize the size panel so if I click on
it. Now it is maximized. Now like I said here you are going to type anything or you can speak anything. Hey Claude, what
can you do for me? I generally don't use much keyboard nowadays. I just talk to my system via dictation. So this is
where you are going to use the natural language in order to communicate with cloud code or discuss or brainstorm or
create or build things. And the last thing is the status. So right now you can see that it's saying plan mode on
shift tab to cycle. So if I say shift tab, so now it is saying question mark for shortcuts. Now one more time I
pressed it, it says accept edits on shift tab to cycle again plan mode. So that's how you recycle between different
modes of claude code. So the two most important modes are plan mode and the second one is accept edits on. If you
have this particular mode on using shift tab you can recycle between these modes but if you have this mode on cloud code
is going to start doing the work. If you have plan mode on, it is going to save you a lot of hassle. And that's the
first important tip of this entire course that when you are starting up any kind of project with cloud code, always
start with plan mode. It is getting smarter and smarter every day as the new releases are coming. You can see right
now we are at 2.1.50. It is getting smarter and smarter and at times it automatically jumps from like
working mode in plan mode. If it thinks that the it requires considerable amount of planning, considerable amount of
change or it's a major change request that you are telling it to do or any type of change request, right? Not just
with code but even for content creation as well. If it thinks that it requires a lot of uh work to be done, it
automatically jumps into plan mode. However, I'll caution it to you that don't rely on that automatic jump.
Rather deliberately think that if there is a significant amount of thing that you want to build or create better start
with plan mode because this is where you can interact and brainstorm with cloud code first and finalize the plan. Okay
with the plan that hey this is what the blueprint looks like the entire plan how it is going to build a particular
feature particular system or create a particular type of content or any type of piece or any type of problem that you
are trying to solve with it. It is going to lay out the entire plan of the solution to your problem. First review
that and then approve that plan so that Claude can start working on it. This is the most important best practice. You
should never neglect the plan mode. So now enough of basics and setup of cloud code. You have cloud code up and
running. Let's build something and let's build a content multiplication system. But what is this content multiplication
system I'm talking about? Well, as a content creator and a YouTuber, I write articles on my Substack. If you have not
followed or subscribed to my Substack, go over there, subscribe over there. A lot of detailed tutorials comes out.
Then I publish videos as well. So for the videos, I have transcript of the videos. For the articles, I have full
articles. But I also have to post tweets, I have to post LinkedIn post, I have to create substack notes. All this
takes time. So what that means is I have to read these articles or watch these videos or read transcripts and create
these LinkedIn posts, tweets, substack notes, newsletters out of these already created content and that becomes very
tedious. I know chart GBD is there, Claude is there. I can just copy paste and ask it to produce it. However, that
is also more like a manual work because now I have started copy pasting the same content. Now I'm reviewing as well
whether my brand voice which how I speak, how I write is there or not. I have to tweak everything in a more
iterative manner using clot projects or cloud code or using charg projects. But there has to be a better solution to it
that understand what my brand voice is that understand how I write that understand how I speak and how at the
end I will write a LinkedIn post or a tweet or a substack note. So the system should be intelligent always enough to
understand that in take a particular piece of input as a YouTube transcript or an article and produces all these
facts out without me doing anything. I'll use NAN in order to distribute the content that this content multiplication
system creates it for me. That's the need of creating a content multiplication system which always
generates this repetitive type of work. The grunt work is being all done by cloud code for you in a more automated
manner instead of iterative manner. That's why we need this system and we are building it. So let me clear this
out. So let me come back over here. Press escape to cancel. Now we have cleared it out. This is where I'm in
plan mode right now. Like I said, we'll always start with plan mode. So, what I'm going to do, I'm going to paste a
big prompt over here. So, as you can see, it says pasted text one of 17 lines. And what prompt I have typed in?
Let me open the text editor over here. And let me show you. Let me bring this over here. So, this is the prompt that I
have pasted over here. I need a content multiplication that works like this. First one, I have a source content. It
could be blog post, article or transcripts in markdown files. I want to generate multiple content pieces from
each source, five LinkedIn post, 10 tweets, three newsletter section and two YouTube video transcripts or scripts
structured with the intro, main and outro. If I am basically using an article, I need this. If I'm using a
transcript, probably I'll suggest the system not to create that. The third point is very important because now over
here you are saying that maintain my brand voice casual practical no jargon. I'm going to share how it is going to
create the brand voice for us as well. While during this whole system setup you are going to watch that as well. So bear
with me. You can see pull actual quotes and examples from source material. All these content created should be saved in
an organized folder by content type. And finally include a content calendar as well showing what to publish and when.
And the last step is I want to run this with a simple command like node generate.js source article md. We are
going to further simplify these commands when I talk about commands and skills later in the lessons. But for now this
is the first lesson basic lesson. We just going to tell it that I'm going to just run this command and everything
else should be done by it. So that's the overall system that we have defined. You can see that I have been very very
explicit about my requirements over here because garbage in means garbage out. So you need to be very very particular
about and clear about what you need to do. The better the input that you are going to put into clot code, the better
the output will come out. So that's why it is important to think about your problem statement and then share the
task with cloud code. Lastly, I have couple of more things. So think step by step about it and build this system for
me. Create all necessary files, scripts and folder structure. So it is going to create it. We are not going to do
anything. We are going to start with an empty folder as you can see. Finally, make sure to ask questions or push back
if required at any stage. I always welcome other suggestions and alternative as well. That will make the
content multiplication system much more successful. This is where you are partnering it with it. It is not that
you are just giving it a command, it is going to execute it for you. You are asking it, opening up that channel that
if code is having some sort of like doubt or concern, it can push back, it can ask question. And that's where it
becomes more like a partnership. So that you are building a system together. First creating a plan and then allowing
it to build the system. This is the prompt that basically we have pasted in cloud code and I'm going to press enter
over here and it is working in the plan mode. So no harm is being done. Nothing is being created right now. Can see that
it has started working. It is going to explore the current project but current project structure is empty. It is not
going to find much over here. And as you can see it has started consuming the tokens and tool usage is already
consumed 37,000 tokens over here. Then another one is 38,000. So that is where the different plans of claude code will
come into play or claude subscription will come into play. That is why I use claude max because I'm a very heavy
user. I build a lot of things. I've already released five or six products and services through the help of cloud
code. So it has already paid for me. It is a $100 plan. I know but it is more like having a developer or senior
developer rather in fact sometimes tech lead play it as a technical architect as well at the cost of $100 a month. If you
are into building a lot of things if you have a system to create then I would recommend that you use claude max plan
because otherwise you'll keep on hitting the limits but for this kind of a simple project prop is enough so that you can
get a taste of how claude code helps you. Now you can see that it has started asking us question. You can see it is
saying before I design the plan I have some important question a fully built version already exist in a back of
folder. So it's a system that I already created when I publish the article. So you can see that now it also knows that
in my system a fully created system is already there whether I should copy and improve it or whether I should build it
from scratch. But you can see how smart it is that it already figured out that there was a fully built system already
there. Now what we have to do because we have to work through this and I have to show you the entire process. So I'm
going to press the down arrow key which helps me select these options. So you can see that either you can select all
these options or you can even chat about it as well. So if I select this it will open up the window. I can chat or enter
whatever thing I would like to say about this particular question. For this question we are going to just say second
option which is like build from scratch. I'm going to press enter. Now it is saying which AI provider you want.
whether you want open AI, whether you want cloud API, which API provider you want. So I'm going to say like you know
open AAI API keep as is. So this is the one that is going to be used when repurposing the entire article or
transcript into different content pieces. So I'm going to say keep open AAI as is. Now it say enhancements. So
all these questions it is asking me because it already found a system. It might ask you certain different
questions because you may not have created all these things, right? So for now I'm just going to say just get it
working and then like I'm going to say submit. Now all the questions have been answered. Like I said you may have some
different question and it might ask us different question again while working on the plan. So let's submit that. Now
you can see that it says got it build from scratch open AI focus on working system with better prompt. So now it's
going to again work again deliberate think about it and maybe ask certain question again or going to create the
entire plan for our review. So let's just skip to that part. All right. So you can see that the plan has been
created. Let's go and scroll up a bit and see what it is telling us in the plan. So this is the context that it has
written for us that build a content multiplication system that transforms a single markdown source, blog post,
article, transcript into 20 plus platform specific content. And this plan could be a little different for you
because like I said, I had already created this system for my Substack article. You are building it from
scratch. But you can also follow along and review your plan side by side. But it is definitely going to build the
system from scratch as I approve it. Over here it is saying that key fixes over the backup. So this is what it is
going to approve like due to max tokens it is going to increase from 3,000 to 4096 update the pricing for GPT4.1 mini
much better prompts and a major improvement of passing source content to all the generators backup only passes
analyze summaries. So the previous version that I had created only used to pass the analysis summaries. Here it is
telling us how the whole structure of the project would look like. The folder structure right at the top it's content
multiplier. If you don't understand code, you don't need to fear. Like I said, it is going to write the code for
you. All you have to see over here is these comments that are there. So for example, it is telling us that the brand
voice will reside in config.json. The example article for the input would reside in example- article md file. This
is where you will load your input example or input voice. Not just one example, you can upload multiple
examples over here. The prompt is going to live in this particular JSON so that you can improve or fine-tune the prompt
that it has created. Then rest of the stuff I don't much care about it. At the bottom you can see there is an output
structure. So LinkedIn post will come over here, tweets will come over here, newsletter will come over here, YouTube
scripts will come over here and calendar will be published over here. So this is basically more like a information to you
that how it is going to structure the entire system the AI system that you are building for this content multiplication
how it is going to structure it for you. So you just need to review that forget about or ignore the coding part of it.
Here it is telling us what is going to be the build order phase 1 phase 2 phase 4 5 6 and orchestrator and all. Here it
is going to tell you what exactly is going to happen inside the code and what is old new and finally at the end it is
telling us how it is going to verify it. So all these verification steps as well it has written at the bottom you can see
claude has written up a plan and is ready to execute. Now we have reviewed the plan. What we are going to say is
yes clear context and auto accept edits. You can reject the plan. Let's suppose if I don't like something over here I
can just type it over here or narrate it over here. So this is like your input field where you're rejecting the plan
and asking the clot to take these inputs first and revise the plan based on it. So that's how you can basically do a
conversation or build the plan together with claude. For now I am happy with the plan. So I'll go ahead and just say
clear the context which is going to save 42% of it and then auto accept edits that means that all the edits that it is
going to do I am not in the loop it is going to just run and create everything for us until there is absolutely some
permission is required then only it will stop and ask us to provide that permission but for us the first option
works so I'm going to press enter now it is going to start building the application files building this entire
system and overall on the left hand side in this tree area of the project you would start seeing sooner the files will
start populating the folders will start populating as per the hierarchy of the folder or folder structure we reviewed
in the plan that we submitted it so it is going to take its own sweet time so I'll skip to that part directly where it
has built the system for us so you can see that the files have started appearing in our project workspace
directory and claude has started outputting code. You are not writing code. I am not writing code. Code is
being written by a plot code. We just gave it in plain simple English or natural language what we want to build.
It figured out the entire plan. It figured out the entire technical architecture. It is figuring it out what
code needs to be written in order to implement this whole content multiplication system. So that's what I
mean that you don't need to be afraid of the word code in it. just wear your builder hat and start working with Lord
Code in order to build some coolest AI agentic systems or AI automations or regular system without the use of AI as
well. So in the to-do list you can see that two phases have been completed and now it is building the third phase. Now
it is going to create the fourth phase which is more like building prompts and then generators and finally the
orchestrator. Then it is going to verify if the entire build works or not works. You can see that entire thing has been
generated. And if I look at it, build is complete. Here is the summary of everything that has been created. You
can see 20 files built from scratch in content multiplier. All this code over here that you can see if I open up these
JavaScript files, all these codes nothing has been written by us. It has been written by cloud code. Whether it
works or not, we don't know. We are going to just use the system and then tell us what is broken, what is working,
what is not working. It is going to fix all this code for you. So, we can just ignore all this code part over here.
Let's go back. Let me expand this or maximize this. Now, let's see what it is telling us. Let's scroll down at the
bottom. So, this is what it is telling. This is the phases that it has completed. So, it has implemented these
fixes over my system that was there. But for you it might have created an entire new system. So that is also okay. Now it
says that validation tests which are passing or not. So it has also verified some of the use cases whether things are
working or not. And you can see it is telling us to run a full generation create the env file with your API key
and run this command. And remember that this is the command that was there in our initial prompt that we want to run
the entire system using a simplified command over here. And in the next lesson I'm going to tell you how to
create slash command. So you would be able to just write slash multiply content and the input path of the file
and it is going to work for you. So you don't even need to further write these with the help of slash command. So we'll
come to them in the next lesson. But for now it is telling us before running this I have to create an environment file.
And for that it has also created an example file over here as well. The env.ample and it is telling us that we
have to create env file. So what I'm going to do is I'm going to right click over here and create a new file and name
it env. All right. So that's what it is. Eenv is there. So from the example I'm going to copy this and I'm going to
paste it over here. So now over here I have to replace this particular thing with the open AI key. You have to create
open AI key or in the plan if you told claude to use claude or Gemini then those key pair values would be present
over here. But during the time of the creation I said that we will be using open AI key and in order to create the
open AAI key what you can do you can go to the platform open AAI. So I'll just say platform open AAAI. When you go over
there you can just register your account. I have account registered. So I'm going to login using that account.
And then you have to click on this API keys over here and create a new secret key. So if I create a new secret key
over here it is just say plot- test content multiply. So it is going to get into the default project. I'm going to
click on create secret key. So now the key has been created. I'm just going to copy it. Done. And I'm going to come
back over here and paste it over here. So my key has been generated. I have pasted over here. I'm going to save this
environment file. And I'm going to come back over here. Now I'm going to expand this and I'm going to tell it, hey, I
have created the env file and loaded the application open API key in it. Can you check and tell me everything is working
as per the expectation and then we can run the script. So you can see that I have just written it in plain
conversational English that I have created the environment file and then I'm just asking it to do its magic. So
I'm going to press enter. So you can see it's saying let me verify your environment file. So that means it has
found the environment file. It has found the open API key and now it is going to run the full validation pass source file
config promps API key all together. You can see that content multiplier system is running. Here is the status.
Everything validates and analyze correctly. The cost estimate shows about 1 cent with GPD1 mini. So now it is
telling us yes go ahead and generate. I'm going to say yes and then let's run it. Now it is going to run the system.
It is going to input the article that we have given it. So you can see that input example article over here. If I come
over here example article. So this 15minute content system that changed how I work. So this is the example that I
created earlier like this is one of the lessons from my substack. So it has used that as an example put it over here and
then basically it is running the system and creating multiple pieces of content over here. So you can see generation is
complete 20 pieces created for 15 cents. Now let me run the quality check for verification plan as well. So it is
going to run the quality test for us as well. If something is wrong, it is going to fix the system, selfheal it, self fix
and produce the output as per the desired quality or as per the quality standards that we have defined.
Everything is working based on the brand voice that has been input in this config.json file that I showed you. So
this is the output summary it has and the output was present in the output folder. So let's go over here. As you
can see there is a calendar, there is LinkedIn post, there is newsletter, there is tweets and there is a YouTube
script as well. So if I open this LinkedIn you can see this is the first one and key theme is overcoming decision
fatigue and context switching in content work. So this is like one variant. This is the second variant where theme has
been changed. This is the third variant, fourth, fifth. Similarly for the newsletter as well. You can see that it
has created the outline of it over here in the tweets. This is the first tweet, the second tweet, third tweet, fourth
tweet and all the way till 10 tweets. Now for the YouTube script as well, it has also created the YouTube script. Now
let's suppose we want to add a system to it. Let's suppose I want to add Substack nodes. So what I'm going to say is hey
all these outputs are fine. I'm happy with it. Can you create an other output layer? I want to generate substack nodes
as well. And those substack nodes should be scannable. For each input, I would like to create at least three to five
substack nodes or I'll say exactly three substack nodes should be created. Now it is telling us that it has again entered
into plan mode. The old plan is from initial build. Now I need to plan the new substack nodes feature. So that
means this is a new feature. Now it is going to build into the existing system that it has already created. So that's
how I don't know code. I don't even know like how it structured all these code files. Similarly for you as well, you
might not even know code. You just told it that hey I like the output that you have created for all these platforms. I
would like to add Substack notes in pure natural language. And as soon as it receives the input, it has started
working again and it is going to build the feature for us. So you can see that it has created the entire plan for
building this new feature of adding substract nodes generator to our existing system and I'm going to skip
all this coding part over here and I'm just going to say yes clear the context and start building. Now it is building
the substack feature for us. And this is the part that really got me hooked to this whole clot code thing because now
it feels so powerful that if I have to update a feature, I have to remove a feature, I have to add a feature, I just
need to converse it and explain it. Hey, this is how it is working, this is how I want it to be. The more clear you are,
like I said, the better output it is going to generate. I am just conversing as I'm like talking to you and creating
this video over here. And meanwhile, cloud code is doing the work. So this is just a practical example of what we can
do. For now, I'm going to skip to the part where it has completed the substract node generator feature for us.
All right. So verification checks have passed. The new feature is built. Now we can go and do something little different
in order to test the new feature. What I'm going to do, I'm going to go to my substack over here. So what we are going
to do, I'm going to just copy this URL from here. And then we are going to go back. So far how our system works is
that there should be an input markdown file which should be present in this input folder or anywhere on your system
there should be a markdown file that should be inputed to this system in order to create the multiplication of
the content for these platforms. What I'm going to do is I'm going to tell it that hey I have this URL go fetch this
URL get the markdown from it and input it as an input or contents for our newly developed system in order to create the
outputs from it. So I'm just going to narrate it. Let's see what it does. And I'm not going to run the command that is
there. I'm just still talking in plain conversational English. So that's what you need to remember that even if the
command has been created, you don't need to run the command over there. If you don't like it, you don't run it. You
just tell it to run it on behalf of you. It is going to do that job for you. I have narrated it. Here is the URL. I'm
going to paste it and I'm going to press enter. Now let's see what it does. So you can see it is telling us let me
fetch the article content and then run through the content multiplier system. We did not run the command that we were
supposed to run. It is going to run it based on the English or conversation or chat message that I have submitted it.
So now it has got the full article. It is going to save it as an input file and run the content multiplier. So it is
doing the work for us. We are not doing it. So you can see that a new file has been added over here. It has fetched the
markdown from it and now it is going to input this particular file that it has downloaded or created from a downloaded
article for over the internet and then running the entire system for us and now it has started running the entire
system. As you can see article saved now running the content multiplier on it. So all 23 pieces have been successfully
generated. It is telling that it is going to show the substack notes as well. So this is note one build real
apps by describing problems not specs and then like you know the entire note is there. If I open the abstract folder
over here you can see these notes right over here. One thing now you are noticing is that we generated three or
four types of variations including the verification that it was doing for us. So we generated the content first from
the example article then I gave it the link over here. However, this whole output folder is getting replaced again
and again. So if you have to build this feature of that this should not get replaced again and again. I'll just
leave it as a homework to you so that you can just keep on iterating over it. Tell it in plain simple conversational
English or natural language whatever you speak. Just tell it this is the problem that you are facing that hey all these
content is getting replaced for each and every folder for each and every input article. What can we do? How can we
preserve it for each article? It is going to brainstorm with you and implement the solution in no time at
all. Now let's take a step back and look at what you have actually learned over the past 30 minutes or so because I'm
sure that you have picked up much more lessons and learning that you might even realize. So the first thing that you
learn is what is cloud code, how it is installed and how it is set up from scratch on your system. Second thing you
get to know how to work in a terminal without being a terminal expert. Third thing we reviewed is what is plan mode
in claw code and how it actually works, how it actually supports you. Fourth thing was the most important one. How to
describe in pure natural language a particular problem to claude code and how it can build it for you. Fifth
important thing was how to embed your own brand voice, your own voice that you use in order to write or create content
into a repurposing system like this. And finally, I also shared with you how you can iterate, change, update, make new
features within an entire system that you have already built with the help of clot code without writing any kind of
code. And at the end, this whole content multiplication system that we built and you will iterate over it is for you for
the taking and you can use it, apply it right away for your own needs. If you are generating content in any ways, this
is a system that you can start using right away from this very day. And all this was very much the foundation of
cloud code. How to get used to it, how to start working on it. So by now you have a working tool, one article that
goes in [music] and LinkedIn posts, Substack notes, YouTube scripts and all that content
repurposing comes [music] out of it. You built all of it by describing the entire system in plain simple English. But here
is the problem. You close this terminal and open this project or content repurposer again tomorrow. Claude code
would have forgot [music] everything about it. So you end up explaining everything about it again, including
your brand voice, including your preferences, including how the output should be located in the output folder.
That is exactly what this lesson number two of my claude code full course solves as you give your project a memory called
claude.md file and you turn all the prompts that you keep on repeating into claude skills [music] and finally you
write the claude code rule that claude code does not break for you in this project.
Claude code forgot everything. That was my experience for the first week that I was using claude code. Every session
started the same way. I have to reexlain my brand voice. I have to reexlain the entire project at times. Even redescribe
what goes into the coding guidelines. This was more like talking to a new employer, new hire almost every day.
Then I discovered claw code has something called extension layers that many people do not know about. CLMD file
that acts as a permanent memory of the project. Now they have memory MD file as well and we are going to talk about it.
Secondly, cloud code has skills or slash commands that can activate or execute longunning workflows for you. They can
be invoked by either user or they can be invoked automatically by cloud code. Then third thing they have hooks. Those
are some of the rules that claude code cannot break. And finally, clude code has sub agents that can work
autonomously for you in their own context windows. In the last episode of this claude code full course series, I
built a entire content multiplier system live with you. That is the project that we are going to put base of this entire
full course and keep on building more and more use cases more and more powers using cloud code ecosystem into it so
that you have an end toend system. So last time we just have a project it does not remember what we did. So today in
this lesson I'm going to talk about all these extension layer concepts so that you have the right foundation of claude
code in place before we move into other important aspects or other advanced topics that claude code offers us. By
the end of this lesson you would have a working project which is again a content multiplier system but the concepts you
can apply in your projects as well. And this content multiplier system is not going to forget anything. It's going to
execute some of the tasks that are more like workflows in this content generation ecosystem and it will have
some safeguards in place that cloud code never can override. For example, never able to delete the output files. Now
before we build anything, let's talk about some sort of a mental model that we should be following when talking
about all these four layers of extensions in cloud code. For your mental model, what you need to
understand is the first layer that is there which is cloud.md file. This is more like a house rules that are there.
They are always active. They always load into the context of clot code execution of any of your prompts. They do not need
any sort of a trigger. They are there as a set of instruction that Lord code almost try to follow, almost try to
adhere always. This is where the entire project memory goes. So that you do not need to tell cloud code what this
particular project is. At the bottom I have kept it into the deterministic category because we always know that
claw.md file will get loaded by cloud code into the context memory. However the instructions which are there in
claw.md file may not always all the instruction get loaded or followed and we are going to talk about it in a while
later in this video. Then we come to the second layer which is skills. These are more like longunning workflows or the
tasks that you want to execute or the business domain knowledge that you have you have put into skills that can work
along with you when you are working on a project. These can be manually invoked by using slash commands and I'll come to
it what is slash commands and how you execute them or they can be automatic in nature as well that claude code
automatically figures them out and execute them or run them when needed. Then comes the hooks. You should treat
them as sensors. They are guaranteed to execute no matter what. So for example, you ask Lordco to delete something. If
you have a hook in place, it is going to block that delete operation. And finally, you have agents which are more
like specialist in nature. They own their own context window. That's the beauty of agents or you can call them
claw code sub aents as well. The main thing or main difference is that they run in their own context window. They do
not pollute the window or context of the running operation or running conversation that you have. They run in
background in their own context window. So you get to do more in the same session. And I have tagged all of them
into deterministic, probabilistic, deterministic, probabilistic. Like claw.md file hooks are categorized as
deterministic while agents and skills are probabilistic. What that means is probabilistic is the nature where claude
code or LLM or AI which is the LLM will decide whether I should invoke a skill or invoke an agent to do a particular
task or not. You do not have much control unless you explicitly specify and increase the probability to 100%.
For example, you tell in your conversation clot that use this brand voice audit skill. That means you are
increasing the probability to almost 100% and telling claude what to do. That means it is going to follow your
instruction and load that skill that you said. Similarly, for an agent, you can call an agent by name and instruct
claude code in your main session to execute an agent. That's what it means by probabilistic and deterministic. Now
let's get to the screen share or cloud code session and see some of these things in action before we deep dive
into each one of them one by one. So I'm going to switch to my visual studio window where I have opened up an
integrated terminal and you do not need to have the visual studio code. You can open the terminal that you have and
start writing claude in it. So as soon as I write claude in a terminal it is going to open the cloud code. So this is
how the clot code looks like if you are watching it for the first time. Over here is the project that we built in the
last lesson which was the content multiplier system and all the code base that you are seeing over here. None of
them was generated by us. Everything was generated by claude code. Today we are going to build on top of it. Before we
jump into details, let's quickly see some of the helpful commands or help that you can get in cloud code session.
So in order to get help something called slash commands that I said are merged into skills. Now that is what you are
going to refer. So if I write forward slash then you are going to get a list of commands that are available in your
system that you can invoke by just typing it out and pressing enter. For example I'm going to press /help. So you
can see that it is going to show all the help and available commands in your clot code. So I'm going to press this and
then I'm going to press enter. All right. So you can see that help center has been opened by using the help/
command and at the top there is this general where it shows all the shortcuts that are there. You can use exclamation
mark for bash command so that you can run the bash commands inside directly in cloud code interface. This one is
forward slash that we just used to in order to invoke the help command. The add symbol you can use to tag your file
paths or you know invoke any files, put any files in the prompt that you are using or interacting. Similarly, if I
press on the arrow key of the right, you would see all the commands that are there by default. And you can see there
is this branch command, agent command, add directory command, buddy command, which is pretty new these days. This
command I use most often because it clears the conversation history and free up the context. This is a tip that you
should be following specifically if you are on cloud code pro plan which is basically $20 plan that gives you less
usage limits. There are many commands that are there and another one that is very important one is the init command
and this is what we are going to use next because now we'll deep dive into the extension layers and we are going to
start with clot.md file. So how do you create a clot md file? You use the init command to initialize a new clot.md file
which will insert everything about your project into the clot.md file. So let's go ahead and start the demo of that
part. So I'm going to like click on escape escape quite a few time and now we have exit out. At the bottom you can
see I'm in plan mode and I talked about what is plan mode in the last lesson as well. Plan mode is when you talk to cla
code, it creates a plan what you need to do and then you can act on the plan. If you press shift tab once you are going
to toggle into different mode. So right now it's shortcuts mode. Now I am into accept edits on which is where cloud
code whatever I'll type it into this particular section or prompt or input field it is going to execute that. This
is where the execution happens. If the plan is already created or even if the plan is not already created, you can
execute simple prompt, simple instructions right away in this particular mode. So this is what we are
going to use right now. I'm going to press forward slash and I'm going to say init and maybe let's before I init
knows about our project. What do you know about this project? So you can see that it is trying to figure it out what
it knows about this project. Right now it has started reading the files, listing the directories but it does not
know. Right? So it is basically trying to identify what this project is. It immediately did not know. I have
cancelled it so that I can show you what is the power of clot.md file. So how do you create clot md file is using the
init command. So we'll press init. And now I'm going to press enter. And this is what is going to happen that it is
going to go and understand what it was trying to do earlier. It is going to understand the entire project and create
a claw.md file which will act as a project memory like I said before as well. That means next time when I type
this command what do you know about this project? it will already know because the claw.md file gets loaded into the
session as soon as you start the session of cloud code or basically try to interact with it. So it knows in the
context what this project is and it is going to immediately give the answer. So it is exploring the entire codebase. Now
it is going to find out each and everything about this project and then create the claw.md file which act as the
permanent persistent memory for this project. And you can see now the claw.md file has been created. You can see it
has purpose, the commands, the architecture, configuration, output structure and key patterns. Let's see
where it is. So it has outputed the clot.md file over here. And this is how the claw.md file looks like. At the top
it says this file provides the guidance to cloud code when working with code in the repository. Content multiplier. This
what this project does. It's a content multiplier. transforms a single source document into 20 plus platform specific
content pieces using OpenAI's API. This is what the commands are like node these are some of the code files it has
identified how to use that and how to set up the environment environment variables and then we have architecture
over here then we have configuration then we have output structure and where the output structure should go in and
then it has also identified some of the key patterns that we use in our project so this is how the claw.md file gets
created but generally what I do is I come over here I right click and I create a folder called clot And I'll
move this clot.m MD file inside it. So clot.m MD file whenever you are going to reinitiate the session it is going to
get loaded from the dot code folder. So that's where basically you should keep it that everything can be organized into
dot cloud folder about the claude or about the claude code session itself because this is where we'll put the
skills the agents the hooks everything will go inside the dotcloud folder. So I like to keep the claw.md file inside the
dotcloud folder but you can put it into the parent project directory as well. Both the locations are correct. Both the
location clot code picks it. So now we know how to create clot.md file. Let's look at what should exactly go into the
clot.md file. The session context window is very very important and you should not pollute clot.md file with junk like
it should not be like hundreds of line. This was a very small project but there could be large projects of huge code
bases where this claw.md file could have been bloated a lot. In that case what should be the guidance? What should go
into the claw.md file? Well in the claw.md file I say three things should go. First one is the map. What this
project is what it teaches and where things live. This is something kind of a map or blueprint of your project that
you are providing in clot.md file so that clot code can quickly identify things quickly know what the project is
about and quickly know what the text tag that it uses. The second thing comes the intent where we talk about why the data
flows this way. What should never be touched upon without any kind of permission. All that things that you
have inside your head more like guidelines more like guidelines that your team is following something that it
should not be doing all that intent type of pieces should go into cloud.mmd file and finally the playbook like what kind
of patterns you would like to use to be followed in your project for example if I'm talking to perplexity which is an
MCP server do I need to make all the calls like all the models are exposed do I need to tell cloud code that this is
the pattern that I follow. I follow like two calls to perplexity not more than two calls and using these models. This
is how I club my queries. All this is more like a flow how your test will run. How the overall flow of smoke test would
be that is all you can also tell as a playbook in the cloud MD file. So this is very important to keep in mind and
I'll show you a template or best practices followed claw.md file in a while as well. But then let's talk about
the three level of memory that exists in cloud code. So first one we have already talked about that inside your project
you can have a claw.md file in the dotcloud folder or in the parent directory it will. So this only loads in
this project right. So this is like the level one kind of memory which we call project memory. So the second level is
the user level memory. So this is basically stored in your user home directory where the dotplot folder is
present and then you have a claw.md file over here. This is in your home directory and it applies to all the
projects. So something that you want to apply to all the projects you can create a claw.md file inside the home directory
of do.clot folder then all your projects will share it. Finally we have automemory which is like a recent
introduction to all this memory layer of cloud code which is called memory.md file and mostly you would see that cloud
code itself is managing this memory MD file. If you want to override some of the instruction or put some of the
instructions you can do that. However, keep it very very concise because treat it as like a much more mini version of
the claw.md file and this always gets loaded some patterns that you always want to be followed that can go into
memory md file or you can ask claw code to write into memory so that it remembers over a period of time if it is
making the same mistake again and again. So now moving on this is how I try to structure my claw.md file. First one is
the critical rules that like always use this kind of pattern for specific task never modify. So these kinds of critical
rules should go. These are like must follows. Then I talk about the project viewer view. There we talk about text
stack key directories data flow design decisions that I have taken. Then how to work here? What is like build test
deploy commands look like? What is the pattern to follow? What lot gets wrong like this is more like teaching or
learnings over a period of time that you will gather. So recurring mistake number one the fix add the list every time
claude repeats an error. So these are some of the instruction that keep on getting wrong and claude keep on doing
it wrong for me I'll keep on adding over here and finally I have this deeper docs where I would say for deployment refer
this point cloud to separate files instead of cramming everything over here. This is something called
progressive disclosure where you can have architecture.md testing.md and deployment.mmd being referred as files
as pointer to these files in your claw.md file. If you have a very large clot md file chances are some of the
instructions that are there are going to get missed and then you will feel that hey claw.md file is supposed to be
deterministic but why it is not following a rule that was already there. That is the reason because your claw.md
file could have been polluted or got too long too verbose for the whole context to be loaded and some of the context are
being overlooked by claw.md file and that's what I meant when I said it is almost deterministic not always and this
is the reason why it is not always deterministic because majority of the time as the project codebase grows the
claw.md file if you keep on asking it to write it on itself it is going to grow and it is going to bloat into a very
massive file and claude will also start giving you warning that it has gone too big for me to understand, comprehend and
act upon. So you need to optimize it. Then you can ask claude to optimize it as well. But you can follow this mental
model of what five essential things can go along with the principle that I use of progressive disclosure. So that you
are just providing the file pointers. So now it understand there is a file pointer to follow a testing pattern or a
workflow or a playbook. It will basically go and fetch that file at the time it needs it. It does not need to
know the testing pattern when it is not doing testing. So that's the reason you should only have pointers. Now if we go
back to the project over here, let me just delete everything in this cloud. MD file and paste something that I had
created. So as you can see that earlier if we go over here there are like 56 lines and again you know if I paste mine
there are these 40 lines. So that means 16 lines of instruction you have saved and it covers much more. It covers all
the critical rules that I wanted to follow clearly at the top. These are must follow ones. It has all the project
overview. This is all about how to work over here. All the references and then this is about what clot gets wrong for
me. Don't change import required. Don't call OpenAI directly. Always use OpenAI client wrapper. And then deeper doc
references where I'm talking about this is where my brand voice exists. This is where platform specific branch exist.
This is where full brand voice guideline exists. And why we are telling it is because if I start loading all these
into claw.md file, it is going to get bloated. So whenever it needs a brand voice or platform specific prompt, it is
going to know that okay, you know platform specific prompts are present in prompts.json. I'm going to load now and
read the prompt.json file in order to execute the task for the user. If there is no task of using a platform specific
thing while you are interacting with cloud code, there is no need to go or load into the context prompts do.json
file because at the end you have these 150 instructions in total and 50 used by system prompt. So you have like 100 to
150 for you and you have to make best use of it. So this was all about claw.md file. Let's move on to the second layer
which is skills. So in the skills I'm going to cover the commands as well and like I said in the newer version of claw
code commands have been merged into skills but the older hierarchy is still backward compatible. So in the dotcloud
folder over here you can basically have the commands as a folder and you can have skills as a folder both are going
to continue to work to support the existing projects or the projects that have been created before. So everything
in the legacy command folders are also being treated as skill. So that's like one thing that you should know before we
deep dive into what skills are. But what exactly is a skill? Well, skill is a modular set of instruction that you give
cloud code which are repeatable workflows that can be executed over and over again. It can be as simple as a
simple prompt that use on a daily basis. For example, you might have created a prompt to check your brand voice, right?
So how your brand voices you have configured into pram and then you specify a link or you specify some text
as an input and you say that hey run a brand voice audit on this particular text or this particular link of mine
then claude code is going to do that. What you might be doing is you might be like saving that prompt somewhere in
your prompt pack or prompt library but claude code allows you to create a skill of it which could be like brand voice
audit skill. So that's where you extend the claude codes functionality or core powers into the skill because now you
are providing your own domain expertise or your knowledge to claude that this is how you do a thing or someone in your
team do a thing or you want to do everything consistently throughout the team. So you can define that as a skill
and everybody in your team can use that skill. So the same task can be performed in the exact same way that you have
defined. So this is more like your workflow routine or any type of task that you keep on repeating with the
domain knowledge with the expertise that you have with the flavors that you have you can put together into a skill which
is nothing but a YAML formatted piece of text that I'm going to show you. And as you can see the skills have two
invocation modes. One is the user invocable skill where you type in forward slash and the skill name appears
and then you run it because you have the control you want to execute a particular skill at the moment that you want. So
the control fires when you want to fire it manually. And the second method is auto invocable. This is where Claude
already understands that hey I have this kind of a skill with me which is more like brand voice audit. Why not I
execute this skill as Dhiraj is asking me to write a draft on LinkedIn. One workflow is that it drafts a LinkedIn
post and then I invoke a skill of brand voice audit. Right? So that's like one way of doing it that you are involved in
it. So that could be an example if you have configured your skill in user invocable fashion. But if you have
configured a skill in auto invocable fashion, then claude knows already that skill because it is going to load the
context which is there right at the top like the description and all into its memory and it knows that I have these
skills available. I'm going to basically auto invoke it because I know that at the end of it I'm going to as a user the
is going to ask me to do the brand voice audit. So it is acting on behalf of you already. So that is what the power lies
when you start systemizing things. These skills are very very important and you should able to understand what you
should give powers to clot code to auto invoke and what you should keep it to yourself. Now let's go ahead and build
some skills for this particular project. So what I'm going to do is come over here and click on this and create a new
folder called skills. Then in the skills folder I'm going to create another folder called quick audit. And over here
I'm going to create a new file called skill.md. I have already created a skill. So I'm
going to paste it over here. So this is where I paste it. So you can see that now I have description quickly audit the
draft article against brand voice structure and rules. Use forward/quick audit path to check any draft. The mode
is user invocable. So basically I think I have it written underscore. This should be like that. So user-ash
invocable this is how you structure or tell it that this is a skill that user will invoke this is not a skill that
claude will invoke. Now in the quick audit I have defined the prompt and the output looks like. So this is more like
a simple skill more like a prompt that I'm going to use continuously. So this skill goes over here and what we are
going to do is quickly create another skill. While we are at it, I'm going to create another folder brand voice check.
And again inside that we'll create a file called skill.md file and I'm going to paste it over here. So now you can
see I have description automatically checks brand voice compliance when claude writes or edits markdown files in
drafts or output directory. So we have draft directory or output directory. It is going to automatically flag the
forbidden phrases, long paragraphs and weak openings. And this is where the entire prompt is. You can see that I
have also provided the full brand guide at. So this is present in some other project of mine where brand knowledge is
there and this is where the entire brand voice guidelines are. So these are some of the core rules that should be
applied. These are brand voice config which is there. So this is like in the config and this is like the brand voice
key. So if violation found this is what happens. So these are the two skills that we manually created or you may be
able to download someone else or maybe you are able to use this skill. This has the right structure. However, what you
can also do is you can write something called plug-in and then you can go to the marketplace. So, this is where you
can add more powers to cla code by installing some of the plugins and the skills which are there. Over here, I'm
on the discover tab of plug-in. So, I can explore what all exist or browse through it. These are the ones that I
have already installed. This is a marketplace where these plugins or skills or agents are present. So, you
can like see there is this Claude plugins official marketplace. So I'm going to enter that and here you would
see that there is something called skill creator. So this is the skill creator command or plug-in that you are going to
use in order to basically create the skill for yourself. So what I'm going to do is press escape couple of times to
get out of it and I can say skill creator. So you can see that I have like couple of uh skill creators over here. I
think like it's overriding some of them. So I can like just mention skill creator document skills. So now it has invoked
the skill creator right. So it is basically going to ask what skill I have seen that you have loaded skill creator
what skill would you like to create or improve. So you can improve the existing skills as per the claude code guidelines
or you can create a new skill itself. So if you are going to define what you want the skill for you can paste your prompt
over here. It is going to convert the skill for you and add it either at the user level or at the project level. You
have to just guide it. So that's how you create the skills. Now let's whatever skill we have created, let's see them in
action. And before I do that, we have polluted this context or main context window with multiple types of things. So
what I'm going to do is show you the power of clear command. So as soon as I enter, it has cleared the entire
context. Now it is fresh and clean. So now the skills are there. Let's reload the claude code for this particular
session. So I'm going to exit out. So now I'm going to type again. So now I'm in another instance of clot. So now if I
type quick audit. So you can see that quick audit is now visible into the commands or I can invoke this skill. So
I can just say tab. Now I can execute it in the acceptedit mode. Earlier the whole quick audit used to take like four
or five prompts where I was in between copy pasting from one window to another. Now it is executed as a workflow with
just one single command because we enabled this command as user invocable. So I am the one who is going to execute
it whenever I need to do a quick audit of any of the draft that I have created. So this saves a lot of manual work. This
is where you step into the world of creating systems for you systems for your workflow. If I see the brand voice
check, you can see user invocable is false because I want claude to invoke it at any moment claude is creating any
type of draft for me or any kind of output it is editing in these directories that I have defined. So this
is more like automated way of enforcing the quality in place. So more power to your cloud code ecosystem that you are
building. So let's come back and quickly run a quick audit. So what I'll do is I'll just paste it here. So now the
skill is involved. It is doing a quick audit on our sample article and you can see that quick audit this is what the
critical issues it has found. So has an overall score of 4x 10. These are some of the major issues. These are some of
the critical issues. I did not write any kind of prompt. Basically we had the skill that got invoked and it did the
entire audit for us. You can see critical major minor issues all have been found. So that you can basically
have another skill that can fix it as well. So this was user invocable skill in action. Let's see what is like the
auto invocable skill or claw invocable skill looks like. So for that I'll just going to write a prompt. Write a
LinkedIn post about why consistency beats perfection for content creator. Save it to drafts folder.
LinkedIn-consistency.md file. So now we are writing to the draft folder and that's what we have in our
skill file that anything that is written into the draft folder must be flagged or must be run a brand voice check. So now
claude is writing this LinkedIn post for us. Let's see what it does. So right now it you can see that it has gone directly
to config.json because in the claw.md file we have mentioned that if you want a
specifically prompt kind of a thing then go over there. So you can see that it has written the draft and then it has
also done a quick selfch check against the brand rules and it has found out all these issues against the brand rules. So
that is how the skill got automatically invoked and you can see the power behind now the system that you are creating.
Now let's move on to the third extension layer of cloud code which is hooks. These are the rules or guardrails that
are going to always get invoked and claude code cannot escape it. How a hook is structured? You can have a hook with
event plus a matcher and a script. So event is when does it fire? For example, pre-tool use, post tool use, stop and
there are 15 more events which are there in the documentation. Matcher is which tools trigger it. For example, using
bash or edit write or any other tool name that you can think of. Then finally we have script. what it does like what
the hook does whether it floors whether it blocks whether it validates. So this is what a hook structure looks like and
the exit codes are more like everything is fine so you can go ahead and proceed. So at any moment for example this event
of pre-tool use or post tool use the script or the hook is going to get evaluated and if it exits everything is
fine then only clawed code further action will happen otherwise it would get blocked. If the exit code is two,
other is more like warning but it does not get blocked. So it will just note as a warning. And then there are four types
of hooks available. First one is the command. It runs a shell script which is the most common form of the hook and
that's what probably we are going to create. Second one is the HTTP. It calls a URL endpoint for you. Finally, it is a
prompt. It ask to evaluate something and then agent delegates to an agent. These are four types of things that you can
invoke. I'm going to cover the topics of hook in the next lesson. We are going to deep dive into all the 18 events that
are there, the entire life cycle of it and everything. But in this video, I'm going to keep it brief. So, let's get
into the visual studio and create our first hook. So, let me go ahead and so this is like our project over here. So,
again like for the hook as well, what you have to do is in the dotload folder itself, we are going to have the hooks
too. Again, you right click, you create a new folder called hooks. create a new file block dangerous actions sh. So this
is a script file that we are making and I'm going to paste this that I have already created. So what this script is
going to do is block some of the dangerous patterns that cloud code can execute without asking you while
executing a particular set of instructions. For example, remove RF like removing everything from particular
folder. Get push force, get reset, get clean, drop table, drop database. So you can add all the commands which are
dangerous in nature that you never want cloud code to execute. You want full control over them. So we have created
the hook file. But where does this hook file get configured? How does clude knows about it? That's where
settings.json will come into play for this particular project. And we are going to create a file called
settings.json. I'm going to like save this. And in the dotcloud folder itself, we are going to create a file called
settings dot. So in this file, I'm going to paste the hook configuration. So you can see that in the settings.json which
is in the dotcloud folder. We are saying hooks. This is where the hooks will start. All the hooks will get defined in
the settings folder. And I am creating this in the project folder of content multiplier. But I can easily create this
setting do.json or edit the setting do.json of my home directories do.tcloud folder where the settings do.json is
also present. I can add this configuration into that so that all my projects follow. As of now this project
is going to only execute this hook not all my project but for now this is just an example and you can extend it. So I
have pre-tools use as the event. So at the time of any type of tool usage it is going to execute the matcher is bash. So
I want like see if any kind of bash command is being invoked just before using this bash tool. Then the hook is
type is command. So I'm going to execute a command which is like a shell script. Where it is located? The command is
located in the project directory dotplot hooks block dangerous. I think I have some different name. So I'm going to
like say rename and then come back over here and update the name over here. Now I'm going to save it. So now our hook is
ready. Our cloud code has been configured. Let's restart the session so that it gets loaded like the settings
get loaded. So I'm going to like say exit. So it has exited. Let's clear. So I have resetted the clot just to double
ensure that settings have been loaded. So what I'm going to do is I'm going to say let's clean up the folder. Delete
everything in output folder. So we can start a fresh and let's see if our hooks fire or not. All right. Right. So it
says that output folder is already empty. So what I'm going to do is I'm going to restore this folder and let's
try again. Right? So you can see that it is like picking it from the context itself. So
let me exit this and then let me just go back and start again and let's exit the plan mode. Let's say it again. So now it
is trying to figure out how many files are there. So you can see that it has 24 files, six directories. So you can see
that the hook got called over here. It has blocked the action attempted to delete files in protected
directory/output. The output and draft folders are protected. User targeted delete for explicit approval. So that's
how you can see that hooks can protect you from some dangerous action or it can perform some automated task as well.
This is just more like a dangerous action but you can automate certain task at the time something is happening in
your workflow or as claude is executing in those 18 events that we are going to discuss in the next lesson. Now let's
move on to the fourth and final extension of cloud code that is agents. They are also called cloud code sub
aents. They have their own context window. So that the context window that you are using in your main session does
not need to share any kind of context length with these agents. They can work in parallel for you perform the
specialist job. If there is an output to collect, collect the output and return it back to the main session that is
there. So that's the reason they are also called sub agents as well that they are being orchestrated by your main
session as well. However, you can create an orchestrator agent that can orchestrate the other agents as well and
you can control everything from your main window. The main thing that you need to remember is that all these sub
agents because they use the context windows of their own isolated from each other. You can achieve much more things
in parallel while these agents work for you. So this is how the agent definition looks like. Again a plain markdown YAML
type of a file where you have a name which is more like researcher description. You can have a description
tools that you want to expose to this agent and the model. Model could be sonnet or it could be opus. Whatever
model you will define, agent will use that model of entropy and execute the task for you. But I'll keep it very
brief because in the coming lessons of this full course of cloud code, I'm going to build three live agents in
front of you in a lesson itself so that you can follow along and we can do a deep dive into the agents. how you can
create them, how you can structure them, why you should create them, when you should create them, all that we are
going to have a deep dive much like we'll have a deep dive of hooks in the next lesson itself. So now let's talk
about a decision framework that you should use in order to pick what, when, and how. So this is what I try to
follow. Does it need to run every time? No exceptions. Right? If the answer is yes, it is about the project context,
then I'm going to use clot.md file. things goes over there and if this is not a project context then I'm going to
use a hook over here again if the answer to the parent question is no then does it own its own context window then I'm
going to use yes as an agent if you want to perform within the main context window some sort of an task that could
be auto invoked as well then I'm going to have a skill in place so that's a decision model that I follow and if I
continue further you can see that again you know as recapping plot md file deterministic more or less like I said
it is going to always load but depending upon the lines or the heavier file or what you have in claw.md file some
instructions can get skipped so trigger is like always loaded project auto and user scope user skill probabilistic you
can have /name so these are user invocable then you have claw auto skills as well again probabilistic context
matching needs to happen project or globally it can be created when it says globally it is at a user level that goes
into the claw folder that is present in user home directory. Then you have hook which is always deterministic. You have
an event plus a matcher and then the hook gets triggered as we just saw. The scope can be project or global. And
finally there is agent. Again this agent is also probabilistic unless until you define or specify in your instructions
to claim otherwise it will always be probabilistic in nature. The trigger is
more like delegation. they own their own context window and run in their own context window. So this is how you need
to start thinking in terms when you are designing your AI systems that hey which component or which extension of claude
code I have to use in what type of work that I want to do in a particular project. So this is how a project
structure with all the extension stack looks like. The claude skills agents will also come over here as we come to
that lesson. These are two skills that we created. We created a hooks file. We updated the settings do.json over here.
Finally, this is more like a cheat sheet for you that I'm going to share in the description of this video as well and
the entire slide deck. You can also refer to the entire guide that I have created on my Substack. So this whole
guide can you can read as well. You can go ahead and subscribe to my Substack and read it over there if you are more
like a reader. So the project remembers who you are now, what you want to do in this project. It has skills that you can
call with slash command or with the intent. It has a hook in place that protects you from writing wrong things
or with the wrong brand voice. However, it is still locked to your system or the laptop or the MacBook that you are
using. It still cannot access the internet, the LinkedIn, the Substack drafts that are there. It cannot still
extract them and [music] repurpose the content that you have already published over the internet. It cannot see the
notion calendar that you may have. what kind of content you want to repurpose in time to come. So in this lesson number
three, [music] you solve this problem and you connect the AI to the outer world. I call it external intelligence
and with the help of MCP servers, we are going to exactly do that. Then we go a little more deeper into the hooks part
of it so [music] that your project completely blocks anything that is not written in your brand [music] voice.
This is the same content multiplier system we built in episodes one and two of my claude code full code series. Same
project folder but claude code can now suddenly do three things it could not do before. It researched the live data from
the web. It caught brand voice issues automatically and it formatted the output without me asking it. Two things
made it possible. One is MCP server other one is hooks. MCP server allows cloud code to connect to the outside
world, your applications, your databases or you want to do some sort of a web searches or researches over the
internet. MCP servers allows you to do that or allows cloud code to do that. On the other hand, hooks are scripts or
commands that get executed automatically on certain points of your cloud code workflow. They turn rules from
suggestions to guarantees. In the next 45 minutes or so, you are going to wire up three MCP servers. You are going to
write or build three hooks and you are going to walk away with a cloud code system that automatically researches,
writes as well as enforces quality without you babysitting it. So, let's go ahead and build that system in lesson
three of my cloud code full course. Let's first begin with what MCP really is. Well, MCP stands for model context
protocol. We will not go into the technical details of what the MCP is but at a very high level understand that MCP
provides your AI. For example, over here the claude external intelligence. What do we mean by external intelligence?
Well, external intelligence we mean that AI has trained on a knowledge base. There is a knowledge cutff date for the
AI. Beyond that AI does not know what has happened. For example, in the recent times, they may not be trained on the
data of your application. They may not be trained on your data set. They would be trained on the data that was provided
to them. So, if you want that kind of data to interface with AI, you need to have some sort of a connection and you
need to provide a way or mechanism for that external data so that your AI can access it. MCP adds the bridge between
your external data, external systems or web searches or any other tool and itself so that it can work for you based
on the most recent application state or application data or external web research it can conduct for you. So this
is more or less at a high level what an MCP is. So if you look at this diagram how MCP works. So there is always a
host, client and server. These are the three essential components of MCP architecture. In the host you can say
host is more like an application which is MCP compliant which follows the MCP protocol or MCP standard. That is what
the host is. Host could be in the form of cloud desktop app or cloud code. Anything that supports MCP even cursor
supports it. So that act as a host. Inside the host there is always a client that lives inside it and routes all the
request of the AI from the host to the server and server is where all the actual tools are there. They could be
remote server there could be local server. So now you understand that what MCP is why it is needed. Well, these are
the three MCPs that we are going to build today. And what it does is for example, Tavi is one of the MCP server
that is out there that provides you the ability to have free web searches, scraping as well as researching over the
internet. It provides that realtime data or live data to your AI which is claude code in this case. So this claude code
terminal through MCP protocol will get connected to tab. Similarly, we would have notion which is the second MCP
server that we are going to build and that's where our content database is. Like for example, I use notion as my
content database. All my content related to whatever I post on Substack lives over here. The drafts, the pillars, the
schedule, how they are being posted, how they are segregated. So all that data lives inside notion for me. So we are
going to connect notion MCP server as well. Some people use obsidian as well. So you can like use a obsidian too and
connect the obsidian MC server to claude code so that claude code can access to that data. And finally I have a Substack
example MCP server as well over here. So this is like my own publication data of Substack would get connected to claude
code. If cloud code want to understand how my publication is doing, how a particular article is doing, this
Substack MCP server which is a custom MCP server that I created for my you know overall content OS system. This
helps my cloud code system connect to my Substack publication. So Substack is an outside app. All right. So let's go
ahead and connect our first MCP server that is Tavi. So what does Tavi do? Let's go to taby.com.
So over here you can see that it says you can connect your AI agents which in our case is claude to the entire web
which is internet. So you can do realtime search the extraction the research as well as the web crawling
through a single secure API. That's what Tavi helps you do that. If you look at the pricing over here this is like free
plan that we are going to use and it provides you thousand API credits per month. So that means you do not need to
upload any kind of money or credits to your platform much like perplexity that only works when you upload some credit.
I think at least you need to upload $5 credits then only you can use perplexity. So that is why I have moved
from Perplexity to Tavi because it does all the same functionality and it is free as well for,000 credits. So now you
can click on this sign up button and sign up. So you can use your Gmail ID or GitHub ID or LinkedIn or Microsoft. I
have already my account. So I'm going to log into it. So use this and then I'm going to click on my email. I will be
logged into my dashboard. You can see over here it's basically current plan is researcher plan which is more like a
free plan. And I can click on pay as you go as well if I want. I have used 11 credits out of my,000 credits for this
month. And you can see there are two keys that are already created over here. I'm going to delete this one. And then
I'm going to click on this plus and name this claude code demo. And I'm going to click on create. So a new key has been
created. I'm going to click on this copy button. And I'm going to paste it somewhere on my notepad. So I'm going to
paste it separately on a screen. And then you can come over here and you can see this Tavly MCP. So I'm going to
click on it. It is going to open the documentation page of it. And you can see Tavi MCP server allows you to
connect Tavly API to your MCP client which is claude code in our case or claude desktop app as well is compatible
with MCP protocol or MCP standard that's why you can connect Tavi to claude app as well. So if I scroll down a bit, you
will see that you can have a remote MCP server using this basically API key over here and the URL over here and then you
can connect to cursor using this particular configuration and you can connect to cloud desktop as well using
the integrations which is basically direct way of connecting the connectors and connecting your app. But we are
interested in cloud code. So let's go to the visual studio and add table server in cloud code. So let me open the visual
studio and our project. So this is the content multiplier application or system that we are building from episode 1.
This is episode 3. Let's get started with claude. Let's trust the server. So the claude is open. Opus 4.7 with high
effort. Claude max is my plan. And I'm in the auto mode, not in the plan mode. So I can execute the commands. So in
order to execute the command, we already have the key over here. And what I'm going to do is copy this command over
here. And you can get this command from the documentation page that I shared with you as well. So here I'm like just
going to copy this. Let give me a minute and I'm going to copy my key and all right so I have the command ready over
here. I'm going to paste it. So you can see that cloud mcp add- transport http tavly and this is the remote mcp server
url of tavi and we are providing the key over here. This is the key that we recently just created. So I'm going to
like click on enter and it is going to add the tavly mcp server. If it is already added, it is going to show me
that yes, you already have tavly added. You don't need to add it or you know whatever it needs to update the API key.
It is going to do that. So that's what it is going right now. And you can see that it says added the HTTP MCP server
of Tavi to the local config of this project. So we need to restart the session. In order to restart, so what
I'm going to do is exit and then I'm going to write cloud again. So now if I type this slash and then MCP and I click
on this. So you can see that in local MCPS which is for this particular project content multiplier you can see
at the end content multiplier tavi is connected and there are five tools to it. If I click or enter on it you can
see various options are there. So authentication is authenticated. Status is connected. URL is this. Config
location is this. Capability is tools. The five tools are there. So I want to view the tools. I click on this. So you
can see tavly search, tavly extract, tavly crawl, tavly map, tavly research. All five tools that we need in order to
connect our clot to external internet or web all these are available over here. And because it provides the scraping
capability as well with the help of this crawl or map, I have stopped using firecrawl as well because now in one MCP
server I'm able to perform both perplexity job as well as the fire crawl job. That's why I have moved on to Tavi
MCP server and that's what it does. Now let's see Tavi in action. So for that I am going to write a command over here
that says or just a prompt use tavly search for cloud code MCP server tutorial 2026. Give me the top five
results with oneline summaries of each. This opus model is still from the knowledge cutoff date of 2025. It does
not know about plot code MCP servers 2026. So when I click on enter now it is going to go and search the internet and
extract out all the information with the help of Tavi and find out all that information synthesize it and provide it
over here. So that's where we have connected our claude code project to the outer world. Now our claude code project
of content multiplier has the capability to basically search over the internet, connect over the internet, research over
the internet and do further things. So you can see that top five results have been basically returned. So the second
server that we wanted to connect is the notion. So in notion I have all my database. So if I open my notion
database, let me show you my notion over here. Where did it go? I think it has been closed. So let me open the notion
app. So when I open the notion app, you would see that I manage everything like all the articles of Substack are being
managed inside my notion. So you can see that this is my Substack article master calendar. This is the database in
notion. And then there are like so many other things that also I manage inside it. So you can see all these pages. They
have like multiple pages. So how do I connect all this information and provide all this context back to Cloud Code
projects? Well, this is how we do it and we are building a content multiplier system. So that means it should know
what content I am publishing, right? So how do we connect notion MCP server? The process is again similar. If I go and
search for notion MCP, let's go over here and you can see this is the notion MCP and you can see the diagram as well
that MCP clients, notion MCP server and public API. So basically the public APIs of notions are exposed through the MCP
servers for MCP client. So that while chatting with the AI you can connect to notion. Here we can click on this
connect notion MCP and here again you can see claude code claude MCP add-port http is the protocol notion and notion
mcp. So if I'm going to copy this. So let's click on this and let's go back to our project. Now let's see what happens
over there. Let me open the visual studio and yes we are over here. Let's now let's see what it says. Right now we
have not done the integration, right? We have not done the authentication. There is no key provided over here. So now
right now it is saying that I have added the MCP server. It is registered to local config. You will need to restart
cloud code or run MCP- authenticated. Right now this MCP server is not authenticated. So I'm going to like
click on exit and then I'm going to say clear. Let's clear it. And then let's restart the clot. And now let's write
MCP again. And now you can see that notion needs attention. Right? So that means the authentication is not done.
For Tavi we provided the API key. That's why Tavi is showing as connected. But now I'm going to click on notion and I'm
going to click on authenticate. Now it is going to open a browser window and it is going to ask us to login. So it's
very straightforward way of doing it. If you have not created a notion workspace, you will have to create a notion
account, notion workspace. So once you have that corrected or it is going to ask you to select that workspace. So I'm
going to select my geni unplugged notion workspace and I'm going to click I recognize and trust this call back URL
and then I'm going to click on continue. So it is going to connect it. So you can see that authentication has been
successful and if I go back over here now you can see authentication successful connected to notion. So now
let's go back one more time to just verify that MCP is working. So Tavi is connected notion is connected. There are
14 tools of notion. If I click on view tools you can see notion search, notion fetch, uh notion create pages, update
pages, move pages and then you can keep on scrolling. All these tools which are available to access your notion content
is available to the MCP server. Now let's ask it to query our notion content calendar. Hey can you search my notion
content calendar and tell me which are the post that are available as last few posts. So it has invoked notion. So
calling notion you can see content calendar over here. So you can see it has found the content calendar database.
Now let me fetch it. So most recent post from it. So meanwhile it is fetching. One thing I would like to tell you is
that all this search queries with notion and all this is all very tokenheavy. So whenever you are using your MCP server
especially with notion MCP server it is going to load a lot of tools lot of metadata. So it is going to burn the
tokens very very quickly for you. I'm on max plan still it's okay for me but you should not be burning tokens especially
if you are on pro plan. So be very very cognizant of the fact that you have to save the tokens in order to get the
information. Better use an API that is directly connected to notion with an API key instead of going the MCP route. If
you are token hungry, if you want to like optimize the token itself. So you can see that it has burned almost 56,000
tokens and still did not result anything. I need to query the data source itself. Let me search within it
and sort by publish date. Finally, it is able to fetch me what post I am publishing right now. And this was the
most recent post that got published which got published today. And these are some of the next upcoming posts on my
Substack. Now let's move on to the third MCP server that we have which is basically the Substack MCP server. So if
I go back to the uh diagram over here, let's come back to our presentation. So you can see Substack. So Substack is my
newsletter. I have a custombuilt MCP server for my Substack publication so that it can access data within the
Substack. Substack provides a lot of analytics data but it does not provide lot of inter relationship between those
data. So that's why I built a Substack MCP server. If I go to my Substack, let's go to my Substack and if I search
over here MCP, I spent two weeks reverse engineering. So if I open this, so you can see that I spent two weeks reverse
engineering Substack API. Now claude runs my analytics. So that's that's basically the system. I mean like I have
a UI on top of it as well. The Substack analytics gets connected over there. It also explain what is the difference
between stdio versus HTTP and why I chose the HTTP version of it. And if we continue go down in this case there is
no direct connection over here. So what we have to do is we have to basically add this to our cloud config file. So if
you want to create your custom MCP server much like my subsc MCP server follow this post. you will be able to
understand each and every aspect of it and build your own custom MCP server as well. That is what I wanted to show as a
third MCP server. So now let's go back and quickly add it. How do you add it a custom MCP server? So you create a new
file over here. Name it like MCP dot JSON. So now I have created this. I'm going to
paste this configuration that I have. It starts with MCP servers and all the MCP servers that you have can be listed over
here. So this is my local MCP server, right? So over here you can see that this is the path of the MCP server where
it is located and if you go back to my article. So this is basically the source code of a custom MCP server that you can
use in order to create that. So you can use this article create your MCP server. I have created the substack one. I
pasted it over here. This is the command of like where that root directory lies. And then what we are going to do is we
are going to say exit. And now let's clear. Let me make it big. and let's say cloud again. All right. So it should
have loaded the MCP server MCP and if I click on this so you can see that now project MCP server also has
connected to substack and I click on view tools you will see that get dashboard get post details get post
content list post get subscribers get notes get activity. So all this information is now available. So if I
ask it, hey, how many Substack subscribers do I have today? So it is going to load the Substack MCP.
You would just quickly see over here. And then it is going to query the data of Substack. It is querying that data
through a authenticated cookie that is shared on my local system. And it has found out that I have a total of 1393
sub subscriber as of today up from,0 in 36. So I have got like about 317 subscribers in last month which is good
and 61 are paid. So that's the way you connect external world data to your AI systems using these MCP servers. So I
hope you have got the full understanding of why we need MCP servers and how do you configure your cloud code or any AI
which is MCP compliant can be connected to the outside external intelligence. So now we are entering into the third layer
or third part of extension stack of cloud code which are hooks that is what we call the discipline layer and why we
call it discipline layer because hooks are deterministic in nature. That means that they are going to get called no
matter what. They are not probabilistic such as skills or agents. Hooks on the other hand does not work like that. They
work basically as guaranteed to be fired in terms whenever you want them to be executed. That's why they are called
deterministic. They run every time. They are more like shell scripts or commands that gets executed when different types
of event happens. So what is an anatomy of hook? Basically there is an event when it fires the matcher which tool
triggers it and we are going to see in action script is what does so. So basically the command that you have
written or the action that you want to perform in the form of a script that's what it does and then exit code zero
means AI can proceed normally. Exit code two means there is a hard block that stop over there and don't perform any
further action. That's what hook tells claude to not to take further action in case they are exited through exit to
hard block. If you get any other code, it's just treated as warning but does not get blocked. So you can see that
there are 29 hook events and we are going to build two in this particular session so that you get an understanding
of okay you know what the hook is how it works and how you can create them and they are going to be useful hooks
because we are stacking up different different functionalities that Lord ecosystem provides us into one project
which is our content multiplier. So today we have provided already the integration layer or external
intelligence to our content multiplier with the hooks we are providing to automate certain task and by doing so we
do not need to babysit it and you can see that 29 hook events are divided into different categories. You can see that
there's a tool execution which is going to be used today. So there is a pre-tool use, post tool use, post tool user
failure, post tool batch, permission request, permission denied. These are the events on which the hook can be
fired. And when the hook fired based on the tool matcher pattern, then basically you can perform some actions. For
example, stopping the deletion of the command, stopping it to basically execute a web search or execute
something like formatting the overall article structure right on particular event. These two comes user prompt
submit user prompt expansion stopping stop or stop failure session is session start setup session end. So these are
all the events I'm not going to like go through all of them it'll get uh you will get bored of it but this is where
how the flow looks like. So for example in the episode one we had this you know protection of any deletion towards any
type of file in the output folder. So how does that kind of cycle or life cycle works? So what happens is claw
tries to edit the output folder and which is basically LinkedIn post1. MD for example. Now pre-tool use fire. So
the event that we were seeing in the previous slide pre-tool use that gets fired. Tool name is edit. That's where
the matching happens that the claude wants to edit. So claude is trying to edit the post 1.MD file. So tool name
gets edit that gets matched and then we have a file path as well. So matcher as you are seeing what I was telling editor
is there edit is there or write is there. So if the match is found right so then we have a protect output.sh
named script with the file path that gets basically executed and it executes with an exit code too. So that gets
blocked and it says deny and the claude code cannot continue because tool call is blocked. Tool cannot edit or write.
Right? If there was no match like claude was trying to do some other action for example search. So the tool name would
be search in that case the file path would be same like post-1. But because the matcher failed it's not edit it's
not right. It is search. Then what is happen is hook did not match. tool proceeds and tool allows the called
claude code continues. So whenever you are entering something allowing asking you claude to do something all these
events takes place. Let me open the great example that they have on their platform uh claude code hooks. Let's
open this website uh with the documentation. So hooks reference let's open this and this is what you would see
right. So if I open this so you can see that at the starting of the session when we start a cloud code session that's one
event that is there then you have a user prompt let me expand it a bit so you can see user prompt expansion the user
submits the prompt that's like the second event that happens then you went into an agentic loop so this is
happening at the top then there is this box that you are seeing that's like one time and then there is agentic loop that
is happening right so it will keep on happening running again and again. So you can see that pre-tool use just the
example that I give permission is requested if there is a permission or not permission denied then yes I mean
there is auto mode as well there is elicitation as well and then there is elicitation result the MCP input has
happened so all these events also you can tap into then the tool executes right and then there is post tool use
after the tool has been executed you can perform some step right post tool use failure if the post tool use failed then
also you can perform some action. Then there is post tool batch sub agent start sub aent stop. So when it spans a sub
sub aent when it starts stop when the sub aent returns back then you can perform some action the task gets
created task gets completed and task creation task completion at all these events you can fire some commands fire
some automations so that you can control what happens at each cycle. Then this is happening for each turn back. That's why
it's called the agentic loop. And when it is stopped and stopped failed after that there is teammate idle, pre-ompact,
post compact and session end. So this was the hook life cycle and all the 29 events that are there. You can read
about them on this website. But like I just gave an example of how the entire flow of a particular hook works. This is
how it works in theory. Now let's go ahead and if you look at the hook one format. So we are going to use post tool
use on edit write execode zero and format markdown or js that never block. So that is what we are going to use in
order to create a hook so that our post get automatically formatted as soon as edit or write happens. That's the first
hook that we are going to create. The second hook is protection of the output. In the episode 2, we created a hook that
protected from the deletion of the files in the output directory. But we did not protect it from edit and write. So this
particular hook is going to help us stop that as well. So that any type of write operation happens, it gets stopped as
well. And then there is third hook that is brand voice as a contract. So as soon as let's suppose pre-tool use on edit
and write happens. So as soon as our file gets edited or written, we want the brand voice to be injected into it or
reviewed into it. Right? That's how you automatically check without you babysitting it. And this is very
deterministic. This is not like okay go ahead execute the skill. If the skill description matches then only it is
going to exude. No, this is deterministic because this hook is going to get fired as soon as this pre-tool
use edit or write matcher happens for it. Let's quickly go to our now visual studio and start creating them. In order
for the hooks that we want to create to work, we need to check some prerequisite. Let me exit out and open
the terminal. Let's first check whether we have jQ installed or not. JQ is a lightweight library that allows on
command line to process JSON requests. So let me see if we have the jq installed. jq- version. So that's one
prerequisite. So I have the jq installed. If you do not have the jq installed, what you can go ahead and do
is you can run this command brew install jq. So if you run this command, it is going to install the jq for you. I have
already had the jq installed. So it is going to just update it probably. Next thing that we have to do is we have to
ensure that node is installed. Let's check the node version. So node is installed. So that's like another
prerequisite. The another thing that we have to install is the prettier. So that allows us to make the formatting easier
for our post. So that's what we are going to see npm install- prettier. So you can see that added one package one
package is looking for funding. So whatever it is, so that's how you install the prettier command. And if you
are not setting up these prerequisite, these hooks are going to fail and error out for you. But you can ask cloud to
help you with that. Now let's start the cloud again. So where do we go? we go into the dotcloud folder. We already
created one hook file in the episode two of this course. So now we are going to add the hooks over here only. So I'm
going to call this format onsave.sh. In this what we are going to type what I just showed you on the screen. So I'm
going to paste this as a bash command over here. So let me come back over here and paste this. Okay. So it's like
taking an input path checking that only format markdown and jstsjson file. So it is going to use the prettier library to
format our content. Then we have to make it executable. So what I'm going to do is run the command. So I can run the
command directly over here using the exclamation mark. So I added the exclamation mark and ran this command.
So that this particular file is now executable. So we have allowed the permission to execute it. Now we have to
add it to the JSON settings that we have. So if we go back over here so settings.json you would see that in the
hooks we and this is all in the do.cloud folder right? So if I collapse this so you can see that settings.json is
present in our do.load folder. So we already have one hook defined and you can see its type of command matcher is
bash right. So that's how you define the hook. So one hook is already defined in the pre-tool use event. So we have to
basically use the post tool this time. So I'm going to copy another row. So I'm going to copy this over here and like
just adjacent to this pre-tool use. So you can see that pre-tool use is finishing over here. Right? So we are
going to say comma over here and then basically paste this. So now we have post tool use matcher is edit-rightes
hooks type command and the path you can see that we just created the path as in the hooks directory we created format
onsave.sh. So that's the path of the file that we are giving over here. Now I'm going to save this file. Okay. And
I'm going to exit out. Let's restart again. Right. Let me expand this. Now let's do something funny. Write a JS
file with bad indentation into draft folder. So this is going to write a JS file with very bad indentation. And what
we want is as soon as that bad indented JS file is written, it should get automatically formatted, right? That's
what the intent of the hook is. And let's see what happens. So error writing file. So let's see what's happening. So
it says bad indent.js and then it has like you know kind of weird type of things here and then we'll see what it
gives. So wrote this with deliberately erratic indentation. A post tool use hook likely formatted the g status ran
after it was already cleaned up with the indentation. So the file might dis no longer be bad. So that means that our
hook deterministically fired in this case. So that's the first example of the hook that you can use to fire. So I
wrote the JS file but you can also wrote the HTML files. The content could be in HTML. This is just an example of
indentation. But you can get the idea of that if your you know articles are not formatted correctly. If let's suppose
your diagrams are not formatted correctly, you can use all that stuff over here in order to make sure that
hooks are getting fired as soon as the right operation or edit operation is happening in the post tool use event.
Right? So that's like the first example. Now let's look at the protection of a folder. So this is what is going to
close the gap that we had in the previous state where we protected the output folder from getting deleted like
or from the content of the output folder getting deleted. So that's why we had one hook that we placed as this one
block dangerous actions. So there that's where we protected it from the delete command. So now let's protect it from
the edit command as well that we do not want anything to happen as accidentally as write or edit in the output folder.
Right? So in order to do that we are going to like basically follow the same step. We have the hook already
configured. So first we have to create a protect output.sh. So I'm going to like come into the hooks
folder. Click on the new file. Let's add this. So sh file. Now let's paste the uh source code that we have. So basically
the script file that we have the bash script. I'm going to copy this. I'm going to paste it over here. Again you
don't need to worry about it. You can ask Lord Code to write all these scripts as well for you. If you are not into
like if you don't know about how to write these script files or uh you know shell script files then you can ask Lord
Code to do that like just brainstorm with it that hey you want to like protect this action you want to like
perform this action. It's not just about protection. It's about taking action as well. Just as we did with, you know, as
soon as a bad file came in or bad formatted file came in, it automatically formatted. So, we are performing an
action as well, not just protecting it. Right? So, this is like on the protection side of it. And you can see
like over here jq is being used. That's like it's like a prerequisite over here. So, now we have this. Now, we have to
again, you know, make it executable, right? And how do we do that? We basically have this command that we have
to run which is like I'll use the exclamation mark I'll use this and instead of format sh we would have like
what protect dash. So now our hook is executable. We are ready to test it out. Now let's see what we have in the output
folder. So we have a LinkedIn post. This one edit the LinkedIn post and tighten the hook in the file. I'll just drag
this file over here. So that's you can see it's in the output folder and I'm going to click on enter. Now let's see
what happens. So you can see that it is very smart enough, right? It is telling me the project.clude MD file does not
allow me to modify files, right? So that was just an instruction, right? So claw.md file had instruction. That's
what we said that it is probabilistic in nature. It may follow the rules. It may not follow. Here we provided an explicit
instruction. So it allowed that instruction to be followed. And what did I miss? I missed a step which is
basically adding the hook in the settings.json. So I had to add in the settings dojson. There is no hook added
but it knew that there is a hook that I made it executable but did not add over here. So we are going to add that hook
over here and then basically we are going to see whether it stops or not. Now this time we don't have to use in
the post tool use rather in the pre-tool use. So what I'm going to do is matcher hooks. So in this like there is already
one hook there right so I'm going to copy this and I'm going to press comma here and I'm going to say paste it right
so this is like the second hook that we have and what we have to use edit right so let's use edit right and then here we
have to basically specify the name of protect me name so in the pre-tool use there is matcher bash and then there is
matcher edit right so that's how we are protecting right so let's save this and now let me exit out the clot. Let's
clear this up and then let's run the plot again and then let's try to see edit the LinkedIn post. This time like
we can say the second file. Okay, so first file it already edited. Now let's do the second file. All right, so you
can see that pre-tool edit hook error. So it has blocked a project who blocks this clot MD file says a user is
reviewed content. I'll write the tightened version of the hook in the draft instead you can review the copy it
over. So that's how you can see that now deterministically it called and blocked the action for you. Now let's quickly
look at the final hook that we wanted to create in order to further strengthen the system that we are building on
content multiplier that is basically going tell you whether it follows your brand voice or not. So for that again we
going to follow the same process. I'm going to create a new file in the hooks folder and in this we are going to copy
the entire content that we already have. So you can see that it is auditing brand voice issues detected. then exit with
two otherwise exit with zero. Let's clear it. Let's make it executable. So don't forget this command. So we
already have made this executable. Now it's about the brand voice. Brand dash voice. So now we have made it
executable. Now we are going to follow the step that I missed in the previous hook which is like opening the
settings.json and adding this hook file or configuring this hook file. And where are we going to configure this hook
file? Again we are going to use pre-tool use over here. So in this case we already have the matcher edit right.
Right. So matcher is fine. So there is this one hook that is configured. Now we can configure another hook that's
basically like this. So we will add comma and add another hook. So the pattern would be same. The event is
pre-tool use. The matcher is edit right. And then in the hooks there is already one hook configured. And now we are
going to configure the second hook which is basically the brand voice. Okay. So one is protecting the output, the other
one is auditing the output. Right now let me cut this and save this file. I'm going to show you previous and post
state. So I'm going to like exit right now. I'm going to say clear
and I'm going to say load again. All right. So right now you can see that there is no hook configured for a brand
voice hook. Right. So we are going to write or a draft post which basically is generic in nature. So I'm going to like
say write a draft post about revolutionary AI tools that unlock new capabilities. So let's run that. So it
is going to write a draft which is generic in nature does not follow our brand voice right now. Right. So this
are writing the sample uh article over here. Right. So in the drafts let's open the drafts here. All right. New- AI
tools 20226. So you can see that. So this has been written. So this is what it is a generic AI slop or AI draft that
has come out of it. It does not have any kind of brand voice that we would like to have. Now we'll go back to our
settings and I'm going to like press undo and I'm going to save it. Now I have this brand voice hook in place that
is going to enforce the brand voice that is configured in it. Right? You can configure something else as well. It's
just a demo example. You can watch my Substack. See the examples over there. How to create, how to generate brand
voice. I have detailed out everything over there. So follow me on Substack and you will get to know like how you can
write in your own voice in your own brand voice. So let's go back now. Let's exit out again and then let's clear
again. Let's open the CL again. And I'm clearing it so that like there is no clutter and you are able to follow me
what I'm trying to do over here. Now let's ask it again. So let's see what happens now. So as soon as the draft is
being written, it's going to actually execute our hook that is there and then it is going to tell us what it needs to
be done. So you can see a heads up the project brand voice config explicitly bans salesy tone buzz world. So I'm
refraining revolutionary unlock new capabilities as concrete things specifically tools actually to use. So
otherwise the brand voice hook will flag it on the save. So you can see that now it is already knowing what needs to be
done in terms of implementing your brand voice. You are out of the loop. It is doing the job for you. That is what an
automated AI system gets you. That is how you save your time back. That is what you get your energy back. That's
how the power of these different extension stacks of cloud code can bring to your AI system. If you implement them
well, if you understand them well, everything that we have done so far in this particular project of content
repurposer is happening inside one conversation of clot code. And you might have noticed that the entire
conversation can go very very long as well and can eat up the entire context window. So in this lesson number four,
we build an agent called AI [music] research agent which basically does this entire job of working for you [music] in
a separate contextual window. Do that task and come back with the results for you [music] in your main window. If you
write content for a living, you already know the drill or the hard work involved. Before you write even a single
word, you have to spend 2 three hours researching. You will open 10 15 tabs. You will find your competitor's content,
what they are doing, what you they are writing about. You check if your angle is fresh enough or not. And by the time
you start to write, your energy is already drained out. I built a claude AI research agent that does all this works
all under a minute or two. All I have to do is write or execute one command and it produces me a structured output that
I can visually see and act upon it. All this happens through my own voice, through my business, through my
competitors, through my audience. So that everything that I write about, I research about stays intact and stays in
line. And here is the part that most people do not believe. There is no coding involved. There is no Python, no
JavaScript, no coding framework at all. It's simple set of markdown files written in plain English that you can
understand all built with the help of cloud code. Welcome to JNI unplugged. This is lesson four of my claude code
full code series and today we are going to build a claude code AI research agent. I'm going to use my travel blog
which is discoverwiththe.com as an example business or demo business in this particular video. Why? Because I
want to show you that this research agent that we are going to build is completely niche agnostic. You can apply
it on travel, cooking, fitness, finance, any business or any niche that you are operating in. The same three layers of
this agent will be applicable to all the niches. Here are the three layers that we are going to build today. One, the
three layer architecture. MCP servers as the tools, context profiles as the business brain, one agent file as the
brain stem. Two, the live build, the folder structure, the MCP config, three context files, the agent markdown,
three, a real run on a real topic, and we are going to look at the output together as well. If you ever wanted to
build an AI agent and you always wondered or hesitated because you knew that there is code involved, well, this
is the video for you today. So let's go and build this agent out. Let's first understand what is a cloud sub agent.
Well, we already briefed about cloud sub agents in lesson two of this course where I talked about the four extension
layers of cloud code where claude code sub agent is one of the layers that is there. They are specialized AI
assistants that can run or execute a specific job for you which is outside the context of your main conversation
that you are having with Claude or Claude code. And they are particularly helpful when you want a stray
conversation or a side conversation or a side task to get executed in parallel while you are having a main
conversation. These agents would execute them in their own context window. They would execute the whole task. They would
process the logic or the output, synthesize all the information and return the results back to the main
conversation so that main conversation can further process or synthesize that and continue conversing or continue
working with you in order to execute a particular task that you are interested in. Hence these sub agents helps you
preserve context by keeping the exploration and implementation of a particular specialized task out of your
main conversation. Secondly, you can enforce constraints on what type of tools or things that these agents can
access. Third thing is you can use same sort of reusable configuration that these sub agents can use across all your
projects as well. Fourth thing they help you with is the specialized behavior injection because they can have or
support specified domain-driven business prompts or system prompts that you can configure for these agents. And finally,
they control the cost as well because you can delegate some of these agents to run on specific models which are cheaper
and faster. For example, Haiku. And how does Claude code knows about them? Well, either you can invoke it yourself
manually or claude code reads the description of these sub aents and when the context kicks in in the main
conversation you are having it sees that I have an agent in order to execute this kind of task it infer that thing and
then probabilistically calculate whether I should be using the sub agent or not and then if the description matches to
that probabilistic nature it starts executing the agent in parallel that's how these cloud sub aents get executed
and they work or operate in their own context window. So that's the base definition of what claude code sub aent
is. Now moving on you can see that I have constructed or architected any type of cloud sub aent into three different
layers. First of all before we go into the layers you can see at the bottom I have some prerequisites that you should
have cloud code installed. Secondly, in order for this particular agent to work, you have to have perplexity API key in
place. You should have a fire crawl API key as well. And I'm going to talk about the free tiers or free alternatives as
well. You should have any type of text editor. And as you already are aware by the time now we are in lesson four of
this clot code series that I use visual studio code for all the work that I do in an integrated terminal with cloud
code. So you can use visual studio code as well. It's a free tool that can be used or leveraged in order to work with
claude code instead of plain vanilla terminal that you may have in your Mac or Windows. Then you should also
understand there will be some sort of API cost involved. It's more or less $5 to $10 a month if you are heavily
invested into various research that you would do especially when you are using perplexity. Now let's look at the three
layer architecture of our agent. So the layer one is the MCP server which is the tools that you are going to provide to
your AI agent or cloud code sub agent. And why do we have this layer over here? Well, this layer is more like a data
layer. You can assume that how are you going to provide data on which your content research should happen. How does
clot code go and search the internet? It is not going to search the internet without providing it that required tool
that we have. Of course, Claude has a built-in search capability now that you can leverage. However, if you want to do
like multiple keyword research, then it is not going to work. You cannot club like multiple queries. Sometimes it will
fail. Sometimes it is not able to parse or crawl or scrape the content of the website that it is going to research
upon. So, because we have to go out of the knowledge of Claude over here, we have to provide knowledge which Claude
may not know. We have to provide knowledge which is real time in nature. That's why we need a data layer. And
here in this particular agent that data layer layer one is the MCP servers because we do not need like a reference
database. Maybe I can also provide access to my uh WordPress database which has like all the data of my all the 500
plus travel blogs that I have posted over there. But in this particular AI research agent that is not required. the
AI research agent needs to go and research out. Hence, we have the MCP servers in place. What is an MCP server?
Well, MCP stands for model context protocol which allows AI agents to connect or AI to connect to outer worlds
or data layers through various tools, resources and set of prompts that are there. MCP is outside the context or
outside the syllabus of this particular course. I'll may create a video or you can go to my substack and read through
the entire full free MCP course of eight lessons that I have already published so that you can get familiar with the
entire details and you can create your own MCP servers as well. Here we do not need to create any type of MCP servers
of our own. So what we are going to do we are going to use an MCP server which is perplexity MCP server and fire crawl
MCP server and what this means is that I want to do research and research is done by for example perplexity. I want to
scrape the content of a website and that scraping functionality is provided by firecrawl. Firecrawl provides an MCP
server. And now this MCP server acts as a bridge between my AI agent or between any type of AI like a client which is
MCP compliant can connect to the end layer which is the data layer or the research layer or the execution layer or
the APIs through this bridge which is called MCP server. So in order to scrape the content the functionality is
provided by fire crawl application and they expose that functionality through an MCP server so that the MCP server can
be exposed as a bridge to your AI or AI agents. And now AI or AI agents know everything about firecrawl that all type
of functionalities fire crawl offer. Whether it offers a single page scraping, whether it offers search
within a website, whether it offers all the website pages of a particular website to be scraped. This is exposed
through something called tools. The tools exposed to AI will help AI determine which tool to be called. In
our example, it might be just a single web page tool that our AI agent will call. So that's a basic example of what
an MCP server is and why it is needed. But go through my course so that you will have a complete understanding of
it. Now coming back because we have to expose the scraping or searching capability out there. We are going to
expose Perplexity MCP server which is going to do the searching capability for us. So perplexity helps you do AI web
search not a regular web search. Why? Because it you can club multiple type of queries, multiple keywords in a single
perplexity search and it is going to do all the hard work of researching about that particular topic and come back with
the structured response. That's why we are using perplexity server. And the second MCP server is the fire crawl
which we have already talked about. Here you can see that I have Gina reader free backup R.A.I. AI. So this is a fallback
just in case you can see that I have 500 free scrape pages from fire crawl. I think it is just one time when you set
up only 500 pages can be scraped. I don't think it is a per month. Now they have like I think changed but you can
verify that however when this fails I also have configured that if I run out of credits from fire crawl go and use
the gina.ai which is the free equivalent of scraping the content from web. So that's how we have built some sort of
resilience as well in our architecture. So one thing that you have to understand is that this layer or this set of tools
is what I have used. But if you want to use something like Tavi which does both the perplexity search as well as
firecrol capability and also offers a free tier you can replace that in this box. What I want you to understand is
this is a architecture or a blueprint where you can fill your own tools. You can fill your own MCP servers. But the
overall architecture or blueprint of the agent would be in this way only in most of the cases that we are going to build
different agents. When you are going to see me build a YouTube research agent, you would see that this particular box
may get replaced by YouTube data API, right? or I can build like a YouTube MCP server on top of it and replace that
over here. So main thing that you have to think about this architecture is that layer one is the data exposed layer or
functionality exposed layer and how it does it based on the APIs either the database connection or either the MCP
servers that we have configured. The second layer that we have to understand is the context profile. This is what
makes the agent your agent, makes the AI your AI because AI does not know your personality, does not know your
business, does not know your competitor, does not know what you write about. So this is where you fill in that context
and all my context stays in this. Lord/earch profiles folders or you can also configure it as with some other
name. I just call it research profiles for this particular example. But in my home project which is like the entire
content OS that I have built for my running my business. I call this folder a brand profile folder. In this context
profile I have a business context which tells it that who am I? It is going to tell it that I have 562 posts published
on my travel blog. I have like 14 plus years of travel blogging experience. Then in the content strategy, what I
write about, what my pillars are, how my voice is, what kind of voice I use, tone I use, style I use, all that gets
configured in content strategy. I'm going to show you all these files. And then there is competitor watch list.mmd.
Who you compete with, what the gaps are, what the opportunities lies, all this is your business brain that gets fed to
Claude or your agent through this particular folder. And finally there is this agent file which is the brain which
we call content researcher.md. And all these files can be named as per your this is a YAML formatter plus a system
from and stays in. Lord/ agents folder. So this is what we also talked about that in the dotload folder we will
create agents folder and in that we are going to create sub agents and here it is content- researcher.md file that we
are going to create to create our research agent. So this is the third layer that is staying at the top. So
these three layers is what forms the entire agent for you. And you can see that in this entire layer architecture
there is no code involved just some configuration files and English file which is a YAML formatted file for your
agent that we are going to show. Now I want to also show you before we deep dive like how this whole thing flows
through in this whole layer architecture. So how the flow works. So let's suppose if in example I type one
command which is like research spiti valley 2026. Spiti valley is like a location in Indian transima because I
run like this travel blog which is like discover with dhir. So it is all about mountains or transima in India. So I
want to like research upon research pi valley 2026 as a topic. So what happens is cloud code loads the agent file which
is like the top layer layer three content researcher.md right. So it loads it understand what is there and then
what happens is that within that agent file we have given the context of our business context. So now that it reads
all the files or profiles first like business context MD file, content strategy MD file, competitor match list
MD file then it basically understands your business and after understanding the your business and getting this input
query it tries to access what tool it has to do the research for you. That is where the first layer comes into play
which is the MCP layer. That's where the perplexity with three to five searches would kick in like road conditions and
permit recent changes. People also ask question competitor coverage gaps underserved angles and then on the right
hand side we have the capability of when this research is happening is going to return various web pages right so when
those web pages are returned how do I scrape the content of those web pages that's where firecrawl will kick or as a
fallback gen.AI AI will kick in which will scrape two three competitor articles what angles what's outdated and
then it is going to filter for your business lens all the information the synthesization of your business and the
research it has done all the responses that it has got from all these tools available through the MCP servers it is
going to filter all this what matters to my audience right so this is through my business lens this is for my business.
This is for actionable insights for me to perform. This is where Claude is taking or Claude AI is taking action
behind the scenes. And then finally, it outputs a structured JSON output as well as a markdown file. So where there will
be a executive summary, key findings plus sources, competitor analysis, recommended angle, suggested outline and
all sources also cited. So this will be an entire workflow of our agent and how the agent is going to execute right from
entering a search query all the way to the output. Now let's get to the visual studio and see this agent in action. All
right. So I'm into the visual studio and I have opened up my project workspace or folder which is AI- research agent. It's
nothing but a simple folder that you can create on your system and then open up in Visual Studio Code. I have created
some templates for you which I am going to share. I'll go to my substack and I'll show you. You can click on this
clot code tutorials. You can come down over here. You can see that I built five research sub aents using clot code. Here
is the foundation. So this is where you can build the entire foundation. How to build your context profiles, how to
build your business profiles, how to configure the MCP servers. All this is documented over here if you want to
follow along. And then this whole research agents you can come over here and you can download the files from here
as well. so that you can understand and follow along me in the rest of the lesson. Now let's go back to the visual
studio. So now once you have opened up you would need to create lot folder and as if you have followed the article or
the tutorial in the substack you would have already created it otherwise go ahead and download the zip file and set
up that project and come over here but I'll walk you through if you have not done that. So we have a dotload folder.
We have already talked about in the lesson two of this course what the dotload folder is and how it is
structured, what extension stack it provides. So it provides us the agents folder. This is where the skills will
also come in. But you can have other folders as well. So for example, I have my layer two which is the research
profiles and all the three profiles or files of the research profiles are present under it. You can see that I
have content strategy, competitor watch list and business context. In the agents, I have just one agent which is
the content- researcher agent and then you can see this clot.md file which we have already talked at length that what
is cloud.mmd file, how to create it in our lesson two of this course. Go watch that lesson otherwise like this is
preconfigured over here. And then there is this settings.lo JSON over here. I'm going to just delete this file for now
just to show you an example how to add the MCP layers. So you can see that we have our layer 2 which is the research
profile. We have our layer three which is the agent but the layer 1 which is the connectivity to the outer world
through the MCP servers is missing in this project. And that's what I'm going to show you now how to add the MCP
servers. So in order to do that let me open the integrated terminal over here. That's the beauty of Visual Studio Code
is that I can have the files accessed over here and I can also use the terminal. So I'm going to start cla. So
it is asking for the permission accessing this workspace for the first time. I'm going to allow it. Clot always
starts in plan mode. Again we have talked at length in this course other lessons. What is plan mode? I'm not
going to use plan mode because we have to execute the agent directly over here. So we are going to press shift tab twice
so that we are in accept edits on mode. So now the clot code can execute the task for us or execute any type of
command or prompts that we are going to provide it. Now we are going to install the MCP server and how do you do that?
Let's go ahead and search for perplexity MCP server first. Let's go ahead and search for perplexity. I'll say like
perplexity MCP server. So you come over here and then you can see that at the bottom you are going to see this
command. So we are going to just copy this command. So it is a CLI command. We are not going to like install plug-in or
something. You can install through plug-in as well. But this is very simple way of installing. So claude MCP add
perplexity- environment perplexity API key. So this is where we have to insert our API key and then like where do I get
the API key of perplexity? So you can just let me just delete this and we can go back. Let's go to perplexity.ai. So
console.plexity.ai you go over there. If you have not logged in you can login over there. You
have to create your profile first and then you can see that there is this API keys over here. You can click on this.
You can click on generate key or I have like already created some of these keys over here. So it is saying that you have
to add a payment method. So that's the drawback of using perplexity that you have to add a payment method. You have
to load some credits in your account otherwise it is not going to work. You can go and install tag which provides
free search capabilities up to,000 credits and also provide the scraping capability as well. This is just for
example to have like two servers configured. That's why I'm showing you otherwise in general nowadays I use
tavly as well. So over here I'll just copy this key. Let's copy this and paste it over here. And what I'm going to do
is press enter. So it is telling that it is already added but I think it is taking it from
the previous session. So what I'm going to tell it is remove and read and re then rerun. So now it has added to the
local config and you can see that MCP.json has appeared over here. Similarly, what I'm going to do is
search for firecrawl mcp and come over here and just log to your account and you can go down and you will find this
running on cloud code. What you have to do is copy this URL. So you can have like hosted URL as well as like local
via npx. So I'm going to use this. I'm going to come over here paste this and here what you have to do is replace your
fire crawl API key. So I'm going to go ahead and login fire crawl. I'm going to go to the dashboard over here and then
you can see the API key is configured over here. I'm going to copy this and paste it here and then I'm going to just
say run this. So this is going to add my firewall MCP as well. So what we have to do is restart the clot so that the
settings can take effect. So I'm going to exit out and then I'm going to say clear. Let's start the cloud again. So
you'll see two new MCP server found perplexity as well as firewall MCP. That's what we configured. So I'm going
to press enter and you would see that settings.local.json has started over here. So that's how you
install MCP server in cloud code. If you do not understand how to install it or you don't want to like follow all these
instructions that we did back and forth, you can just talk to claude code and claude code will help you find the
instructions as well and install it on your own behalf. So everything is set up all three layers. Now our agent is ready
to execute. So before I deep dive into the agent files and how to write the agent, let's execute the agent and see
what it outputs. So what I'm going to tell you is first exit the plan mode. Can you do a research on bike trip to
Ladok in 2026? Let's press enter. So you can see that it has invoked our content researcher agent and I can continue to
converse over here. It is doing everything in a separate context window and this main window which where we are
talking this is completely open right so this is where I can still continue and work with it I can still type in over
here it is not yet blocked the agent is running in parallel in its own context window so here it is asking me if I can
use the tool which is firecrawl scrape I'll say yes don't ask me again so it is going to use this So here mostly you can
see that it has also fall back on gina.ai AI because fire crawl credit may be over or was not able to execute
firewall that's where the resilience was also coming into play that if one of the tooling or MCP server is not working for
you you have a backup in place in order to do that you can also create multiple layers of backup or multiple layers of
optimization how you want to process your credits how you want to first utilize your free credits all that you
can configure in the agent which we'll see and currently it is using in the main window opus 4.6 six. But if I open
up the agent file, you would see that the model is sonnet. That's how you can optimize the cost as well for your usage
limits because agent runs on set while the main conversation main synthesis is happening with the results that it has
retrieved with opus. So still it is running. It has been like about 2 minutes now. So it is done with the
research. So you can see research is complete. Files are saved. the markdown file as well as the JSON top findings.
It is providing us a summary as well. Content gap. No competitor has single consolidated DIY bike guide. This guy
splits 50 pages. Devil on wheels which is my own brand. I rebranded to discover with D. Somehow it is like returning a
404 article. So that's like something very interesting. All these are competitor. The season starts here. News
hook, permits, cost reset, logistics, suggested angle I have written. And at the bottom it is also providing a
suggested NL. I have written to Ladak 14 times. Here is what every guide gets wrong about planning a bike trip in
2026. Now let's look at the output that it has provided. So if we go to our folder over here, you can see like it
will provide by post. So here the research brief is there and I'll open the MD file. So if you want to use the
JSON file in order to preview this output in some sort of a application that you may have built, you can use
JSON. Otherwise you can use markdown file for a readable format. I have a previewer as well for a markdown file
and I will open this. So you can see that research brief bike trip to Lada. So executive summary is there key
findings. This is the season time innerline permits online standard passes altitudes bike rental versus own bike
cost reality actization road conditions itary. There is a gap as well from the you know kind of competitor analysis
that it has done. the recommended angle it has provided and suggested outline it has also provided. So I mean like I can
just feed this outline to my AI agent which can create the content based on my brand voice. I can write that kind of
agent as well. It is going to produce a very detailed a single comprehensive article which is more like content
pillar article that can be used for so many other things that you know I can work on on my blog. So you can see that
it has also provided all the sources it has used and what to do next it has also provided that. So that's the research
brief or the output that I have get very actionable in nature that I can straight away work upon. Now let's look at how
this whole research agent is configured. Now we have looked at the output how it is fetching it is like I said the second
layer is composed of our own profile our own business our own competitors. So first thing is let's start with business
context. So at the top we have the purpose. This provide business context for all the research agents. The agent
needs to read this before research session. Here is the name, type, website, platform. I'll provide all the
templates or you may have already downloaded from my substack. This is the mission statement that I have. This is
the target audience that I have. The avatar 1, avatar 2. Then we have content focus area. These are the focus areas
that I write on. The revenue model, AdSense, affiliate link, sponsored content, occasional research context
guidelines. So similarly you can build your own. What you can also do is you can feed this exact same file that I
have for mine and ask clot code to change it and ask you some questions, brainstorm with you so that it can be
filled with your own business. So you can do that as well in order to create these files otherwise follow my article
and you are be able to create it. So here you can see that direct competitors are listed, adjacent players are listed,
monitoring focus is there and our differentiation that I would like to highlight over here. And finally there
is this content strategy which tells the clot that what kind of content I write. I have these content pillars. I have
this brand voice like experience friends specific numbers honest about difficulties Hindi Punjabi natural mix
safety conscious budget conscious. So all these are my personal traits it has found from all the articles that I have.
Content format 2,000 to 4,000 words root guides SEO focuses like people also ask section longtail keywords AEO for AI
assistance. All this gets interpreted by our agent. Topics we cover and topics we avoid. I totally avoid all these topics.
So the that's how you create your context profile. This is not my 100% profile. This is just a summary version
of the entire comprehensive context profile that I have. But you get the idea that this is how you build your
profile. So once you have fed that now comes the agent part. So you have to write an agent. And again you can see
over here that this agent is completely there is no code at all. Everything is like complete plain natural language in
English that we have written. If there is a natural language that you have, you can use that as well. It should work
because all these large language model understand all the languages. So name at the top which is content- researcher.
Then there's this description which is very very important because like I said I just told do a research on this
particular topic to my claude session. But then claude figured out that hey in order to do this kind of stuff this deep
research agent for topic exploration before content creation is there. So it understands it always know the contents
or agents description in its memory and that's how it basically figures out that hey for in order to do such research I
can invoke this agent. So that's the probabilistic nature of the agent based on the query. If you want to like get it
deterministic, you can use the slash command to invoke the agent as well. Then comes what type of tool the agent
has access to. So we only provide access to these tools as well as the MCP perplexity and the firewall and you
remember in the demo when I was going through it, I was running it, it asked for the permission. So that's how it
asked the permission. Then we provided it and then I also showed the model. So you could see that our main context
window was running in opus but this is running in sonnet. So in order to optimize the cost or you can also say
ops as well if you are doing something very very complex in nature through the agent and you might be running your main
window in sonnet right so that's how you can decouple then comes the content research agent you are a research agent
specialist for my blog and Indian himaan travel blog so then your role is there so this is more like the system prompt
that you are writing that basically is going to get repeated every time this agent is executed or asked to run right.
So first load these context. So before any research always load this is more like again you know following an
instruction or following a good structure of a system prompt I would say. So business context is there,
content strategy is there, competitor watch list is there, right? So it is asking it before doing anything load all
this content. Then this is should be your research methodology. What topic are we researching? Which avatar which
is primary for what content pillar does it fall under? Then do the web research. Use the perplexity tool. Run one or two
batches searches max one or three perplexity call. Search one, search two, current state, recent changes. The other
angle is competitor coverage and it can club all that into one single research or one single search of or API call of
perplexity and perplexity is going to do the heavy lifting and come back with the result. If you are using Tavi you can
use that as well. Then comes the competitor analysis. It is going to use the fire crawl in order to get the all
the scraping of the content of the competitors or any other type of content or citation the previous research has
fetched for us. Firecrawl is being used the primary and the backup like we said web fetch with Gina AI. These two can be
used as well as a backup. So now it is going to then analyze top two three competitor articles on this topic. What
angles? What did they miss? Is there any info outdated? Check our competitor watch list for any known gaps. Finally
synthesize all these findings. So this is all being done by the agent itself. And then it comes the output format. So
we have provided it that you should output the format in this particular way or structure. So this is just like a
plain JSON structure. You can ask or configure your agent to provide it in your own format as well. After saving
JSON format the output after saving the file run the formatter in order to readable summary which will be like more
of a markdown file. And finally you can see the most important part is some cost optimization keeping the API bills same.
First thing I showed you a backup of any type of error that happens which is Ginai fallback more like resilient
nature of the agent. The second one is the cost optimization. This is what makes it different from a demo to a
production grade agent. Again I'm not saying this is like 100% production grade agent but these are some of the
things or attributes that makes a demo versus a production grade agent. So I always apply some sort of cost
optimization use which is like non-functional requirement. So bad API calls are these. So good API calls club
all these into one so that I use one credit of perplexity. Uh maximum three API calls that's what I'm also putting a
constraint request concise responses check context files first and then execute and scraping fallback. And this
is where reiterating the resiliency part of it and finally some of the rules at the end as well. And that's what it is.
So that's how you just create a cloud code sub aent. Now if you have followed the entire video, understood the base
foundation of it, you are ready to build your cloud sub aents. So in lesson number four, we built one AI agent that
is [music] built on top of three layers. The first layer provided the connectivity to the outer world. The
second layer provided basically the context [music] profiles or the context about yourself that makes the AI
responses about you rather than being generic. And the third layer that was there was totally [music] the AI
instruction files for the agent itself. Every agent from here on that I'll build in this course as well as over time
[music] that you will be building with clot code will follow similar type of blueprint of these three to four layers.
So in this lesson number five, we are going to use the same three layers and we are going to build an agent that will
help you with the AEO that is basically the AI citation that you can get for your content and as well as the SEO
optimization of your public content that is out there. Well, chat GPT and Claude or Gemini have started to answer our
questions instead of getting discovered on search queries on the web these days. And if your article is not structured in
the right way so that these AI agents can site them properly for your audience, well, you may provide them the
answer, but you may not get the traffic back by citations through these AI agents nowadays. Welcome to Jenna
Unplugged. Today is lesson number five of my full claude code series. And in this video, I'm going to show you how
you can build an SEO plus SEO research agent that will not only help your content get cited in search engines like
Google, but also will help you or your content gets cited by these chat bots like Claude or Chad GPT or Gemini, which
have become a day-to-day tool in our daily lives. There is no code involved just the plain markdown files, few
context files, few settings files which are written in plain English so that you can also understand what is going on so
that your AI can understand what to do in terms of your business, your domain, your niche which you are working or
producing content on. You can see that we pointed it to a topic. It ran the entire SER analysis and then it tells us
the exact table to add the exact numbers to include and the exact angles that no competitor has touched. So whenever next
time this chart GPT cla perplexity or Gemini searches for the answer your content gets the highest probability of
getting cited in these AI assistants. Like I said we'll be building an SEO AO research agent today. We are going to
follow this agenda for the next 40 minutes or so and by the end of 40 minutes you would have a working SEO AO
agent with you. Before we deep dive into the agent architecture and start building, let's quickly understand what
SEO and AEO means. SEO you are already familiar search engine optimization that helps you rank on Google or other search
engines. Whenever you type in some query, your content gets cited right at the top. So if you want your page to
rank right at the top of the Google search results or Bing search results, that's where SEO, search engine
optimization comes into play. You optimize for Google ranking, winning the click. You think about keyword volume
and difficulty that is there and you structure your content accordingly. You have to focus on backlinks, optimizing
your titles, descriptions, headings. You have to optimize your meta tags. You have to optimize your page speed. All
this will help you get found on Google or rank on Google at the top of the results. Whereas AEO, which is today's
most important thing out there to get found or to get cited, it is optimization for the answers that your
AI assistants are providing. In this case, you are not going to win for the click. Rather, you are going to win for
the citation. And what does citation mean? Let me quickly go and search for something like you know claude versus
codex. Right at the top you can see that AI overview is there. So this is Google Chrome but if you go to chat GPT and
search this query that's what we have been doing these days right or claude itself or perplexity you are going to
have some answer by these AI assistants and when you can see at the top this is basically the citation. So whatever
definition or the answer that it is giving right at the top it is also citing the name or the link of the
website basically that it has sourced this content from. If I expand it a bit so you would see that there is this one
as well then there is this one as well. So throughout the answer of this Gemini AI assistant it has cited various
websites and if I scroll down so these are all the links that are basically the search engine optimized links. If this
site is getting listed right at the top that means it is search engine optimized based on all the things that we were
seeing like its back links are there, metatags are there, page speed is good. So based on all that Google is ranking
it higher than all other websites which are there. But AEO is for getting the citation in the answer the AI engine is
going to provide. So finally you would become more like a source in chat GPT or claude or perplexity results. So that is
what AEO is and our agent that we are going to build is going to help with SEO as well as AEO. Before setting up this
agent you need to have some prerequisites in place. Number one is you need to have a cloud AI
subscription. You need to be either on pro plan or max plan. You need to have cloud code installed on your system or
claude desktop app so that you can use this agent in claude co-work kind of a setup. I'm going to cover the cloud code
part of it but migrating it to co-work kind of or co-work style of an agent is also very straightforward with all the
files that you are going to build today. I'm going to cover the co-work versus clot code in some other lessons. For now
let's focus on cloud codes. And the third thing you would need is tavly setup. Tavi is a tool that we are going
to use which allows our agent to connect to the web for searching, crawling, researching, extraction of the content
and I'm going to show you like how you can set up that account and fetch the API key as well. So now looking at the
architecture of this agent, it's an architecture or a blueprint that I use for most of my agents. If you understand
this architecture or blueprint, you can build almost any type of agent in clot code or sub agent in clot code. So right
at the bottom I call layer number one that provides you the data sources or tools or interconnection to your agent.
Today we are going to use Tavi MCP. So like I said tely if I go to the Tavi website. So it is a platform that helps
us connect our AI agents to the web. It will help us do realtime search extraction research and web crawling
through a single secure API. So that is our first layer. So why do we need this kind of data source layer or integration
layer? Well, this layer helps you provide the external intelligence. If you followed the lesson number three
where we talked about what MCPS are, why they are needed, well, they help us provide AI agents, the external
intelligence. What we mean by external intelligence is that all these models that we work on with AI, they all have
some sort of a knowledge cutff date. And what I mean by knowledge cutff date that they are trained on the content data or
knowledge that was only prior to that particular knowledge cutff date. Opus 4.7 has somewhere around November or
December 2025 cutff date. So claude opus model will not know what has happened after that knowledge cutff date in the
world. So if I want something real time it won't know. Claude Opus does not understand my context, my business. It
does not know what the current weather is. It does not know what current events are happening. It has to do some sort of
an integration with an external app. Similarly, if I have a CRM running in my local system, well, it will not know how
to connect to it. So, that knowledge it does not have. And this data source layer or integration layer that I call
layer number one basically provides this kind of external intelligence to our AI agents or AI tool behind those AI agents
which we are building. So we are going to use Tavi over here and like I said why I have moved to Tavi is because
earlier I used to use perplexity plus fire crawl combination. So that means there were two tools that I had to
maintain or two MCP servers that I had to maintain above all,000 credits are totally free. With perplexity I would
have to always upload at least dollar five credit. So there is just one key and one stack that can help us with the
entire processing at the data source layer or integration layer for this agent. Second layer is the context
layer. Well, this is where our business brain is. This is where we provide the knowledge of our own context. Who am I?
What I do? What my business do? What my competitors are? What is my content strategy? What is my business strategy?
What goals I am focusing upon? All this I call this context layer that we have to provide to our agent. So that the
entire information that it is searching on the web can be synthesized with this information and then provided back to
us. Finally, we have the main brain which is the layer three called agent file which is a plain markdown file and
I'm going to show you it has like the entire five-step methodology that is more or less what we want agent to do.
That is what has been defined. It has some cost optimization rules that like max three table calls. Sometimes it will
return the results in less than about a minute. So this is like a three-layer architecture or blueprint that you can
use in order to think about an agent in cloud code always. So if I go down a bit. So this is how the flow works. So
before I start building in front of you, I want to also show you how the flow of the agent works. Let's suppose when we
build this agent, we will be able to access it with the help of SEO search/comand
or we can invoke it to search something like how to get cited by CH GPD, right? So cloud code is going to see that I
have an agent to do or fulfill such an intent that user is asking me to do. I'm going to invoke this SEO AO research
agent. Right? So once that agent is invoked, cloud code loads the agent file. Then it is going to read the
context profiles that we have first. So it is going to read all the files which are there in our context profile folder,
the layer 2 at the top. And that's how it understands what my voice is, what my business is, what I'm targeting, what my
competitors are. There could be more files as well. I'm just showing an example over here. But if you look at
the real example or real build that we are going to do, there are three files. The competitors are also there. So that
more enriched information is there. Then we are telling it that make two search calls. Okay. Uh which would be more like
the keyword research which is a batch query. SER analysis depth is advanced. And these are all the capabilities built
into Tavi. You can use perplexity as well. If you are using perplexity for this type of thing, then it is going to
extract the content of top three URLs. It is going to extract the featured snippet and the real volume and the real
difficulty it is going to map. Similarly, it is going to in parallel do a Tavly research as well like how chart
GPT perplexity answer today, what's missing from current citations, recommend the answer format, specific
citation opportunities and this is where the differentiations from the existing tooling starts. Finally, it is going to
filter all this data that it has fetched from the internet and kind of a little bit synthesize in generic way through
our own voice through our own format because now it also understand our own context like which table, which number
which angle filtered through all the business context that we have provided in the layer two that we had in our
agent. And finally, as a step six, it is going to provide a structured JSON as well as the markdown. You can see that
it is going to have the primary keyword, longtail keywords, the SER analysis would always be there, the AEO citation
opportunities, the competitor gaps, all will be put together in the form of a JSON and markdown file. Markdown file
you will be able to read in plain English. JSON you can plug in into your app or UI whatever you are building. And
that's why we are going to build both the output format so that you can visualize the output that is being
produced in the form of a JSON if you plug it into some sort of an app over there. So now this is the overall
architecture and the flow. Let's go and start building our agent. Let's first go ahead and fulfill our prerequisites. I
have already installed clot code. I hope you have already done that. I have a cloud max plan. You can have a claude
pro plan as well. So those two are satisfied. We'll move to the table part of the prerequisite. So you can see
there is sign up button, there is login button. You can use either of them. If you already have an account, you can
login directly or you can sign up. I'll click on sign up just to show it to you. So you can see I can authorize from
these login as well or I can have my email ID over here and start the sign up process. But I'll use continue with
Google. I'll use something like this just a random email that I have not used already. I already have an account with
me. So I'm going to like use this. Then I'm going to continue. All right. So I'll just say cross. So this is the
screen that we have and you can see that they already create a default key for you which is this key right? So this is
the API key that we would need. Now on the left you can see that Tavi MCP is there. If I click on it will provide you
the instructions on how to set up the Tavly MCP. So if you scroll down a bit on this page you would see cloud code.
So cloud desktop is there. OpenAI is there and you can see connect to cloud code. So cloud code natively supports
MCP server or remote MCP servers with OOTH authentication. So what it means in plain English is that whenever you click
on the login, it is going to take you to the table screen. You are going to login over there and the authentication with
your cloud code will happen. So this is the command that we'll be using. You can see that there is no key over here right
now. So let's go to our project folder and start building the agent. So I'll keep this page open and I'll move my
Visual Studio Code. If you're following my course along, I use Visual Studio Code integrated terminal in order to
access the cloud code. I don't use the cloud desktop app. So this is the Visual Studio Code. It's a free code editor.
You can install it from the web itself. So now over here I'm going to like close this and I'm going to start a new
terminal by going at the menu at the top and clicking on new terminal. So over here we have started this. Now I'm going
to write claud. Okay. It says trust this folder. Yes. So we have already created an SEO agent folder and I'm going to go
through the files that we have and how the entire three layer architecture is structured one by one. But before that
we have to fulfill the prerequisite of Tavi. And now if I go back to the page over here. Let's copy this and let's
come back over here. So we just copied the command from this particular page of Tavi. And I have pasted it over here.
Nothing is there right now. I'm going to click on enter. And now the claude is going to help us install this MCP for
this project. So I'll help you wire this MCP. Let me check existing setup and template config. So claude has started
working and helping us set up this tavly mcp. So heads up before I start the command you paste it won't produce
working server for two reasons. No API key. So it is unable to add because the command that is present over here does
not have the key. So let's add the key now. So let's copy this command and let me say that I'm going to use this. Okay.
And here we are going to delete this your API key and we are going to go back to our table account. So this is the
table account and you can see the key is already there. So we are going to just click on this copy icon and I have
copied that and I'm going to paste it over here and then I'm going to say enter. Now it is asking the scope of
this MCP server. So I'm going to say local and then I'm going to submit. So now it has the key that we have just
pasted. You can see now the full URL is there. Running the CLI add with your key local scope. All right. So Tavi is
connected. Now I'm going to exit out of it so that the connection is refreshed. Now I'm going to say cloud again. Let's
clear this and then say let's clot let's write / MCP okay so that you can access the MCP server. So we are going to see
that the tavly is connected and if I click on enter we click on enter again for view tools and you can see all these
five tools are available to us. Tavly search tavly extract tavly crawl tavly map and tavly research. So with this
table we have completed the layer one setup which was the integration layer or data layer that is going to provide
external intelligence to our SEO AEO agent. Now comes the second layer which is basically your context layer. So how
do we have that context layer structured? If you look at this folder over here I have this dot load folder
that is where all the agents the skill all goes. I like to keep my context profiles and research outputs as well
into it. You don't need to do that. You can like put your context profiles and research output in the main folder of
the project itself. So you can see there is a folder called context profiles over here. So if I expand it there are three
files in it. Business context competitor watch list and content strategy. So let's look at them one by one. We don't
need cloud right now. We're going to just go through it. So I'm going to minimize it. So as the purpose says this
provides the business content for our SEO AO agent. The agent reads this file before every research is run. Company
identity name is there discover this is my travel blog so type is travel blog Indian Himalayas website
discoverwithh.com platform WordPress 562 post 14 years plus of the history so this talks about
my mission statement this is where I have avatar A and avatar V which are my ideal customer profile some people call
it ICP as well this section talks about the content authority what region is there how many posts are there what the
authority I have like highest very high search intent and all that then I have defined the revenue model Google AdSense
affiliate links sponsored content very occasional competitor positioning these are some of the competitors that I have
and then you know our edge is 14 years of firstand driving and riding experience specific numbers finally the
research length that we want agent to follow so that's how we have created our business context profile you don't need
to worry if you do not have this right now I'm going to provide the zip file of all this content the entire scaffold of
the project you can download it and you Extract these files, dump it in your AI like cloud code and ask cloud code to
interview you so that you can configure these profiles which are right now configured for me. You can configure it
for your own business for your own context. Next is the content strategy file. So you can see over in the content
strategy file I have the content pillars defined. So root guides, how to practicals, road status updates, trip
reports, comparison/deision content. These are some of the examples of the voice rules that I use like conventional
like advice from a friend who has been there. Specific numbers not wait 12 hours from Manali, not a full day from
Manali. Right? And then format preference I would have cost budget as table root guides as numbered steps plus
map permits and how-tos as step-by-step lists comparison sideby-side table. Trip reports narrative paragraphs. This
section is important. What makes a site table for AEO? firstand specific no vendor has actual fuel cost actual dhaba
names actual altitude these are my personal experiences or things that I know this is called something e which is
more like signals that basically a person individual person has experience sharing that AI will not know for sure
right that increases the probability of getting cited better in these AI citations then original tables
contrarian data Hindi mix language that AI assistant struggles to fabricate. What we won't
publish generic top 10 list with no specifics. Anything that requires us to pretend vendor relationship. We don't
have luxury travel angle or influencer style inspiration post without any type of practical value. So that's basically
my content strategy document. Again, it's a sample of it. You can use it like the way I said I will interview you and
fill this strategy and you can even optimize and expand it a bit more. Finally, I have the competitor watch
list. These are my direct competitors. Section talks about how to use this in research when running step three SER
analysis for a topic. Ask these domains in Tavly search to see what direct competitors have already published on
that topic. That makes the competitor analysis output section sourced and not assumed. So that is why it is very very
important to do that. And this is you know my own website. Earlier it used to be develonwhees.com. I rebranded it to
discover with lately. So I'll just remove that and I'll remove that from here as well. So these are the three
competitors that we need. What to look for competitor? Thin or deep coverage, stale current, missing our angle, our
differentiation, firstand driving experience, specific numbers, Hindi makes natural language, safety first
framing and no commercial bias again you know this is something that is repeated again but this is how the context layer
is built and this is how you can build your context layer as well. Now comes the third layer which is the agent that
is the brain that is there and that is present in the dotcloud agents folder. As you are following this course of
claude course you must know that we need to create an agents folder under dot cloud folder so that our agents are
available throughout the chat and other places in the project. Here I have a file called SEO-o-earcher.md.
This is also a plain English file which is more or less the YAML file that we call at the top. This is like a YAML
descriptor over here. Uh and what it means is that you are providing some key properties of the agent starting with
the name of the agent. So name of the agent is SEO- AO researcher. You can call it some fancy name. Some people
provide like people names to it. description it is telling SEO AO answer engine optimization research agent
delivers real SER intelligence as well as AI citation strategies for live web data via Tavly MCP server and filtered
through the business context profile. So this is the description that claude code or claude cowwork or claude ecosystem
will use in order to invoke this agent if there is any intent in any of your query that is there. So if you ask do an
AEO research or SEO research on topic of bike ride to Ladak. So you have just conveyed it in plain English or
conversational English. So how does clot code would know that I have to invoke SEO AU researcher? You did not tell it.
You did not use the slash command to invoke it directly. Right? So this is where it is going to make a
probabilistic match with this description and know that I have an agent to do this job. I'm going to
invoke that agent. So that's why this description is very very important and this is the tools access that we are
already providing it. No need to like you know think about like that you have to code it over here. You can ask cloud
code that hey I have connected Tavi go and search all the tools that are available in Tavi MCP for you so that
you can update my agent file if you already don't know about these tools. Finally I have the model as sonnet. So
this is the beauty of the agent. we have already talked about in past lessons. Well, you can define your own model over
here and that agent can run with that model. If it is a simple job, I can have haiku. If it is a very complex job, I
can have opus over here. It is not going to inherit the agent session. So, if I expand my cloud code over here, you can
see right now the session is running in opus 4.8. Right? But this agent because we have defined model equal to sonnet
over here. when the agent is invoked through this chat, it is going to run with sonnet model. So these are some of
the properties that are required to start the agent configuration and then we have the agent definition. This is
more like a system prompt that we have right you are a specialized AO research agent researcher not a keyword tool.
Your job is to deliver real ser intelligence and AI citation strategies source from actual web data filtered
through business lens. Every recommendation must be citable. every output must be actionable. This is the
session protocol that I want. So read the memory file first. So we have like an me memory file as well. So that this
agent can improve further and further as more and more runs are made. Then you have read your business context. So we
are providing the business context profiles which is present in our context profile folder we just saw. So that's
where we are providing the path and telling it what it defines. And then similarly content strategy and computer
watch list. So this is more like I call like a session startup protocol for any agent that I generally uh develop and
then what to do user give you a topic you run three tablely calls and keyword research SER analysis and AO synthesis
and add a strategy document the human hands to a writer the writer should be able to write a winning article without
any additional research then you have a research methodology this is where step-by-step process is given that we
were talking about when we were going through the flow of the agent that you need to first understand the topic. Then
you have to do a real keyword research using the tably call, right? Then we have to do SER analysis with one table
call and extract. So this is where we are going to extract the content of our the top three results that were there or
the competitors as well. And then it is going to do the AEO synthesis which is like one Tavly call and deep research
mode that we are going to invoke through Tavly for us. And then you can see this is what we are saying that we have to
capture how AI currently answers the query. What is missing from the current citations and recommended answer we
already talked about that we want to answer in table format or list or paragraph and then we are going to cross
check and recommend against the content strategy format preferences. So that's where like it is basically going to map
out or synthesize the content with the context that we have and finally it is going to produce the output and we have
defined the output format. You can see we are telling it that every claim must trace back to a tablely call or context
file no invented data so that this agent does not hallucinate and create information on its own and that's how we
want it to save. So in the dotcloud folder research output so we have a folder here uh research outputs left
right at the left of the tree you can see bypost I want by post. So this is like already done couple of researches
that has already happened in the past. So that's how we want it to structure as a name of the file SEO research post ID
do.json. So this is the JSON format again a way of structuring your information but this is like just one
format that we are saying and you can see that we are having metadata post ID topic generated at Tavly calls made.
Three Tavly calls are made primary keywords are there and then we have secondary keywords. Then we have
longtail keywords over here. The SER analysis like the how the ranking will work, how the average count is, what are
the featured snippets that are there. The AEO opportunities. This is what we are mainly interested in. AI current
answer citation opportunity so that we can embed that into our content. This is the most important piece of this
particular agent output that you are going to have the citation opportunities that you can embed or structure in your
content so that you start getting cited over there. answer format recommendation, answer format rational,
competitor analysis also there and differentiation opportunities. Finally, some meta recommendations like SEO
title, meta description, URL slug and the sources. Once you have this entire information of JSON, you can also
convert that into a MD file that can become more like a human readable file. So that's how the entire algorithm of
the agent is simply plainly defined in plain English. And now at the bottom I have like couple of things like memory
versus output. This is like the two-layer knowledge system that we are going to build. So this is where all the
outputs are coming right. But we have a memory as well that we are saying how the user want research reframe
preferences only right. So basically this is where we are going to tell explicitly like for example update the
memory only when the user explicitly say they want something different. If I don't find anything good about the
output, I can say that hey add it to this memory that next time don't do this type of research or filter out these
type of results from the research that you are conducting. So that's how you keep on adding your value your inputs to
make AI better as more and more runs are being made. Then if we go down we have some guidelines on the table usage as
well. Remember we have 1,000 credits per month only and we don't want to burn all the credits all in one research that we
would do. We want to make it last the entire month. That's why these guidance are present over here. These are some of
the cost rules. So Tavi usage guidelines. This is Tavly search. This is Tavly extract. This is Tavly
research. And then finally at the bottom how many calls are you permitted to use? So for Tavi search I'm limiting you to
two credits. I for search advance I'm only limiting you to five and these are some of the hard rules and finally the
quality rules are also defined over here real data only au comes first filter through business context recommend
format is this content strategy MD that's where the recommended format is present never report a competitor gap
without a source URL so that it does not invent anything or hallucinate anything the output is strategy not a keyword
list right So most of the tools would provide you the keyword list without actions. But our agent is different
because it is going to provide you actionable things that you can perform or act upon so that your content gets
started to site in AI engines or it gets started to rank higher in the search results. Finally, we define the
personality that direct lead with the primary keyword and top AU opportunities not the setup decisive. Always recommend
a specific format and angle never hedge sourced. Every claim should have a URL or a context that is referenced. And
finally, everything is filtered through our business lens or the context not repeating what Tavi returned as a
generic research. Right? And this is finally the folder hierarchy. So that's how the entire agent is structured. So
where are you going to find all this? Well, you can go to my Substack. If I open my Substack over here, it's genius
unplugg.substack.com. Um, so if I go over here, you can go to this cloud code tutorials. At the
bottom, you would see that there is an agent. I built an AO SEO research agent. If you click on it, it's a free article.
You can go through the entire uh article over here. Just be a subscriber of my substit. That's all I ask you to do.
It's free subscription. You'll have all the files available. All the setup instructions that we are just going
through. available over here. So you can download it and then run it. Now comes the moment that how do we run this
right? So now let's open the claude again. So let me just expand the claude window. So now the entire setup is done.
Let me get out of this. Escape escape. So now we are out of it and I'm going to expand this. So here we can just say hey
can you do a SEO AO research on bike ride to Smithy Valley in 2026. So you can see that I'm not invoking any type
of agent over here. So you can see now it's saying I'll run an SEO AO research agent. I did not invoke it. It mapped
the intent of the question that I asked it and mapped it that hey I have SEO researcher agent and then I'm going to
invoke SEO AO researcher agent. And you can see that agent is running in the background in parallel in its own
context window with its own model which was sonnet that we had configured. If this agent was running in this window
then it would basically use the context size of this window and the model which is like the opus that I don't want. So
that's why it is important that for such heavy delegated type of task you build claw sub agents instead of working right
inside your interactive window over here. So it has almost completed the research. It has been about I would say
minutes or so. You can see it is writing the JSON file. So it is asking me the permission now. So let me go ahead and
provide it. Yes, allow claude to edit this own settings for this session. Going to close all this. Expand it
again. You can see that now it is going to write. I think I was in auto mode over here and the permission of writing
the file was getting denied. That's why it was not able to write it. This should have been written by now. Let me go and
expand the folder over here. So if I go to the research outputs. So you can see that the third file has been written. So
if I expand it a bit so you can see at the top there is a third file as well. I think like I used a similar query before
as well for Manali lay bike ride but this was the bike ride speed py valley 2026 that's the file that it has written
right now. So if I open this up you can see that the entire detail is present. So all these phrases are like our
secondary keywords. These are our longtail keywords and this is like the SER analysis. This is what people also
ask. These are the you know questions. These are the citation opportunities like fuel stop table number permit list
label cost breakdown table with rows road condition calendar table month altitude warning data at specific
kilometer markers. So this is what will help us get cited. If somebody is searching or asking chart GPT or claude
or perplexity or Gemini these types of question if we structure our content with all these citation opportunities
there is a highest probability that our content will start getting cited over there and it has written the MD file as
well. So you can use the MD file which is the markdown file and there's a previewer as well. So if I click on this
you can read it in plain simple English as well. So let me like just expand it a bit and then like let me expand here. So
this is the primary keyword bike ride to speedy valley ladak volume is high difficulty is median opportunity is high
over here and then top AO opportunities lead here which is what we told AI agent to do you can see that all these are the
opportunities that we should have I just talking about it then recommended format and angle format deep guide with five
anchor tables and then like target length is this secondary keywords are this where to use longtail keywords to
work naturally ser findings over here EO citation strategy. So table 1 2 3 4 it is providing you the entire strategy.
You can input this into a writer agent and then writer agent is going to write the draft for you and then you can
quality edit and you can see that all the meta recommendations and sources are also mentioned over here. So that's the
output of an SEO AO research agent that you have built today. I hope this you will found it helpful especially if you
are a content creator. This is a must-h have AI agent to build and you can see that we had built this in about 40 45
minutes or so minus the commentary minus the theory that I had. Now you have two AI agents working for you [music]
but the problem is that they do not know anything about each other. In this upcoming lesson, we are going to solve
that and we are going to create a team of AI agents so that they can work together or in parallel by taking the
input from one agent to another agent and perform the entire job for you [music] as a team of AI agents so that
you get removed as a middleman from the entire process of automating a certain system for yourself or your business.
When I started with clot code about 6 months back, my context window used to keep running out. I was not doing
something particularly wrong. Rather, I was doing too much in the same context window. I used to research about a
topic. Then I would have competitors analyzed about that topic. Then I would write a 3,000word draft article. I would
run that against my brand voice guidelines. Then I would have SEO done. And by the time I would have to run the
quality audit of it, claw code would forget what was the topic about. The context window would run out. Many
things in its audit would get misinterpreted and that was causing issues because claude code would start
going in circles and circles and I have to fill the context again so that the entire cycle could be completed. The fix
was not writing better prompts or shorter prompts or shorter descriptions. Rather it was delegating the same work
to specialized agents called claude sub agents so that they can have their own context window. They can have their own
specific guidelines, own specific job description. Welcome to Jennai and plug. Today is lesson number six of my claw
code full code series. In the last couple of lessons, we built two individual agents. In this particular
lesson, I'm going to show you how to build a team of agents where we are going to build a researcher agent, a
writer agent, and a reviewer agent. And how we can orchestrate this team of agents to automate your content
generation pipeline. The same concept is applicable to not just content domain rather any domain or business that you
are working on. So let's get to the screen share and start building. Before we start building, let's first
understand what a claude sub agent is. Well, a clawed sub agent is more like a claw instance which run in its own
context window separate from the main window that you are using in order to converge with claw code. You do not see
what the steps are being performed by the agent because it is running in its own isolated context window. rather you
get back the results that you can further evaluate or synthesize within the main conversation window that you
are having a conversation with claude code. But sometimes you also want to see how the work is flowing and that's where
skill will come into play that if you want to see how the steps are flowing or being executed in your main context
window and you are okay to share or inherit the whatever context that you have in main conversation. Then you can
invoke a particular skill because now as a human you are orchestrating that particular session with the help of a
skill that you know about. Similar way I can equip my sub agents with various skills. As humans or employees we have
different skills to execute or perform a particular task or duty on the job. Similar way we can have different skills
attached to a particular agent so that they can use those skills in order to complete a task or a job in parallel and
then return us the results back so that we can evaluate the results in the main context window or synthesize them in
order to perform a much bigger task. So that's the main difference between a skill and an agent as well and that's
the mental model that you should use when you think about whether I should be creating a skill or whether I should be
creating a sub agent for it. Now let's quickly look at why do we need this separate context window at all. Well, if
you look at this diagram, you can see that if I'm having like a single conversation, I have a research going
on, I have writing going on, I have review going on, and there is basically a set limit of a context window based on
the model that you are using. For example, Opus provides you 1 million context window size, right? Whereas
Sonnet, you can have 250K token context window size. So in that case if I'm let's suppose doing a research in a
single conversation it would fill up certain context tokens right similarly if I do writing then it would fill up
the other part maybe it reaches 80% of the context window that means the context starts getting tighter and
tighter so that means when the review is going to happen it might invoke compacting right in the middle and
review might need certain aspect of research that it might not be able to process or synthesize fully and that
ways the quality of review might degrade by the time and it may assume certain things that you may not like. So that's
why it is important that if we have to do three separate activities, we can break them into focus sessions which is
like researcher gets its own context window, writer gets its own context window of 100% and reviewer gets its own
context window. Then based on the workflow that you are automating here I'm automating research write and review
pipeline. So I have to be sequential in nature so that writer can actually inherit everything about research again
and reviewer can focus on the review aspect of it. So that's where they can carry their own task without forgetting
anything. That's the importance of the context window and that's why we need the clot sub agents. Now if you look at
there are some of the built-in agents that you may have already seen in work when you are working with cloud code.
For example, sometimes you might have seen that a haiku agent is provisioned by your main context window so as to
quickly understand or grasp what is going on in the repo. Similarly you may have seen a plan sub agent as well. You
may have seen generalpurpose sub aents as well which is also used to invoke other sub aents or agents that claude
code has access to in order to orchestrate a multi-step complex task for you. And the most important quality
the sub agent should have is that they should act as specialist rather than generalist because if you have specific
agents they will be able to perform a focus session and the output would be much much better for a specialist than a
generalist. That's why we are here to build this team of agents today. Now let's look at how a particular cla agent
looks like. What is the anatomy of it? Well, you can see that how you can configure a claude sub uh agent in
claude code is there is a name. So for example here the name is content researcher. Then you have the
description in place. This is the description where you basically tell so that claude code can identify which
agent can be invoked. So like we have already learned in this course that there is a probabilistic nature of
invoking these sub aents or invoking these skills. The description helps claude code understand what sub aent is
available and when I'm trying to ask something to be done like example a research needs to happen for my
particular topic then claude code won't know from the intent of my query or the prompt that I have a particular agent
named content researcher and the description when it loads in its memory it would understand that hey I have this
agent I'll use this agent to complete the task that he is asking to research upon. That's why it is important to put
a clear description in place so that there is a high probability of invoking this agent. Then you can have a specific
model as well for a agent and you may have your main context window running with opus whereas the agent can run just
in haiku or sonnet or opus itself. So you can define which type of model you want. You can also have inherit so that
it inherits the model from the main context window. Then we have effort. Here we are defining medium. This is
like letting the claw sub agent or claw code how much we want it to think or how hard we want it to think. Then I'm also
providing access to the tool this agents have. This has web search, webf, tavly. So again you know you can see mcp
servers also I can expose perplexity firecrol and the best part is that I can also have disallowed tools. So right now
for a content researcher I don't want it to write anything right. So I'm having disallowed tools as edit and write so
that it this particular agent does not accidentally write anything right skills. So this is what I was telling
that you can equip your agent with skill. So here I'm also equipping my agent with SEO check. So that means if
content researcher is invoked SEO checking is also being performed with the help of a skill that I have already
defined. So I don't need to document the skill again. and I'm just equipping my agent with the skill that is already
existing. Then we have permission mode. This max turns is when like sometimes the agent will go into a loop and you
want the agent to get out of the loop. So we are saying that if you are stuck in some sort of a loop then just 20 max
turns is what you have to execute. Don't execute like infinitely. So that's another important property that exists.
Similarly, memory we want to have at project level or local level or user level. So that's another distinction
between a skill and an agent. That skill cannot maintain the memory. Whereas agents can maintain the memory at three
levels. And in fact local can be customized as well as we'll see later in the lesson. Then I can also define
whether it can run in the background or whether it can run right in the context windows. Finally the isolation work
tree. So this is more like a technical concept but I'll just skip this just to keep it fairly non-technical. So these
are all the properties or configurations of a particular agent and they are also termed as YAML formatter on top config
markdown below the instructions. So basically below these these three dashes the entire instruction set that what job
or what task that you want agent to execute more like a system prompt the detailed system prompt can be specified
below it. So agent is going to follow those instructions with the help of this configuration. You do not need to
specify all these properties. Some of the important properties I would say of course name you have to give in. So give
it a name. Then you should have a description. Then tools allowed tools or disallowed tools again to limit the
scope to define the boundaries of the agent. Memory I want like project it compounds over time. It helps you over
time. Agent learns from the memory. Max done all base I define so that it does not enter into infinite loop and skills
also that I want it preloaded or equipped with what type of skills so that agent already knows about them and
can invoke whenever the time comes in its instructions that you have defined. Now enough of this foundational theory
but I wanted to cover this foundational theory because this is very very important to understand so that you can
build very efficient claude sub agents in time to come. Now let's get to the screen share and understand how you can
build these agents with the help of a live build. So before we go over there again I'll like to show you the diagram
or the architecture of the agents that we are going to build. And like I said today we are going to build a three
agent content team and how the architecture or blueprint of it looks like. It inherits the same architecture
or blueprint from the previous two lessons where we built couple of individual agents. If you have not
followed those lessons, go and watch those lessons because the same architecture I'm extending over to a
three agent content team as well. As you can see right at the bottom, it's set of tools and we already talked about what
MCP is, what this particular layer, this is like our integration layer or tools layer or data layer which provides
external intelligence to our cloud sub agents. What do you mean by external intelligence? Well, all these clawed
models that exist or any type of AI model, they have a knowledge cutff date on which they are trained upon. Now,
this particular layer provides external intelligence, which means external knowledge that these AI models does not
know about that means anything that happened after that knowledge cutff date. Example, I think most of the
models are November 2025ish these days, the knowledge cutff date. So whatever has happened after that they do not know
about it. If they want to do some sort of a live search they do not have that kind of knowledge with them. They do not
have knowledge of my YouTube comments that on my channel are being generated. My CRM data what my customers are they
do not have access to that knowledge. So I have to provide the knowledge. So that's why at the bottom the layer that
I call in my agents blueprint is the tools or the integration or data layer where in this particular three agent
team I have tab MCP that will provide the ability of searching extracting as well as crawling various websites and
then I have access to built-in tools as well which are read write edit grab glob so anything that is required to write
files write content read content by cloud code is also provided at the bottom in this layer which is like more
or less inbuilt that's why you see a different color but the tavly MCP is the main key over here because that's the
one that is required to do research search extract crawl and we have already seen how to configure that I'm going to
quickly show that as well then comes the memory layer which is like again an optional layer if you are getting
started with it you can skip this layer but here I'm defining a memory which is very much customized in nature So that
per agent it learns from it and then that learning gets compounded over a period of time and agent behaves more
and more in an expected manner as we do because we are feeding the learning layer so that it learns over a period of
time and we'll see it in action in a while. Then we have the context profile. This layer is most important layer
because this is going to turn a generic AI response to a response that you as an individual with your own business with
your own context will produce when working with AI. Right? So that's why it is very very important to create this
context profile and I'm going to go through all these files as well yet again in this lesson too and I mean
previous lesson we have discussed all these three things in detail. So go and watch those lessons as well and then you
can come back over here to understand that everything has been ported from that architecture over here. Now right
at the top you can see instead of like just one agent now I have three agents which is like researcher, writer and
reviewer and in the researcher I have the functionality of Tavi search extract and crawl which would write to research
briefs folder. [snorts] Writer has access to read and write file only and it is going to basically write to drafts
folder and reviewer has read only capabilities of tab verify. So there is no edit happening and review is being
reported over here. So this is where the brain of our entire content generation pipeline exists but this brain is
scattered among three particular agent orchestrated by our main window as we'll see. So again a quick overview or recap
of how a cloud sub agent architecture or blueprint look like. Let me open Visual Studio Code and start showing you how
our context profiles are set up and how all these layers are set up in our ecosystem. So over here I have opened
Visual Studio Code. As you all know that I work with Visual Studio Code and an integrated terminal in it. So I'm going
to start with the the top of the menu there is terminal new terminal. I'm going to click and you can see at the
bottom a terminal is open. I'm going to click on this expand button. So it will expand over here and I'm going to write
cla right. So this will start claude code in this particular folder. And like I said, Visual Studio Code is a free
code editor that you can download for free and use it. It provides you the access of the terminal over here as well
as it provides you access to the files. So whatever cloud code is doing on the right, I can quickly see and verify what
is happening to my files on the left hand side. So it is asking for me to permission to allow external imports.
Yes, I'll allow it. It might not give you that because it is nested in a folder which is my entire my business OS
operating system that I have created. That's why it asked it will just ask for a permission to access that particular
folder. Provide that permission and you would see something like this. So right now cloud code is started. So you can
see that this is the main context window and agent is going to run in separate windows. So that's what I was talking
about over here. So this has its own context limits. Left hand side you see I have dotcloud folder. I have context
profile I mean diagram I just showed you that's like more like temporary for me or and optional for you. Then this is
the draft folder where all the drafts will go. Some prompts I have uh written pre-written for you as well as for this
demo purpose as well. So those prompts are mentioned over here. And then I have research brief. So whatever research
agents will provide that would go under over here. Then I have brand voice guidelines over here. So everyone like
who works with AI they must set their brand voice or establish their brand voice. If you have not done that I have
a free tool as well on my website. So go to my Substack and access the tool which you can access for free to create your
own brand voice as well by interviewing with it and getting a MD file or a JSON file whatever you want from it. I'll
drop a link in the description of the video as well. So this is where the brand voice guidelines are. So you can
see like you know this is for my brand called discover with Dhir. So if I open the browser, so discover with Dhage is
my travel blog. I have been running it like for 17 years plus. Uh it's all about Indian trans Himalayas high
altitude and everything. So that is the example that I'm going to use over here and more or less this whole example this
whole set of agents or team is more or less in place. So this is like an abstracted out version of the detailed
pipeline that I have. But this is more or less what you will need in order to automate it and then fine-tune these
agents for you. So this particular brand voice file provides the voice profile that I have. What is the audience? The
tone register and then like structural rules the what how the first sentence should be how the paragraph should be
how the sentences you know average 20 words split anything over 30 words numbers voice local words that I used
dha chai maggi nala rasta right so these are like some English word Hindi English mix words that I use required elements
every root guide how to again you know forbidden phrases numbers and freshness what good sounds like. So this is
basically an example that I created based on my 17 years of writing. Again it's a snippet of the exact file that I
have. Just want to show you like how the structure is. So this is the brand voice over here. So now let's talk about layer
by layer. So we at the bottom we had like a base layer. So there were like some agents. So if I go back over here
so there were like these tools built-in tools read, write, edit, grip. So these are all claude code internal tools that
it can invoke anytime. Right? So now the other part is the tably MCP. So we are going to first configure the Tableau MCP
for us. So in order to do that you can go to taby.com. So you can see that it can do a realtime search extraction
research and web crawling through a single secure API. Right? So that's why I use taby. Earlier I used to use
perplexity and firecrawl. You can use the combination of the two but this simplifies my text stack. So I can
login. You have to sign up first. So if you are not signed up just sign up. use Google login or any login that you want
and then like sign it up. So I'll just say continue with Google. I'll use my GIA unplugged account and I'm in. So you
can see this is my plan. This is the key over here. Over here you can see tabi mcp. So if I click on it so this will
provide me the instruction how I can configure it in cloud code. So if you scroll down at the bottom so you can see
like different. So this says how you can connect to clot desktop. But if you keep scrolling down, you would see that how
to connect to plot code. Right? So over here like it's giving me this particular command. So I can say that I'll just
copy this. I'll come back to Visual Studio Code. I'll just expand it now. And I'm going to use exclamation mark.
It invokes the shell mode. So that means it is not a command that claude code is going to execute. Rather it is more like
a command line prompt. I can execute. So this is a command line prompt that we have. Cloud MCP add Tavly remote MCP
transport protocol HTTP and this is the URL that I want. So if I click on this enter so it added the server for us.
Right now the server is added but it is not basically invoked and you can see that it has been added at the project
scope of three agent content team. So over here so right now nothing will happen. So we have to exit first. So we
have to restart the clot. So I'm going to like say clear again. So that and then I'm going to say plot and here I'll
write MCP. Okay. I think something happened in the last try. So I just write / MCP again and enter. So you can
see over here Tavly remote MCP. It's a local MCP server for this particular project. It needs authentication. I'll
just enter over here and I'll say again enter and authenticate. It opens the authentication window. And here I have
to login with the same credentials that I used in order to add it. So I used my ji unplugged email. So you can see that
authentication is successful because I was already logged in. So now over here authentication successful connected to
taby remote mcp. So that means our first layer which is the bottommost layer of providing external intelligence to our
model which is opus in this case and other agents have the access to it. So that is now available in our project
workspace. So first layer is set up. I'm going to skip the memory layer for now and I'm going to move to the context
layer so that you can understand how the context profiles are set up and we'll come back to the memory layer later on.
Uh so that you fully understand when runs happen how the memory gets appended or accumulated over a period of time. So
here is the context profile right? So like I said I have three context profile again you can use these files that I
will scaffold and you can go to my substack and download all these files as well. So in order to go to substack you
can open my substack over here subji plug.substack.com substack.com you can go to this claude code tutorials and at
the bottom you would see that there is a foundational so I built five research sub aents using claude code here is the
foundation so this is where you will find all these files so you can like just keep on scrolling and download
these files and then scaffold it then what would happen is that you can drop all these context files into clot code
and ask clot code to use ask user question tool in order to interview and replace these these files context from
dhj or discover with dh context to your context. I'll provide the templates as well. So there are templates as well
that you can download over there. So you can use like these are the templatized version of business context context
strategy and research sources. Can you like look at them and modify according to our business our domain. So claude
will help you build these files if you don't have it. Now let's look at these context profiles one by one. So I'll
open business context. At the top you will see the purpose the lens every agent on the content team filters
through. So this is very important right update cadence is rarely because this is like your business identity audience and
strategy positioning that may change only quarterly. So we'll change it rarely. This talks about who am I name
site type platform archive I write practical first inspirational second. So this is like all the context that you
are providing right these are my ICP or idle customer profiles or avatar or target audience like avatar A first time
Indian road tripper avatar B returning road adventure traveler then strategic positioning Q2 2026 the authority needs
to be built audience style coverage breadth and voice then strategic goals for this quarter reclaim spiti and ladak
root guides capture preseason planning queries build eat signal This is important for AEO. I have published a
detailed video of AEO and SEO research agent. You can also check that video as well in order to build your AEO and SEO
optimization capability with the help of claude code. Now diversify away from Spiti and Ladak. So there is heavy
concentration over here. I want to like diversify to Uttra and Kor which are other regions as well. What the content
team optimizes for? Current over comprehensive, specific over generic, first person proof and answer engine
ready. What the content team avoids? These are some certain things like international travel, luxury, generic,
top 10 places, listical, pure tracking content. So all these I avoid on my particular channel or particular blog.
Now the content strategy again purpose is there. Content pillars. So these are the content pillars that I use. Brand
voice again brand voice is documented over here but these are some of the summarized versions of it then content
format and standard so length is this 2,000 to 4,000 word practical info boxes quick answer blogs for to 5 to 8 FAQs 5
to 10 internal links first person voice year in the title real proof then we have SEO and AO focus current content
calendar next four weeks so this particular file will keep on editing on a monthly basis topics be covered this
is the priority order of the topics that we cover in articles and topics we don't rank or skip. Finally, I have the
research sources as well. So, this is like official and government websites that it should be researching upon. This
is like a trusted sources for facts. Here we have like high trust community and firsthand information that is
available. So, Reddit Rindia, motorcycles, travel uh team BHP and plus road status threads that are over there.
the freshness rules. These are the competitors that we have. This guy then thrillia and then like this guy. All
these are um you know competitor profiles and you can have your competitor profile set up as well. Our
differentiation from them then source quality scoring like how will you score? What is the authority? what is the
recency, specificity, verifiability and then you know what are the red flags these are some of the things that we
don't want right and finally the targeting for the table like how it should be using extract crawl and search
capabilities of its own MCP server so that's how I have set up the context profile and like I said you can just
drop the templates and ask cloud code to interview so that you can set up your third layer which is like just below
your agents layer so that part is Then we go into the dotload folder and you can see the agent memory is there again
you know reviewer researcher writer agent memories are all over here these are the memory emptyd files which will
more or less start with empty so you can see that voice patterns that land mistakes I keep making structure lessons
right so these are the lessons that I ask lot to put into it and these are the memory md files this manually that we
are creating over here manually we are building in this agent dash memory files right so that's how we structure the
memory layer again these are like all of them are like empty more or less and this gets read as well and we'll see
like how this gets read but this is how I structure my memory and these are like some of the important things that you
put in the memory based on the type of agent that you are building again you can ask Lord to build these files for
you as well by using these template examples Right. Now this is the final layer that we have which is the agents
layer and agents layer again is present in dotcloud folder. So if I open my researcher agent right so you can see
this is the YAML formatter part that we were talking about that YAML formatter yl formatter is in between these three
dashes and it consists of all the properties that you want to have. So for a researcher it has a name it has a
description it has a model and then set of tools that it exposes to. Then maximum turns we have 25 and memory is
at the project level. You can see it is defining you are a researcher of discover with dish with content team and
you know your job is to gather current accurate and citable facts and make clear content angle. You gather you do
not write or edit the RDL. You cannot write to draft folder. So you here you are specifying the boundaries of these
agent right and then you are defining before you start the session read all the context profiles then check the
memory as well. So this is how the custom memory gets a period over a period of time helps agent understand.
So before starting every session it is going to read the memory as well then cross check the calendar. So again we
have the content strategy where the calendar is present. So we are asking it to cross check and like we said below
these three dashes is the system prompt or the instructions of this agent and I'm reading all these instructions only
over here. Then Tavi is your primary research tool. So Tavi research is for discovery and competitor check. Tavly
extract is to extract the content from them. Tavly crawl is to crawl right and then like web search web are backup if
tab is somehow unavailable. research processes. Search for current coverage. Score sources. Extract. Pull the facts
that matter and find the gap. Save your brief to research briefs with topic-brief.md
file. So we have the folder over here research brief which is currently kind of empty. And in the output you should
have a topic overview. You should have pillar, you should have competitive landscape, their angle, what them is,
title, URL, publish date that they have done, key facts, coverage gap, recommended angle that we should use. So
once the output is done here we are also mentioning the custom memory instructions right and the cost
discipline score before you extract never pull text from off-pillar pages so this will help us keep our tokens or
credits of tavly minimize if you don't specify this cause discipline it can burn all your taby credits in like maybe
one research itself so that's why it is important that cost optimization cost discipline should be present in each and
every agent Again this is just an example. You can detailed out all the cost discipline that you have. My file
looks pretty much very very different or very detailed as this you know kind of summary version of this agent looks
like. So this was the researcher agent. The next in the pipeline is the writer agent. Again similar type writes
discovered with dhage root guides and howtos for a research brief in brand voice to our content standards. produce
2,000 to 4,000word first person travel articles after the researcher has produced the brief. So it relies on
researcher. So it's like a sequential pipeline, not a parallel pipeline. Here the model is on it and again like you
know if I want a complex article to be written I could easily say model could be ops over here. Tools are this max
turns and project is memory. Similar instructions are mentioned over here. This is like what it needs to be done
again before every session starts. Read the context profile. Read the memory file. Article structure should be in
this format. There should be an opening. There should be practical info box. The big picture core sections a firstand
moment safety and difficulty FAQs budget line. Then the voice rules and full list is present in this file so that it does
not like kind of overshoot it. It should refer that output needs to be saved over here. And then again custom memory
instructions are mentioned over here that read this if it exist voice pattern that lands uh any mistakes that needs to
be avoided at the end of append anything new you noticed while writing. So that's how our memory keeps on building itself
automatically and then you can also manually tell to edit the memory for a pattern that you may have noticed during
any type of run that you have executed of this pipeline. So this was the writer and final is the reviewer. Again for the
reviewer similarly the name is there the description model is on it but I have tools here. Tableau assertion is strat
as well. Disallow tools are write and edit. Max turn 15 and project is there. Again description starts like role and
the job it needs to be done. Again same thing like read the context read the memory. Now we are telling it that for
any highlevel states factual claims, permit rules, pass road status, distances, fuel stops, location, prices,
spot check. So use these trusted sources in this particular file as you know that we mentioned it. Then use tably search
include domains then extract for the best hit and then verify three to six riskiest claim not every number. So we
don't want like every number to be you know validated rather most risky. That's what the synthesis it needs to do and
then we are saying never fix it that's the writer's job once you surface it right and this is where I provide a
review checklist so if you provide a 25point checklist so here you can see that I have 10 points for structure
format I have voice for eight points I have accuracy and value for seven points so this is like very very specific in
nature these are particular checklist items that reviewer is going to very much focus upon with a focus mindset and
identify the issues that are there. And this is the output format that I want it to output. Quality review article score
X out of 25. Critical issue must fix before publish. So these are critical issues. These are major these are minor
fact verified. What are the strengths? Recommendation is pass needs verification or major rewrite. And then
finally again a similar way of custom memory. So that's how all our three agents are configured together. Now you
must be wondering that how do I basically execute all these three agents together for a particular topic. So for
that like I have like some prompts already written. So I have like you know how to execute like one uh re agent. So
if I open this one you can see that I can say that use researcher agents to investigate this topic. Okay. And read
the context. So I can have like a detail prompt but I can also say that I want to do research on this particular topic. So
just because the intent is the research without saying that invoke the researcher agent cla code would
understand and match to the description and the name of your agent and then going to invoke the agent. So I don't
need to be that explicit in writing my prompt. But if I want to be 100% sure then I can write the prompt in this
manner. Similarly for the writer use a writer agent. Again I want to write an article for a particular brief. If I
just say this as well, it is going to execute or run the agent in parallel and we are going to just see that as well.
Finally, there is a review as well. So use the reviewer agent. Similar thing can be done. So either you can sit in
the middle and run these three steps one at a time once the output is produced by uh each agent. So that means you are
stuck. Maybe you are doing something else but you are still meddling the session. You are still orchestrating it
or babysitting it. Otherwise, what you can do is the full pipeline. So here I'll just say I'll just copy this in
between these three dashes. And what it says is run the full content pipeline for this particular topic. Use the
research units to investigate the topic with Tavi. Again, you know, I'm mentioning it. You don't need to mention
it. You don't need to like specify all these details. You can just write the intent of your overall steps that you
want to take and it is going to invoke each agent accordingly. So here I'm going to like just have the explicit one
so that nothing breaks while I'm demoing it on the video live for you. So I'm going to like just paste it over here
and I'm going to press enter and you can see that the prompt that I had is involved. So I'll run the pipeline in
sequence researcher writer and reviewer. So clot code knows that it needs to run it in the sequence not in parallel right
each step depends on the previous output. So they run one at a time starting with the researcher. So now you
can see that the thing that I was talking about. So there is a context size of this particular window. But at
the bottom you can see that it has invoked researcher agent. Here you can see that researcher in the bracket it
says research manali spy utal tunnel root. So that is what the background task is. Now it is running in the
background. It is running in its own context window. So that this particular context window size is not getting
exhausted. not getting polluted by this task. So once this is done as you can see that once it returns I'll chain it
up to step two which is the writer from the brief and then step three to audit and verify facts. I'll report the
progress at each stage complete. So this is the way of executing a sequential pipeline and while it executes I have a
fifth prompt as well. So you can see that run these three research tasks in parallel. So if I have to do something
as a research in parallel, I can do the research in parallel. There is no dependency on writer or a reviewer
agent. I can do a review of multiple drafts that have been written. I can do a writing of multiple research that have
been outputed. So I can execute all those three things in parallel individually. But as a sequential
pipeline for end to end, I have to be sequential in nature. And you can also you know specify in a way that first run
three agents parallel then run three agents in you know writer agent and then run three reviewer agents when each
output outputs. Cloud code main window is going to orchestrate that kind of a task as well for you. You can put
everything into a MD file or a document text file and you can say that use dynamic workflows to orchestrate
everything and you know document the entire month or publish the calendar or articles for the entire month or entire
quarter. It is going to do that for you as well with the help of these three agents. That's the power of building
specific agents and then use them in the overall context prompt that can be orchestrated either through the help of
an orchestrator agent or your main window as an orchestration. Now if I just expand it back let's see what is
going on right now. Still the research is going on and as I was telling you that you are not able to see what these
steps are being executed. you are going to just see the output over here. Once the output is created and we told it to
put the output in the research briefs. So as soon as this research brief gets filled up that means the research agent
has done its job. So all right you can see that Manali tunnels brief has been created. So that means research is about
to be done anytime the notification will come. Now you can see that researcher is writing to the memory that's what we had
in the instruction as well. So once it is done, it is about to come over here and return the output to this particular
window. But the output is written over here. But so it is going to just tell this particular context window that hey
the output has been written. Now invoke the step two of writer agent. So any minute it can come or land over here.
All right. So you can see that it came to rest. Step one is done. The brief is saved with the competitor gap and
verified facts. Now launching step two to draft the article from the brief. So here you can see step two writer agent
has been invoked and reviewer depends on this draft. So reviewer is waiting and at the bottom you can see that writer
window is running in parallel. So we are going to just look at what the brief it has created. So here is the research
brief. So at the top the slug is there date of brief research calendar status and this is the topic overview and then
I have pillar also identified secondary pillar also identified. the competitive landscape. What this guy has, this guy
has, this guy has like you know this guy again you know finally this is the existing one that we had. So it also
fetched our own content as well and then full route is there. Then it is talking about key facts about it. These are the
specific for this particular tunnel. These are permit registration for 2026. This is the road status which is the
current one. Mobile network and ATM again seasonal opening window. coverage gap, recommended angle it has provided
and then people also ask these types of question it has provided and all sources are also mentioned over here so that our
research is very much grounded and we can verify manually as well. Key facts needing 2026 confirmation before
publishing. So it is also mentioned that whether this should be confirmed by our reviewer agent or not. So almost the
draft is written. So you can see the file has been created here. So any moment the notification is going to come
that writer has done its job. So now it is like scanning for mdashes in draft.mmd that means it is running
through the uh some guidelines that we had that it has to follow the brand voice guidelines. So it is running
through it and scanning in the draft these guidelines. So the writing agent has done its job as well. So now it is
saving the draft. All right. You can see that the agent has come to the rest. So that means that is also done and
2900word draft has been saved. Voice is clean and now it is launching the reviewer step to audit the draft and
verify the risky facts with tavly. So now you can see third agent has been launched which is the reviewer agent and
it is auditing and verifying the flat fats for read only tab only. I'll just open the draft over here and we can
quickly see what it has written. So you can see there is a practical info box what adult tunnel actually changed what
is the route breakdown like entire stage one stage two stage three. So it's like very very accurate I would say because
I've been like traveling on these routes for like 15 16 years now and it has pretty much covered almost all the
aspects with its own research and the content that it has created. The FAQs are also over here and now it is just
verifying against uh the 25 checkpoint list that I had created. So now let's see what's happening over here. So now
you can see that pipeline has been fully completed and all three stages have been run successfully. So reviewer has below
worded that 74 out of 100 needs revision and these are the individual scores of different sections. Structure view 7 out
of 10. Voice is 6 out of eight and accuracy value is 4 out of seven. And these are critical issues that needs to
be fixed. Fact needs to be verified. Recommendation is revised. Then it's a pass. You can now see that how three
agent pipeline ran in sequential in one session in their own context window without polluting the main context
window and showed the results not the steps. Right? And now we can act as an orchestrator in this particular session
in this particular window in order to further complete the job and also provide the learning. So this is an
perfect classic example of memory that hey in this particular run this is what happened put it into memory so that it
does not happen again in future. That's how you make your agents more and more better accurate as the time progresses
with the help of customuilt agent memory layer that I just described to you. Now let's go back and let's quickly finish
it up what we started. So we have already gone through these agents and like I said right you know you need to
be specific in nature like if the reviewer could edit it would silently fix the issue. So you will never learn.
That's why we have explicit instruction that reviewer cannot edit. A writer is the one that will edit. Right? So that's
what we just saw it in the example as well or live. So we ran the team. We ran it in sequential. We review the report
scores issues. Now we can feed it back. Again like I said not every workflow can be paralyzed. We this is one the
sequential pipeline was. But for independent tasks like researcher or writer if the research has already
happened for multiple types of content pieces then you can run writer as well in parallel otherwise research can also
happen. So instead of 12 minutes 4 minutes you would get like three articles in place. Model selection cost
again you know set you can see for researcher writer I have sonnet reviewer I have again sonnet. There could be
exception as well where opus can be there. Again agent memory like I said it's based on two layers project side
and the custom memory which we just learned about debugging story we just saw that you know if you have vague
instructions right uh if you don't have the explicit checklist that I had it might say like you know there are like
fine problems zero critical issues found there is like a score of 9 out of 10 but when it runs from specific points which
were like you know run this particular checklist and verify mdashes are there or not this is like very very specific
thing. So it is going to score each and every point not you know hypothesize or not assume certain things. It knows what
I want to be reviewed. So that's why I had like an explicit checklist over here. So these are some of the example
that it would surface directly on your face if you have checklist instead of vague instructions to do. Now you can
see that the team of agents are working for you either in a sequence or in parallel howsoever your content strategy
is structured. However, it all lives only on your [music] system. If I want that kind of a team to work on my system
or if you want to give it to someone else. So you cannot easily in a professional way or a polished way give
that team of agents so that they can drop in to their own system and start working or utilizing what you have
worked for. This lesson solves this problem and this is where we are going to learn about [music] how to create a
claude plug-in. And finally towards the end of this session I'll also show you how you can run all these sessions that
we conducted in cloud code over this entire course from your phone as well using remote control.
All right. So first understand the problem that we are solving today. Right now we have this AI team of agents that
works only on my machine. There is a long prompt as well that I have to provide so that agent can be invoked
more like I have to show the intent to the AI so that it can map that intent to the AI agents that are present and then
for example run the research writing part or the review part. These files exist only on my machine. So if I have
to provide this whole AI agent team of researcher, writer and reviewer to you, there is no clear mechanism of it. I can
provide the raw files to you but it is not a professional way of releasing your AI agents or a set of AI systems that
you have prepared to someone else and that is what we are going to learn and first we are going to build the command
so that you have the entire picture you can go to the description of the video and download the link that I have
provided that will give you this travel blog lesson 6 dozip file. So we'll follow this side by side. So right now
you can see that zip file is downloaded. I'm going to unzip it in front of you. So this is the travel blog folder where
if I open this, you see that there is this dotcloud folder. In the dotcloud folder, we have some agents memory. We
have some agents over here. So I'm going to open this folder in Visual Studio Code so that we can easily follow it. So
I'm going to right click it and going to quick action. You might not have a quick action defined for you. I have it
otherwise you can open Visual Studio Code and open this directory over here. So you can see that this directory is
open. So I'm going to like slot it over here. So now that I have this, I'm going to start a integrated terminal over
here. So let's start a integrated terminal. So this requires trust this folder. I'm going to say trust continue.
And I'm going to expand it. So this is how it is. And if I expand this, you can see that our agents are over here.
Researcher, reviewer, writer. Now I'm going to start clouding it. It is going to ask it to trust. I'll say yes, I
trust this folder. So now it would have loaded everything into the memory. So now if I say /ress researcher so you can
see that there is no researcher agent coming in over here. So that's the first thing that we have to solve so that I
don't need to write a full command over here in order to invoke my researcher agent reviewer agent or writer agent.
And how does that work? We have to create some skills. Earlier they were called commands. So basically what a
command is more like a skill which you can call by name and we can just define a skill.md file into it or we could have
defined commands in earlier days. So if you're following me along this course you already know the difference between
skill and a command but just as a brief a command is nothing but something that manually can be invoked by the user not
by AI itself. On the other hand, a skill can be invoked by the user as well as the AI as well based on the intent user
want to have in the prompt. Right? So command is completely controlled by the user. So why the commands got deprecated
is because in the skills now we have two parameters which says user invocables equals to true and disable model
invocation equals to true. So if I create a command like that with these two parameter sets that means that I'm
saying that this skill can only be invoked by a user and cannot be invoked by AI on the intent of it. So that means
only a human or a person can invoke this particular skill by using the slash command and that's what we are going to
create. So I'm going to create a skill folder over here. So right click on this and I'm going to create skill. So we are
going to create the skill in the dotcl folder and again I'm showing it so that I can package not just agents but skills
inside a clot plug-in and that you learn that everything can be included. We are going to create skills and we are also
going to create hooks. That's why this whole you know first prep work is going on over here. So skill folder is created
and I'm going to create three quick skills over here. So you can see that the first one would be the research
command or research skill that is going to call our researcher agent. Every time user types in / research it calls the
researcher agent. How do you do that? Basically I'm going to create a folder inside skills we will call it research.
Right? In that I will create a file called skill.md. So I'm going to copy this and I'm going
to come here and paste this and I'm going to wrap this up [clears throat] like this. Okay. And then basically it
says there is name missing. So I'm going to say name as well. And that's the research. So that's how we create one
skill that is only invocable by a user. So I'll quickly create the other skills in similar fashion. You can see these
two variables are set to true. User invocable true. Disable model invocation true. That means only as a user I can
invoke this skill. So you can see that all three skills or commands are created over here which can invoke our agents
now by just slash command. So if I just exit out clot code again. So let me exit this /exit and you can see that it is
exited. I'll just clear everything and I'm going to start clot again. And I can expand this. And now what you would see
is this. If I write /draft so you can see that draft is showing up over here that can invoke the writer agent.
Similarly [clears throat] if I say write research so the research is also coming up over here which can call our
researcher agent. So you can see that researcher travel topic with researcher agent and save a brief right. So that
means the first part is done where we have created some skills or commands in the entire package that we want to hand
it over as a clot plug-in to someone else. Now I'm going to also show you hook as well because again if you are
following this course you already know what a hook is. It provides a guarantee to certain functionality. I'm adding
this hook over here in this whole plug-in tutorial because hooks works a little different. There are some nuances
people get wrong while creating a plug-in especially when a hook is involved. So that's why I'll create a
hook quickly. Again, I'm not going to go deep into the hooks topic. Go and watch the previous lesson where we have talked
about hooks in very much in detail. I'm going to create a hooks folder in the dot lord directory. So over here we'll
create a new folder called hooks. So that's where our hook will go. And in this I'm going to create this voice
squad.sh. So I'm going to create a new file. Name it. So this is a shell script file. I'm
going to copy this command and I'm going to paste it over here. And I'm going to save this. So I'm going to remove this
from the top because all I care is the commands. So you can see that from here to here, this is what we need. So what
it is doing is it checks every draft for the brochure type of phrases that we want to avoid and it sends bad lines
back to the writer who rewrites them in case there are any type of brochure type of language that is detected while
writing some of the file. So now this is created we have to create a hook file as well settings file. So for that we are
going to create a settings dojson file in the dotload folder. I'm going to create this settings do.json file over
here and I'm going to say settings dojson and in this file only we are going to have the hooks configuration.
So I'm going to click on the copy command coming back to the settings.json. So you can see that this
hook is tied to post tool use post tool means that as soon as writing of a file or editing of file is completed it is
going to execute automatically this voice guard bash script. So that is the guarantee that hooks provide us. Now
this hook is created. Let me go ahead and run a command. So let's do this and I'll show you like what it does. Save
this line to draft / probe draft a breathtaking hidden gem. If the guard objects fix the line and save again. All
right. So let's see what it shows. So you can see that it is trying to write it and you can see that a brochure
phrase is found. Rewrite these lines. So the guard objected to the first phase flagging breathtaking and hidden gem on
line one as brochure phases. I rewrote it to a line that I saved a quite stop most travelers drive straight path. So
that's the hook in action for you. That's the guarantee that you get while building these systems which are more
probabilistic in nature rather than deterministic based on the probabilistic nature of the AI engine. Now I'm going
to show you some logs as well. Let me create another terminal. So I'll create another terminal where we can run this
command cat that is going to tell us like some of the logs. So you can see that at this
moment it flagged probed draft.mmd and then finally it cleaned up. So our hook is working absolutely fine. Now we have
to move towards the real meat of this video which is how to create a clot plug-in. But before that let's
understand what a clot plug-in is. Well this is a simple definition of a clot plug-in that you can get. It's basically
your agents, commands, skills, hooks, MCP servers all in one place. So you can install a claude plug-in by someone else
in your claude system or project that you are working in by just typing some couple of simple lines of commands and
install that entire set of agents, commands, skills, hooks, MCP servers into your system. How a whole plug-in is
structured is basically for example this is my content team. So I'll create a folder called content team as a plug-in
in which I'll create a login folder in which I would have a plug-in.json which is the manifest file that defines the
entire plug-in that needs to be installed on your system. Then it would have synonymous agents folder, skills
folders, hooks folders and inside the hooks folder there'll be hooks.json. JSON which would have the guard script
for example that we just created along with the definition or settings of it. Then we would have templates that could
be files that can agent read which could be like some of the prerec file your agents want skills wants or could be
some examples that you want other people to use in order to get set up. Finally, there would be like a readme file that
Claude can read what this plug-in is all about and you can also read in order to follow some sort of a instructions to
install this plug-in, use this plug-in, right? The only thing that you are seeing missing over here is the
settings.json file which is not required over here rather it is replaced by hooks.json file and this is where people
make some mistake and I'm going to show you that as well. So now this rule that basically fails for people right. So if
you look at you need to be very very careful while defining where you copy your agent skills and hooks. Many people
what they do a mistake is that they would have a parent folder which is like content- team for this particular
example. They would create a lot plug-in folder inside it and we'll create a plug-in dojson. But they will make a
mistake of copying agents skills and hooks and everything else under this dotlord dash plug-in folder. No, that is
the mistake that you have to avoid. Basically the agent skills and hooks will come at the level where you have
created the dotclaw dash plug-in folder and it comes directly under your parent folder of the plug-in which in this case
content- team is and the difficult part over here is that claude is not going to warn this. This is going to silently
fail and you are going to spend hours troubleshooting what is wrong with your plug-in why people are unable to
install. So make sure that you understand the folder hierarchy the structure properly. So this is the first
mistake that people make and I'm going to show you like exactly the second mistake that also people make while we
are building it. Now let's go ahead and build our plot plug-in. So you can see that what we have to do is step one and
two the folder and then the agents and the skills. That's what we are going to do. So you can see over here it's saying
that we have to create a content- team dot plug-in folder. over here I can do it by following the UI as well or I can
use a terminal in which I can do that right so basically I'm going to follow the terminal based approach why because
little quicker but you can follow the explorer based or UI based approach as well so now I'm going to come here and
create a new terminal I'm already in the travel blog folder so we are going as well but you can put it somewhere else
as well where you want to just package it as a team for me more like if I'm creating or if I created a system which
is like my travel blog AI agents team. I want to package them as a plug-in and keep it inside that only and I'm going
to package or zip the folder of content team as a plug-in when I share it with someone else. So that's why I'm going to
create it inside it. So I'm going to copy this command first. First it is doing is like creating a directory clot-
team. Right now you can see that that is not available. And then inside that directory it is going to create a dot
clot plug-in folder in one command. So let's do that. So you can see that uh content team is there and inside that
dot lot-l folder exist. Now I'm going to copy our dot lord agents inside this team. So you
can see that I'm not making the mistake of copying the dot lord agents. So the dot lord has all our agents. So this is
where the agents are. This is where the hooks are. This is where the skills are. So first I'm going to copy our agents.
So you can see that agents are copied. So you can see that right now I have closed the dotclin folder but the agent
folder is still visible. So that means these agents are copied at the same level of dotclin folder inside the
content team. Now I'm going to copy the skills into this folder. Right? So our skills are also over here. So you can
see the skills that we created or commands we created. If you are using commands folder inside the dotcloud
folder, you are going to do the same thing with the commands folder. So the first step is done and second step is
done. Now comes the third step which is hooks and hooks are a little different that's why I kept it a little different
over here. So you can see that in this project we have dotcloud folder hooks and voiceard-sh
that's what we have. So the same way it is going to go into the hooks folder that is completely fine. So I'm going to
just copy this command and I'm going to run it. So we'll see that hooks folder is also over here and voice-sh
also over here. So this is the first part that we have copied the script. Now the wiry needs to be rewritten over
here. Now we are going to open the plug-in folder. I'm going to go to the hooks and in the hooks I'm going to
create a new file called hooks.json JSON and I'm going to copy this entire thing and paste it over here. So the important
thing that we have to see over here is that right now I'm using bash command slash dollar sign then curly braces
start cla plug-in_root/hooks. So that is going to give the exact path where the plug-in is going to get
installed on your system not on my system on your system. Right? So that is the important thing because in the
settings we had the claude project_dir which is not going to work in your case because what is going to happen is that
if you are going to put that kind of a thing you would end up something like this triple dot. Lord hooks
voiceguard.sh and there will be no such file that will exist or no such directory that will
exist on your system when you are going to install. So this is the second mistake people make especially when
hooks are involved and they are creating a plug-in of their own where hooks are also present. They make this mistake of
having the wrong path. So make sure that wherever you are defining the hooks.json file you are going to use claude plug-in
root rather than claude project_dir root. Step number four that we have to
do is create a manifest file that defines what this cla plug-in is. So this is the metadata about your plug-in.
So where it goes in the dot-plugin folder. I'm going to create a plug-in.json file. Let me collapse this
again. I'm going to expand our plug-in folder which is the content- team and in which I'm going to have this manifest
file created inside this folder. So this is the first file that is getting created under the dot-plugin
folder. There was nothing else that was created before this moment. So I'm going to copy this content over here and I'm
going to save it. So you can see that I'm giving the name of my plug-in as content-plugin.
I'm giving it a version. So if you want to like release more versions, you can keep on increasing the version. I'm
giving it a description a three agent content team research draft and review. And then there is an author where I'm
having a name jennai unplugged. You can define multiple entries over here as an author who could be the author. And then
I have license which I'm giving it as an MIT license. You can read about license different types of licenses that you can
provide Apache MIT or other opensource licenses that you have. So the only thing that is required in this manifest
file is the name. Rest everything is optional. So this is what defines what the plug-in is, what it does, what it is
about. Right? Then step five is all about whether your agent skills depends on some sort of template files or not.
So for example, if I open up this agents, right? You can see that over there it is like dependent upon some MCP
servers. It is also dependent upon some of the business context.md content strategy.m MD or research sources.m MD.
Right? So these are some of the context profiles where my researcher agent is dependent upon. Similarly on the writer
side you might see that there is a brand voice also being involved somewhere else. So here you can see that brand
voice is also involved. So that means that these are some of the dependencies that we have to take care and they come
under the templates folder. So what we are going to do is I'm going to create again under the content- team which is
our plug-in directory a template folder. So I'm going to copy this command. It is doing a make diir which is creating a
directory. You can use the UI in order to create these folders and files while I'm doing it using the command line
option. So I'm going to create a new directory. So you would see that templates directory coming up over here.
So template is coming. So now I'm going to copy this from my context profiles. Again these context profiles you can see
are present over here. This is what we had as we built in the last lesson. this entire AI agent team. So I'm going to
copy this. So now you can see that the brand voice.md was present in the root not in the context profile and context
profile was present over here. So it basically ended up creating the brand voice under the template folder and all
my context profiles which involves business context content strategy and research sources over in this particular
directory. So this part is done. Now templates are also available here. Final thing that we have to do is what to do
with these templates. So these are your dependencies or my dependency. What will they do on your system? How will you
know that first these file needs to be updated? So for that I'm going to create a setup command. So that is going to
help set up the entire plug-in on your system as I package it for you. Similarly, if you are providing your set
of agents or AI system to someone else, you would also have to provide some sort of a setup skill especially like if
those agents depends on other things outside that is present under your lord folder. Skills, hooks and agents. If
your skills hooks and agents are self dependent, they do not depend upon external file that require user to enter
something or provide something then this step is optional. So I'm going to quickly create this under the content-
team skills setup. So I'm going to create a new folder under the skills over here. Again, I'm not creating this
folder under my working project which is travel blog. Rather, I'm creating it where the plug-in needs to be packaged.
So, I'm creating it under the content- team. Let me collapse all of these so that there is no confusion. So, I'm
going to expand the skills which is under the content- team. I'm going to create a new folder over here and name
it setup. Okay. Under this, I'm going to create a new file and I'm going to call it skill.md.
And I'm going to copy everything from here and paste it. And you can see I need to name it as well. So the name is
missing in my presentation. So I'm going to name this. And this time user invocable is true. And I'm going to
delete this model invocation. So that the AI also knows about a setup script that exists. But again if you have the
readme.md file defined where you have provided the instruction to other users that hey as soon as you install my
plug-in always run the setup command first so that all the files get set up and agent team is ready to go under your
context under your business under your profiles not mine. So that's pretty much it. So our entire package of plug-in is
available over here. So what I'm going to do is expand now and I'm going to clear everything so that it is like
clearly visible. I'm going to like do this and in the next step we are going to validate. So I'm going to copy this
command of validating the content team that is there. So there is a command which helps you validate a plug-in for a
claude which says claude plug-in validate and you give the path of the folder. So I'm going to give the path of
the folder over here and you can see that validating passed right. So that means the package that we have in
content- team is completely okay to be published and that completes the entire setup of creating a plug-in. We have not
yet published the plug-in. We have validated the plug-in. So why not we just test it out as well. And how do you
do that? Let's come to it. So basically I'm going to first create a directory above the travel block that exist
plug-in test and I'm going to cd into it. So let's copy this command first. All right. And I'm going to run this
command here. All right. So now I'm in plug-in test. What this command did is let me open my
finder so that it becomes easier for you. So you can see that the travel block folder was over here. I created an
empty folder plug-in dash test at the same level where travel block folder was there. Right in this folder we are going
to load plug-in and test it out. This is the empty folder over here. Right now currently I'm working under this plug-in
dash folder. Now I'm going to start cla and there is a variable that you can provide which is basically d-plugin-dir
that loads the local plug-in that is present anywhere on your file system. Currently the plug-in that we have put
together is present under at the same level where this directory is travel-blog folder under which content-
team is what we created. So I'm going to give the path of that folder and load the plug-in directly inside this
particular blank directory that we have. So the claude will start. I'm going to say yes trust this folder. So as soon as
we have started this if I write content team right. So you can see that content team- setup is available over here. So
that means my plug-in is loaded. And if I run this command, it is going to say that ask me you know certain questions
about my brand profiles that are there about my brand voice about the context profile. So you can see that it has
started loading it. This project is set up for content team in this this this copy this skip this. So this setup
proves that everything is working fine and it is ready to be published. You can see that the rename is happened as
/content research and the researcher is content- team researcher right. So both the agent
as well as skill has taken a prefix of content- team which avoids the conflict that if somebody also releases a plug-in
and a user install your plug-in as well as somebody else's or let's suppose mine plug-in we both have created similar
names of the skills similar names of the agents. So that's where prefixing the plug-in name is important so that name
collision does not happen. So now this setup I can quickly run this command as well inside it. So I'm going to just say
content researcher research kor apple season road trip 2026. So if I enter this it is going to load and start
researching about kor apple season. Same way you can see that this empty folder that was already there now have more
details around it. And if I open that empty folder again. So you can see in the plug-in test now it is loaded with
dot load. There is an agent memory. There is context profile drafts researcher brief. There is no agent over
here. There's no command over here because that is running from the loaded scope of the cloud session that we are
running in. So that means everything is working perfectly fine. Now comes the time that we have to share it with
others. And how do we share it? Right. So we have to create a marketplace where people can go in and basically get our
plug-in. So I'm going to like expand this over here so that like it gets like full real estate of the screen. So you
can see that how do I put together plugins on a marketplace. First thing that you have to do is create a GitHub
account and then create a GitHub repo. So for that I have already created mine. So let me open this. So you can see that
in the my GitHub repos I have like lot dash plugin. That's how I would organize. You can launch plugins as a
single individual directory as well. Or you can basically have your central directory. For example, I have geni
unplugged lord plugins directory where I can publish multiple plugins out there before we upload it to the GitHub. This
is the base that we have to create for them. Base repo is created as geni unplug plugin. And two decision that you
have to make right now is whether you are going to have one single repo or marketplace for all your plugins or you
will be releasing plugins individual level at the repo side. So I prefer the collective way of doing it and that's
why I have my plugins which is basically right now over here is claude plugins and under which I would be creating a
dotclin folder with a marketplace.json file. So you can see that over here I have
aclaw-plugin and if I click on it there is a marketplace.json file. If I open this
here is what the schema says right. If I zoom out a bit so you will see that the name is geni unplugged 14 which is like
my user handle. Then description is geni unplugged claw plugins research content distribution channels. So this is a
description that you have to give. You have to provide the owner which is the name is jennai unplugged and the URL of
it. And this is where you have the array of plugins over right. So in the plugins I have like more than one plug-in
defined. So first one takes like first plug-in which is name equals to content- ops research draft review. The category
is content and the source is dot content- ops. Similarly I can have a content team which is again a similar
one. So this is like more like a replica of each other. Right? Just to show you an example that multiple plugins can
exist in one marketplace, right? So one marketplace is geni unplugged cloud plugins marketplace under which I have
two plugins content- ops and content- team. The category is content for it and the source is dot/content
team. So what I have done over here is if I go back you zoom out I go back cloud plugins here you would see that
two folders are uploaded content- team is uploaded and content- ops are uploaded. So this content- team is the
exact folder that we just created. So you need to just upload it on a GitHub repo which is publicly available to your
team. So you can see that I have this content- team, SEO- team, newsletter kit. I can create month set of agents
which are set of agents that does video editing for me. I can release that as well over here. So multiple plugins can
be released. So these are some of the commands that you would be using in order to publish to a GitHub repository.
Again, I'm not going to go into the details of how to publish your folders on a GitHub repository. And if you don't
have time, you can basically upload it using the UI of github.com as well. So now comes the part now you have
published it. How do I install it? So first thing that we have to do is we have to basically install the
marketplace. So what do we do is let me copy this. Okay. And I'm going to open cloud now back again. So let's go back
to our Visual Studio Code. I'm going to exit out of this session. Let's exit out. I'm going to get out of this
directory. I'm in a temporary directory. So what I'm going to do is start cla over here. And I'm going to trust this
folder and I'm going to show you that content. You can see that now my content team is not visible. Right? So first I
have to add it from a marketplace that is there. That is what I'm going to show you. In the previous step we loaded it
from our local folder. Now we have to add it from a public marketplace. So I'm going to write delete it. The first
command that is there is basically going to help us add that. So I'm going to write / plug-in marketplace add jai
unplugged 14 cla plugins. So this is the path that I have github.com jennai unplugged 14 claw dash plugins right. So
this is what I want to add. So I'll click this add. So you can see that reload plug-in happened and then it has
added the marketplace over here. Now what I can do is /plugins right? I went here right and you can see
that installed marketplace. So once I go to the marketplace you would see that geni unplugged 14 is available over
here. So if I enter here so you can see that I can browse plugins I can update marketplace I can enable auto update I
can remove marketplace. I'll go ahead and browse plugins. It says two available plugins are there and you can
see that content ops and content t both are available there for me which is basically you can see on my repo as
well. If I go back to you can see content o and content team is available from here. So now from here
I can basically install this content team right let's install it and you are it is asking now install it for you
install it for all collaborators of this repository install it for you in this repo only or you can go back to the
plug-in list. So I'm going to say not at the user level but I'm going to say at the local level in this particular temp
folder we just created. So plug-in is installed. Now if I say content you can see that content- setup is there and I
can run the setup and my publicly available plug-in that was there is [clears throat] now basically running
inside a new folder that I created just in front of you. So that means now we have successfully released it. And as a
user or a consumer of our plug-in, we have successfully installed and tested it out as well. And that's what
completes the entire claude plug-in lesson for you. But one thing before we end this entire claude code full
courses, I want to show you that all these sessions that you are doing these days in claude, you can take them with
you on the go. So basically now what you can do is something called remote control into your cloud session which is
running on your local system. And how do you do that is first running a command. So again I'll go back here. I'll
basically just kill this session. So you can see that I'll just kill this session by exiting out and again start the clot
clear and I'm going to say clot again. So this time I have started clot and I'm going to write the command / remote
control. So you can see this remote control currently I'll disconnect it. First time when you write / remote
control because I already have remote control enabled that's why it is showing me these option it is going to show you
this kind of a QR code over there right. So what you need to do is you need to install clawed app on your phone. So
once you install claw app on your phone you are going to basically open and scan this QR code in your phone. Once you do
that, a connection would get established between your claude mobile app and your claude system where the claude CLI is
installed or cla installed on your system. So then your whole MacBook or laptop that you have is now connected as
a device on your cloud mobile app that is there and you can control any of these sessions that are running on your
local laptop. Only thing is that they need to be awake. They don't need to be shut down. Right? If you have put the
laptop in a corner with a charger on, you can take all these sessions with you. Right? So for example, like right
now I'm connected. I can like disconnect this session and then if I have to again connect it remote control, right? So now
you would see that there is a / RC green kind of a thing that is present over here. Right? So that means my remote
control is active. And what I can do is like I can set up the config in a way that all the sessions that I'm running
by default starts with remote control on. And let's suppose if I rename this session for now. Rename it to
remote test command. Right? So I renamed this session. So I'm going to go on my phone now. I'm going
to open the app. So I'm open the claw desktop app. I'm going to go and I'll see in the recents I am seeing this
remote test command as an option. I'm going to come over here and type it in mobile. What can you do for me? Right, I
typed it in my mobile and you can see that the command has arrived over here and I can read it on my mobile as well
and I can see that all these things are happening on my system. So this session is running on your system but you have a
remote control in your hand while you are on the go. Now in lesson number seven, I said this is the last lesson of
this slot code course but that was two at the time of that recording and I am adding this one more lesson lesson
number eight in this slot code full course master class because I felt that this lesson is also important for the
people who want to have claude code first working [music] for them with open weight models which are there for free
and claude code can be working for them without any type of subscription which is like claw Pro plan which is like a
$20 plan or a max plan. Claude code is best agentic coding assistant I have ever used in the past 1 year. However,
in the default mode or default setup, it is not free. Enthropic says that to use claude code, you must have a claude
subscription either in the form of pro subscription or max subscription that cost you $20 minimum and $1 and $200 for
max plan. or you should buy API credits and use claude code with claude API platform by creating a claude API key.
But I wanted to use claude code for free. And here is what I did. I pointed cloud code at a free AI model in open
router and everything else stayed exactly where it was. Same agent loop, same file editing across the repo, same
terminal control, same MCP server, same skills, all of it. That is my claude code running on an AI model that cost me
nothing in terms of per token usage. There is just one config setting file and it is documented by both the
companies. There is no proxy to install and nothing sketchy happening over here and I'll share all these files and
scripts with you. So you can drop them in and start using clot code for free. I'm also going to share you two mistake
that most of the videos on this topic have in them including the one that quietly puts you back onto a paid AI
model behind the scenes while you think you are still working on a free model. So let's get started. Welcome to JI
Unplugged. My name is Dhiraj and today's video is all about the free clawed code setup. There's no benchmarking. There is
no sidebyside race or building an app. claw code working fully free on your machine by the end of this video. So
this is what we are going to do in order. We are going to get the open router key first. I'm going to show you
step by step of that. Then I have a special user account set up on my Mac machine so that I can show you right
from the start how to install cloud code and then set it up for free so that those of you who are starting from
scratch can follow. This is where most of the things break. This is where most of the setup hides the abstraction. So
you will be very very clear and if you have already installed cloud code that is a good step you can skip this part of
the video. Then I'm going to show you the three ways like I said one at the project level configuration then the
other one is the global level where every project follows these free models and finally just one terminal to test
out some setup and I'll conclude the video with various traps that are there and some tips on troubleshooting the
common issues that I have encountered or generally the people encounter while setting up this clot code for free.
So let's start with getting the key of open router. So what you are going to do is search open router over here. So it's
a gateway where many AI models are there. So I'm going to like click on open router and you can see on the
homepage itself it says get API key. I'm going to click on that. So you need to set up your account. I'm going to login
with one of my email ids or Gmail account. So you can click on this. I'll accept this. I'll continue. And then you
can see it landed me on the API key. When you log into open router, you may see this welcome vizard as well where
you can select this individual over here. You can click on next. And here they are already creating a workspace
for you and an API key has been created. So I'm going to copy this and paste it on my notepad somewhere. You can ignore
this part. You can click on continue. And then it is asking you to add a payment method. You can add a payment
method but I'll say I'll do it this later so that I can show you that it's completely free setup. I have not added
any type of payment. You can answer this pretty much anything. You can click on continue and you can say go to
dashboard. Our API key is created. So that's all we had to do in open router. But just by chance if you do not see
this welcome vizard, you can always go to this API keys and click on this create new key. You can name whatever
you want over here. And right now it is set as no expiration. But I can always say that one day because this is more
like a demo. So I could have done that. And the key limits you can define and you can click on the create button. So
key will be created. So I'm going to cross this. Just wanted to show you the other way of doing it. So once now the
key has been created the second step is to install cloud code on your machine. So how do you do that? So you go to like
cloud code docs let's suppose. So you can click on this overview cloud docs. On this screen if you scroll down you
would see that there is this curl command over here for Mac OS. I'm going to copy this and I'm going to start a
terminal. So let's start a terminal and I'm going to paste this command over here. If you are using Windows machine
then you can follow this command of Windows PowerShell or Windows CMD. You can copy these commands and paste it on
your command prompt or PowerShell. So it will take a few minutes. Setting up cloud code. Installing cloud code with
native build latest. So you can see that cloud code successfully installed. Setup nodes. Native installation existed in
this. It's not in your path. So this is important to read these setup notes. If there is any kind of suggestion that is
being shared over here, just follow that. Right now it is telling me that the path is not set for the local bin.
So if I write right now cloud over here it will not work. Right? So you can see that command not found. If you are
seeing this kind of an error on Windows or Mac then follow the setup notes that are there. I'm going to follow this
command that it is printed out and I'm going to paste it and then I'm going to say cloud dash version and you can see
that now it is running. It is going to tell me what is the cloud code version that is running. So that's it like cloud
code has been freshly installed on this machine. Now let's start cla. So the moment you start cla this welcome
vizard starts you can start defining how you want your clot to look. So I'll just say dark mode and this is where people
start getting a view. So this is where you have to pay attention here. Clot code account with subscription pro max
team or enterprise. This is what you need. So you need to select your login method. Right? But we don't want to pay.
So this gets people stuck that they have to anyways pay $120 in order to use claude and then they have to like use
the free models. No, you don't need to. Right? The second way of using claude code again like I said entropy console
account for which you need to pay for the APIs and this is very costly. Don't use that. You're going to drain your
money in no time when you are using API credits or direct API that are purchased using clot code. They burn very fast.
And the last one generally videos show that you need to use this third party platform. But when you click on it,
there are only three things available. Amazon bedrock, Microsoft Foundry, Google Vert.exai. I want to use open
router. So open router is not at all over here. So in general in some of the videos you would see that they are
following some tricks using other agents to do that. I'm not going to do that. I'm going to show you the transparent
way of fixing this kind of issue. Here I only have an option to go back. So that means usually people get stuck on this
particular screen and they don't know how to continue. So what I'll recommend is that you just close this screen over
here and the terminal is done. The installation has been done. So what next we have to do is set up some
configuration variables so that we override this login mechanism of clot code. How do we do that? I'm going to
show you the first method that generally you need to use. I recommend this method. That's why I'm showing you the
first method which is at the project level. In order to do that, let me bring my Visual Studio back in over here. And
you don't need to use the Visual Studio code. You can use like any other code editor or you can even do it like on the
terminal itself. But I generally use terminal inside the integrated Visual Studio because it allows me to explore
the files as well. So what I have is right now a completely empty directory which is demo free cloud code. You can
see there is no file in it. I'm going to start the terminal inside. So here if I start the new terminal you can see the
terminal is started. I'm going to expand it. I'm going to close this. So here you can see that new terminal is there. And
if I write cloud- version it will show me that clot code is installed and this is the version that it installed. Right?
But if I start cla it is going to block me on that login screen. So in this folder firstly what we are going to do
is create a dotcloud folder. So I'm going to click on this new folder. I'm going to say dotcloud
and that's it right. So the first step is creating the dotcloud folder in the project which you want claude code to
work on free models. The second step is inside this dotcloud folder we are going to create a new file called
settings.local.json. So this is where we are going to paste the configuration settings and I have
just one file that you can copy paste but first I'm going to walk you through what file is what those parameters are.
So we are going to go back to the presentation. I was showing you scoping to one project and these are the
configuration parameters that goes into the settings.local.json file that I just created. So I'm going
to copy this and paste it over there. So let's copy this and come back and paste it over here. By the way, if you are not
subscribed to my Substack, you can go over there and subscribe to it. You will get the written instructions as an
article in my Substack and also I'll share ready to drop in or run scripts that would have you up and running with
this all free cloud code setup in just one command. Let me come back over here and read you one by one what these
properties are. So first you need to set up this entropic base URL and we are going to override this entropic based
URL from entropic servers to to the open router official API endpoint which is https//openopenouter.ai/
API. The second thing is entropic o token. This is where you are going to basically paste the API key that we just
created on the open router account. Right? So we had copied that. So I'm going to paste it over here. when I am
in this folder of the settings.local.json file. So this is where I'm going to
paste that API key. Third thing is that you have to leave this entropic API key variable as blank. So that the override
exist if you are having the API key over here that means this folder will start misbehaving because your entropic API
key has been set and it might automatically point to your entropic platform API account. So make sure that
you have this empty setup over here. Then we are going to set up the models. So how did I get this model? If I go
back to the open router over here, let's go to the overview section. Let's click on this models and let's search free
models. Right? So if I search for free, you can see that Miniax M3 is free. Nvidia Neotron 3 Ultra is free. So all
these with free tags are all the free models that you can access in open router. And these free models keeps on
changing. So make sure that you are always up to date. In my configuration, what I have is general purpose model
that mostly people use and mostly people recommend is Z- AI/GLM 5.2 free. So this we are going to set
the regular entropic model. Then for the every variation of the entropic model opet
as well I'm going to set up the same. For fable as well I'm going to set up the same. You can change these mods as
well. If you want like Nvidia's Numatron 3 super to be used anywhere across these models, you can do that. I'm just
sharing the concept over here. But you can override these according to any type of free models that you are searching in
the open router. For the default haiku model, I have this open router/free. This is more like a gateway that you
don't need to specify any type of model. I'm just specifying an alias called free. That means any type of free model
that is available at that moment when haiku needs to be used, it is going to redirect to any free model that is
there. It is not going to specifically tie to this one because in case this one is down or it is not available at that
very moment, you would get stuck. In that case, it is going to basically route to whichever free model is
available. Another important property is claude_code sub aent model which is open router
free. again for any type of sub agent that gets spawned. I want any type of free model available in open router to
be picked up for me by open router and serve that sub agent that is there. Finally, there is this max context
token. So for this particular model, I know that the context limit is 256,000 token. So I'm specifying over here. If
you do not specify this particular property, then in that case it is going to default to I think 200,000 that is
there. So if your model which is free model that you have picked in open router supports more context window size
and you are not specifying you are losing 56k in this particular case. So these are the environment variables that
you have to set. So I'm going to drop this file for you. So you can just copy paste this file and put your key in over
here and get going. But just wanted to make sure that you understand what these settings are, what these variables are.
So let's go back over here and let me like delete this and let me paste my key that I had copied. So let me go to the
notepad. So this is the key that I had. So don't worry, I'm going to delete this key so that like it's not available
anymore by the time you are watching it. So you can see this is the final setting that I have. Now we are going to do and
see the magic. So I'm going to close this file, right? And I'm going to expand it again and I'm going to write
claud over here. So you can see that I'm still stuck over here. the onboarding screen or welcome wizard of cloud code
is still there. So if I click on like dark theme mode still again those three option and this is where most users get
stuck. They are not able to bypass this particular screen especially on the fresh installation. But if you have ever
set up the claude code and got past the welcome screen you would see trust this folder option over here and I'm going to
show you exactly that how to bypass now. So if I go back to my presentation. So on a fresh install there are two ways to
get past this onboarding wizard and the login block. One is that has completed onboarding settings to true. So we can
set this in the user home directories dotclaw.json file. We do not need to override it. Just add the setting.
That's the first way. The second way is use the export variables. the variables that we have set or environment
variables that we have set in the settings dot local.json JSON file we use one time [clears throat] these two
variables to export these variables inside the terminal so that we get past it and then start clot then the next
time when we load our settings dolo file will load and I'll come to it later on this particular thing because this is
the third way of using clot code for free and what are the limitation of this way then I'm going to talk about it
otherwise I'm going to show you a easy way to do that so for that I'm just going to copy this variable or this
setting and I'm going to go to my user directory. I'm going to like show you where I'm going. So, let me drag this
over here. So, the user directory is present over here. Otherwise, what you can also do is like this is my main
MacBook uh Mac OS installation directory or drive. This is where users is there. I can click on this. I can click on this
DJ here. All the folders are available. I can go from here as well the locations. Now, I cannot see the
dotcloud file over here, right? because it starts with dot. All the folders files starting with dot are basically
special files. So what I have to do is command shift and dot. The moment I press all these three keys, I'll start
seeing all these system folders as well or hidden files and folders in Windows world. Right? So this is where you see
all this and you can see that there is this file.json that exist over here. So I'm going to
right click on it and I'm going to say open with and I'm going to say sublime text. Any text editor you can open. So
here is the file and right at the top what I'm going to do is press enter and you can paste it anywhere. It's just
that easy to put it at the top and just comma do not forget this comma otherwise this file will break and you will not be
able to use it. I'm going to save this file. Now has completed onboarding is set to true. I'm going to close it and
I'm going to go back to my Visual Studio over here. So here is the Visual Studio. I'm going to press escape here. So I'm
going to like just cross this and come back over here. So I'm exited out of it by pressing Ctrl C two times. Then I'm
going to say clear everything. What I can do is I can restart this terminal again just to make sure that I'm
starting a fresh. So I'm going to delete these terminals. So over here as well I'm going to press new terminal. So now
assuming everything is set if I start claw now so you can see that the onboarding wizard is gone and it is
asking to trust this particular folder right so this is very important that you have to trust this folder because there
is this settings.local.json that is pointing cloud code to somewhere else. So now I'm going to press yes I
trust this folder. So now you can see that in this particular project with this particular file our cloud code is
using API usage billing it is using this particular model that we had set in this settings.local.json
file and I can prove it as well by specifying model and if I see that you can see that default is set to this. The
opus counterpart is set to this. The fable counterpart is set to number three. The sonnet counterpart is set to
number four and the custom haiku model is set to open router/free. So that proves it. I can prove it another way
that status if I run this you can see that MCP server is also connected. So any MCP server that I have like this
probably global MCP server that I have this is already connected. So my entire car is running and the engines are now
pointing to free engines free AI model over here. the model. You can see this is also a free model that we are using
from open router. So I'll just go back and let's run the first prompt. I'll turn it into auto mode on. Hey, I want
to build a simple compound interest calculator. Can you help me? The API is not working
because it is not available. So this is what I was telling you that when you are using these free models sometimes it
will be available sometimes it may not be available and that's why you get this 429 error that is that the upstream AI
model that you are trying to use for free is completely blocked. So what I do in that case that's why I set up that
free thing. So I'll just go to /model here and I'll press enter. And then what I'm going to do is I'm going to set this
to this custom haiku model which is set to open router/free. Let's do that. Right. So yes, I want to switch this
conversation to open router/f free. So now we have switched it. You can see at the top as well it has been switched. So
let me escape escape. So that the previous retries are out. Now let try again. So you can see it has started
thinking. It has got the response back as well. Right. Right now it is going into the plan mode. I'm going to like go
back and say auto mode on. So I'll switch the prompt to tell me the best AI tools of 2025. So you can see that it
has started thinking. It has thought about it. It called my Tavi which is the MCP server right. So you can see that
the tokens have started being utilized. All these tokens are free. Cloud code is using these free tokens here. So you can
see that here it is providing the general purpose chat tools are these. Coding and development are these. Images
and videos are this. audio, music, writing, enterprise automation and then you can see open source and self-hosted
platforms as well. If you want to learn everything about cloud code, I run a special cohort on Maven. Link is in the
description of the video. You can watch the syllabus, run it for 6 weeks. You can learn with me side by side along
with other members of the cohort. Now let's go back to our presentation meanwhile. So this part now you know how
to get unstuck when you are stuck on the onboarding or welcome wizard of cloud code that does not let you pass the
login screen. So this is like the simple method and like I said you can also use this method as well where you can just
enter in your terminal. You can copy these parameters from the settings.local.json
file and just add export in front of them in your terminal. Run them and it's going to work like the moment you press
clot. In many of the videos that you may see, they teach this method first. But because this method only works or lives
inside one terminal, the moment you close the terminal, these settings vanish. That's why they are able to go
past that login screen. And in a moment, I'm going to show you the live demo of this method as well. But now let's go
back. The other two things that you should always remember is that even though you have added this file, always
add this file to get ignore so that you are not exposing your open router API key or secret in a GitHub repository or
a public repository where it can leak for you. Secondly, when I logged in, there was a trust prompt that came in.
You have to make sure that you trust you select that you trust this folder. then only the environment values will apply
to the folder otherwise it will not apply. If you select do not trust this folder then it is not going to work for
you then the cloud code will try to reach out to entropic servers instead of open router API endpoint. Now the second
method that I promised you is for every project. So what you can do in this method is like when I went to this home
directory.cloud folder there is this settings.json file right. So in the windows there is this particular file.
So what I can do is I can paste the environment block that I have in this settings.json file as well. If I go back
to my home directory here we were. So here I first edited the dotcl.json file where the onboarding wizard was
suppressed. But then I can go into this dotcloud folder which is again like a hidden type of a folder. And here I can
see that this settings dojson file is there. I can click on this. I can click and select sublime text as my text
editor. You can see right now theme is dark model is haiku. So what I'll come and do is I'll go back to my visual
studio. I'll just copy this environment block over here. Right? And I'm going to come over here. Press comma. Make sure
that you press comma. And then just paste. So basically you are pasting the entire environment block over here with
all these parameter set. Now if I save this and start any project anywhere in my system using cloud code all cloud
code project will start pointing over here. I personally do not recommend this. Personally you should be able to
choose project by project which project you want to work. If you are completely using plot code for fully free always
then only use this method otherwise use the method that I explained at a project level using the settings.local.json
file inside your project directory. Now let me close it. I don't want to save it. Let's go back to the presentation.
And the third method that I wanted to show is the terminal only single terminal scope is also that you can set.
And how do you do that is all these variables that you see over here. I can just like copy one by one all these
commands. And that's what I was trying to show you as well. Let me just copy everything over here. And I'll quickly
go and create a new folder. Let's come over here. And this time instead of Visual Studio, I'll just show you the
terminal side of it. So here what I'll do is mkdir. So I created a temp folder. CD temp. So now in this temp folder, I'm
going to like just cease this. So all these variables are now exported inside this terminal and I'm going to press
claude now. And you can see that it is asking me to trust this. So I'm going to say yes, I trust this folder. Like I
said, this is very very important. So trust it. And you can see that cloud code is up and running in API usage
billing. This particular model is selected. And if I say / status, so you can see over here as well model is
selected as free open router model over here. So I'll press escape cancel. Now let me close this terminal. Let me
terminate this. Let's open another terminal. And then again let's go to the same folder now. All right. So now I'm
in the same folder. If I start cla again, so you can see that now it has been set to haiku 4.5 API usage billing.
So that means those settings, these export variables that I just pasted, it only lasted for that terminal session.
It did not last forever. So if you want to like test out something very very quickly that how it works then you can
use this. So this was the third method that I wanted to share. Now let's talk about some of the troubleshooting or
issues that many people encounter. Couple of them I have already shared with you but let me share few more so
that you are aware of those issues as well. This applies to people who are already using cloud code and have logged
into enthropic servers. So what goes wrong is that sometimes the cached session of entropic is already there and
that fights the gateway key that we just set up using any of the three methods that you may have. So in that case
running/log out first would help you test out without any kind of issues. And generally what you would see is that not
logged in please run login again kind of an error or model not found kind of an error. This usually goes away when you
use the / logout first. Second thing, like I said, if you are missing this entropic API_key in your parameters and
you are not overriding it to blank, then in that case as well, a similar thing can happen and you might see some
errors. So that's why it is important to keep this variable blank when you are setting up either your environment
variables using export commands or using the project level method or the global level method. Next thing I want to share
is the difference between the gateway routing command which are like open router/free and open router/auto. Well,
both are going to route to whatever model is available in case of issue. The free is it will always pick a free model
at random from the ones which are currently up while the auto one will pick the best model for the prompt. Paid
ones are included. So you might be getting build behind the scenes if you have put some money and you must put
some money and what is the reason? The reason is that free honestly gives you only 50 requests per day. So if you
never put money like I did, I set up a new account from fresh. I did not add any kind of payment method to open
router. It only gives me 20 requests a minute, 50 requests a day. It is enough to learn but it is not enough to work
upon. However, if you put dollar10 only once forever, right? So, it's not like repetitive or monthly or weekly. You
just put $110, recharge your account with dollar 10 once ever, then you stay at 20 requests per minute. However, you
get,000 requests a day. So, the models or the engine are still costing you zero. As long as you are selecting that
open router/free or dedicated free models, but you buy more limit to do more tasks per day. And because you may
end up putting this $10 to buy this limit, using the open router/auto might start billing you and getting some money
deducted from this $10 credit that you would have had in your open router account. That's why I want you to learn
that there is a difference between open router/free and open router/auto. So you can see that car was never the expensive
part. You can pretty much own the garage now with different engines available that can be replaced with free models if
you want to work free. So that is the whole setup of free claw code on your system with all the gotchas or the
troubleshooting steps that other people get stuck that you should not get stuck by watching this video. It's just one
block of configuration and three places you can put that one block of configuration depending upon how much
you want your machine to move into this free configurations. I have put these configurations in the description of
this video. So that's it. That's the full course of cloud code that I wanted to share with you. It covers entire
thing end to end. If you have followed me along this course, you should have a very strong foundation of how to build
with clot code by now. So my suggestion is simple towards the end of this course [music] that whatever you wanted to
automate pick one simple job that takes or eats most of your time in the entire week and try to automate that with the
help of clot code. Build the system around that particular one job that you can focus upon and strike off from your
plate. Tell me in the comments how you felt about this entire course. Do give that subscribe button a tap so that you
can get the new videos, new courses about AI that launch on my channel directly to your inbox. [music] So
that's it for now. I'll say you goodbye and see you next week with the next course or a next lesson about something
else something with AI related.
Claude Code is a tool from Anthropic that allows you to build AI agents using natural language instructions instead of traditional programming. It works by leveraging Claude's advanced language understanding to interpret your goals and generate the necessary code or workflows in the background, so you can create functional agents through conversation alone.
Begin by defining the purpose and tasks of your AI agent in clear, plain English. Then, launch Claude Code in your terminal or supported environment, describe your agent's functionality step by step, and let Claude generate the implementation. Finally, test and refine the agent by providing additional instructions or feedback until it behaves as expected.
You can create a wide range of agents including chatbots, customer support assistants, data extraction tools, content summarizers, and workflow automation bots. Since Claude Code handles the technical details, you can focus on defining the agent's logic and desired outputs using natural language prompts.
Claude Code abstracts away the coding complexity by generating the necessary API calls, data parsing scripts, and error handling in the background. You simply describe the integration goal (e.g., 'fetch data from this URL and format it'), and Claude produces a working agent that executes those steps automatically.
The main limitations are reduced flexibility for highly specialized logic, potential difficulty in debugging unexpected behavior without seeing the underlying code, and dependency on Claude's ability to accurately interpret complex or ambiguous instructions. For advanced customization or performance optimization, some programming knowledge may still be beneficial.
Yes, Claude Code can generate standalone scripts or configurations that you can save and run locally or on a server, depending on your needs. For simple agents, the output may be a single file, while more complex agents might require a runtime environment that Claude can help you set up with natural language instructions.
Be specific and iterative: break down your agent's goal into small, well-defined steps, test each part as you go, and refine your instructions based on the results. Use examples of desired inputs and outputs to clarify your intent, and don't hesitate to ask Claude to explain or adjust parts of the agent's behavior if it doesn't work as expected.
Keep this summary
Save it to LunaNotes and it becomes a real note in your library — editable, searchable, and ready to turn into flashcards or a diagram. Free to start.
Save to LunaNotesOr summarise for another video.
32K+ people have turned 65K+ videos into notes
“Very useful tool. I'm using it for the last couple weeks and I'm loving it so far. Makes learning on YouTube a great experience.”
This summary and transcript were automatically generated using AI with the Free YouTube transcript summary tool by LunaNotes.
Related summaries
Build Stunning AI-Powered Websites with Claude Code: No Coding Needed
Learn how to create professional, fully functional websites using Claude Code without writing any code. This guide covers design systems, image optimization, Next.js integration, AI chatbots with N8N, and real-time reservation features to build seamless business or portfolio sites.
Claude Full Masterclass 2025: The Complete Guide in Tamil
This is a comprehensive masterclass on Anthropic's Claude AI ecosystem, covering Claude Chat, Claude Code, and the powerful Claude Works. The video explains how to master the entire Claude ecosystem, move from a current stage to 2x or 3x productivity, and use agentic tools without any coding knowledge. It includes a detailed guide on installation, setup, skills, connectors, and plugins, as well as advanced prompt engineering frameworks like CRISP.
How to Build a Self-Improving System with Claude Code in 5 Steps
Learn a proven five-step framework to create your own self-improving system using Claude Code. This guide covers project setup, data ingestion, automated improvement loops, and best practices to continuously enhance your AI-driven workflow efficiently.
Build AI Agents with Microsoft Copilot Studio – No Code Guide
Learn how to create custom AI agents using Microsoft Copilot Studio without writing any code. This step-by-step tutorial covers building a customer service bot, connecting it to company documents, automating email responses, and publishing it for your team.
Claude Code Finally Supports Agents MD: Universal AI Standard Arrives
Claude Code now supports the Agents MD standard, ending over a year of developer frustration with 5,200+ GitHub votes demanding this feature. The update introduces a powerful new mods system that allows developers to customize Claude Code's internal behavior, signaling a pivot from AI blackbox to modular customization.
Most viewed summaries
A Comprehensive Guide to Using Stable Diffusion Forge UI
Explore the Stable Diffusion Forge UI, customizable settings, models, and more to enhance your image generation experience.
Kolonyalismo at Imperyalismo: Ang Kasaysayan ng Pagsakop sa Pilipinas
Tuklasin ang kasaysayan ng kolonyalismo at imperyalismo sa Pilipinas sa pamamagitan ni Ferdinand Magellan.
Mastering Inpainting with Stable Diffusion: Fix Mistakes and Enhance Your Images
Learn to fix mistakes and enhance images with Stable Diffusion's inpainting features effectively.
Pamamaraan at Patakarang Kolonyal ng mga Espanyol sa Pilipinas
Tuklasin ang mga pamamaraan at patakaran ng mga Espanyol sa Pilipinas, at ang epekto nito sa mga Pilipino.
How to Install and Configure Forge: A New Stable Diffusion Web UI
Learn to install and configure the new Forge web UI for Stable Diffusion, with tips on models and settings.
Found this summary useful?
Take it with you. One click puts it in your own LunaNotes library.
Save to LunaNotes