Creates and composites HeyGen digital-human videos with OAuth auth, IndexTTS2 narration, and approved avatar layouts. Activates on requests for digital humans, HeyGen, or specific avatar presets.
Ships in novel-distill. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Create the avatar layer for a video. Let ra-video-production-director own the
whole production, captions, QC, and archive; let this skill own HeyGen auth,
avatar selection, generation, and the approved avatar layout.
Before writing or approving any HeyGen motion_prompt, load and apply
heygen-avatar-motion. Its motion classes and validation gate are mandatory
unless the user explicitly requests a different action. Never submit a paid
generation while that validation gate fails.
Read references/pluviobyte-profile.json before building. Treat it as the
machine-readable default. Do not substitute another look from the same avatar
group.
HEYGEN_API_KEY removed from the child environment so
a shell variable cannot silently switch billing lanes.references/pluviobyte-profile.json
For an unspecified digital human,
use Avatar III. The exact named preset 数字人5 always means Avatar V and
counts as an explicit premium-engine request; never resolve it to Avatar III.
Do not silently
substitute a legacy portrait look or a generated suit/scene
look from the same avatar group.tts-skill, voice
pluvio-indextts2-calm-v1. Never ask HeyGen to synthesize the voice and
never use MiniMax or another fallback for local production.headroom_08 circular avatar at the lower-left.
Only use a full-screen/main-canvas avatar when the user explicitly says
全屏数字人 or an equivalent unambiguous instruction.数字人5, or Avatar III fails review. State the expected
credit/cost increase before generation. Because 数字人5 is itself an
explicit Avatar V instruction, do not ask the user to reconfirm the engine
after giving the cost notice.Run env -u HEYGEN_API_KEY heygen auth status. Require credential type
oauth, billing type subscription, and plan creator. Stop before a
paid generation if any condition differs.
Generate the complete narration audition with tts-skill; require the
canonical WAV and a voice_manifest.json with used_fallback=false and
minimax_used=false. Check mixed-language names and technical terms before
presenting the audition.
Give the user the exact audition WAV (and optionally a portable MP3) and
wait for an explicit confirmation such as “音频确认,可以生成数字人”. Record
the approved WAV SHA-256 in media/audio-approval.json. Do not upload audio,
build a HeyGen request, or consume credits before this record exists.
Recompute the WAV SHA-256 immediately before upload. If it differs from the approved hash, invalidate the approval, remind the user, and return to step 3. A request to “continue”, “directly produce”, or “make the avatar” is not audio approval unless the user explicitly confirms the audition itself.
Generate production captions from the approved locked audio with
ra-audio-to-subtitles. Require caption-qc.json to pass before final
composition.
Upload the approved locked WAV with
env -u HEYGEN_API_KEY heygen asset create --file <narration.wav> and save
the JSON response in the project. Extract its asset ID without copying
credentials into files or logs.
Use heygen-avatar-motion to classify each semantic section, save the exact
executable motion prompt, and pass its validation gate. Explanatory body
sections default to hands fully outside the image; visible hand motion is
reserved for meaningful result or conclusion zones.
Resolve the engine from the named preset before building the request. For
an unspecified digital human, generate one 16:9, 1080p avatar master with
fit=contain and engine.type=avatar_iii. For 数字人5, generate the same
single master with engine.type=avatar_v and pass the premium-engine guard:
python3 scripts/build_request.py \
--audio-asset-id '<asset-id>' \
--title '<project title>' \
--engine avatar_v \
--allow-premium-engine \
--output media/heygen-create-request.json
env -u HEYGEN_API_KEY heygen video create \
-d media/heygen-create-request.json --wait \
> media/heygen-create-response.json
Download the completed master with heygen video download. Reuse that
single master for every requested aspect ratio. Do not spend a second
generation merely to change crop, circle placement, background, or canvas
ratio.
For the default layout, overlay the master with
scripts/compose_circle_avatar.py. Its default --center-mode auto samples
the current master, applies the measured crop plus the reviewed visual offset,
then verifies the rendered circle against that target. Archive the generated
centering report. A Remotion/HyperFrames implementation must reproduce the
same measurement, visual offset, and 2px gate rather than copying the fallback
coordinates blindly.
For explicit full-screen mode, use the HeyGen master as the main visual and
skip the circular compositor. Record layout=fullscreen_explicit in the
production note.
Verify media streams, duration, representative frames, subtitle clearance,
hair completeness, reduced headroom, voice provenance, and caption QC.
Then follow ra-video-production-director for final archive delivery.
Use this when the base edit is already at the requested output size:
python3 scripts/compose_circle_avatar.py \
--base <base-video.mp4> \
--avatar <heygen-master.mp4> \
--output <final.mp4> \
--layout auto \
--audio-source avatar \
--centering-report <centering-report.json>
auto supports the approved 1920x1080 and 1080x1920 layouts. The avatar audio
is authoritative for a narration-only composition. Use --audio-source base
only when the locked narration is already present in the base edit. Do not mix
two copies of the narration.
The adaptive face-measurement pass is mandatory for a newly generated master.
--center-mode profile uses the reviewed black-T fallback crop only for
diagnosis and still must pass the post-render 2px check against the reviewed
visual-offset target. Use --crop-x and --crop-y together only for an
explicitly reviewed manual correction. Never regenerate or spend another
HeyGen credit merely to correct local framing.
Before generation, state how many HeyGen masters will be created. The default count is one. Layout experiments must use local recomposition and consume zero additional HeyGen credits. Save request/response JSON and the downloaded master under the project so retries can detect and reuse completed work.
Keep these artifacts in the engineering project:
media/narration.wav and media/voice_manifest.jsonmedia/audio-approval.json containing the explicitly approved audio SHA-256media/heygen-asset-response.jsonmedia/heygen-create-request.jsonmedia/heygen-create-response.jsonmedia/pluviobyte-avatar-master.mp4caption-qc.jsonstatus: passNever store OAuth tokens or API keys in project artifacts.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/pluviobyte-rn-bw-text-opener:heygen-digital-avatarfrom novel-distill
Claude Code refuses to install this plugin
Claude Code refuses to add this marketplace: owner: Invalid input: expected object, received string
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
63 skills in this plugin
/AI剪口播口播视频转录和口误识别。生成审查稿和删除任务清单。触发词:剪口播、处理视频、识别口误/avatar-keyframe-video将法天象地、同源巨大法相或角色力量显现的视觉参考制作成连续关键帧,再使用用户选择或可用的图生视频工具分段生成、检查和合成动作视频,不绑定成片平台。适用于本体与法相同框、领域展开、凝实与同步出招;不负责整部小说改编或普通图片轮播。/dbsdontbesilent 商业工具箱主入口。双模式:任务前路由(你的问题该用哪个 skill)+ 任务后导航(刚做完诊断,下一步该干什么)。
触发方式:/dbs、/商业、「帮我看看」、「下一步怎么走」
Main entry point for dontbesilent business toolkit. Dual mode: pre-task routing + post-task navigation.
Trigger: /dbs, "help me with my business", "what's next"
/dbs-actiondontbesilent 执行力诊断。用阿德勒心理学框架诊断你「知道该做什么但就是不做」的真正原因。
触发方式:/dbs-action、/action、「我知道该怎么做但就是不做」「为什么我总是拖延」
Execution block diagnosis using Adlerian psychology framework.
Trigger: /dbs-action, "I know what to do but can't do it", "why do I procrastinate"
Other plugins' skills for the same job