HeyGen Skills for Claude Code
A knowledge base of best practices and API documentation for working with the HeyGen AI avatar video creation API, designed for use with Claude Code.
Overview
This skills package provides Claude Code with domain-specific knowledge about the HeyGen API, enabling it to:
- Generate AI avatar videos
- Work with avatars and voices
- Handle video translation and dubbing
- Manage streaming avatars
- Create photo avatars (talking photos)
- Configure webhooks and callbacks
Installation
Option 1: Using add-skill CLI (Recommended)
add-skill CLI (Recommended)Install using the add-skill CLI:
# Install to Claude Code globally
npx skills add heygen-com/skills -a claude-code -g
# Or install to current project only
npx skills add heygen-com/skills -a claude-code
# List available skills first
npx skills add heygen-com/skills --listThis works with Claude Code, Cursor, Codex, and 13 other agents.
Option 2: Manual Installation
Clone and symlink to your Claude skills directory:
# Clone the repository
git clone https://github.com/heygen-com/skills.git
# Symlink to personal skills (available in all projects)
ln -s $(pwd)/skills/skills/heygen ~/.claude/skills/heygen
# OR symlink to project skills (available in current project only)
mkdir -p .claude/skills
ln -s $(pwd)/skills/skills/heygen .claude/skills/heygenOption 3: Direct Copy
Copy the skill directly into your project:
git clone https://github.com/heygen-com/skills.git
mkdir -p .claude/skills
cp -r skills/skills/heygen .claude/skills/Verify Installation
The skill should appear when Claude Code loads. You can verify by asking Claude about HeyGen APIs.
Contents
Foundation
authentication.md— API key setup and authentication patternsquota.md— Credit system and usage limitsvideo-status.md— Polling and status checkingassets.md— Asset upload and management
Core Video Creation
avatars.md— Avatar listing and selectionvoices.md— Voice configuration and languagesvideo-generation.md— Video creation workflow (v2 API)dimensions.md— Resolution and aspect ratios
Video Customization
backgrounds.md— Colors, images, and video backgroundstext-overlays.md— Adding text to videoscaptions.md— Auto-generated captions
Advanced Features
templates.md— Template-based video generationvideo-translation.md— Translation and dubbingstreaming-avatars.md— Real-time interactive avatarsphoto-avatars.md— Photo-based avatar creationwebhooks.md— Event notifications
Usage
When working with HeyGen code, Claude Code will automatically reference these rule files to provide accurate, up-to-date guidance.
Example Prompts
- “Help me generate a HeyGen video with a custom background”
- “How do I list available avatars in HeyGen?”
- “Create a video translation workflow for Spanish and French”
- “Set up webhooks for video completion notifications”
API Reference
The rules are based on the HeyGen API documentation:
- Base URL:
https://api.heygen.com - Authentication:
X-Api-Keyheader - API Versions: v1, v2, v3 (varies by endpoint)
Requirements
- HeyGen API key — Enterprise tier or higher recommended
- Claude Code CLI
Contributing
To add or update rules:
- Edit the relevant
.mdfile inskills/heygen/rules/ - Ensure YAML frontmatter includes:
name,description,metadata.tags - Include both
curland TypeScript/Python examples - Test that the skill loads correctly
Updated 1 day ago