mcpField
A
Agent-Media UGC Playbook

Agent-Media UGC Playbook

github.com/gitroomhqCreative & media83122 installsUpdated 3d ago
Repository

About Agent-Media UGC Playbook

Agent-Media UGC Playbook is a skill for agents that create finished UGC videos through a single `make_ugc` call. It covers short clips, long monologues, and narrated b-roll, with optional social publishing.

Key features

  1. 01Single-call video generation
  2. 02Short clips and long monologues
  3. 03Narration over supplied b-roll
  4. 04Character and face reuse
  5. 05Optional social publishing

Use cases

  1. 01Create a talking-head clip from a short script
  2. 02Produce a full-length spoken monologue
  3. 03Narrate product or gameplay footage
  4. 04Publish a finished video to social networks

MCP support

The skill can publish through the `social_publish` MCP tool. The video-generation request is described through an API workflow.

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/gitroomhq/agent-media --skill agent-media-ugc-playbook

After installing, type/agent-media-ugc-playbookin Claude Code to confirm it loaded.

Details

From the project README

Agent-Media UGC Playbook

You're an agent (Claude, Cursor, custom) that needs to produce a finished UGC video on agent-media. There is exactly ONE tool — make_ugc (Agent-Media UGC Video). You never pick a sub-skill; make_ugc resolves identity and runs the whole pipeline internally.

One tool, three shapes

You wantGive make_ugcResult
A short clipa one-line script (+ optional person/image/character)one clean talking-head clip
A full monologuea long script (+ a real face via image or character)a seamless multi-take video, never trimmed
A narrated b-roll reviewscript + broll_url + a character/imagethe person narrates over your footage

How to call it

A single call. The server picks the pipeline, the take count and the duration, runs it in one Temporal workflow, and returns a skill_run_id you poll.

POST https://api.agent-media.ai/v1/skills/make_ugc/run
Authorization: Bearer $AGENT_MEDIA_API_KEY

{
  "script": "Okay this is wild, I tried the new flow and it actually works.",
  "person": "a friendly young woman, soft daylight, candid framing",
  "name": "Maya, 27"
}

Poll with GET /v1/skills/runs/<skill_run_id> until status is succeeded; final_output.video_url is your finished MP4.

See skills/make-ugc/SKILL.md for the full field manual.

Step D — publish it (optional)

Once you have a video_url, you can post it straight to the user's TikTok / Instagram / X with the publish-to-social skill — POST /v1/social/publish (CLI agent-media social publish, MCP social_publish). The user connects each network once via OAuth (/v1/social/connect). See skills/publish-to-social/SKILL.md.

Identity

  • person — describe them in words; image — a photo (https URL or base64); character — a saved char_… id or character_sheet_url from list_characters; omit all three for a default person.
  • A full monologue or a b-roll review needs a real face — pass image or character, not just person.
  • Reuse a saved character: pass the same character on the next call — no re-generation.

Rules

  • make_ugc paces and chunks the script for you — pass the FULL line or monologue and do NOT trim it. Length is inferred from the script.
  • Any image/video URL you pass must be a public https URL (make_ugc re-hosts it onto R2 for you) — or a character_sheet_url / char_… for a saved character.
  • Credits are deducted as each take runs. Portrait + character-sheet prep inside a video are FREE — you only pay for the video itself.
  • Don't put "selfie" or "phone" in a description — say "talking to camera" instead. make_ugc already handles this internally.

Troubleshooting

  • INSUFFICIENT_CREDITS — user is out. Surface the agent-media.ai billing page link.
  • make_ugc_needs_face — a full monologue or a b-roll review needs image or character (a real face), not just person.
  • Video has subject holding a phone — they used a pose hint mentioning "selfie" or "phone". Strip it or set pose: "".
  • Step stuck in submitted — Temporal worker may be restarting. Wait 30s and re-poll; if still stuck after 5 min, the workflow is hung — contact agent-media support with the workflow_id.

See also

Comments

Markdown supported