Agent skill
heygen
Create AI video content with HeyGen - generate avatar videos, translate content, and manage video projects
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/heygen-andrejones92-canifi-life-os-2
SKILL.md
HeyGen Skill
Overview
Enables Claude to use HeyGen for AI video generation including creating avatar videos, video translation, and managing video content projects.
Quick Install
curl -sSL https://canifi.com/skills/heygen/install.sh | bash
Or manually:
cp -r skills/heygen ~/.canifi/skills/
Setup
Configure via canifi-env:
# First, ensure canifi-env is installed:
# curl -sSL https://canifi.com/install.sh | bash
canifi-env set HEYGEN_EMAIL "[email protected]"
canifi-env set HEYGEN_PASSWORD "your-password"
Privacy & Authentication
Your credentials, your choice. Canifi LifeOS respects your privacy.
Option 1: Manual Browser Login (Recommended)
If you prefer not to share credentials with Claude Code:
- Complete the Browser Automation Setup using CDP mode
- Login to the service manually in the Playwright-controlled Chrome window
- Claude will use your authenticated session without ever seeing your password
Option 2: Environment Variables
If you're comfortable sharing credentials, you can store them locally:
canifi-env set SERVICE_EMAIL "your-email"
canifi-env set SERVICE_PASSWORD "your-password"
Note: Credentials stored in canifi-env are only accessible locally on your machine and are never transmitted.
Capabilities
- Create AI avatar videos
- Translate videos to other languages
- Manage video projects
- Select from avatar library
- Use video templates
- Download generated content
Usage Examples
Example 1: Create Avatar Video
User: "Create a welcome video with an AI spokesperson"
Claude: I'll create your welcome video.
1. Opening HeyGen via Playwright MCP
2. Creating new video project
3. Selecting avatar
4. Entering welcome script
5. Generating video
Example 2: Translate Video
User: "Translate my video to Spanish"
Claude: I'll translate your video.
1. Uploading your video
2. Selecting Spanish as target
3. Initiating video translation
4. Downloading translated version
Example 3: Download Video
User: "Download my completed HeyGen video"
Claude: I'll download your video.
1. Opening your project list
2. Finding the completed video
3. Accessing download options
4. Downloading in requested format
Authentication Flow
- Navigate to heygen.com via Playwright MCP
- Click "Login" and enter email
- Enter password
- Handle Google SSO if configured
- Complete 2FA if required (via iMessage)
Error Handling
- Login Failed: Retry up to 3 times, notify via iMessage
- Session Expired: Re-authenticate automatically
- Rate Limited: Check credit balance
- 2FA Required: Send iMessage notification
- Generation Failed: Retry with adjusted settings
- Translation Error: Check source video quality
Self-Improvement Instructions
When HeyGen updates:
- Document new avatars and voices
- Update translation capabilities
- Track feature additions
- Log new template options
Notes
- Credit-based video generation
- 100+ avatars available
- Video translation feature
- Custom avatar creation
- API available for integration
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?