# viralforge

Adopt this skill: https://proskills.md/skills/other/fendouai-viralforge-skills-viralforge

Page: https://proskills.md/skills/other/fendouai-viralforge-skills-viralforge
This document is the public skill bundle for that page. It contains SKILL.md and every helper file the catalog carries. No login is required.

## File: skills/viralforge/SKILL.md
size: 4139
sha: dba1b149cd7da9e0d902373f6b2cf7048bb477b9
upstream: https://github.com/fendouai/viralforge/blob/main/skills/viralforge/SKILL.md

````text
---
name: viralforge
description: Deconstruct any viral short video into a shareable DNA report, replicate its structure with a different product/script, and generate 10 costed variants. Use when the user shares a Douyin / TikTok / Xiaohongshu / YouTube Shorts reference and asks why it works, how to remake it, or how to produce A/B variants.
---

# ViralForge

You are a short-video strategist and production lead. Your job is to turn a reference video into
an understandable, editable, and reusable asset — not to produce a lookalike that copies its
footage, music, or script.

## What this skill gives you

- **Deconstruct** — shot cuts, pacing, word-level anchors, BPM, hook structure, emotional curve.
- **Replicate** — keep the structure, replace product / script / voice / licensed avatar.
- **Variant** — 10 versions with different hooks, audiences and scenes, each with a cost.
- **Report card** — a shareable, structured summary that a team can act on.

The open-source engine covers deconstruction and composition. Generation models, category
recipes and product/character consistency are cloud capabilities (WearAI).

## Workflow

1. **Locate the reference.** Prefer a local file the user owns or has permission to analyze.
   For platform links, explain that downloading may violate platform terms and let the user
   upload the file. Never redistribute the original footage.
2. **Analyze.** Run the CLI with a local file:
   ```bash
   viralforge analyze ./reference.mp4 --out dna.json
   ```
   If the CLI is unavailable, use the MCP tool `analyze_video`.
3. **Read the DNA.** Report the hook, the first 3 seconds, the shot rhythm, BPM, average shot
   length, and the transferable formula. Be concrete: quote the caption and point at the timing.
4. **Replicate.** Keep the structure; replace the product, selling points, script, voice and
   avatar. Anchor each shot to a word range, not a fixed second. Lock the product reference in
   every shot where the product appears.
5. **Variant.** Generate 10 versions (hook × audience × scene). Record cost per variant and
   mark which shots need regeneration.
6. **Label.** Every output carries an explicit and implicit AI-generated label. Do not swap a
   real person's face. Only use the user's own or licensed avatars.

## Commands

```bash
viralforge analyze <video> --out dna.json   # real local structural analysis
viralforge report <dna.json>                # Markdown report card
viralforge cases                            # demo cases
viralforge render <case-id>                 # re-render a demo film (needs dev server)
```

## MCP tools

| Tool | Purpose |
| --- | --- |
| `list_cases` | List demo cases |
| `get_case` | Get one case DNA summary + report URL |
| `analyze_video` | Analyze a local video file |
| `build_project` | Build a VFML project skeleton |

## VFML contract

`words[]` carries word-level timestamps; `shots[].wordRange` points into it. A shot is dirty
when its words or visual change; only dirty shots are regenerated. `productRefs[]` locks logo,
color and shape for every shot that shows the product.

```json
{
  "version": "0.1",
  "meta": { "ratio": "9:16", "duration": 15, "aiDisclosure": true },
  "words": [{ "text": "别再", "start": 0.2, "end": 0.6 }],
  "shots": [{ "id": "s1", "wordRange": [0, 3], "productLock": true, "dirty": false }],
  "render": { "engine": "ffmpeg", "fps": 30 }
}
```

## Output style

- Lead with the finding: “这条片子的钩子是反常识否定，前 2.4 秒完成留人。”
- Use numbers: 3 秒留存、镜头数、平均镜头时长、BPM、成本。
- Separate **structure to keep** from **content to replace**.
- State what is computed, what is inferred, and what needs a model/key.
- Never claim a render or model call that did not happen.

## Hard boundaries

- Replicate structure and rhythm, **not** footage, music, or the original script.
- No face swap. Only the user's own or licensed avatars.
- Prefer local uploads; platform downloading may violate terms.
- Add AI-generated labels to frames and metadata.
- Do not present the demo's pre-rendered assets as model output.
````

## File: README.md
upstream: https://github.com/fendouai/viralforge/blob/main/README.md

```text
<p align="center">
  <img src="./docs/en/wordmark.svg" alt="ViralForge" width="460" />
</p>

<h3 align="center">One-click replication for viral short videos.<br/>Deconstruct the script. Keep the structure. Ship 10 variants.</h3>

<p align="center">
  <a href="#quickstart"><strong>Quickstart</strong></a> ·
  <a href="#case-studies"><strong>Case studies</strong></a> ·
  <a href="#agent-native-by-design"><strong>Agent</strong></a> ·
  <a href="#how-it-works"><strong>How it works</strong></a> ·
  <a href="./README.zh-CN.md"><strong>Chinese</strong></a>
</p>

<p align="center">
  <a href="https://github.com/fendouai/ViralForge/blob/main/LICENSE"><img alt="License" src="https://img.shields.io/badge/license-Apache--2.0-blue?style=flat-square" /></a>
  <img alt="Node" src="https://img.shields.io/badge/node-22.15%2B-5FA04E?style=flat-square" />
  <img alt="Agent native" src="https://img.shields.io/badge/agent--native-MCP%20%2B%20Skill-C9FF3D?style=flat-square" />
  <img alt="Status" src="https://img.shields.io/badge/status-v0.1.0-8E9088?style=flat-square" />
  <img alt="PRs welcome" src="https://img.shields.io/badge/PRs-welcome-FF5A2B?style=flat-square" />
</p>

<p align="center">
  <img src="./docs/en/hero.jpg" alt="ViralForge turns a viral link into a Viral DNA report, then into an editable replica project and 10 costed variants" />
</p>

**ViralForge is an agent-native studio for viral short videos.** Paste a link or a local file and
get a **Viral DNA report** that deconstructs the video script: the hook, shot-by-shot structure,
word anchors, beat grid, caption style, emotional curve and conversion logic. Replace the product
and script, and ViralForge rebuilds the winning structure **in one click** as an editable VFML
project. Then generate **10 costed variants** for A/B testing. Not another black-box MP4.

**Keywords:** viral video replication · video script deconstruction · one-click video remix ·
AI agent · MCP server · VFML · FFmpeg · UGC ads · content repurposing

English is the default documentation language. Chinese documentation lives in
[README.zh-CN.md](./README.zh-CN.md). The v0.1 studio ships with Chinese-language demo fixtures; the
documentation and agent surfaces are English-first.

---

## Watch the demos

### Live-action reference → replica

Preserve the shot structure while replacing the person, product and setting. Both clips are about 10 seconds, 16:9, 720p.

<table>
  <tr><th>Original · brown tote · bedroom</th><th>Replica · grey-green tote · café</th></tr>
  <tr>
    <td><video src="https://github.com/user-attachments/assets/20650bdf-e3ca-40d9-ab2d-6431bab14ba0" controls muted playsinline preload="metadata" aria-label="original"></video></td>
    <td><video src="https://github.com/user-attachments/assets/437d7d8a-c1b8-4f66-b602-f0cf1b6a15c6" controls muted playsinline preload="metadata" aria-label="replaced"></video></td>
  </tr>
</table>

Created manually with Jimeng Seedance 2.0 mini; the replica uses the original as a video reference. These clips illustrate the intended workflow, not an automated ViralForge model integration. Exact shot timing has not yet been verified.

[Demo details](./artifacts/viralforge-demo/README.md)

### Three scene remixes: campus · tennis · beach

Same shot structure, new person, product and setting. Each pair contains two ~10-second clips. Press play to watch directly in this README.

<table>
  <tr><th>Scene</th><th>Original</th><th>Replica</th></tr>
  <tr>
    <td>Campus: navy canvas → burgundy leather</td>
    <td><video src="https://github.com/user-attachments/assets/835c2082-8611-4e8a-a9ff-6aac6ad63f55" controls muted playsinline preload="metadata" aria-label="campus-original"></video></td>
    <td><video src="https://github.com/user-attachments/assets/27f67fd0-f56f-41dc-9cf3-79cd9269350c" controls muted playsinline preload="metadata" aria-label="campus-replaced"></video></td>
  </tr>
  <tr>
    <td>Tennis: blue court / beige tote → clay / green tote</td>
    <td><video src="https://github.com/user-attachments/assets/6892c59e-eb04-4b83-9a66-b9f42387101c" controls muted playsinline preload="metadata" aria-label="tennis-original"></video></td>
    <td><video src="https://github.com/user-attachments/assets/ca53d14b-3ad0-4630-b5ad-12a4848a061d" controls muted playsinline preload="metadata" aria-label="tennis-replaced"></video></td>
  </tr>
  <tr>
    <td>Beach: daylight / cream tote → sunset / blue tote</td>
    <td><video src="https://github.com/user-attachments/assets/2c491698-b9b2-48a6-ae3c-665a1f7bae39" controls muted playsinline preload="metadata" aria-label="beach-original"></video></td>
    <td><video src="https://github.com/user-attachments/assets/1665998d-218b-49c4-bf61-08f9101fec12" controls muted playsinline preload="metadata" aria-label="beach-replaced"></video></td>
  </tr>
</table>

Characters are fictional adult university students. Each replica was manually generated in Jimeng using its paired original as a video reference; this demonstrates the intended effect, not an automated ViralForge model call.

[Production notes](./artifacts/viralforge-demo/scenes.md)

Three 13–15s English cuts. Click a poster to play the MP4 in your browser — no sign-in, no
platform footage.

<p align="center">
  <a href="https://cdn.jsdelivr.net/gh/fendouai/ViralForge@main/public/media/en/glow.mp4"><img src="./docs/en/demo-glow.jpg" alt="Watch the 15-second GLOW LAB English demo" width="250" /></a>
  <a href="https://cdn.jsdelivr.net/gh/fendouai/ViralForge@main/public/media/en/tote.mp4"><img src="./docs/en/demo-tote.jpg" alt="Watch the 14-second AER English demo" width="250" /></a>
  <a href="https://cdn.jsdelivr.net/gh/fendouai/ViralForge@main/public/media/en/lamp.mp4"><img src="./docs/en/demo-lamp.jpg" alt="Watch the 13-second MORI English demo" width="250" /></a>
</p>

<p align="center"><sub>GLOW LAB · 15s &nbsp;·&nbsp; AER · 14s &nbsp;·&nbsp; MORI · 13s</sub></p>

Prefer the reasoning? The full DNA breakdowns, replica scripts and variant matrices are in
[Case studies](#case-studies). Every clip is a self-made, AI-labelled demo; the reference footage is
never redistributed.

---

## Why ViralForge

Operators already deconstruct viral videos by hand: pause on the first three seconds, guess the
hook, note the shot rhythm, copy the caption, find the BGM, re-shoot with their product. It takes
hours, depends on taste, and the conclusion stays in one person's head.

The hard part is not editing. It is **not knowing what will work**. ViralForge turns that tacit
knowledge into a shareable, structured, editable asset — and makes the whole loop callable by an
agent.

| | Generic AI video | Template editors | ViralForge |
| --- | --- | --- | --- |
| Starting point | Prompt | Template | A real viral reference |
| Explains why it works | No | No | **Viral DNA report** |
| Deconstructs the script | No | No | **Hook, beats, word anchors, formula** |
| Output | Opaque MP4 | Fixed template | **Editable VFML project** |
| Scale | One at a time | Manual | **10 costed variants** |
| Agent-callable | Rarely | No | **Skill + MCP + CLI** |
| Product consistency | No | No | Reference-image lock per shot |

**Built for:** growth teams, UGC agencies, e-commerce brands, solo founders, and agent builders who
want a reproducible video workflow instead of a prompt lottery.

---

## Case studies

Three worked examples from the demo. Each shows the reference DNA, the replica script and the
variant matrix. The references are self-made simulations and the replica films are pre-rendered;
metrics are fixture values that demonstrate the report format, not customer results. Costs are CNY
demo estimates; the app does not bill.

| # | Case | Category | Hook | DNA score | Length · replica cost |
| --- | --- | --- | --- | --- | --- |
| 01 | [GLOW LAB](#case-01) | Beauty · serum | "Stop paying the stupid tax." | 92 | 15s · ¥1.86 |
| 02 | [AER](#case-02) | Fashion · tote | "Every bag that fits a 14-inch laptop looks like it's headed to a meeting." | 
```
