Index of every page on this site: llms.txt
All skills
superdesigndev avatar

/make-ugc

@efd91dc
by Superdesignsuperdesigndev/treg8.8k stars
870
Run it yourself

Make AI UGC videos end to end through treg. Pull the trending TikTok and Instagram videos in a vertical, extract the hook patterns, create a character with the same vibe as a presenter the user picks, generate 5-10 talking-head hook clips on Seedance 2.5 (less-restriction route), add a voiced demo clip, burn captions, and report the bill per clip. Use when the user asks for UGC ads, creator-style product videos, TikTok/Reels hooks, or an AI presenter for their product.

Use this Skill: https://skilld.dev/gh/superdesigndev/treg/make-ugc

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈121 tokens for metadata: the name and description. ≈1.6k when used: this file.

Description uses 6.0% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈484 characters, or 6.0%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Make UGC videos

One loop, five steps, every model call through treg. The recipe behind https://treg.to/ugc.

Input: the product (one line), the vertical (a few keywords), and optionally reference accounts, a phone recording of the product, a voice-reference clip, or a character image the user already likes. Output: a folder with hooks.md, the character image and its JSON prompt, one captioned clip per hook, an optional voiced demo clip, and bill.md with what each step cost.

Prerequisites

  • treg. Every catalog call, upload and poll goes through treg; the vendor keys stay server-side and the charge lands on the team's prepaid balance. This skill needs the treg CLI even when treg's MCP tools are connected, because treg host uploads the local reference frames. If treg --version fails, give the human these commands and run them only if they asked you to:
    curl -fsSL https://treg.to/install.sh | sh
    treg login
    treg balance before starting. A full run of 4 hook clips of 12-18 s costs about $13-20 at 720p ($0.27 a second); say the estimate before each paid step.
  • Two sibling skills this one delegates to. Read each before its step, do not paraphrase them:
  • ffmpeg, Python 3 with PIL. OPENAI_API_KEY only if you burn captions (Whisper word timings).

Flow

Stop at the three marked points and let the user choose. Do not pick for them.

1. Find what's trending

Search by task, not vendor. treg catalog search "tiktok search videos" and treg catalog search "instagram reels search by keyword" return the routed endpoints; call them with the vertical's keywords, sorted by likes, last 30 days, and collect 50-150 videos. Pull transcripts for the 10-15 most relevant (treg catalog search "tiktok video transcript"). If the user names competitor brands, add their ads from the Meta ad library (treg catalog search "meta ad library").

Write hooks.md: one row per video with views, the first spoken line (0-3 s), when the product is first named, and who is on camera. Then name the dominant pattern in one line. In agent and B2B software niches it is usually: a stunt or claim, a specific number, the result, then "here's how"; the tool appears late, as the answer. Tell the user what the data said and what it cost.

Stop 1. Show 5-8 videos as candidates for the presenter vibe and for the voice. The user picks one of each (they can be the same video).

2. Create the character

If the user already has a character image, skip to step 3.

Grab a clean frame of the chosen presenter (ffmpeg -ss <t> -i src.mp4 -frames:v 1 ref.jpg) and run portrait-clone on it. It produces a locked JSON prompt: every default the image model would otherwise fill in is pinned, which is what stops the doll eyes and the HDR sheen. Generate the same JSON on at least two models through treg and let the user compare:

treg call reapi.image-gen.gemini-3-pro-image --data '{"prompt": "<json>", "size": "9:16", "resolution": "2K"}'
treg call reapi.image-gen.gpt-image-2-5    --data '{"model": "gpt-image-2.5-flare", "prompt": "<json>", "size": "1024x1536"}'

Gemini 3 Pro Image has been the most realistic (phone-camera softness, real pores, imperfect teeth); GPT Image 2.5 keeps a doll pattern in the eyes. Say which is which but show both.

Stop 2. The user picks the character frame. Save it as character.jpg with its JSON.

3. Generate the hook clips

Draft 10 hooks in the pattern from step 1, each 45-75 words so it fits a 12-18 s take (the talking-head skill's words/4 minus 1 rule). Put them in hooks.md under the table.

Stop 3. The user picks 3-5.

Cut the voice reference from the video chosen at stop 1: a 2-15 s animated stretch, mono mp3, as ugc-talking-head-video § Voice reference describes. Then run that skill once per hook with character.jpg, the voice clip and the script. Its runner uses the Seedance 2.5 less-restriction route (reapi.video-gen.seedance-2-5.unrestricted), which accepts a realistic face and a voice clip as references; the default route refuses them. Quote the per-second price from treg catalog get reapi.video-gen.seedance-2-5.unrestricted before the first run, stay on 720p, verify each take with the skill's checks, then caption with caption_burn.py. Failed tasks are refunded, so a moderation error costs nothing but time.

4. The demo clip (optional)

The character does not need to be in the demo. If the user recorded the product on their phone, add a voiceover and captions:

  • With a cloned voice, if the user has a Fish Audio (or other TTS) account: clone from the same voice-reference clip, read the demo script, and tell them it runs on their key, not treg.
  • Without one, skip the clone: the demo plays under the hook clip with captions only, or with the hook clip's own audio continuing. Say which you did.

Stitch demo and captions with ffmpeg and the skill's caption_burn.py, keeping 9:16 and 720p.

5. Put it together

For each picked hook: hook clip, then the demo clip if there is one, concatenated with ffmpeg (-c copy when the encodes match, re-encode otherwise). Name the files by hook. Write bill.md from treg calls (or the prices you quoted): the trend pull, the character runs, each clip, and the total divided by the number of finished clips. Hand over the folder and say what you could not verify yourself: voice likeness and lip-sync are judged by ear and eye, not by the transcript checks.

Rules

  • Every generation and reference upload goes through treg call and treg host. Never hand a vendor a paste-host link, and never hold a vendor key for this loop.
  • State the price before each paid step. When you call an endpoint directly rather than through the runner, send treg's max-cost header so one task cannot exceed the price you quoted.
  • Rerun one thing at a time; there is no seed, and a rerun can regress something else.
  • The three stops are the product. A run that skips them makes clips nobody asked for.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 alert19d3 checks · Risk HIGH
  • Gen Agent Trust Hub20d

    The skill instructs the user to execute a remote shell script via an unsafe pipe (curl | sh) and depends on external code from an unverified GitHub repository. It also processes untrusted video transcripts from social media, creating a risk of indirect prompt injection.

  • Socket19d

    No alerts

  • Snyk20d

    Risk: MEDIUM · 2 issues

Signed by skilld at efd91dc. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated last month
Other metadata
metadata
{
  "summary": "Makes short UGC-style video ads. It studies trending hooks in your niche, creates a presenter, generates talking-head clips and burns in captions."
}

README badge

README badge for superdesigndev/treg/make-ugc