skills

作者 heygen-com已验证

HeyGen AI agent skills — avatar creation and video production via the v3 Video Agent pipeline

407
Stars
68
Forks
Shell
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/heygen-com/skills

快速入门

使用 skills 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

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 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 — Install the skills

The repo ships three skills: heygen-avatar, heygen-video, and heygen-translate. Pick the install path that matches your tooling.

Option A: gh skill install (works across Claude Code, Cursor, Codex, Gemini CLI, Copilot, Junie, Goose, OpenHands, Amp, Cline, OpenCode, Warp, and more — agentskills.io):

gh skill install heygen-com/skills heygen-avatar
gh skill install heygen-com/skills heygen-video
gh skill install heygen-com/skills heygen-translate

Requires GitHub CLI v2.90+. The CLI writes to the right directory for your agent automatically.

Option B: ClawHub:

clawhub install heygen-skills

Option C: OpenClaw plugin (bundles MCP support):

openclaw plugins install clawhub:@heygen/openclaw-plugin-heygen

Option D: Git clone (legacy path):

AgentInstall path
Claude Code~/.claude/skills/heygen-skills
OpenClaw~/.openclaw/workspace/skills/heygen-skills
OtherClone anywhere your agent loads skills from
git clone --single-branch --depth 1 https://github.com/heygen-com/skills.git <install-path>/heygen-skills

After cloning, the three skills are auto-discovered at heygen-avatar/SKILL.md, heygen-video/SKILL.md, and heygen-translate/SKILL.md.

Step 2 — Get your HeyGen API key

  1. Go to 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):

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

Then set your API key:

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:

heygen --version
heygen auth status

The 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:

claude mcp add --transport http heygen https://mcp.heygen.com/mcp/v1/

OpenClaw: add to ~/.openclaw/openclaw.json:

{
  "mcp": {
    "servers": {
      "heygen": { "url": "https://mcp.heygen.com/mcp/v1/" }
    }
  }
}

The first call triggers an OAuth consent flow in your browser.

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.

Step 4 — Create your avatar

Ask the user for a photo (URL or file), then use the heygen-avatar skill:

Create my HeyGen avatar from this photo: [user's photo]

The skill uploads the photo, creates a persistent digital twin with a voice, and saves an AVATAR-<NAME>.md file for future use.

Step 5 — Make your first video

Use the heygen-video skill to generate an intro video with the avatar you just created:

Make a 30-60 second video of me introducing myself, casual tone.

The skill picks up the avatar automatically, writes a script, generates the video, and returns a share link.

That's it. You're set up. The avatar persists — every future video reuses it automatically.


What's Included

Three skills that work standalone or chain together:

SkillWhat it doesInvoke
heygen-avatarPhoto → persistent digital twin (face + voice). Reusable across every video./heygen-avatar
heygen-videoIdea → script → prompt-engineered video with your avatar delivering the message./heygen-video
heygen-translateExisting video → translated and dubbed version with voice cloning and lip-sync. 175+ languages./heygen-translate

heygen-avatar creates the identity. heygen-video uses it. heygen-translate localizes finished videos.

How It Works

Photo / Description          Avatar File              Finished Video
       ↓                        ↓                        ↓
  heygen-avatar    →    AVATAR-NAME.md       →    heygen-video
  (identity + voice)    (reusable state)          (script + video)

Skills communicate through AVATAR-<NAME>.md files. heygen-avatar writes them, heygen-video reads them. Human-readable and machine-readable.

Authentication

The skills support two auth modes with explicit priority:

PriorityModeTriggerBillingBest for
1CLI (API key)HEYGEN_API_KEY is setDirect API usage ($, separately billed)Agents, CI, scripts
2MCP (OAuth)MCP tools visible AND no API keyHeyGen plan credits (no extra billing)Users on a HeyGen plan
3CLI (fallback)heygen auth login sessionDirect API usage ($)Interactive CLI users

Billing tradeoff: CLI mode bills against your HeyGen API usage (separately metered). MCP mode consumes your existing HeyGen plan credits — no extra API billing. Pick the mode that matches how you want to be charged.

CLI with API key (recommended for agents)

Get a key at app.heygen.com/api, then:

export HEYGEN_API_KEY=your-key-here

If HEYGEN_API_KEY is set, the skills use the CLI directly. No MCP probing. This is the most predictable setup for agent workflows.

The HeyGen CLI pattern is heygen <noun> <verb>. Output is JSON on stdout with stable exit codes.

  • Verify: heygen auth status
  • Alternative login: heygen auth login — interactive browser flow, persists to ~/.heygen/credentials

MCP (OAuth, no API key)

If you don't set an API key and HeyGen's remote MCP server is connected to your agent, the skills use MCP via OAuth. Calls run against your existing HeyGen plan credits.

  • Endpoint: https://mcp.heygen.com/mcp/v1/
  • Tool namespace: mcp__heygen__*
  • MCP docs

You can have both configured — if HEYGEN_API_KEY is set, CLI wins.

Things to Try

After setup, try these prompts with your agent:

PromptWhat happens
"Use heygen-avatar and heygen-video to make a 30-second cinematic intro of me as a founder. Ask me what you need."Full pipeline: avatar → style recommendation → video. The wow moment.
"I want to make a product launch video. Use heygen-video and suggest the best style for it."Skill recommends from 20 curated styles (A24, editorial, clean tech, etc.)
"Use heygen-avatar — I have a headshot. What kind of look would work best for a founder intro?"Skill asks questions, recommends setting and tone before creating
"Use heygen-video to summarize this article as a 60-second explainer from my avatar: [URL]"Fetches content, extracts key points, scripts and generates the video
"Use heygen-video to turn the key points from this PDF into a video update for my team: [file]"PDF → script → avatar video. Any content becomes a video message.
"Use heygen-video for my team's weekly update. Ask me what shipped before writing the script."Skill interviews you first, then writes and generates
"Use heygen-video to make a 20-second outreach video to a potential investor. What should I include?"Skill guides the message, you approve the script, avatar delivers it
"Use heygen-avatar to give me a new look — ask me what vibe I'm going for."Discovery flow: skill suggests options (outdoor, studio, casual, cinematic) before committing

Requirements

  • A HeyGen account — sign in via MCP (OAuth) or with an API key if you use the CLI fallback
  • An AI agent that supports skills (Claude Code, OpenClaw, Codex, Cursor, or similar)
  • No runtime dependencies. No packages. No build step.

Security

One optional shell script:

  • scripts/update-check.sh — compares your local VERSION against the latest on GitHub. Read-only, opt-in, no data transmitted.

Data only leaves your machine through MCP / the heygen CLI (video generation) and optionally raw.githubusercontent.com (version check).

Looking for the v1 skills?

The previous version of this repo had individual skills for TTS, video translation, faceswap, video editing, and more. Those skills are preserved at heygen-com/skills-legacy.

Links

License

MIT

常见问题

What is skills?

skills is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by heygen-com. HeyGen AI agent skills — avatar creation and video production via the v3 Video Agent pipeline. It has 407 GitHub stars.

Is skills safe to use?

Yes. skills passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install skills?

Clone the repository with "git clone https://github.com/heygen-com/skills" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is skills written in?

skills is primarily written in Shell. It is open-source under heygen-com on GitHub, so you can review or fork the full source.

Are there alternatives to skills?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh skills against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情