/marketing-skills:ugc-studio [website, e.g. "https://acme.com" | a script to render]from marketing-skills
Deploys a hosted UGC Studio on Graphed for creating avatar/talking-head video ads at scale. Generates ad variations across scripts and avatars, renders vertical 1080x1920 clips, and checks clips word-by-word against scripts.
Ships in marketing-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A HeyGen-style app the agent deploys into the user's own Graphed project. A Next.js app serves the page and the JSON API, and the render worker starts in that same server. Postgres holds avatars, scripts, campaigns and videos; project object storage holds every file. The page is private behind the Graphed gateway (graphed.com login).
bash <skill-dir>/scripts/deploy.sh --account <act_…> # deploy or update (apps/ugc-studio in the cwd)
graphed exec --project ugc-studio --account <act_…> -- node cli.mjs status
graphed exec --project ugc-studio --account <act_…> -- node smoke.mjs # cloud check, no spend
Find the account id with graphed --format json accounts list. Installing the skill copies files without the
executable bit, so run bash <skill-dir>/scripts/deploy.sh (a bare ./deploy.sh is Permission denied). It copies
<skill-dir>/app/ to apps/<slug>/, runs the offline tests, and deploys. Re-running it updates the same project; the data stays.
Flags: --slug, --name, --dir, --dry-run.
node cli.mjs research <url> --n 10 (about 25-40 credits, 3-6 minutes). Watch it with node cli.mjs project <id>.
Show the user the pains it found and the 10 scripts.node cli.mjs estimate --scripts <ids> --avatars <ids> --pair all. Tell the user the
clip count, the credits (1 credit = 1¢) and the time. Render only after they say yes:
node cli.mjs render … --yes. A first test of 1-3 short clips is a good start.node cli.mjs videos <batch>), and say which clips have a word to listen to.The user can do all of this on the page too: open a campaign, "+ Scripts" or "Write from website", "+ Avatars", pick cells, press Generate (it shows the dollar cost and asks to confirm).
shadcn/ui tokens, orange skin, light only. A sidebar (Outputs, Avatars, Scripts, then the Campaigns list and
New campaign), a topbar, a toolbar, one scroll area and a footer. Hash routes: #/campaign/<id>, #/outputs,
#/avatars, #/scripts.
--- between scripts, or pick saved ones) or "Write from website" (the 10 new scripts
land as rows). Columns: "+ Avatars" (a sheet with the avatar grid, person filter, "Pick all shown", "Upload new").POST /api/estimate {pairs}), asks to confirm, and queues them
(POST /api/videos {pairs, board_id, confirm: true}). 100 clips per batch at most.Every grid is virtualized: only the cards and cells on screen exist in the DOM. Images and videos load straight from api.graphed.com with presigned links; the app never streams media bytes. Grids show small poster and thumb JPEGs, made at render, upload and seed time (and backfilled on boot).
graphed exec --project <slug> -- node cli.mjs …)| Command | What it does |
|---|---|
status | Queue counts, research in progress |
avatars | Avatar ids + the voice |
research <url> [--n 10] [--styles story,hook] [--avatar <id>] | Queue website research + scripts |
projects / project <id> | Research results, pains, scripts with their ids |
scripts <projectId> --more 10 | Write more scripts |
estimate --scripts 1,2 --avatars 1,2 [--engine kling] [--pair all] | Length + credits, no spend |
render … --yes | Queue the videos. Only after the user approves the estimate |
videos [batch] / video <id> | Progress, playable links, words that are NOT FIXED, the log |
retry <id> / cancel <id> | Resume a failed video / stop one |
graphed exec can drop the output of a process that exits at once; cli.mjs waits 2 s before it exits. In your own
node -e checks, end with setTimeout(() => process.exit(0), 3000).
engine/spoken.py). About 105 words fit 30 s.fal:fal-ai/minimax/speech-02-hd with the shared cloned voice (voices.default).atempo up to 1.10× to fit ≤29 s.kie:bytedance/seedance-2-5 at 480p, the avatar photo + the voice MP3 as references (prompts/seedance.txt).
--engine kling uses kie:kling/ai-avatar-standard at 720p (lip-syncs the MP3, no word check needed).engine/fix_words.py transcribes the take with graphed:transcription word timestamps, splices
wrong words in from the MP3 and cuts stutters as jump cuts. A take where
more than 20% of the script is still wrong is marked "Take failed" instead of done; a new take usually reads right.Each step saves its file in project storage (videos/<id>/…), so a restart resumes, and paid calls use idempotency
keys, so a replay is free. "Try again" resumes; "New take" costs a full render.
| Step | Credits |
|---|---|
| Seedance 2.5, 480p | ~16 per second of video (30 s ≈ 483, $4.83) |
| Voice | ~0.01 per character |
| Word check | graphed:transcription, about 0.14 credits per second of audio. A clean clip transcribes the take and the voice; each fix transcribes a short window |
| Write from website | ~25-40 per website (about 8 Reddit calls + the LLM) |
| Clone the voice again | ~172 (ask first) |
VIDEO_LANES); ffmpeg and the fixer run
one job at a time (HEAVY_LANES). 10 clips take about 30-50 minutes; 65 ten-second clips took about 3.5 hours.Invalid value for parameter: content[2].audio_url.url. Pages reload
their lists every 10 minutes. The gateway ignores response-content-disposition, so Download fetches the link
(CORS *) and saves the file under the avatar's name.bytedance:seedance-2-5 (the direct ModelArk tool) for avatars: it refuses reference images that show
a real-looking face ("the input image 'content[1]' may contain real person"). Its fields are image_urls,
audio_urls and ratio. Sent with kie's field names it does not fail: it ignores the photo and the voice and
renders a paid text-to-video of a stranger.POST /api/voices/default/clone {confirm: true} (the sample is app/seed/voice-ref.mp3).data: URLs (audio goes to storage first). The LLM proxy rejects some default User-Agents;
the tool client sends its own. Scripts are written 5 per LLM call so the JSON is never cut.app/seed/avatars/<slug>/ (avatar.jpg + avatar.json with name, persona, tags,
version). Each is added once on boot. A higher version swaps the photo on the same avatar row.app/packages/dashboard/ Next.js page (React)
app/packages/core/src/ database (Kysely), worker, clip pipeline, JSON API
app/cli.mjs terminal access
app/engine/ fix_words.py (word fixer), spoken.py
app/prompts/ script and shot prompts
app/seed/avatars/ built-in avatars
app/packages/core/src/ugc.test.ts offline test with fake vendors (npm test)
app/uitest.mjs the page in real Chrome (puppeteer-core)
app/smoke.mjs cloud check, no spend
Reply with the app URL, the website you researched, the pains it found, and the script ids. If you rendered, give each clip's link, status and any "Listen at" times, plus the credits spent.
Graphed is a marketing cloud. It includes the infrastructure for an agent to do marketing: a data warehouse, data pipelines, a Postgres database, cron jobs, runtime servers, a tool catalog, custom domains, and internal app tooling.
app/AGENTS.md (opens in a new tab)app/Dockerfile (opens in a new tab)app/cli.mjs (opens in a new tab)app/engine/fix_words.py (opens in a new tab)app/engine/spoken.py (opens in a new tab)app/engine/spoken_cli.py (opens in a new tab)app/env.example (opens in a new tab)app/graphed.yaml (opens in a new tab)app/livecheck.mjs (opens in a new tab)app/package-lock.json (opens in a new tab)app/package.json (opens in a new tab)app/packages/core/package.json (opens in a new tab)app/packages/core/src/api.ts (opens in a new tab)app/packages/core/src/cli.ts (opens in a new tab)app/packages/core/src/config.ts (opens in a new tab)app/packages/core/src/db/index.ts (opens in a new tab)app/packages/core/src/db/migrate.ts (opens in a new tab)app/packages/core/src/db/pglite.ts (opens in a new tab)app/packages/core/src/db/sql.ts (opens in a new tab)app/packages/core/src/db/types.ts (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub graphed-inc/marketing-skills --plugin marketing-skills20 skills in this plugin
/ad-spyWhen the user wants to track competitors' ads, or asks what ads a rival is running, which hooks and angles they test, or where their own messaging has gaps: a Foreplay-style ad spy, competitor ad research, an ad swipe file, positioning gaps. Deploys a hosted Ad Spy app on Graphed that pulls Meta, Google and LinkedIn ads every day, has Gemini watch, transcribe and tag each creative, and maps what buyers say on Reddit, YouTube, LinkedIn and review sites against what competitor ads say, with ad ideas for each open gap. By default ask for the user's website and 2-4 competitors and set both up from the terminal. To make the ads, see static-ads or ugc-studio. Also /graphed:ad-spy./ai-marketing-agentWhen the user wants an AI teammate in Slack, or asks for a Slack bot that pulls their numbers, does research and makes files with their Graphed data and tools: an AI employee, '@graphed in Slack', an AI marketing agent. Deploys a Slack app (handle @graphed) that runs Claude Code with the full graphed CLI in a private sandbox, shows each step in plain English while it works, answers in the thread with text, files, tables, charts and next-step buttons, keeps a shared company memory, shows the credits each request used, and refuses guests and other workspaces by default. Also /graphed:ai-marketing-agent./ai-searchWhen the user wants to be named and cited in AI answers, or asks whether ChatGPT, Google AI Overviews, AI Mode, Gemini, Copilot, Perplexity or Claude recommend them, who AI names instead, or which pages AI cites: AI search visibility, GEO / AEO, AI share of voice, AI referral traffic, a Profound / Peec / Otterly alternative. Deploys a hosted AI Search app on Graphed (plus an MCP server) that runs real buyer prompts on every engine, reads each answer for mentions, position, sentiment, citations and wrong facts, joins GA4 and Search Console, checks the site and AI crawlers, and turns it into a ranked action plan with drafted fixes, outreach and a recheck. By default ask for the domain and competitors, deploy, say the cost, and run the first check. For classic keyword and backlink research, see ai-seo-tool. Also /graphed:ai-search./ai-seo-toolWhen the user wants keyword research, backlinks, rank tracking or an SEO audit, or asks what a competitor ranks for, which keywords or links they are missing, or why a page won't rank: an Ahrefs / Semrush alternative, keyword gap, link gap, local rank grid, an SEO MCP server for their agent. Deploys a hosted AI SEO Tool on Graphed with Site Explorer, Keywords Explorer, a SERP checker, backlinks, AI mentions, daily rank tracking, a weekly site audit with Lighthouse, and Search Console + GA4 from the warehouse. By default ask for the domain and 2-4 competitors, run a site overview and the keyword gap, and give the shortlist. Say the cost before any run over 10 credits. For AI answer tracking in depth, see ai-search. Also /graphed:ai-seo-tool./ai-story-shortsWhen the user wants a short animated story video, or asks to turn a true story, a legend or a 'crazy facts about…' topic into a 30–60 second vertical cartoon: faceless story shorts, animated history, this hand-inked cel style. Fact-checks the story, writes a fast narrated script, designs an original cast, makes one GPT Image 2.5 still per shot, animates each with Seedance 2.5, and edits it with a narrator voice, word-timed captions, whip transitions, music and a few sound effects. Every vendor call goes through Graphed Tools. For talking-head ads, see ugc-video. Also /graphed:ai-story-shorts./ai-video-editorWhen the user wants to edit a podcast or multi-camera video with an agent, or asks to cut a long recording down, apply review notes, or share a review link: a Frame.io / Descript alternative. Deploys a hosted AI Video Editor on Graphed: upload cameras, mics and screen recordings, every file is transcribed word by word, the agent writes the edit (which camera, which takes, what to cut) and the cloud renders it in minutes; reviewers comment on frames, draw on the picture and delete words to cut them, and @agent comments become tasks the agent works. By default ask what the video is for and where the files are. Never upload before the user approves the transcription cost. Also /graphed:ai-video-editor.Other plugins' skills for the same job