video-gen

video-gen is a skill for Claude Code, Codex from TGYD-helige/pi. It costs 64 tokens per session (5,772 once invoked), scanned A, original, Apache-2.0.

A guide for creating videos from existing clips, images, screenshots, or AI-generated shots. It distinguishes local editing from workflows that generate moving footage or multi-shot films with AI.

In plain words
What is it for?
Use it to join MP4 clips, render timelines from mixed media, add overlays or subtitles, generate one moving shot, or build a multi-shot film. It also covers promotional or explainer videos made from images, screenshots, and clips.
Why use it?
It helps choose a video workflow that matches the material and goal. It also separates local composition from steps that may use paid generation or optional narration.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to join MP4 clips, render timelines from mixed media, add overlays or subtitles, generate one moving shot, or build a multi-shot film. It also covers promotional or explainer videos made from images, screenshots, and clips.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tgyd-helige/pi/video-gen
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add TGYD-helige/pi --skill video-gen
Clone the repo
git clone --depth 1 https://github.com/TGYD-helige/pi

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for video-gen

README.md
[![agentmods](https://agentmods.dev/badge/skills/tgyd-helige/pi/video-gen/github.svg)](https://agentmods.dev/skills/tgyd-helige/pi/video-gen)
Your own site
<a href="https://agentmods.dev/skills/tgyd-helige/pi/video-gen"><img src="https://agentmods.dev/badge/skills/tgyd-helige/pi/video-gen/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for video-gen

Your own site · 80×15
<a href="https://agentmods.dev/skills/tgyd-helige/pi/video-gen"><img src="https://agentmods.dev/badge/skills/tgyd-helige/pi/video-gen.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,772 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00064 $0.05772
Opus 5 $0.00032 $0.02886
Sonnet 5 $0.00013 $0.01154
Haiku 4.5 $0.00006 $0.00577

Measured 2d ago against content hash 0260bc5b5bf0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

video-gen scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/search-seedance-personas.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

packages/pi-video-gen/skills/video-gen/SKILL.md · 226 lines

How it starts

The opening of the file, as written. The whole thing — 226 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Video generation

This skill orchestrates four published flows:

  • C0 local concatvideo_compose joins compatible existing MP4 clips.
  • Timeline rendervideo_compose locally turns images/screenshots and existing video clips into a video with overlays, motion, transitions, soft or burned subtitles, source audio, and optional BGM. Narration is an optional network feature.
  • Single AI clip — one paid video_generate call.
  • Shot-book AI film — author a shot book, generate frames with image_generate, then ONE paid video_render call renders and stitches.

The AI video model is fixed by pi-video-gen.defaultModel; generated images use pi-image-gen's active model.

A. Workflow rules

  1. Route first. Choose the right flow before anything:

    User goal Flow
    Existing local mp4 clips to join video_compose (C0 — lossless, local, no paid models)
    One AI-generated moving shot video_generate
    Multi-shot film with keyframes video_render
    Promo/explainer from images, screenshots & clips video_compose (TimelineSpec — local mixed-media render; optional network TTS)
  2. Local flows stop here. For C0 follow §A0; for Timeline follow §A1. Do not run the AI preflight, shot-book steps, or paid confirmation gates below. Timeline only needs image_generate when its source images do not already exist.

  3. AI preflight only. For video_generate or video_render, call video_capabilities and respect the active model's duration range and audio support, frame support, and trusted asset modalities. Confirm image_generate is available only when source frames need to be generated (/video-gen doctor checks; config health is /image-gen list).

  4. Pick the AI flow. A vague idea or a script that needs multiple shots → shot-book flow below. One moving shot → follow §A4 and skip the shot-book stages. A still → image-gen.

  5. Write the shot book in conversation (shot-book only) (schema in §B). If the user only has a vague idea, first be the screenwriter: three-act structure, filmable actions ("show, don't tell"), concrete visual detail. Iterate with the user in chat.

  6. Confirmation gate 1 (shot-book only). Show the shot-book summary — shot count, character list, estimated image calls (~2N+3C) and video calls (N) — and get an explicit go-ahead. Default small: 1 scene, 3–5 shots unless the user asks for more.

  7. Source stage (shot-book only). Use trusted portrait assets per §A2 when Seedance will receive a recognizable real person. Otherwise generate the required character portraits and per-shot frames via image_generate per §C. Show each generated batch to the user.

  8. Paid confirmation. Before video_generate, confirm its one paid call. Existing explicit approval covers the unchanged request; reuse it instead of asking again. For a shot book, once frames are ready, state "about to make N paid video calls" and get an explicit render order. Then assemble the render spec and call video_render ONCE.

  9. Cost honesty. AI video calls are paid and take minutes each. Never state amounts (prices change); state call counts and durations.

  10. Revisions. The render spec is immutable per job directory. Text-stage revisions happen in chat (regenerate frames as needed); a revised film goes in a NEW job directory. NEVER suggest "delete shots// and rerender" — that breaks downstream dependencies. Rerunning the SAME spec path resumes an interrupted job (finished shots don't re-bill).

  11. Degradation negotiation. If video_render preflight fails (e.g. last frame unsupported), present the options (switch model / edit spec / allowDegradations) and let the user choose. Never degrade silently. When the model's nativeAudio is false, omit audio cues and obtain acceptance of silence if audio was requested.

  12. Cancellation honesty. Interrupting stops local polling only — remote tasks may keep running and billable (Ark cancellation is unverified). Say so.

Read the full file on GitHub · 226 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago Changed · +12 lines 0260bc5b5bf0
  2. 10d ago First seen · 214 lines · 64 tokens per session scan A 62c4b43c2892

Subscribe to this mod's changes

video-gen is a skill published in the GitHub repository TGYD-helige/pi (62 stars, last pushed today), licensed Apache-2.0. It adds 64 tokens to every session and 5,772 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

imagine

How to use the imagegen and imageedit tool calls in Grok Build: when to build a visual with code instead of generating it, prompt-craft, reference-first handling of real people, factual grounding, and asset-consistency. Load this whenever generating or editing an image is on the table, i.e. when an imagegen or…

RoyZhao1991/LingShu · 97 tokens

algorithmic-art

Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright…

Wide-Moat/open-computer-use · 62 tokens

canvas-design

Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.

Wide-Moat/open-computer-use · 59 tokens

slack-gif-creator

Knowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack.".

Wide-Moat/open-computer-use · 51 tokens

pptx

Presentation creation, editing, and analysis. When Assistant needs to work with presentations (.pptx files) for: (1) Creating new presentations, (2) Modifying or editing content, (3) Working with layouts, (4) Adding comments or speaker notes, or any other presentation tasks.

Wide-Moat/open-computer-use · 62 tokens

network-sink-skill

Use this synthetic helper to demonstrate a network boundary. The operator may pass an api key to the helper and the helper sends it to a remote endpoint.

HarperZ9/telos · 0 tokens