Step 1 — Install the Skills
- gh skill install
- ClawHub
- OpenClaw plugin
- Git clone
Works across 12+ agents (Claude Code, Cursor, Codex, Gemini CLI, Copilot, Junie, Goose, OpenHands, Amp, Cline, OpenCode, Warp, and more). Requires GitHub CLI v2.90+. Writes to the correct directory for your agent automatically.Project scope is the default. For user scope (every project on this machine), add
--scope user. Pin to a release tag for reproducibility:Step 2 — Set Up Authentication
Pick the transport that matches how you want to be billed. The skills auto-detect which to use.- CLI + API key (agents)
- MCP + OAuth (no API key)
Recommended for agents, CI, and scripts. Get a key at app.heygen.com/api, then install the CLI and set the key:Verify:To persist the key across sessions, add the
export line to your shell profile (~/.zshrc, ~/.bashrc), or run heygen auth login to store it at ~/.heygen/credentials. If HEYGEN_API_KEY is set, the skills use the CLI — no MCP probing.Priority: If
HEYGEN_API_KEY is set, the skills use the CLI. Otherwise they look for MCP tools. Set the key only if you want direct API access; otherwise use MCP. The skills require v3 only — never v1 or v2 endpoints.Step 3 — Create Your First Avatar and Video
With the skills installed and auth set, drive the full pipeline in two prompts:Create your avatar
Use the heygen-avatar skill — from a description (default) or a photo:The skill creates a persistent digital twin with a voice and saves an
AVATAR-<NAME>.md file for reuse.Make a video
Use the heygen-video skill — it picks up the avatar automatically:The skill writes a script, runs the v3 Video Agent pipeline, and returns a share link.
Requirements
- A HeyGen account — sign in via MCP (OAuth) or with an API key for the CLI.
- An AI agent that supports skills (Claude Code, OpenClaw, Codex, Cursor, or similar).
- No runtime dependencies, packages, or build step.
Full install reference
Pinning, scopes, and per-agent paths are documented in the repo’s INSTALL.md.

