A community-driven registry for Claude, Cursor, Windsurf, Cline & more. Not affiliated with Anthropic.
Are you the author? Sign in to claim
HeyGen avatar video generation skill for Claude Code. Batch, templates, translation, photo avatars, TTS. Stdlib-only Pyt
Production-grade Claude Code skill for AI avatar talking-head video generation, powered by the HeyGen REST API.
Fills the gaps in HeyGen's 11 official skills: batch generation, template variable injection, photo-to-avatar pipeline, credit estimation, webhook management, and crash-recoverable orchestration.
Sign up at app.heygen.com, then go to Settings → API and create a key. Pay-as-you-go starts at a $5 minimum balance.
git clone https://github.com/AgriciDaniel/lipnardo.git
cd lipnardo
bash install.sh
Windows (PowerShell):
powershell -ExecutionPolicy Bypass -File .\install.ps1
The installer:
~/.claude/skills/lipnardo/~/Documents/lipnardo_videos/ for output~/.heygen/config.json (chmod 600)Open Claude Code and say:
"Generate a 30-second avatar video saying: Welcome to Acme Industries"
Or use the command directly:
/lipnardo generate --prompt "A professional explaining quarterly results" --aspect-ratio 16:9
| Say this... | What happens |
|---|---|
| "Generate an avatar video saying X" | AI Video Agent creates it (v3 endpoint) |
| "Make a multi-scene video from this script" | Studio mode (up to 50 scenes) |
| "Generate 100 personalized videos from this CSV" | Batch mode with 3-concurrent queue |
| "Translate this video to Spanish with lip-sync" | v3 translation, speed or precision mode |
| "Turn this photo into a talking avatar" | Full Photo Avatar IV training pipeline |
| "Convert this text to speech" | Starfish TTS engine |
| "How much will this cost?" | Pre-flight cost estimation |
| "Download video XYZ before the URL expires" | Local download with retry |
pip install)~/.heygen/costs.json (chmod 600, atomic writes)speed or precision mode (v3 endpoint)Pricing is set by HeyGen and billed to your API balance. Lipnardo does not add fees.
| Feature | Cost / second | Per minute |
|---|---|---|
| Avatar III video | $0.0167 | ~$1.00 |
| Video Agent (v3) | $0.0333 | ~$2.00 |
| Photo Avatar (IV) | $0.0500 | ~$3.00 |
| Digital Twin (IV) | $0.0667 | ~$4.00 |
| Translation (speed) | $0.0333 | ~$2.00 |
| Translation (precision) | $0.0667 | ~$4.00 |
| Starfish TTS | $0.000667 | ~$0.04 |
Use /lipnardo credits estimate before any generation. Use --test true for free watermarked iterations during development.
/lipnardo generate <prompt> Video Agent (v3) generation
/lipnardo studio <config.json> Multi-scene Studio (v2)
/lipnardo batch <file.csv> Batch generation from CSV/JSON
/lipnardo template list List HeyGen templates
/lipnardo template inspect <id> Show template variables
/lipnardo template generate <id> Generate from template
/lipnardo translate <id> <lang> Translate with lip-sync
/lipnardo tts <text> Starfish TTS
/lipnardo avatar create <photo> Photo Avatar IV pipeline
/lipnardo avatar list List available avatars
/lipnardo avatar voices List TTS voices
/lipnardo assets upload <file> Upload to HeyGen
/lipnardo assets list List uploaded assets
/lipnardo credits API balance check
/lipnardo credits estimate Pre-flight cost estimate
/lipnardo download <id> Download video before URL expires
/lipnardo webhook register <url> Register webhook endpoint
/lipnardo setup Validate API key and configuration
For sustained 500+ videos/month, contact HeyGen sales for Enterprise API pricing (typical 30-50% discount on list + higher concurrent limits).
lipnardo/
├── README.md, LICENSE, SECURITY.md, CONTRIBUTING.md, CODE_OF_CONDUCT.md
├── install.sh, install.ps1, uninstall.sh
├── .gitignore
└── skills/lipnardo/
├── SKILL.md # Skill manifest (Agent Skills standard)
└── scripts/
├── heygen_client.py # Importable: auth, HTTP, polling, download, validation
├── generate_video.py # Video Agent (v3) + Studio (v2)
├── batch_generate.py # Queue manager with retry + crash recovery
├── template_video.py # Template list/inspect/generate
├── translate_video.py # Translation v3 (speed | precision)
├── tts.py # Starfish TTS
├── photo_avatar.py # Avatar IV pipeline
├── asset_manager.py # Upload/list assets
├── credit_check.py # Balance/estimate/log/summary
├── download_video.py # URL-validated download
├── webhook_manager.py # Webhook endpoint CRUD
└── validate_setup.py # Pre-flight check
├── references/ # 4 on-demand docs (API, costs, errors, avatars)
└── examples/ # 3 worked examples
Tier 2 architecture: single SKILL.md + scripts (not Tier 3 sub-skills) because all capabilities share auth, HTTP, polling, and download logic. The shared module pattern (heygen_client.py imported via sys.path.insert(0, os.path.dirname(__file__))) avoids code duplication.
Direct REST API (not MCP) because HeyGen's three integration paths use separate billing pools:
| Path | Auth | Billing |
|---|---|---|
Remote MCP (mcp.heygen.com) | OAuth | Web plan premium credits |
| Local MCP (archived) | API key | API balance |
Direct REST API (api.heygen.com) | API key | API balance — what Lipnardo uses |
This skill went through 3 review cycles before v1.0:
mode parameter (users paying 2x for "quality" got "speed")file://, batch financial safety gates ($20K spend prevention), file permissions, ID sanitization, negative cost loopholeSee SECURITY.md for the threat model and how to report vulnerabilities.
cd lipnardo
bash uninstall.sh
Removes the skill symlink. Your generated videos, API key, and cost ledger are untouched.
See CONTRIBUTING.md. Bug fixes, additional reference docs, and Windows installer improvements are most welcome.
MIT — see LICENSE. HeyGen content and API output are governed by HeyGen's terms.
A Claude Code skill by Hao (駱君昊) that learns your Facebook voice and auto-posts to FB / IG / Threads / X with a 14-day c
1000+ skills curated from Anthropic, Vercel, Stripe, and other engineering teams
Claude Code skill for YouTube creators — channel audits, video SEO, retention scripts, thumbnails, content strategy, Sho
AI image generation skill for Claude Code -- Creative Director powered by Gemini