Agent skill

Heygen

by HybridAIOne in HybridAIOne/hybridclaw

Prepare guarded HeyGen Direct API requests for avatar video generation, video translation, asset discovery, and status polling.

MITAuto-check passedMedia & Creative

Install Heygen

skills CLI
$ npx skills add HybridAIOne/hybridclaw --skill heygen -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install HybridAIOne/hybridclaw heygen --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/HybridAIOne/hybridclaw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/heygen .claude/skills/heygen && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
heygen
GitHub stars
159
Token cost
~2.4k tokens
SKILL.md length
861 words
Files
6
Skills in repo
72
Repo updated
First seen
Licence
MIT

At a glance

Prepare guarded HeyGen Direct API requests for avatar video generation, video translation, asset discovery, and status polling.

  • Works in 3 steps: Browser admin: open the active… → Browser /chat or TUI fallback: /secret… → Local console fallback
  • Tasks that involve Translation
  • SKILL.md covers Scope, Credential Rules, Default Workflow and Command Contract, plus 4 more sections
  • Runs JavaScript scripts from its folder; calls node and python3; needs HEYGEN_API_KEY

What it does

Heygen is an agent skill from HybridAIOne/hybridclaw. Prepare guarded HeyGen Direct API requests for avatar video generation, video translation, asset discovery, and status polling.

Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files.

It sits in Media & Creative, covering Translation and AI video generation. It works with HeyGen. The repository describes itself as: Enterprise-ready self-hosted AI assistant runtime with sandboxed execution, secure credentials, approvals, and memory. The licence is MIT.

When your agent uses it

  • Tasks that involve Translation
  • Tasks that involve AI video generation

Example prompts

  • “/heygen”

Requirements

  • Python 3
  • A credential in HEYGEN_API_KEY

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Browser admin: open the active HybridClaw admin URL ending in /admin/secrets and set
  2. Browser /chat or TUI fallback: /secret set HEYGEN_API_KEY "".
  3. Local console fallback

What it can do on your machine

Read from SKILL.md and the folder at commit 8162701. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (JavaScript), which the agent can run.

    Shell commands in SKILL.md call:

    • node
    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • docs.heygen.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • HEYGEN_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Heygen loads about 2.4k tokens when it runs. Until then it costs about 34 tokens; SKILL.md has 861 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~34
When it runs · the whole SKILL.md, loaded when a task matches
~2.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from HybridAIOne/hybridclaw at commit 8162701, republished under its MIT licence (© HybridAIOne). 861 words, ~2,415 tokens.

Download SKILL.mdSave it as .claude/skills/heygen/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.
name
heygen
description
Prepare guarded HeyGen Direct API requests for avatar video generation, video translation, asset discovery, and status polling.
user-invocable
true
requires.bins
node

HeyGen

Use this skill for HeyGen Direct API work: avatar and voice discovery, guarded avatar video generation from approved scripts, video translation with lip-sync, and polling asynchronous generation or translation status.

Scope

  • list available avatars, voices, and video-translation target languages
  • create gateway-proxied requests for POST /v2/videos
  • create gateway-proxied requests for POST /v2/video_translate
  • poll GET /v1/video_status.get and GET /v2/video_translate/{id}
  • classify and retry HeyGen 429, quota, and transient upstream responses with bounded Retry-After aware backoff
  • block private or internal media URLs before asking HeyGen to fetch them
  • require explicit operator grant before credit-consuming generate/translate calls

Custom avatar training, live streaming, real-time avatars, public publishing, and distribution to external channels are outside this adapter slice.

Credential Rules

HeyGen Direct API uses an API key sent as X-API-KEY. Store it in HybridClaw encrypted runtime secrets; never paste it into the prompt.

Recommended setup order:

  1. Browser admin: open the active HybridClaw admin URL ending in /admin/secrets and set HEYGEN_API_KEY.
  2. Browser /chat or TUI fallback: /secret set HEYGEN_API_KEY "<api-key>".
  3. Local console fallback:
bash
hybridclaw secret set HEYGEN_API_KEY "<api-key>"

For live API calls inside HybridClaw, prefer the helper's request command. It sends the secret-backed payload through the local gateway, retries bounded 429/5xx responses, summarizes large asset lists by default, and fails clearly if the gateway truncates a response.

Use http-request only when you need to inspect or hand off the generated payload wrapper to the built-in http_request tool. The helper sets secretHeaders: [{ "name": "X-API-KEY", "secretName": "HEYGEN_API_KEY", "prefix": "" }] so the gateway injects the API key server-side.

Do not try to verify HEYGEN_API_KEY with bash, environment inspection, or by asking the model whether the secret exists. The model cannot inspect the gateway secret store. If the operator says the secret was set, attempt the http_request call with the emitted secretHeaders. Only say the secret is missing if http_request returns a gateway error that explicitly says HEYGEN_API_KEY is not set, unavailable, missing, or unresolved.

Default Workflow

  1. Start with request list-avatars and request list-voices unless the avatar and voice ids are already known. These commands return concise summaries by default; use --limit <count> to show more candidates. Asset ids are opaque values; never use display names as --avatar-id or --voice-id.
  2. Run the script through /brand-voice before generating avatar video from marketing, sales, training, or public-facing copy.
  3. Use plan for natural-language generation or translation requests so the stakes tier and required grant are explicit.
  4. Do not emit generate-video or translate-video requests unless the user has granted that exact credit-consuming operation in the current task or through an approved F8 escalation.
  5. Poll status with request video-status --watch or request translation-status --watch. Use a bounded polling budget, respect Retry-After, avoid parallel polling loops, and stop if HeyGen reports quota, credit, or rate-limit failure.
  6. Treat auto-publish to public channels as red tier and escalate before any upload, share link, social post, or public channel message.

Command Contract

Run the colocated helper with Node:

bash
node skills/heygen/heygen.cjs --help

Plan a request without contacting HeyGen:

bash
node skills/heygen/heygen.cjs plan "Create an approved onboarding video from this script"

List avatars, voices, or translation languages. Asset lists use compact summary output by default:

bash
node skills/heygen/heygen.cjs request list-avatars --limit 10
node skills/heygen/heygen.cjs request list-voices --limit 10
node skills/heygen/heygen.cjs request list-translation-languages

Generate an avatar video only after explicit operator grant:

bash
node skills/heygen/heygen.cjs http-request generate-video \
  --avatar-id avatar_123 \
  --voice-id voice_123 \
  --script "Approved script text" \
  --title "Quarterly enablement update" \
  --resolution 1080p \
  --aspect-ratio 16:9 \
  --operator-grant

Translate a video only after explicit operator grant:

bash
node skills/heygen/heygen.cjs http-request translate-video \
  --video-url https://example.com/source.mp4 \
  --output-language de \
  --mode fast \
  --operator-grant

Poll status:

bash
node skills/heygen/heygen.cjs request video-status --video-id <video-id>
node skills/heygen/heygen.cjs request video-status --video-id <video-id> --watch --max-polls 10 --interval-seconds 30
node skills/heygen/heygen.cjs request translation-status --video-translate-id <translation-id>

If you truly need a raw gateway payload for the built-in http_request tool:

bash
node skills/heygen/heygen.cjs http-request list-avatars

Classify retry behavior after an API response:

bash
node skills/heygen/heygen.cjs classify-rate-limit \
  --status 429 \
  --retry-after 5 \
  --body-json '{"message":"Too Many Requests"}'
Show full SKILL.md (321 more words)Show less

Stakes

Green tier:

  • list-avatars
  • list-voices
  • list-translation-languages
  • video-status
  • translation-status

Amber tier:

  • generate-video
  • translate-video

Red tier:

  • public auto-publish, social posting, public share-link distribution, or uploading generated media to a public channel

Working Rules

  • Never print or ask for the HeyGen API key.
  • Prefer request for live API calls. Use http-request plus the built-in http_request tool only when a raw payload is necessary.
  • Do not hand-author HeyGen http_request payloads. Use the helper output unchanged so skillName, secret injection, response limits, and cost metadata stay intact.
  • Do not pipe asset-list responses through head or ask for the full JSON by default. Use request list-avatars --limit <count> or request list-voices --limit <count>. These commands cache concise asset summaries locally so generate-video can catch display names and stale ids before contacting HeyGen.
  • Pass --skip-cache-validation only for a known private/custom asset id supplied by the operator and not present in the cached asset list.
  • Do not claim HEYGEN_API_KEY is missing unless http_request returns an explicit missing/forbidden/unresolved secret error.
  • Keep scripts at or below 5000 characters for the direct video endpoint.
  • Do not pass localhost, loopback, RFC1918, link-local, or other internal media URLs to HeyGen.
  • Honor Retry-After on HTTP 429 and back off on quota/rate-limit messages.
  • Poll with --watch only when the user expects you to wait. Keep polling bounded with --max-polls and --interval-seconds; otherwise perform one status check and report the id so the session can resume later.
  • Use request or skills/heygen/client.cjs when direct execution is needed; it sends the generated httpRequest through /api/http/request, never adds cleartext HeyGen credentials to process output, retries bounded 429/5xx responses, and refuses truncated gateway bodies instead of parsing partial JSON.
  • Avoid concurrent generate/translate bursts; HeyGen quotas are account and plan dependent.
  • Cost per assistant run is recorded by HybridClaw UsageTotals; helper output includes costMeasurement.system = "UsageTotals" so evals can verify the accounting contract.

References

Validation

Run:

bash
python3 skills/skill-creator/scripts/quick_validate.py skills/heygen
node skills/heygen/heygen.cjs --help
node skills/heygen/heygen.cjs eval-scenarios

© HybridAIOne, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 5 other files in skills/heygen of HybridAIOne/hybridclaw.

  • SKILL.md
  • client.cjs
  • eval.cjs
  • heygen.cjs
  • index.cjs
  • lib/common.cjs

Open the folder on GitHubat commit 8162701

Compare with similar skills

Heygen next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Heygen compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Heygen this skillHybridAIOne/hybridclaw159—~2.4kAutomated safety check: PassMIT
Animejsboraoztunc/skills3982 repos~828Automated safety check: PassApache-2.0
Seedance Vocab EsEmily2040/seedance-2.07.6k1 repos~1.1kAutomated safety check: PassMIT
Seedance Vocab JaEmily2040/seedance-2.07.6k1 repos~932Automated safety check: PassMIT
Seedance Vocab KoEmily2040/seedance-2.07.6k1 repos~938Automated safety check: PassMIT
Seedance Vocab RuEmily2040/seedance-2.07.6k1 repos~1.3kAutomated safety check: PassMIT

Similar skills

  • Animejs

    boraoztunc/skills

    Anime.js adapter patterns for HyperFrames. An agent skill from boraoztunc/skills.

    398 GitHub starsUsed in 2 repos~828 tokens
    Media & CreativeAuto-check passed
  • Seedance Vocab Es

    Emily2040/seedance-2.0

    This skill should be used when the user asks for Spanish Seedance 2.0 prompt wording, Spanish cinematic vocabulary, or translation of camera, lighting, action, VFX, audio, and production terms into…

    7.6k GitHub starsUsed in 1 repo~1.1k tokens
    Media & CreativeAuto-check passed
  • Seedance Vocab Ja

    Emily2040/seedance-2.0

    This skill should be used when the user asks for Japanese Seedance 2.0 prompt wording, Japanese cinematic vocabulary, or translation of camera, lighting, action, VFX, audio, and production terms…

    7.6k GitHub starsUsed in 1 repo~932 tokens
    Media & CreativeAuto-check passed
  • Seedance Vocab Ko

    Emily2040/seedance-2.0

    This skill should be used when the user asks for Korean Seedance 2.0 prompt wording, Korean cinematic vocabulary, or translation of camera, lighting, action, VFX, audio, and production terms into…

    7.6k GitHub starsUsed in 1 repo~938 tokens
    Media & CreativeAuto-check passed
  • Seedance Vocab Ru

    Emily2040/seedance-2.0

    This skill should be used when the user asks for Russian Seedance 2.0 prompt wording, Russian cinematic vocabulary, or translation of camera, lighting, action, VFX, audio, and production terms into…

    7.6k GitHub starsUsed in 1 repo~1.3k tokens
    Media & CreativeAuto-check passed
  • 24 AI Avatar Production Global

    minhnv0807/ai-business-skills

    A skill your agent uses when a PERSONAL brand needs AI avatar video at scale — three tool tiers, four workflows for single avatar, translation, batch, and hybrid, reference image intake, face…

    609 GitHub stars~4.5k tokensUpdated 28 days ago
    Media & CreativeAuto-check passed

More from HybridAIOne/hybridclaw

All 72 skills in this repo
  • Hermes3000 Writing

    HybridAIOne/hybridclaw

    Use Hermes3000 to plan, draft, revise, save, check consistency, and export long-form manuscripts through the Hermes3000 AI writing portal API.

    159 GitHub stars~2.7k tokensUpdated yesterday
    Auto-check passed
  • Manim Video

    HybridAIOne/hybridclaw

    Plan, script, render, and stitch Manim Community Edition videos in Python.

    159 GitHub stars~4.7k tokensUpdated yesterday
    Auto-check: notes
  • Skill Creator

    HybridAIOne/hybridclaw

    Create and update SKILL.md-based skills with strong trigger metadata, lean docs, and reliable init, validate, package, and publish workflows.

    159 GitHub stars~2k tokensUpdated yesterday
    Auto-check passed
  • XLSX

    HybridAIOne/hybridclaw

    Create, edit, inspect, and analyze .xlsx spreadsheets and Excel workbooks.

    159 GitHub stars~1.7k tokensUpdated yesterday
    Auto-check passed
  • Excalidraw

    HybridAIOne/hybridclaw

    Create and revise editable .excalidraw diagrams as Excalidraw JSON for architecture diagrams, flowcharts, sequence diagrams, concept maps, and other hand-drawn explainers.

    159 GitHub stars~1.2k tokensUpdated yesterday
    Auto-check passed
  • Google Ads

    HybridAIOne/hybridclaw

    Manage Google Ads accounts with safe GAQL reporting, campaign planning, guarded mutations, and gateway-proxied REST API calls.

    159 GitHub stars~4k tokensUpdated yesterday
    Auto-check passed

Works with

Questions about Heygen

What does Heygen do?

Prepare guarded HeyGen Direct API requests for avatar video generation, video translation, asset discovery, and status polling. Heygen is an agent skill from HybridAIOne/hybridclaw. Prepare guarded HeyGen Direct API requests for avatar video generation, video translation, asset discovery, and status polling.

When should I use Heygen?

Heygen fits situations like: tasks that involve Translation; tasks that involve AI video generation.

How do I install Heygen in Claude Code?

Run `npx skills add HybridAIOne/hybridclaw --skill heygen -a claude-code`. Or copy the skill folder (skills/heygen in HybridAIOne/hybridclaw) into .claude/skills/heygen in your project. Claude Code loads it when a task matches its description.

How do I install Heygen in Codex?

Run `npx skills add HybridAIOne/hybridclaw --skill heygen -a codex`. Or copy the skill folder (skills/heygen in HybridAIOne/hybridclaw) into .agents/skills/heygen in your project. Codex loads it when a task matches its description.

Can I use Heygen in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add HybridAIOne/hybridclaw --skill heygen -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/heygen, .gemini/skills/heygen, .github/skills/heygen and .opencode/skills/heygen in your project.

What does Heygen need to run?

Going by SKILL.md and its folder, Heygen needs JavaScript for the scripts in its folder, the command-line tools its instructions call (node and python3) and credentials named HEYGEN_API_KEY. Our summary lists: Python 3; A credential in HEYGEN_API_KEY.

Does Heygen access the network?

SKILL.md names 1 domain. As links in the text: docs.heygen.com. This is read from the text; nothing was executed.

Is Heygen safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Heygen use?

Heygen is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Heygen use?

About 2.4k tokens (SKILL.md is roughly 9.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Heygen?

Skills that share tags, products or a category with Heygen: Animejs (boraoztunc/skills, 398 stars), Seedance Vocab Es (Emily2040/seedance-2.0, 7.6k stars), Seedance Vocab Ja (Emily2040/seedance-2.0, 7.6k stars) and Seedance Vocab Ko (Emily2040/seedance-2.0, 7.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Heygen?

HybridAIOne (a GitHub organization) maintains it in HybridAIOne/hybridclaw, which has 159 GitHub stars. The repository holds 72 skills in this directory. The repository was last updated on October 9, 2026.

Source: HybridAIOne/hybridclaw on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.