AI Content Repurposing Agent
September 8, 2026 · View on GitHub
An AI agent for content repurposing — turning long-form video into ranked, ready-to-post short clips — backed by real transcription and video APIs.
Part of Agency Agents OS, an open ecosystem of specialized AI agents for real business work.
Related Projects
- Agency Agents OS — the central catalog this repo is part of.
- ai-youtube-agent — clips this repo produces feed the same channel's Shorts strategy.
- ai-video-agent — the source long-form video this repo clips typically comes from here.
- ai-social-agent — publishes the clips this repo produces.
- MuAPI video generation docs — the underlying transcription/video model catalog.
- MuAPI MCP docs — connect this repo's
SKILL.mdfiles via MCP. - MuAPI access keys — create the API key this agent needs.
What this covers
This repo is the umbrella for anything an agency or in-house team would call "the content repurposing agent": turning one long-form video into multiple platform-ready short clips, then improving and tracking those clips over time, without hand-scrubbing footage for every candidate moment.
Sub-agents
| Agent | Does | Status |
|---|---|---|
| Cross-Format Repurposing | Turn one long-form video into multiple short vertical clips ranked by virality potential | Blueprint |
| Short-Video Editing | Apply captions, hooks, and pacing edits to raw clips for platform-native short video | Coming Soon |
| Content Performance Tracking | Track which repurposed clips perform best across platforms to inform future clipping decisions | Blueprint |
Required Muapi APIs
media.transcribe— long-form video/audio transcription with timestamps.media.extract_highlights— rank transcript segments by virality signal (hook, emotional peak, story beat).media.crop_video— vertical (9:16) auto-crop of a source video to a clip's in/out points.social.analytics(GET /api/social/accounts/{account_id}/feed-metrics) — per-post performance data for repurposed clips, across the 7 platforms Muapi's social publishing supports through PostForMe (TikTok, Instagram, Facebook, LinkedIn, X, Threads, Pinterest). Does not cover YouTube, which needs the separate OAuth-gated YouTube Analytics API.
See each sub-agent's SKILL.md for the specific capabilities it uses.
Setup
- Create a Muapi account and API key at muapi.ai.
- Review the Muapi API quickstart and OpenAPI schema for the transcription and video endpoints.
- Load the
SKILL.mdfor the sub-agent you need into your agent runtime (hosted agent, MCP client, or custom LLM app), or follow it manually.
Using with an AI agent
Every sub-agent's SKILL.md is model- and runtime-agnostic — it's plain Markdown, so it works with any LLM agent, not just Claude. Two integration paths:
As an MCP connection (the agent gets live Muapi tools):
Muapi runs an MCP server at https://api.muapi.ai/mcp that any MCP-compatible client can connect to — Cursor, Windsurf, Claude, or your own custom agent.
- Cursor / Windsurf / other clients with a header field: connect to
https://api.muapi.ai/mcpwith anAuthorization: Bearer YOUR_MUAPI_KEYheader. - claude.ai / Claude Cowork / other connector UIs with no header field: use the URL-embedded key form instead,
https://api.muapi.ai/mcp/YOUR_MUAPI_KEY, via Settings → Connectors → Add custom connector. - Claude Code / Claude Desktop:
claude mcp add muapi -e MUAPI_API_KEY=YOUR_MUAPI_KEY -- muapi mcp serve(uses the muapi CLI's stdio transport — Claude Code's HTTP MCP client doesn't reliably inject tools).
Full setup details for every client: muapi.ai/docs/mcp.
As agent instructions (any LLM follows the workflow directly):
Drop a sub-agent's SKILL.md into a Claude Code project's .claude/skills/ directory, paste it into a custom-GPT/Project's system instructions, hand it to an autonomous agent framework as a tool spec, or attach it directly in a chat conversation — then ask the agent to follow it.
Read-only vs. write actions
Every action in this repo is draft-only — clips, edits, and rankings are produced as files/candidates for a human to review, not auto-published to any platform. Publishing is out of scope for this repo; hand approved output to the relevant social agent for that step, with explicit approval.
Status and limitations
Cross-format-repurposing is built on a real, working capability chain (transcription, highlight-ranking, vertical crop) — it is Blueprint status: the underlying capability works, but the end-to-end flow has not yet been verified inside this specific repo. Content performance tracking is also Blueprint — its social.analytics capability is backed by Muapi's already-live per-post metrics endpoint (7 of 8 supported social platforms; not YouTube). Short-video editing needs a deeper video-editing API than what's currently live and is Coming Soon.
Contributing
See Agency Agents OS CONTRIBUTING.md.