📹 Behind the Scenes: How I Use Custom Commands and Subagents as My AI Business Copilot
Jules Boiteux
4 months ago52 views
Transcript
00:00
All right, so let me show you my local environment setup for all the sub agents that I shared within the Notion document alongside their corresponding custom commands.
00:13
Okay, so here we are with that list of you know, sub agents that work for my business.
00:21
I actually call them via custom commands from cloud codes and I do use cloud code from a cursor, that I use as an ide.
00:32
Note that this setup does work with any IDE you want and no matter actually what subscription you have on this ide you can very well like use VS code for instance which is free or cursor free plan.
00:47
setup would work as well.
00:49
So let me open up cursor, and let's open actually the project from which I have you know, all these agents working.
00:58
So this one is called a copilot and when I open it, as you can see on the left, I actually have under that load folder the list of sub agents that I refer to inside the document.
01:13
And I have the list of corresponding comments that actually are calling those specific agents.
01:21
Okay, so for instance, if we take the example of LinkedIn, for instance, so refining a LinkedIn article here, the instructions are the following.
01:33
So refining the content of a draft.
01:38
Okay, so the draft is going to be one argument based on a brainstorm which comes from the second argument here.
01:46
And it clearly says that I should use the LinkedIn article refiner, agent that is located here and this is inside this specific file here that the agent is actually given the full fledged instructions to refine a LinkedIn article.
02:07
Okay so let me actually show you how that works in practice.
02:12
Okay, so I'm going to actually say okay, I have a draft of a LinkedIn article and you know, I want cloud code to help me like refine it using like the formats that, that I'm used to so to do.
02:29
So what I'm going to do is I'm going to open a cloud and I'm going to use the custom command that I showed you.
02:36
Okay, so this custom command is called refine LinkedIn article.
02:41
I'm going to hit tab and here I have a hint about two arguments that I need to provide.
02:48
The first one is the draft.
02:50
So the draft is what I've been working on on my site and for which I need a bit of help from cloud code.
02:59
So here we are.
03:00
So I'm copying the content from my notion doc and pasting it here directly inside the Cloud Command and I'm also going to add you know, some other informations that are going to help cloud code, come up with you know, content that fits what I want.
03:23
Okay so here I'm going to use Whisper and I'm going to add some instructions.
03:27
Okay, so I want to write up a LinkedIn article that is around.
03:32
You know, how often I'm asked about why I keep using the likes of V0 and lovable, for vibe coding purposes.
03:42
the goal here is really to be didactical as much as possible and sure it is really clear, really rational.
03:51
What are the five arguments that I put forward to explain why I still think it's a good idea and it's an efficient way of type coding to use the likes of flowvol and Bolt.
04:03
Okay and so this adds up a few information for writing this option article.
04:10
And here we go.
04:10
So I'm just going to actually delete the beginning because the beginning was actually not directly related to the article.
04:21
and here we go.
04:22
So what's going to happen is that again it's going to call that custom command here, which themselves is going to call the LinkedIn article refiner agent here.
04:36
and I'm going to show what's going to happen.
04:38
So while it's actually generating the article here, let me explain actually another part of the setup that I didn't talk about.
04:47
I referred a few moments ago about the fact that what's really neat with cloud code is that it can leverage your historical data to actually refine or write up some contents based on those historical data that you have.
05:05
And in this specific case of LinkedIn here, the goal is to actually write up LinkedIn articles with the same tone or at least with the same format than the former LinkedIn articles that you may have written in the past.
05:21
And that's where Obsidian comes in.
05:24
So Obsidian is a tool that is actually a note taking tool that interacts actually with your local files.
05:34
So that's kind of a notion but that works on top of your content.
05:42
Okay, so for instance I'm going to actually open it up here and here we go.
05:47
So what's happening here is that the content that you can see here, written is actually a visualization of what you can see here.
05:59
So actually the LinkedIn articles that are located inside this specific folder here.
06:05
Okay, and why is it interesting here?
06:08
It's because what's going to happen is that the agents, they have the specific instruction to actually write the content inside this specific folder in such a way that Obsidian can actually read from them.
06:26
And I can actually iterate on the LinkedIn article directly using that neat interface inside Obsidian basically, And also what's interesting is that this folder that you can see here under that Obsidian folder that again is used by Obsidian to read the corresponding content.
06:51
those you know, agents here, they have the specific instruction to actually read through the content inside the specific folder to get some inspiration and to get some also added instructions about the format to actually use.
07:08
So here, as we can see here, the article has been successfully refined and saved to the LinkedInArticles folder.
07:17
And you know, you can see that it has been written here.
07:20
The thing is that it's not very neat again and not very practical to actually refine the article and write on top of it.
07:27
So that's why what I use is actually off season as you can see.
07:30
And normally the article should be available here.
07:34
And as you can see here I can then update the article myself depending on what I think should be improved.
07:43
And the good thing also is that I can also simply like interact with the file directly from KUD.
07:49
So for instance, if I want, let's say not five but 10 clear arguments, what I'm going to say is that actually I want 10 clear arguments inside the.
08:05
And I'm going to actually call the article, specifically the following article.
08:13
Okay, and here we go.
08:15
So it's going to actually search for some more you know, arguments to highlight inside the article.
08:21
And of course in the meantime I can like work for instance on improving hook like removing this or whatever tasks I want to, to write up.
08:30
As you can see here, it has added at this footer that I very often use for most of my LinkedIn posts.
08:39
So again it's saving some time for me because it's just adapting the same format that I'm used to sharing.
08:46
And yeah, as you can see here it's going to actually add up some more content to the article, which makes obviously the process very much effective.
09:00
And as you can see here, some content is being added.
09:04
and it's then my turn to actually reread and write up some stuff or modify some content on top of, this.
09:13
Okay, so that's how it works.
09:16
I'll show you in the next video how to actually, come up with that full setup that includes agents, custom commands, and, historical data, like rag data, basically available from an Obsidian folder.