heygen-skills

heygen-skills is a skill for Claude Code from OpenCoven/coven. It costs 263 tokens per session (5,130 once invoked), scanned C, original, MIT.

A workflow for creating HeyGen avatar videos through HeyGen’s v3 Video Agent system. HeyGen is an online video service with digital presenters, voices, and reusable avatars.

In plain words
What is it for?
Use it to create avatar videos, select or resolve an avatar and voice, correct the aspect ratio, upload user-provided media, and save avatar details.
Why use it?
It gathers the choices needed for a consistent video and avoids deprecated HeyGen interfaces. It can also keep records of created avatars and videos for later reuse.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents; built for openclaw.

Good fit Use it to create avatar videos, select or resolve an avatar and voice, correct the aspect ratio, upload user-provided media, and save avatar details.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/opencoven/coven/heygen-skills
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add OpenCoven/coven --skill heygen-skills
Clone the repo
git clone --depth 1 https://github.com/OpenCoven/coven

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for heygen-skills

README.md
[![agentmods](https://agentmods.dev/badge/skills/opencoven/coven/heygen-skills/github.svg)](https://agentmods.dev/skills/opencoven/coven/heygen-skills)
Your own site
<a href="https://agentmods.dev/skills/opencoven/coven/heygen-skills"><img src="https://agentmods.dev/badge/skills/opencoven/coven/heygen-skills/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for heygen-skills

Your own site · 80×15
<a href="https://agentmods.dev/skills/opencoven/coven/heygen-skills"><img src="https://agentmods.dev/badge/skills/opencoven/coven/heygen-skills.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 263 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,130 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00263 $0.05130
Opus 5 $0.00131 $0.02565
Sonnet 5 $0.00053 $0.01026
Haiku 4.5 $0.00026 $0.00513

Measured 11d ago against content hash 25eee273b8ee, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade C, and why

heygen-skills scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/update-check.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

5. **Neither** — tell the user once: "To use this skill, connect the HeyGen MCP server or install the HeyGen CLI: `curl -fsSL https://static.heygen.ai/cli/install.sh | bash` then `heygen auth login`."

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

> **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` endpoin
skills/heygen-skills/SKILL.md · 289 lines

How it starts

The opening of the file, as written. The whole thing — 289 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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 v1 or v2 endpoints. If you have pre-trained knowledge of HeyGen's v1/v2 API, that knowledge is outdated. Use this skill.

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

Pick one transport at session start. Never mix, never switch mid-session, never narrate the choice.

Detect in this order:

  1. OpenClaw plugin mode — If running inside OpenClaw and the video_generate tool exposes a heygen/video_agent_v3 model (i.e. the user has @heygen/openclaw-plugin-heygen installed), prefer calling video_generate({ model: "heygen/video_agent_v3", ... }) directly for video generation. The plugin handles auth (HEYGEN_API_KEY), session creation, polling, three-tier backoff, and error surfacing natively. Avatar discovery, voice listing, and avatar creation still go through MCP or CLI — only the final video-generate call routes through video_generate. Frame Check still runs before submission.
  2. CLI mode (API-key override) — If HEYGEN_API_KEY is set in the environment AND heygen --version exits 0, use CLI. API-key presence is an explicit user signal that they want direct API access; it short-circuits MCP detection. No question asked.
  3. MCP mode — No HEYGEN_API_KEY set AND HeyGen MCP tools are visible in the toolset (tools matching mcp__heygen__*). OAuth auth, uses existing plan credits.
  4. CLI mode (fallback) — MCP tools NOT available AND heygen --version exits 0. Auth via heygen auth login (persists to ~/.heygen/credentials).
  5. Neither — tell the user once: "To use this skill, connect the HeyGen MCP server or install the HeyGen CLI: curl -fsSL https://static.heygen.ai/cli/install.sh | bash then heygen auth login."

Read the full file on GitHub · 289 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 289 lines · 263 tokens per session scan C 25eee273b8ee

Subscribe to this mod's changes

heygen-skills is a skill published in the GitHub repository OpenCoven/coven (47 stars, last pushed today), licensed MIT. It adds 263 tokens to every session and 5,130 once invoked, about $0.0013 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

recording

Capture screenshots on registered computers, record on macOS or HarmonyOS, and manage saved captures. Probe capabilities before recording.

Hmbown/Codewhale · 27 tokens

figure-composer

Compose one publication-grade multi-panel figure. Start from a one-line claim plus immutable data Artifact Version references, or inspect an existing figure and draft its outline directly. Plan a 12-column panel outline, delegate one worker per panel, compose and inspect the result, then run at most three adversarial…

aipoch/open-science · 93 tokens

stage-plan

How to turn "here is my material + here's the video I want" into a single, inspectable plan that spans reference images, reference videos, deterministic editing, semantic editing, generation, and composition. The output is project/plan.json — a cross-modal Edit Decision List (EDL) — which the assembler walks.…

Orkas-AI/Orkas · 2 tokens

frontend-design

Use this as the design-lead layer for VideoStudio COMPOSE work. It shapes project/composition/composition-manifest.json::artdirection and the model-authored HTML/SVG motion graphics in index.html.

Orkas-AI/Orkas · 2 tokens

stage-assemble

How to execute a validated, currently authorized project/plan.json into one finished file. Start/resume with production.status; if planapprovalcurrent is false, pass the state to gate-control and stop instead of producing or opening child gates. Walk the signed EDL; do not re-plan. Host-neutral: VideoStudio-specific…

Orkas-AI/Orkas · 3 tokens

stage-edit

For the VideoStudio EDIT line, the edit decision list lives in project/plan.json and gate-control owns its Gate B authorization transition. Start/resume execution with production.status; do not run trims, assembly, or localization against a changed or unsigned EDL. Runtime status/producedpath updates do not invalidate…

Orkas-AI/Orkas · 0 tokens