# AI social media automation pipeline Agent

> Automate the transformation of blog posts into branded Instagram Reels and YouTube Shorts via Claude and MoviePy.

AI social media automation pipeline Agent is a paid AI agent skill on Agensi by Ocal, in Workflow Automation. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $15 (one-time purchase)
- Creator: [Ocal](https://www.agensi.io/creators/ocal)
- Category: [Workflow Automation](https://www.agensi.io/skills/workflow-automation)
- Version: 1.0
- Last updated: 2026-12-01
- Security: scan passed (2026-12-01); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/ai-social-media-automation-pipeline-agent
- Tags: automation, python, fastapi, youtube-api, meta-api, cloudinary

## About this skill

Managing a social media video pipeline requires coordinating LLMs, video rendering engines, and multiple platform APIs. This skill manages the `lernenwirdeutsch-agent-public` repository, a specialized FastAPI agent that automates the entire lifecycle from blog post to published short-form video.

### What it does
- **Content generation** coordinates Claude to transform blog posts into optimized Instagram captions, hashtags, and YouTube Shorts scripts with scene breakdowns.
- **Automated rendering** uses MoviePy and Pillow to generate branded 1080x1920 videos featuring automated voiceovers via Edge TTS.
- **Cloud hosting** manages the mandatory Cloudinary upload process required for platform API ingestion.
- **Multi-platform publishing** handles the Meta Graph API for Instagram Reels and the YouTube Data API v3 for Shorts.
- **Scheduled automation** maintains a macOS launchd rotation and a daily round-robin trigger for consistent posting schedules.

### How it works
1. **Webhook ingestion** receives blog data via the `POST /webhook/new-post` endpoint, secured by secret headers.
2. **Deterministic plumbing** flows data through Claude for scripting, MoviePy for rendering, and Cloudinary for hosting.
3. **State management** checks `data/daily_log.jsonl` to prevent duplicate posts and record pipeline telemetry.
4. **Maintenance modes** allow for dry-runs, OAuth2 credential refreshes, and Dockerized deployments.

### Frameworks & tools
Built with Python, FastAPI, MoviePy, Pillow, and Edge TTS. It integrates the Anthropic Claude API, Meta Graph API, YouTube Data API v3, and Cloudinary. Deployment uses Docker Compose and macOS launchd.

### Why this beats prompting it yourself
Social media automation fails at the integration points between LLM outputs and API requirements. This skill enforces the exact 9:16 specs, public URL requirements for Meta, and OAuth2 flows that generic prompts ignore. It ensures your agent maintains duplicate protection and state across days of automated posting.

### Use cases
- Debugging Meta Graph API or YouTube Data API authentication failures.
- Extending the pipeline to support new video platforms or localized TTS voices.
- Configuring Docker environments for consistent MoviePy/FFmpeg rendering.
- Managing the daily post rotation logic and launchd scheduling.

### Known limitations
The scheduling system is designed for macOS launchd and requires modification for Linux cron. The current configuration uses an English TTS voice which may conflict with German-themed content without manual adjustment.

## Requires

- Git

## Known limitations

Scheduling is macOS-specific (launchd). Requires manual OAuth2 setup for YouTube. MoviePy requires FFmpeg installed in the environment. German content defaults to an English TTS voice.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the AI social media automation pipeline Agent skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What specific social media tasks does this skill automate?

This skill automates the entire process of turning a blog post into a branded 1080x1920 video. It handles everything from AI script writing and voiceover generation to video rendering, cloud hosting, and automatic publishing to Instagram Reels and YouTube Shorts.

### What external accounts or software are required to use this skill?

You will need your own API keys and accounts for Anthropic Claude, Meta Graph API, YouTube Data API v3, and Cloudinary. The skill also requires a Docker environment or a Python setup with MoviePy, FFmpeg, and specific credentials files like a Google OAuth2 client secrets JSON.

### What are the final outputs and video formats produced?

The skill produces fully rendered 9:16 vertical videos (1080x1920) featuring automated voiceovers and branded visuals. It also generates optimized Instagram captions, hashtags, and YouTube Shorts scripts for every post it processes.

### Are there any language or operating system limitations I should know about?

The skill currently uses an English voiceover by default, which may require manual adjustment if your content is in German. Additionally, the built-in scheduling system is designed for macOS launchd and would need modification to work on Linux-based systems.

### How can I instruct my AI agent to interact with this pipeline?

You can direct your agent to work on the repo, manage the webhook endpoint, or debug authentication for the Meta and YouTube APIs. It is also helpful for configuring daily post rotations or extending the pipeline to support new video platforms.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
