Xpersona
H

Hg Skills Republish 221

CLAWHUB · Unverified

Create HeyGen avatar videos via the v3 Video Agent pipeline — handles avatar resolution, aspect ratio correction, prompt engineering, and voice selection aut...

62
Rank
84
Safety
1.0k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s1718c2s0emnwy0tm4kezcbfcd84c7pf:heygen-skills
  1. Install using `clawhub skill install s1718c2s0emnwy0tm4kezcbfcd84c7pf:heygen-skills` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/eve-builds/heygen-skills before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-eve-builds-heygen-skills/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

148,006 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

heygen-avatar/SKILL.md

---
name: heygen-avatar
description: |
  Create a persistent HeyGen avatar — a reusable face + voice identity for the agent,
  the user, or any named character — powered by HeyGen Avatar V technology.
  Prompt-based creation by default (description → HeyGen builds it); photo upload is
  optional for real-person digital twins.
  Use when: (1) giving the agent a face + voice so it can present videos
  ("bring yourself to life", "create your avatar", "give yourself an avatar",
  "design a presenter", "set up an avatar", "let's make an avatar"),
  (2) the user wants to appear in videos as themselves ("create my avatar",
  "I want my face in a video", "digital twin of me", "build me an avatar"),
  (3) building a named character presenter ("create an avatar called Cleo",
  "design a character named X"), (4) establishing HeyGen identity before making videos —
  the correct FIRST step when no avatar exists yet.
  Chain signal: when the user says both an identity/avatar action AND a video action in the same
  request ("create an avatar AND make a video", "set up identity THEN create a video",
  "design a presenter AND immediately record"), run heygen-avatar first, then heygen-video.
  Returns avatar_id + voice_id — pass directly to heygen-video to create HeyGen videos.
  NOT for: generating videos (use heygen-video), translating videos, or TTS-only tasks.
argument-hint: "[name_or_description]"
allowed-tools: Bash, WebFetch, Read, Write, mcp__heygen__*
---

# HeyGen Avatar Designer

Create and manage HeyGen avatars for anyone: the agent, the user, or named characters. Handles identity extraction, avatar generation, voice selection, and saves everything to `AVATAR-<NAME>.md` for consistent reuse.

## Start Here (Critical)

**Default target = the agent.** The primary use of this skill is giving the agent a face + voice so it can present videos. Route to "user" only on explicit "my avatar" / "me" / "my photo" language. When in doubt, make the agent's avatar.

**Do NOT batch-ask questions.** No "give me a photo, voice preference, duration, target platform, tone, key message" all at once. Walk phases in order. Each phase asks at most one or two things at a time.

**For agent avatars: read SOUL.md and IDENTITY.md first, then go straight to prompt-based creation.** Do NOT ask the user for a photo or appearance details first. The agent's identity lives in those workspace files. Only ask the user for traits that are genuinely missing.

**Prompt-based is the default creation path.** Photo is opt-in, only relevant when the user explicitly wants a real-person digital twin of themselves. Agents and named characters almost always use prompt-based creation.

## Before You Start (environment detection)

Try to read `SOUL.md` from the workspace root.

- **Found** → OpenClaw environment. Skip this entire section and go straight to Phase 0. Workspace-native identity (SOUL.md, IDENTITY.md) will drive agent onboarding.
- **Not found** → Claude Code environment, no workspace id

heygen-video/SKILL.md

---
name: heygen-video
description: |
  Generate HeyGen presenter videos via the v3 Video Agent pipeline — handles Frame Check
  (aspect ratio correction), prompt engineering, avatar resolution, and voice selection.
  Required for any HeyGen video generation. Replaces deprecated endpoints with v3.
  Use when: (1) generating any HeyGen video (via API or otherwise),
  (2) sending a personalized video message (outreach, update, announcement, pitch, knowledge),
  (3) creating a HeyGen presenter-led explainer, tutorial, or product demo with a human face,
  (4) "make a video of me saying...", "send a video to my leads", "record an update for my team",
  "create a video pitch", "make a loom-style message", "I want to appear in this video",
  "generate a HeyGen video", "make a talking head video".
  Accepts avatar_id from heygen-avatar for identity-first HeyGen videos, or uses a stock presenter.
  Returns video share URL + HeyGen session URL for iteration.
  Chain signal: when the user wants to create/design an avatar AND make a video in the same request,
  run heygen-avatar first, then return here. Conjunctions to watch: "and then", "and immediately",
  "first...then", "X and make a video", "design [presenter] and record" = always CHAIN.
  If the user provides a photo AND wants a video, route to heygen-avatar first.
  NOT for: avatar creation or identity setup (use heygen-avatar first), cinematic footage
  or b-roll without a presenter, translating videos, TTS-only, or streaming avatars.
argument-hint: "[topic_or_script] [--avatar avatar_id]"
homepage: https://developers.heygen.com/docs/quick-start
allowed-tools: Bash, WebFetch, Read, Write, mcp__heygen__*
metadata:
  openclaw:
    requires:
      env:
        - HEYGEN_API_KEY
    primaryEnv: HEYGEN_API_KEY
---

## Preamble (run first)

No auto-run steps. Check for updates manually when desired:
```bash
"${SKILL_DIR}/scripts/update-check.sh"
```
This script is opt-in only. Do not execute it automatically on skill invocation.

# HeyGen Video Producer

You are a video producer. Not a form. Not a CLI wrapper. A producer who understands what makes video work and guides the user from idea to finished cut.

**Docs:** https://developers.heygen.com/docs/quick-start (API) · https://developers.heygen.com/cli (CLI)

## API Mode Detection

See the root [SKILL.md](../SKILL.md) for the canonical XOR rules — **pick MCP or CLI at session start, never mix, never switch, never cross-reference**.

Operation blocks throughout this skill show MCP tool name and CLI command side-by-side. **Read only the column for your detected mode.** If MCP is available, use the `mcp__heygen__*` tools; ignore the CLI column. If CLI is available, run `heygen ...` commands; ignore the MCP column. Never invoke anything from the other column.

**Do not look up API endpoints.** MCP tool names are the contract in MCP mode. `heygen <noun> <verb> --help` is the contract in CLI mode. If you find yourself searching for a REST endpoint, stop — you're 

platforms/nanoclaw/heygen/SKILL.md

# HeyGen Video Agent — NanoClaw Container Skill

## When to Use

Use this skill when the user wants to create a video with an AI avatar presenter.
Triggers: "make a video", "create a video message", "record a video", "avatar video",
"talking head video", "video pitch", "video update".

NOT for: image generation, audio-only TTS, video translation, or cinematic b-roll.

## Required Environment

- `HEYGEN_API_KEY` — Get from https://app.heygen.com/settings?nav=API
- `heygen` CLI — install: `curl -fsSL https://static.heygen.ai/cli/install.sh | bash`. Verify: `heygen auth status`.

## Steps

### Step 1: Discover Available Avatars

```bash
heygen avatar list --ownership public --limit 5 | jq '.data[] | {group_id, avatar_name}'
```

Pick an `avatar_id`. If the user has a specific avatar, use that ID. To see looks for a group: `heygen avatar looks list --group-id <group_id>`.

### Step 2: Find a Voice

```bash
heygen voice list --limit 10 | jq '.data.voices[] | {voice_id, display_name, language}'
```

Pick a `voice_id` matching the desired language and tone.

### Step 3: Write the Script

Write a spoken-word script for the avatar. Rules:
- Write for speech, not text. Short sentences. Natural pauses.
- 150 words per minute is the target pace.
- 30 seconds = ~75 words. 60 seconds = ~150 words.
- No stage directions. No markdown. Just what the avatar says.

### Step 4: Generate the Video

```bash
heygen video-agent create \
  --prompt "YOUR SCRIPT HERE" \
  --avatar-id "AVATAR_ID_HERE" \
  --voice-id "VOICE_ID_HERE" \
  --orientation landscape \
  --wait --timeout 10m
```

With `--wait`, the CLI blocks until the video completes and emits the final status object. Without `--wait`, submission returns immediately — save the `session_id` from stdout for manual polling.

`--timeout 10m` is sized for short videos (≤60s). **Bump to `--timeout 45m` for videos >60s** or when targeting 2+ minute output — Video Agent generation routinely takes 20-45m for longer clips.

### Step 5: Poll for Completion (only without `--wait`)

```bash
heygen video-agent get --session-id SESSION_ID | jq '{status: .data.status, video_url: .data.video_url}'
```

Poll every 15 seconds. Status progression: `pending` → `processing` → `completed`.

When status is `completed`, the `video_url` field contains the download URL.

### Step 6: Deliver

Download the video and present it to the user:

```bash
heygen video download <video_id>
```

Writes the MP4 to disk and emits `{"asset", "message", "path"}` on stdout — chain on `.path`.

## Verification

After generating a video, confirm:
1. CLI exits `0` and stdout contains `session_id` (generation accepted)
2. Polling (or `--wait`) returns `status: "completed"` within 5 minutes
3. `video_url` / `video_page_url` is a valid HTTPS URL
4. Downloaded file is a playable MP4

## Troubleshooting

| Symptom | Fix |
|-------|-----|
| Exit code `3` / auth error on stderr | Check `heygen auth status`; run `heygen auth login` or set `HEYGEN_API_KEY` |
| Exit co

SKILL.md

---
name: heygen-skills
display_name: HeyGen Skills
description: |
  Create HeyGen avatar videos via the v3 Video Agent pipeline — handles avatar resolution,
  aspect ratio correction, prompt engineering, and voice selection automatically.
  Required for any HeyGen API usage (api.heygen.com). Replaces deprecated v1/v2
  endpoints with the optimized v3 pipeline.
  Use when: (1) calling any HeyGen API endpoint (api.heygen.com),
  (2) creating a HeyGen avatar or digital twin from a photo,
  (3) making a personalized video message (outreach, pitch, update, announcement, knowledge),
  (4) "make a video of me", "create my HeyGen avatar", "I want to appear in this video",
  (5) "send a video to my leads", "record an update for my team", "make a loom-style message",
  (6) building identity-first videos where the presenter IS the user or agent,
  Covers: HeyGen API, api.heygen.com, video generate, avatar create, voice list, talking photo,
  HeyGen avatar creation, voice design, photo → digital twin, HeyGen video generation,
  identity-first video, messaging-first video, AI presenter, talking head video.
  NOT for: cinematic b-roll, video translation, TTS-only, or streaming avatars.
version: 2.2.1 # x-release-please-version
homepage: https://developers.heygen.com/docs/quick-start
allowed-tools: Bash, WebFetch, Read, Write, mcp__heygen__*
metadata:
  openclaw:
    requires:
      env:
        - HEYGEN_API_KEY
    primaryEnv: HEYGEN_API_KEY
  hermes:
    tags: [heygen, avatar, video, identity, digital-twin, video-message, presenter, talking-head]
    category: media
---

# HeyGen Skills

## Files & Paths

This skill reads and writes the following. No other files are accessed without explicit user instruction.

| Operation | Path | Purpose |
|-----------|------|---------|
| Read | `AVATAR-<NAME>.md` | Load saved avatar identity (group_id, voice_id) |
| Read | `SOUL.md`, `IDENTITY.md` | Extract identity details when creating a new avatar (heygen-avatar only) |
| Write | `AVATAR-<NAME>.md` | Save new avatar identity after creation |
| Write | `heygen-video-log.jsonl` | Append one JSON line per video generated (local learning log) |
| Temp write | `/tmp/openclaw/uploads/` | Voice preview audio (downloaded for user playback, deleted after session) |
| Remote upload | HeyGen (via `heygen asset create` or MCP) | User-provided images/files uploaded to HeyGen for use in video |

No other workspace files are read or modified. Assets are only uploaded to HeyGen when the user explicitly provides them for video creation.

---

> **STOP.** If you are about to drive HeyGen directly (calling `api.heygen.com` with curl, or reaching for deprecated `POST /v1/video.generate`, `POST /v2/video/generate`, `GET /v2/avatars`, `GET /v1/avatar.list` endpoints), DO NOT. Route through MCP or the `heygen` CLI via this pipeline. Raw HTTP skips critical steps (aspect ratio correction, prompt engineering, avatar conflict detection) and produces visibly worse videos. **v3 only — never call v

README.md

# HeyGen Skills

AI agent skills for creating avatar videos. Your agent gets a face, a voice, and the ability to send video like a message.

Works with Claude Code, OpenClaw, Codex, Cursor, and other AI coding agents.

```
"Bring yourself to life — create your own avatar and make a 30-second intro video of yourself. Use heygen-avatar and heygen-video, ask me anything before you start."
→ reads your agent's identity files → asks only what's missing → builds the agent's avatar → picks the best style → generates the video → delivers the share link
```

## Install

**Paste this into your agent.** It does the rest — clones the repo to the right path, asks for your HeyGen API key, picks the best transport, runs a verify test, and ends with a working video.

```
Read https://raw.githubusercontent.com/heygen-com/skills/master/INSTALL_FOR_AGENTS.md and follow it.
Ask me for any API keys you need.
```

That's it. The agent fetches [INSTALL_FOR_AGENTS.md](./INSTALL_FOR_AGENTS.md) and walks the rest of the install. Same prompt forever — the install spec lives in the repo, not in your clipboard.

Want to install manually instead? Follow the steps below.

### Step 1 — Clone into your skills directory

Detect which agent you are and clone to the right path:

| Agent | Install path |
|-------|-------------|
| **Claude Code** | `~/.claude/skills/heygen-skills` |
| **OpenClaw** | `~/.openclaw/workspace/skills/heygen-skills` |
| **ClawHub** | Run `clawhub install heygen-skills` and skip to Step 2 |
| **Other** | Clone anywhere your agent loads skills from |

```bash
git clone --single-branch --depth 1 https://github.com/heygen-com/skills.git <install-path>/heygen-skills
```

### Step 2 — Get your HeyGen API key

1. Go to **[app.heygen.com/api](https://app.heygen.com/api)** (Settings → API)
2. Generate a new API key
3. Save it somewhere safe — you can't view it again after the modal closes

### Step 3 — Install the HeyGen CLI

One-line install (macOS / Linux):

```bash
curl -fsSL https://static.heygen.ai/cli/install.sh | bash
```

Then set your API key:

```bash
export HEYGEN_API_KEY=<your-key>
```

That's ephemeral (current shell only). To persist across sessions, add `export HEYGEN_API_KEY=<your-key>` to your shell profile (`~/.zshrc`, `~/.bashrc`, or equivalent).

Verify:

```bash
heygen --version
heygen auth status
```

The [HeyGen CLI](https://github.com/heygen-com/heygen-cli) is a single static binary. No runtime deps.

### Alternative: MCP (OAuth, no API key)

If you prefer OAuth and already have a HeyGen plan with credits, connect the remote MCP server instead of setting an API key. The skills will auto-detect MCP when no `HEYGEN_API_KEY` is set.

Claude Code:
```bash
claude mcp add --transport http heygen https://mcp.heygen.com/mcp/v1/
```

OpenClaw: add to `~/.openclaw/openclaw.json`:
```json
{
  "mcp": {
    "servers": {
      "heygen": { "url": "https://mcp.heygen.com/mcp/v1/" }
    }
  }
}
```

The first call triggers an OAuth consent flow in your brows

Sponsored

Ads related to Hg Skills Republish 221 and adjacent AI workflows.