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.

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

AgentDoesStatus
Cross-Format RepurposingTurn one long-form video into multiple short vertical clips ranked by virality potentialBlueprint
Short-Video EditingApply captions, hooks, and pacing edits to raw clips for platform-native short videoComing Soon
Content Performance TrackingTrack which repurposed clips perform best across platforms to inform future clipping decisionsBlueprint

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

  1. Create a Muapi account and API key at muapi.ai.
  2. Review the Muapi API quickstart and OpenAPI schema for the transcription and video endpoints.
  3. Load the SKILL.md for 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/mcp with an Authorization: Bearer YOUR_MUAPI_KEY header.
  • 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.

License

MIT