HeyGen Automation
Automate AI video generation, avatar browsing, template-based video creation, and video status tracking through HeyGen's platform via Composio
Get the complete skill folder, including its scripts and reference files.
This workflow depends on an external MCP integration. Check the source for the server, account access and setup it requires.
When to use this skill
Use HeyGen Automation when an AI agent needs a reusable SKILL.md workflow for this job: Automate AI video generation, avatar browsing, template-based video creation, and video status tracking through HeyGen's platform via Composio
When not to use it
Skip HeyGen Automation when the task is outside the creativity category, or when a more specific skill in this directory already covers the same workflow with clearer triggers.
How to install
Where will you use it?
mkdir -p ~/.claude/skills/heygen-automation # Save SKILL.md to ~/.claude/skills/heygen-automation/SKILL.md
- Claude Code personal install: place the skill and its bundled files at ~/.claude/skills/heygen-automation/SKILL.md. For a shared project, commit the folder at .claude/skills/heygen-automation/ instead.
- Current Claude Code detects SKILL.md changes in watched directories during the session. If you just created a top-level skills directory, run /reload-skills. Check that the skill is listed before testing its trigger.
- For Claude chat or Cowork in the Desktop app, manage uploaded skills in Customize > Skills; copying files into a local Claude Code folder is not a Desktop install. Other agents may use different install locations.
Full install guide for Claude, Cursor, and Codex →
Try a starter prompt
After installing the skill, paste this starter prompt into your agent to verify it triggers on a small task.
Use the HeyGen Automation skill for this task: Use HeyGen Automation when this documented workflow matches the task. Confirm any required inputs or files before making changes.
What supports this recommendation?
71/100 provisional content score. This measures documentation, practical detail and source signals. It is not a measured task success rate or a security certification.
- Documentation
- 75/100
- Practical detail
- 68/100
- Source evidence
- 63/100
- Source signals
- 80/100
Model compatibility evidence
- claudeinferred
The skill text mentions Claude or a closely associated term. This is keyword-derived compatibility; no hands-on model test is recorded.
- chatgptuntested
No model-specific signal or recorded compatibility test was found.
- geminiuntested
No model-specific signal or recorded compatibility test was found.
- copilotuntested
No model-specific signal or recorded compatibility test was found.
- llamauntested
No model-specific signal or recorded compatibility test was found.
- perplexityuntested
No model-specific signal or recorded compatibility test was found.
- mistraluntested
No model-specific signal or recorded compatibility test was found.
- grokuntested
No model-specific signal or recorded compatibility test was found.
Inferred compatibility is based on content signals. Check the app, its available tools and setup requirements before running a skill.
What this skill does
# HeyGen Automation
Automate AI-powered video creation workflows -- browse avatars and templates, generate personalized videos from templates, track processing status, and retrieve shareable URLs -- all orchestrated through the Composio MCP integration.
**Toolkit docs:** [composio.dev/toolkits/heygen](https://composio.dev/toolkits/heygen)
---
## Setup
1. Connect your HeyGen account through the Composio MCP server at `https://rube.app/mcp` 2. The agent will prompt you with an authentication link if no active connection exists 3. Once connected, all `HEYGEN_*` tools become available for execution
---
## Core Workflows
### 1. Browse Available Templates Retrieve pre-designed avatar templates from the HeyGen library for video creation.
**Tool:** `HEYGEN_V2_TEMPLATES`
``` No parameters required -- returns template IDs, names, preview images, and customization options. ```
Use this to discover templates before generating videos. Each template has a unique ID needed for generation.
---
### 2. Inspect Template Details & Variables Retrieve the full structure of a template including all variables, scene mappings, and customization options.
**Tool:** `HEYGEN_RETRIEVE_TEMPLATE_DETAILS_V3`
| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | `template_id` | string | Yes | Template ID from `HEYGEN_V2_TEMPLATES` or the HeyGen dashboard |
This is a **required prerequisite** before generating videos -- it tells you exactly which variables must be populated.
---
### 3. Browse Available Avatars List all realistic avatars available for video creation, useful for mapping characters to scenes.
**Tool:** `HEYGEN_V2_AVATARS`
``` No parameters required -- returns avatar identifiers, names, and preview images. The list may be paginated; additional calls might be needed for the full set. ```
---
### 4. Generate Video from Template Create a customized video by populating a template with your variables and content.
**Tool:** `HEYGEN_V2_TEMPLATE_GENERATE`
Provide a video title and all template variables discovered via `HEYGEN_RETRIEVE_TEMPLATE_DETAILS_V3`. Every required variable must be supplied with exact names and types.
---
### 5. Check Video Processing Status Poll the processing status and retrieve metadata for a video being generated.
**Tool:** `HEYGEN_RETRIEVE_VIDEO_STATUS_DETAILS`
| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | `video_id` | string | Yes | Video ID returned from the generation API |
Returned URLs expire after 7 days but can be regenerated by calling this endpoint again.
---
### 6. Get Shareable Video URL Generate a public, shareable link that allows anyone to view the video without authentication.
**Tool:** `HEYGEN_RETRIEVE_SHARABLE_VIDEO_URL`
Provide the `video_id` to receive a public URL for distribution.
---
## Known Pitfalls
| Pitfall | Details | |---------|---------| | **All template variables required** | `HEYGEN_V2_TEMPLATE_GENERATE` demands every variable from `HEYGEN_RETRIEVE_TEMPLATE_DETAILS_V3` with exact names and types -- missing or misnamed fields break scenes or fail generation | | **Always inspect templates first** | Never skip `HEYGEN_RETRIEVE_TEMPLATE_DETAILS_V3` before generation -- multi-scene templates have complex variable structures | | **Video URLs expire** | URLs from `HEYGEN_RETRIEVE_VIDEO_STATUS_DETAILS` expire after 7 days; regenerate by calling the endpoint again | | **Paginated avatar lists** | `HEYGEN_V2_AVATARS` may return paginated results -- additional calls may be needed for the full library | | **Processing time varies** | Video generation is asynchronous; poll `HEYGEN_RETRIEVE_VIDEO_STATUS_DETAILS` until status is complete before using output URLs |
---
## Quick Reference
| Tool Slug | Purpose | |-----------|---------| | `HEYGEN_V2_TEMPLATES` | List available video templates | | `HEYGEN_RETRIEVE_TEMPLATE_DETAILS_V3` | Get template variables and scene structure | | `HEYGEN_V2_AVATARS` | Browse available AI avatars | | `HEYGEN_V2_TEMPLATE_GENERATE` | Generate video from a template | | `HEYGEN_RETRIEVE_VIDEO_STATUS_DETAILS` | Check video processing status and get URLs | | `HEYGEN_RETRIEVE_SHARABLE_VIDEO_URL` | Get a public shareable video link |
---
*Powered by [Composio](https://composio.dev)*
Intended uses
- Use HeyGen Automation when this documented workflow matches the task.
Implementation notes
- Review the source instructions and adapt inputs before running the workflow.
Try it, then tell us how it went
A copied prompt does not tell us whether the task worked. Report your result after checking the output. We collect your tool and outcome, never your files or prompt.