Generate Content for 9 Socials on Autopilot with Claude Code
Nate Herk | AI Automation · 2026-03-17 · 17м 29с · 43 969 просмотров · YouTube ↗
Топики: launch-ai-content
Аудио ещё не скачано.
📝 Summary
model=openai/gpt-oss-120b · prompt=summary-v7 · 6 631→1 660 tokens · 2026-05-28 08:06:43
🎯 Главная суть
С помощью Claude Code и сервиса Blotato можно полностью автоматизировать процесс «переработки» одного YouTube‑видео в готовый контент для девяти социальных сетей — текстовые посты и визуалы, а также их планирование и публикацию.
Настройка среды в Visual Studio Code
Для работы используется расширение Cloud Code от Anthropic, которое устанавливается через панель Extensions в VS Code. После установки требуется войти в платный план (Pro/Max), иначе функции Cloud Code недоступны. После входа появляется оранжевый значок в правом верхнем углу, открывающий чат‑интерфейс агента Cloud Code. Далее создаётся пустая папка проекта (в примере названо Blotato), в которой будут храниться скрипты, файлы конфигурации и черновики.
Создание «скилла» — рецепта автоматизации
В чат вводится промпт:
create me a new skill called repurpose YouTube video …
Скилл — это набор инструкций (рецепт), описывающих входные данные, шаги обработки и ожидаемый результат. В данном случае скилл должен принимать URL YouTube‑видео и генерировать посты для LinkedIn, Instagram и X, каждый с визуалом, адаптированным под платформу. Промпт заканчивается запросом задавать уточняющие вопросы, пока агент не будет уверен в выполнении задачи на 95 %.
Уточняющие вопросы и параметры генерации
Агент последовательно задаёт вопросы, на которые задаются ответы:
- Язык программирования — выбран Python (наиболее удобен для работы с API).
- Публикация — только предварительный просмотр, окончательное одобрение пользователем.
- LLM для текста — использовать Claude (Anthropic) для переписывания контента под каждую платформу.
- Тон голоса — профессиональный и адаптированный к LinkedIn, более свободный и слегка юмористический для X, образовательный карусельный стиль для Instagram.
- Визуалы — ключевая инфографика для LinkedIn, яркая цитата для X, карусель с профилем автора и проверочным бейджем для Instagram.
- Сохранение — все результаты помещаются в папку drafts для ручного контроля.
- Выбор публикации — пользователь одобряет каждую платформу отдельно.
Автоматическое построение проекта и файловой структуры
После завершения вопросов Cloud Code генерирует:
- папку .cloud с командами скилла;
- Python‑скрипты
draft.py,post.py,publish.pyи вспомогательные файлы; - файл
.envс placeholders для Blotato API key и Anthropic/OpenRouter API key; - структуру проекта, включающую
__pycache__и другие служебные каталоги.
Эти файлы образуют полностью рабочий набор, готовый к подключению реальных ключей.
Подключение API‑ключей и загрузка бренд‑ассетов
В .env вставляются полученные ключи:
BLOTATO_API_KEY=...
ANTHROPIC_API_KEY=...
Для визуального стиля в проект добавляется папка brand_assets с изображением профиля автора (и при желании другими элементами бренда). После этого в чат отправляется запрос:
«Hey Claude, take this YouTube video … and repurpose it … using the profile picture from brand_assets.»
Агент запускает скрипты, извлекает транскрипт, формирует тексты и пытается создать визуалы.
Обработка ошибок и доработки визуалов
Первый запуск успешно создал тексты, но визуалы не сгенерировались (ошибка «YouTube blocked by webfetch tool»). Агент записал проблему в раздел known issues скилла и повторно попытался создать изображения, уточнив, что нужны именно изображения, а не видео. На втором проходе визуалы были созданы, а при необходимости агент автоматически изменил размер профиля, чтобы он соответствовал ограничениям API Blotato.
Результаты в папке drafts
После успешного выполнения появились файлы:
- LinkedIn – инфографика‑whiteboard с тремя ключевыми шагами из видео, текст поста и ссылка на оригинал.
- Instagram – карусель из нескольких слайдов, каждый содержит один из пунктов, профиль автора и проверочный бейдж.
- X – короткий мем‑текст и простая цитата‑визуал.
Все материалы находятся в подпапках linkedin, instagram, x внутри drafts и готовы к ручному одобрению.
Итеративное улучшение и масштабирование
Повторные запуски с небольшими правками (добавление логотипа, изменение цвета, уточнение CTA) показывают, как скилл «учится» и фиксирует новые требования в документе skill.md. При постоянном добавлении бизнес‑контекста, бренд‑гайдов и обратной связи качество генерируемого контента повышается, а после отладки скилл можно автоматизировать: каждый новый YouTube‑выпуск будет сразу превращаться в готовый набор постов для всех девяти платформ.
Организация проекта и финальная подготовка к публикации
Для упорядочения кода создаётся файл cloud.md — короткий системный промпт (не более 150 строк), описывающий общие правила, доступные инструменты и переменные окружения. Затем все Python‑скрипты перемещаются в отдельный каталог scripts, а ссылки в cloud.md и в скилле обновляются. После этого в интерфейсе Blotato подключаются аккаунты соцсетей (логин через OAuth), копируются их ID, и Cloud Code может вызвать соответствующие API‑эндпоинты для публикации. Тестовый запуск публикации в X подтверждает, что интеграция работает без ручного вмешательства.
Таким образом, сочетание Claude Code, Cloud Code и Blotato позволяет превратить один длинный YouTube‑ролик в полностью готовый набор постов и визуалов для множества соцсетей, сократив ручной труд до нескольких минут и обеспечив повторяемость процесса.
📜 Transcript
en · 4 325 слов · 266 сегментов · clean
Показать текст транскрипта
You can see right here, all I said was, hey Claude, I want you to take this YouTube video and repurpose it into a LinkedIn, X, and Instagram post. And I dropped in the link to the YouTube video and shot it off. Not only did it create all of these assets, but it also found bugs in its own code and fixed those. And then we have this folder over here called drafts. And if I open it up, you can see that we have building beautiful websites with Claude Code, which is the video I gave it. And then in here we have Instagram with our actual post text and five visuals. We've got LinkedIn with our post text and a visual and then same exact thing for X. So that exact workflow right there took me from having one long-form YouTube video to having a finished LinkedIn post, a finished Instagram post, and a finished X post. And if I wanted to ask it to generate posts for six other social platforms, it could because it can use all of them and understands how they all work. So today I'm going to be showing you guys how you can basically 9X your content game using a combination of Cloud Code and Blotato. So right now when you're creating content, you know it takes a lot of time. and when you put all that time into creating let's just say a YouTube video it'd be really nice to be able to repurpose that content into different platforms as well. So what Boteto can help you do is it can create the source so it can look through transcripts, websites, PDFs, it can find inspiration, it can then create visuals for you so infographics, carousels, or videos and then it can actually go ahead and schedule that stuff. So it can post it to nine platforms, it can create the stories, it can create the you know content calendar and we can do all of that using Blotato and automate it with Cloud Code. So you guys saw a demo earlier, but I'm literally going to set up a brand new account today. I'm going to walk you through the exact steps that you need to do. And basically all we have to do is get our API key, add our MCP config for Blotato, and then just connect our accounts. And we're already ready to start creating content in less than five minutes. All right. So the way that I like to use Cloud Code is within an IDE called Visual Studio Code. Now you could use this in anti-gravity. You could use it in the terminal. you could use it in cursor but i like to use visual studio code so if you don't have this then just go to your browser type in visual studio code you can download this for both windows or mac or whatever operating system that you're on now once you're in here this is what it should look like and i'm going to walk you through everything you need to click on and everywhere you need to type so don't get overwhelmed if you'd rather watch like kind of an intro video and then come back then i'll tag this one right up here and then hop on back over here and by the way if you've been watching my channel for a while then you've known about blotato i showed it in n8n in this video and also in all of my kind of like faceless shorts videos we use blo tato to do the auto posting and scheduling but now i'm just showing you how it's actually a lot easier to use with cloud code so that's exactly why once we're in here we're going to go over to this left hand side and click on the extensions button and all you have to do is type in cloud code it'll be this one right here that's verified from anthropic and then you'll just go ahead and install this when you install it it will prompt you to sign in with your paid cloud subscription now this does have to be the pro or max plan because if you're on just the free you don't have access to cloud code now once you've installed this what it will do is give you this little orange button in the top right which lets you open up cloud code and this is kind of like your typical cloud or chat gpt interface where you get to talk to an agent right here and now what we need to do is open up a project or a folder so i'm going to go over to this top left button that says explorer and it will say you have not yet opened a folder go ahead and open one up and that's where we'll be working inside for this specific, you know, AI social media poster project. So I just went ahead and I created a brand new one. I just called it Blotato. There's absolutely nothing in here. And this is what your screen should look like. And now what we want to do is just basically close out of the welcome thing. We can go ahead and double click and then hit the cloud code button. And now we just have our files, which will be on the left. We don't have any yet. And then we have our cloud code agent right here that we are going to be able to talk to. So what I'm going to do in the chat is paste in this prompt that says, create me a new skill called repurpose YouTube video. It's going to create an AI social media manager that makes social media posts for LinkedIn, Instagram, and X. The user will input a YouTube video URL and wants it, I misspelled this here, to be turned into a LinkedIn post, Instagram post, X post, and each one should have a visual that's optimized for that platform. So Votato is basically going to take this video and do everything for us. I end this prompt by saying, ask me clarifying questions one at a time until you are 95% confident that you can complete the task successfully. And I kind of use this templated prompt from Sabrina. So shout out, Sabrina. You guys can all copy and paste this exact prompt for my FreeSchool community, or you can just copy it by looking at it right here. So now that this is running, it's going to start going through that process. The first thing that it's doing is it's researching about Blotato to figure out what it's actually able to do. And it's basically gonna help us build out this flow where we drop in a video, Blotato extracts the transcript, adapts the content for these different media platforms, and then it creates everything. And then we're able to review it and then just basically approve it manually. Now, before I start going through this flow of answering questions, I wanted to explain what is a skill, because you'll notice I asked it to create a new skill. Just think of a skill like a recipe. If you tell your agent to write a LinkedIn post, it would look at the LinkedIn post skill, and that would have the name of the dish, the ingredients, the steps, and then the finished output. That way the agent could read the recipe and make sure that every single time you ask it to make that dish, it comes out perfect. So because we're turning this process into a skill, every single time we use it, it's only going to get better and more consistent. But anyways, now we're going to come back into Cloud Code and answer the clarifying questions. So it's asking me what program language to build this in. I don't really know what I want to do here, and you may not either. So what I'm just going to say is, whatever you think is best. It decides to go with Python because it's the cleanest for this kind of API driven tool. So then it asks, should the tool auto publish or do preview and approval? I want you to always make sure I review it before you ever publish anything on my social media accounts. And if you guys are curious about how I'm talking and words are appearing, then check out the description for the tool. Anyways, for the AI-generated post copy, do you want to use Claude to write the tailored posts, or should the tool just reformat the extracted YouTube content without an LLM? I definitely want to use Claude to rewrite the text content for the different platforms. Cool, so we'll eventually have to give it an Anthropic API key as well as the Blotato API key. Now it asks about the tone of voice that we want. So in this case, if you had like a custom GPT or cloud project already that helps you write LinkedIn posts or Instagram posts, you could just go ahead and grab the instructions from that and put that here. But for now, I'm just going to keep this really simple for the sake of the demo and just say platform adapted professional on LinkedIn. And on X, you can be casual and maybe even a little bit humorous. Now it's asking for Instagram. What type of post should it create? I would like you to create a educational carousel that looks like I am writing tweets. And now it asks about the visuals for LinkedIn X. For LinkedIn, let's do a key takeaway graphic. It should be clean and it should have some text that explains the value in the video. And for X, yeah, let's just do something eye-catching, maybe a cool quote. Next question is, how do you want to review the stuff? Let's just go ahead and save everything to the drafts folder so I can take a look at it myself. When publishing, should you be able to selectively approve which platforms to post to? Yeah, I will tell you one by one which ones have been approved. I think I nearly have everything one last question should the tool that you edit the draft text files before publishing and have the publish command pick up your changes absolutely okay so it looks like we're done with the question stage now now you might notice that there's still some stuff that we might want to give to this platform like maybe some more information about our business it doesn't really know anything about what we do and maybe things like the colors we like to use or our logo or something like that so that it can be on on the visuals so now what it's going to do is it's going to build up those different tools as you can see it makes a to-do list and it's going to go through one by one and finish all that and also what you're going to notice is on the left hand side we're going to start to get files and folders in our project set up and that's really important because if your cloud code workspace isn't organized and it doesn't understand where files are and if you don't understand where files are then it's just going to get messy and it might be hard to manage the context okay so that has finished up, you can see that we have a new project structure. So over here we have a PyCache, we've got .cloud with our commands. So this is essentially the exact same thing as skills. So this is the repurpose YouTube video skill that it created. You can see that it created some actual Python scripts to draft, to post, to publish. And so maybe we would want to clean this up and put this in a different folder called scripts or something like that. But the action item on us now is to actually set up our API keys. So if I go into the .env, you can see that we have a Blotato API key and an Anthropic API key that we need to set up. So the first step would be to use the link in the description and go to Blotato, and that will help you get 30% off for six months. Now, once you get that set up, all you'll have to do is go over to the bottom left and go to your settings and then click on right here, API. And this is where it will ask you to just basically make sure that this is a paid feature. So if you enable it, you will be on a paid plan. And then you'll go ahead and copy this API key right there. And then in the .env, you'll paste this in and then you will save it. And then it's also asking for an Anthropic API key. I'm actually going to go ahead and use OpenRouter instead because you can access all the models there. So I wanted to OpenRouter. I created a new key and I'm going to copy this and paste it into Visual Studio Code. And I'm just going to tell Cloud Code that I am using OpenRouter with Cloud models instead of Anthropic, but you can use whatever you want here. So I just cleared the context and we're about to do a test run. But before that, I just wanted to show you guys something that we can do that's pretty cool real quick. So I'm going to go over here and I'm going to drop in a new folder and I'm going to call this brand underscore assets. Now what I'm going to do is drag in a profile picture of myself in the brand assets. It's this profile picture right here because I wanted to be able to use this in the tweet style infographics or carousels that we told it we want to make. So what I can do now is go to YouTube. I've got this video I made a few days ago about building websites in Cloud Code. Copy the link, come back into Visual Studio Code and say, hey Claude, I you to take this youtube video and repurpose it into a linkedin x and instagram post i've given you in the brand assets folder a profile picture of myself to use in these you know different visual posts let me know when you've got some stuff ready to review and make sure you're updating your skill document with your findings from this first test run so now it's going to read through the skill it's going to execute these different python scripts right here and if it runs into any issues or any things that we told it like using our profile picture it will update that skill document with and here's an example of it already needing to make an adjustment is because it said youtube is blocked by the webfetch tool let me try alternative approaches so that just finished up you can see that it started off by reading the skill it goes through and it tries different things it made its to-do list and it was able to create the actual text-based posts but what happened was it actually failed on the visuals so what it did is it added a known issues and finding section to the actual skill itself but we're going to go ahead and try it again and we're going to see if we can fix it so i just said try to create the visuals again make sure they are images not videos and we aren't worried about posting it we just want you to create the assets so it's once again going to dive into everything it is going to investigate the templates and then it's going to come back hopefully with something that we can review so visuals have been created this time and apparently they're looking great and you can see once again it's updating the skill document so that that never happens again. Okay, so these have been created successfully. We've got our LinkedIn with a whiteboard infographic. Let me go ahead and open that up real quick. It's putting all of this stuff in the drafts folder, and you can see we've got Instagram, LinkedIn, and X, and this is all for the YouTube video, which is called Building Beautiful Websites. So it's keeping our stuff organized. So for LinkedIn, here's our visual. We've got a whiteboard that says Building Beautiful Websites with Cloud Code, three key steps. We've got cloud.md, front-end design skill, and then adding your brand assets to a folder. And you can see at the bottom, it also says full walkthrough on YouTube at Nate Hurk. And then we also have the actual post right here, which is the text-based copy of the LinkedIn post. So let's say we like that one. Let's go ahead and look at Instagram. We've got the same thing. We've got the post right here with the different slides, and then we have the actual visuals. So here's number one, your cloud.md file is everything. It is a system prompt that runs before every session. We've got the next one, which is the front end design skill. And then pretty much all of these I'm assuming are the same we've got brand assets we've got you don't need to be a developer and then we've got the difference between vibe coded and professional so the one thing i will say about these are that i think this would look a lot better if we had our profile picture as well as like a blue checkmark verified badge so that's something that we'll probably want to change and then real quick just to look at the x post we've got the actual text itself which is very casual and it's kind of more like a meme and then for the visual we just have a very simple quote but as you guys know i want to make those carousels have the profile picture in there. So I just asked Cloud Code to put our profile picture in the carousel slides, as well as adding a blue check mark. So we'll see if we can get the job done. All right, so look how cool this is. It fixed that workflow, so it now should have new carousel slides for us. But what it did is it actually had to resize our image because it realized that the Potato API wouldn't take it if it was too big. So this was the original, and then it resized it to make it smaller, but it still obviously looks the same. And now every single time that we run this for Instagram carousels, it should be able to make it the way we want it. So let's take a look. All right, here is the new Instagram carousel. We've got our name, we've got the verified badge, as well as our profile picture. And so now it would just be a matter of optimizing the actual content that's put in here if we don't think that this was prompted well enough. And maybe adding one more at the end, which would be a CTA that says like follow for more or something like that. But keep in mind, all I said was take this YouTube video and repurpose it. We didn't give it any context about our business, about previous Instagram or LinkedIn posts. We didn't give it anything, but literally just said, make us content. And the only reason I'm telling you this is because think about how much better this will be as you start to add more business context, add more brand guidelines, and then iterate and refine. We've ran this workflow twice, I think at this point, and it's gotten better each time, what would happen if we ran this 10 times and every time we gave it more feedback and more feedback so that by the time we're ready to host it so that if we want it to run automatically. Every time I post a new YouTube video, it automatically gives us this stuff. By the time we do that automatically, it's already like a really rock solid or battle tested skill. And by the way, in Blotato, if you go to my videos, you can see all of the ones that you've generated. And you can also go to the API dashboard to see all of the requests that you had been making to Blotato. But at this point, the only thing left to do is schedule these out or just instantly post them now that we've reviewed them. So what you do is you go to your settings and you have to log in with your different accounts. And it's literally like, let's say wanted to log in with instagram we'd click on this and it would just bring us to a sign in page in instagram and it would connect everything very easy for us and then after we've done that you can see here i've only connected to my x account it lets you copy your account id so basically it associates an account id in here with blotato to actually post on your behalf but cloud code using the right api endpoints should be able to grab all those ids for us so there's really nothing manual here so just as an example let's make sure that it can actually post to x for us cool that output looks great can you go ahead and post our content on x for us all right so that post is live if i open this up we should see on x that i did just make this tweet which i'm going to delete right now but just wanted to prove to you guys that that endpoint does in fact work so at this point now that we know this works we could just build different skills within this kind of lotato environment so we could build one for getting inspiration we could build one for creating you know tick tock videos whatever we want to do but before you start scaling this up it's really important to have some structure to this project because we've got you know our cloud with our skills we've got our brand assets we've got our drafts but we also have some scripts right here that are just kind of in the middle of nowhere and we also don't have a cloud.md file yet so i'm just going to go ahead and do slash in it which basically just reads through the current project structure and creates a cloud.md file around what we have right here and i assume at this point everyone's aware of what the cloud.md file is but if you're not it's basically the overall system prompt for this specific project, meaning every time before you shoot off a message to Cloud Code or before Cloud Code reads it, it's going to read the Cloud.md file first to understand the direction, what tools it has at its disposal, what rules it needs to follow, things like that. Which means you don't want to keep your Cloud.md file very long. I think best practice is to keep it under 150 lines. Otherwise, you're just going to fill up your context much quicker. So now you can see that we have a Cloud.md file that goes over the overview, the commands, environment variables, architecture, patterns, things like that, which now, as you can see, gives our project a little bit more structure right here. But I'm still not satisfied. What I want to say now is we have four Python scripts that don't have a home. Could you throw those into a folder, maybe call it scripts or something like that, and make sure that our other skills and Cloud.md files are aware of this and can reference it in the future. And that's just the way that I decided to set it up. But you could also say, hey, you know, we've got a ton of files here. Can you help me figure out a strategy to clean this up so we can continue to scale this project. So you can see that it made a new folder, it threw all of the Python scripts in there, and now it's updating other files in here to make sure that the whole project understands where everything is. So that is going to do it for today. I think that you guys should be in a really good spot now, set up with Cloud Code, set up with Potato, to really improve your content game. Just a reminder that you can access the resources you saw in today's video, as well as every other resource I've given out on YouTube for free, by joining my FreeSchool community. The link for that is down in the description. And if you want to go deeper with this kind of stuff, then I definitely recommend checking out my paid community, AI Automation Society Plus. The link for that is also down in the description. We've got over 3,000 members who are building businesses with AI every single day. So I'd love to see you guys in this community. But like I said, that is the end of today's video. So if you learned something new or you enjoyed, then please give it a like. It definitely helps me out a ton. And as always, I appreciate you guys making this the end of the video. I'll see you on the next one. Thanks, everyone.
⚙️ Pipeline jobs
| Stage | Status | Att. | Updated | Error |
|---|---|---|---|---|
| download | done | 0/3 | 2026-05-27 23:30:55 | |
| transcribe | done | 1/3 | 2026-05-28 03:28:33 | |
| summarize | done | 1/3 | 2026-05-28 08:06:43 | |
| embed | done | 1/3 | 2026-06-30 06:42:20 |
📄 Описание YouTube
Показать
Get 30% off Blotato for 6 months: https://blotato.com/?ref=nate My FREE AI OS Course: https://www.skool.com/ai-automation-society/about?el=generate-content-for-9-socials-on-autopilot-with Full courses + unlimited support: https://www.skool.com/ai-automation-society-plus/about?el=generate-content-for-9-socials-on-autopilot-with Apply for my YT podcast: https://podcast.nateherk.com/apply Work with me: https://uppitai.com/ My Tools💻 FREE MONTH voice to text: https://get.glaido.com/nate Code NATEHERK for 10% off VPS (annual plan): https://www.hostinger.com/vps/claude-code-hosting In this video, you'll learn how to combine Claude Code and Blotato to automatically repurpose a single YouTube video into finished LinkedIn, Instagram, and X posts with custom visuals, all in a matter of minutes. Starting from a brand new setup, the full walkthrough covers installing Claude Code in VS Code, connecting to Blotato, and building a reusable skill that handles transcript extraction, platform-specific copy, and graphic creation. Every time you run it and give it feedback, it gets better, making this one of the highest-leverage content systems you can build right now. Sponsorship Inquiries: 📧 nate@smoothmedia.co Connect with me: https://www.linkedin.com/in/nateherkelman/ https://x.com/nateherk https://www.instagram.com/nateherk/ Timestamps 0:00 - Introduction & Demo Overview 1:28 - Setting Up Claude Code & Blotato 4:34 - Building the Repurpose Skill (Clarifying Questions) 7:48 - Test Run & Fixing Visual Issues 12:29 - Reviewing Final Outputs & Posting to X 15:06 - Project Structure & Wrapping Up