This ClotCode pipeline takes any YouTube video,
any podcast,
and any call and turns them into a full week of short form content.
It picks the best moments, reframes everything vertically,
and it edits all of it. Plus, it schedules it across every single platform. It doesn't require any expensive subscription.
It is fully customizable
and no editing software,
just Claude code doing all the work for you. All the clips that you see right here have come from my long form YouTube videos.
This clip's inside
YouTube. This clip's inside TikTok.
The whole pipeline analyzes
the full transcript of those videos, picks the strongest moments, reframes
everything vertically with my face tracking. It adds the captions with my branding color, the overlays, the whole editing process,
and it basically schedules all of those posts across all my five social platforms, Instagram,
TikTok, Threads, YouTube,
and, uh, LinkedIn.
I didn't have to open any other app or editors once. Just a conversation with Claude. If you guys don't know me yet, I'm Enrique. For the last year and a half, I have been spending
all my time building agentic systems, specifically for sales and marketing. In this video, I'm gonna show you exactly how this clip extractor pipeline works. I'm going over three things. First, setting up clot code, your agent brain inside BS code. Second, I will be walking you through the five stages of the pipeline. And third, I'm gonna show you in real time how the entire system goes from start to end with real examples.
So this is where everything starts.
You give it a long form video,
and Claude starts to read the entire transcript generated by WhisperX.
It goes through every single moment and picks the clips that would actually perform very well. It is not random. It actually has a framework that is following that
basically allows Claude to pull out what's worth posting.
Once it has all the clips
picked,
it reframes everything vertically.
So it finds your face like this layout here,
and it locks the crop so you stay center the whole time. These are some examples of the source video layouts that are available inside the system,
like screen share. As you can see, upper half is me sharing the screen. Bottom half is me centered
in the center in the bottom half.
And
here we have speaker side by side. This is in the case if you upload a video from a podcast,
uh, where you can see two speakers, one of the on the upper half and one in the bottom half.
And they work also if there's just a a close-up layout.
The close-up layout is just one single speaker on the screen.
And then after that, it generates the entire captions
worth level accurate
straight from the audio,
um,
transcription process,
leveraging the open source models that we do have in the system. And we get all the time stamps properly from that video. So then we can from those clips that we pick that Claude picks, and then it moves on into the auto editing process.
This is where it all comes together. So the overlays,
the illustrations,
uh, the transitions, the sound effects, everything gets composed automatically here. You're not dragging things down or
putting things on the timeline,
doing it manually yourself.
You're not opening any,
uh, editor platform.
You're just letting Cloud Code handle the full composition
using Remotion and all the trained skills
that you can see here.
Remotion is a tool that allows to edit and create videos
with just code. And this is the same exact approach that I have used for all the short form clips that I have posted on my social medias.
And the way I approach this are is creating all the compositions that you can see here.
Uh, Claude has created all these compositions when editing my short form videos.
And this is the same approach that you're gonna see when we go into the process of sharing an example. This is one of the examples that I wanted to share with that you also saw at the beginning of the video.
And then finally, it publishes
everything across all the social platforms that you want to connect with the AI agent social media manager. Alright. So it is worth mentioning at this point that I already dedicated a specific video for the AI agent social media manager, where I go over a very similar process like the one in this video, setting up Cloud Code inside the developer platform that we're using, and then inserting the AI agent social media manager system that I'm giving you away for free. It's on GitHub. And then configuring,
uh, my favorite social media API,
late. Uh, this API allows you to post through 13 different social platforms,
get analytics,
social media DMs, and everything from a very affordable
price. You can even start for free. That video is already uploaded on my YouTube, so go check that out.
So at this tab here,
Claude is gonna take all those finished clips and is gonna schedule them across your platforms
on your content calendar. You don't have to copy and paste and upload them one by one. It is already done for you and managed by your content social media agent.
And the outcome that you can see here are 50 posts,
10 clips times four platforms from one video.
And short form clips work very well for me to bring awareness
to my main valuable long form video that I post on YouTube. And this is just one pipeline. I'm building the entire system on my channel,
giving it to you guys. So the next video, I'm gonna probably walk you through something better. So stay up to date, follow,
subscribe, and turn the bell. Alright. So if you wanna get all the sauce from this video, the AI agent social media manager system that I just referenced to you, the IX clip extractor system,
just have a conversation with Vin. I'm gonna leave her WhatsApp and her number if you wanna use SMS.
Just text her saying, hey. I came from Enrique's video. I wanna get the system, and she will bring you up the link access to the specific repos that I'm giving you away,
uh, for free. Remember, I did mention to you that we have the AI agent social media manager system, so go check that out if you don't have that system set up yet. But now we're gonna go over setting up the IX clip extractor pipeline. And if you have used Claude code before, you can have this running in less than five minutes. Just clone the repo and follow my instructions that I'm gonna give now. Alright, people. So the developer platform that we're using is Versus Code. So if you don't have Versus Code yet on your computer, please download Versus Code. Once you have Versus Code, the first thing that we're gonna do is we're gonna head into the sidebar on the left. We're gonna click on extensions, and we're gonna type Claude Code. We're gonna click on it. We're gonna install Claude Code, and you will be able to see this, uh, little icon on the top right where this is basically allowing you to open a regular chat conversation with Claude.
Uh, this is in the case if you prefer
regular chat interface than using the terminal. K? Okay. So another thing that I really recommend people to do is turn on allow by pass permissions mode. This is basically the mode that the mode that allows Claude to, um, do things without asking you for any permissions.
Uh, so Claude does all of this stuff autonomously.
It can be a little bit dangerous, but, uh, it's worth it. Alright. Once you have that in place, we're gonna make sure we connect your well, you connect your Anthropic account. So you're gonna click Cloud dot AI subscription.
This is gonna allow you to open
a tab on your window
to allow the connection of your Anthropic account. Make sure the Anthropic account that you're authorizing is correct. Alright. So once you have that done, you're gonna head into the GitHub repo that we're giving away, and you're gonna click on code, and you're gonna clone either of these three options here. You're gonna copy the URL.
You're gonna go back into your chat interface with Claude, and you're gonna take Claude. Hey, Claude. Can you help me set up the system on another project inside BS code? And then he's gonna go over checking the entire repo
for you,
uh, understanding all the requirements, and he's gonna do the whole setup.
And he's gonna open that system on another window. Easy, quick. That's how you get your entire clip extractor pipeline,
uh, system implemented into your own project.
Now let's finish the setup. Alright. So here we are on another conversation with Claude to finish the entire setup. So what I just did, I just told Claude, hey. Can you guide me through the entire setup for me, please? And this is on the new project. Right? On the new project with our own ClipExtractor pipeline system in place with the, uh, Anthropic account connected already
to my Claude,
um, code instance here.
And he basically guides me through the entire process reading the readme file that we do have here set up for you to get your entire system ready and start rolling. And he basically goes,
uh, into checking all the requirements,
all the dependencies,
and he gets the entire system
completed for me, installing all of these components, all of these tools that we're using, and he also is bringing me up a a couple of important pieces for me to under Okay? You can also, in this same conversation, ask Claude about the structure of the entire system. As you can see here, we have multiple folders. We do we do have the Claude folder.
We do have the output folder, the public folder,
remoteion folder, and the tools folder. Okay?
And also the Cloud. M d and the environment,
uh, files. So starting with the Cloud folder, inside this folder, we do have the click skills folder, and this is where we are storing all of the skills skills that I'm giving you away in the system. There are basically the skills necessary to get all of the outputs,
uh, from all of the things that I have mentioned already.
Uh, everything from,
um, doing the clip selection,
doing the clip extraction,
doing the, uh, editing process,
uploading, uh, those videos so we can post them,
and all of that is optimized. All of the skills are here,
and you can customize them to your needs because they're made with that intention for you to use. Alright. With that being said, we do have this folder.
Right? This folder is basically the output folder. This is where we are gonna get all the all the clips from the specific videos that we are going to push through the, uh, pipeline. Okay?
And you are gonna get them with their respected
subfolder
with their date and the idea
or the concept of the video itself. In this case, here are all the seven clips from this video that I just
extracted. Now inside the public folder, as you can see here, here's where we are storing all of the audios,
right, all of the sound effects that we are using for the editing process.
The logos, as you can see here, these are visuals that we are adding on the videos to give them more, uh, sauce.
And here are the videos, the long form videos that we are importing
for the extraction of the clips. Uh, we store them also here. Okay? So the other folder that we have here is the promotion folder. This is the folder that is already trained with all of the compositions,
all of the components, and all of the playbooks that I have used for the editing process,
uh, on my clips.
And this is the folder that I'm giving you to do to you, uh, to use,
um, and start making your own compositions, your own components,
and we're gonna dive deep into that in a bit. Okay? And then we have the tools, the tools folder. This is super important. This is where we have all of the sauce for the whole, uh, clip extractor
tool specifically.
This is where we store all the specific tools that make all of this whole process work together alongside
Claude. This is where we are placing tools like MediaPipe,
EMA Smooth, and FFmpeg
together
to make all of this auto reframing process work. I'll be honest with you. This is like a five month work that I'm giving away for free in this video. So please leave a like, subscribe, or comment anything
that actually
brings a lot of value to me. And here we have the environment file. This is where we are storing all the API keys from the platforms that we're using. And finally, we do have the claud dot m d file. This is basically the root file
that, uh, has all the context
of the entire pipeline system here. So if you wanna get more context of all the pieces of this exact system,
please install the system, clone it yourself, and ask questions to Claude. Alright. So we're gonna navigate into the third step of the video that is basically showing you the examples
in action of how this entire,
uh, clip extractor pipeline works. So I'm gonna start with having two prompts, and this is gonna be all that I'm gonna do. The two prompts are well, I'm gonna start with the first one. It says, I have a long form video,
and then I'm basically referencing a file on my, uh, comp this one here is the Cloud Creatives video with no editing. I recommend this video. I'll leave it down on the description.
It's basically supporting
it's basically an extension of the AI agent social media manager, but this is more focused on how you can create content creatives with Cloud Code alongside
you. So what I just did, I just copied the path, and I just referenced
the path in the chat. And I said, I want to get clips from it and schedule them over my weekly content. So I'm gonna push this for the other prompt I have. Can you use your magic and focus on the first one hour, uh, the first hour of this video to get the best clips? I want you to find six well, seven high quality clips from this podcast.
And then I'm basically referencing this podcast,
uh, from Lex Fridman,
uh, with the creator of Open Claw.
And we're gonna see how everything develops.
Cool. So this is what I got here. Alright. Let's go, baby. Alright. First prompt completed. Pipeline completed.
Seven clips schedule.
What was done? The clip selection, clip extraction,
transcription,
editing, rendering,
and schedule. All for me. Literally, it took, like, thirty minutes, thirty five minutes. I'm gonna explain more of the process that happened as you as you could saw on the actual timeline
itself. Claude asked me for three questions mainly. How many clips do I want? Uh, the actual process of, uh, do you want me to schedule this for the content the weekly,
uh, content calendar? Yes, I said.
And he basically managed all of that. It was actually two questions if I remember well. So this was the first prompt.
This is what I got. We got all the weekly content calendar coming from just one video, and everything got posted on YouTube shorts, Instagram reels, TikTok, threads.
And, yeah, let me take a look at my late, uh, dashboard.
And, yeah, as you can see here, here's the late dashboard.
You will be able to see that first video. You will be able to see that all the videos got distribute by one day. This was posted on well, schedule on March 3 up to March 9.
And here we have the video
with the proper cloud code,
the proper title,
and the video itself getting loaded and posted. And here's the video, the clip itself. You will be able to see that we are adding the captions in the right place. It is basically highlighting with my branding color the
most impactful,
um, words on the video. You just saw one composition getting created
supporting what I was saying,
and another composition here. That's the pattern process for all of these clips.
And at the end, we do have the call to action. Uh, watch the full video, Claude Creatives. It doesn't have my thumbnail specifically, but that's one thing that I can just go back with Claude and tell Claude, hey. At the end of each of the clips, you didn't add
the thumbnail on the call to action. I will recommend you train Claude better on that process. That's my fault,
um, because this is just a template that I just installed on the computer recently. But, yeah, I'm just giving you the quick idea of if you are the owner of this system, you can do whatever you want,
and that requires training. That requires iteration of you using the system and tailoring it to your needs and to your likings. Okay? So I'm just gonna give a quick overview from start to end. As you can see, Claude went through all this process here. Um, I'm not gonna go into everything,
but as you can see here, he was triggering the proper skills.
He was basically going through the phases of the pipeline.
And
some of the times, he asked me questions
to continue the next step, like the question of how many clips you want out of this video? Do you want me to post this now on and schedule it through your content, uh, weekly calendar?
Yes.
Uh, no. You can be like, yes. No. Let me review the videos and and stuff like that. Um, but, yeah, that was the first prompt.
Really well outputs. Let me take a look at all of them again. One thing, just the title on the first one. The second one, we got the one problem with my AI social media manager. I mean, sick.
You just saw high quality videos. The editing was really well done.
And
it's just crazy to see that
seven videos
got posted to four platforms.
I mean, let me count. One two three four five six seven times four. Seven times four is 28.
So 28 posts. Alright. So let's move on into the second prompt, and this prompt was basically referencing an actual
YouTube video itself.
We just left the YouTube video.
And Claude just went through all of this process
triggering first the clip selection
out of that video.
Uh, it used some of the tools that it already has, uh, in the system, like
YouTube DLP.
And it basically
broke down the clips for me
and score them
and give them back to me so I could approve,
uh, if I really like them. It downloaded the first hour of the video. It run the batch face tracking to reframe on all of the seven clips,
and it ended up with the final delivery
of all these clips here
as you can see. Basically, store all of them inside the output folder, but he missed placing them inside a sub full sub folder.
So what I just told him was, yes, create a sub folder and place them there. And here we have the subfolder containing the seven clips
from the podcast,
uh, from Lex, uh, Lex Fridman, uh, talking with the creator of OpenClaw.
Isn't this so cool? Like, this now replaces the total need of external
tools out there that are not even necessary anymore because you can host them on your own
project, your own system, leveraging this this one agent tool. Crazy.
So this video was just meant for you to get clear on how you can implement this system,
understand how I've been using it, and get you started with actually putting it into action for yourself. So we just got into the end of the video. So if you want to talk more about this, can't find me on LinkedIn. Connect with me. I'm posting all the behind the scenes of everything that I do. So, yeah, drop a comment below if you have any questions. I try to read all of them. And if you want to have access to the pipeline, all the free resources,
or you just want to chat about what's possible with this stuff,
please talk with Finn. I left her number down below, so
she will get you set up
with all of the requirements that you need. Subscribe if you still want to see the rest of the sales and marketing systems that I'm sharing through these videos. I will see you in the next one.