video-gen

video-gen is a skill for Claude Code, Codex from TGYD-helige/pi. It costs 44 tokens per session (1,563 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 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,563 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.00044 $0.01563
Opus 5.5 $0.00018 $0.00625
Sonnet 5.5 $0.00009 $0.00313
Haiku 4.5 $0.00004 $0.00156

Measured 2d ago against content hash 417579f5cbb3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 3 executable files (examples/continuous-demo/prepare-audio.mjs, examples/continuous-demo/timing.mjs, 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 · 53 lines

How it starts

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

Video generation

Choose each shot's source independently: existing media, a model-generated clip, or graphics in an editable Remotion project. Name the executable tool at each handoff. The video model comes from pi-video-gen.defaultModel; image generation uses pi-image-gen's active model. <outputDir> is the configured pi-video-gen.outputDir, defaulting to <cwd>/.video-gen; /video-gen doctor reports its resolved path.

Route the task

Honor the user's specified method and existing usable material. Read only the relevant assembly guide:

Goal Tool and reference
Join compatible MP4 clips without re-encoding video_compose; follow Compatible clip concat below
Create one or several model clips under direct control video_generate; follow Direct model clips below; use video_compose if assembly is needed
Assemble images/screenshots and clips with overlays, transitions or narration video_compose; read Timeline composition
Animate exact UI, charts, typography or editable graphics video_compose; read Remotion handoff
Execute a prepared batch with saved remote tasks and optional assembly video_render; read render script and recovery, plus the selected assembly guide

For a product film, demonstration, capability showcase or authored explainer, read film direction before designing scenes. An explicitly supplied edit, single clip or straightforward assembly follows its supplied instructions without that planning stage. For continuous UI/graphic handoffs, film direction routes to the motion-authoring guide. Read shot planning and frame preparation only when recurring identities, narrative continuity or missing reference frames require it.

Execution rules

  • Preserve scope. Reuse suitable assets; generate or replace images when needed or explicitly requested. Use image_generate for those images and read the installed image-gen skill before using it. If it is unavailable, disclose the gap and continue only with suitable existing material or an agreed alternative. Any user restriction on generation charges also applies to image calls.
  • Model preflight. Before preparing new generated-video requests, call video_capabilities and respect the active model's durations, ratios, audio, frame and trusted-asset support. Local-only work needs no video-model credentials or capability call. For Seedance recognizable portraits or provider-managed portrait/material choices, read Seedance assets before selecting inputs or preparing a paid call.
  • Paid scope. Before the first paid video call, state the generated shot count and durations, provider/account, model and exact asset choices. Obtain approval unless that exact scope is already authorized; reuse approval for unchanged resumes using the saved job identity. A material scope change needs agreement. A prepared batch uses one initial video_render call per requested version; resume the same spec after interruption. Additional prototypes or versions must serve the requested task.
  • Cost. State call counts and durations. If the user requests prices, verify current provider pricing and state the assumptions; if pricing cannot be verified, say so rather than guessing. Do not promise a fixed completion time.
  • Immutable jobs. Revised inputs or frozen project source require a NEW job directory. Rerunning the SAME spec resumes completed shots without resubmitting them. Preserve saved clips and remote handles; never delete shot outputs to force a retry. Missing or changed committed artifacts fail integrity checks rather than being silently regenerated.
  • Degradation. When a capability or preflight check fails, explain supported alternatives and obtain agreement for a materially changed result. Omit unsupported native-audio cues; if requested audio would be lost, resolve that gap before generation. Narration uploads and silent-subtitle fallbacks follow the Timeline guide's disclosure and agreement rules.
  • Cancellation. Stopping local polling/rendering may leave a remote task running and billable; Ark remote cancellation is unverified. Report that limitation.

Read the full file on GitHub · 53 lines

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 · -177 lines 417579f5cbb3
  2. 5d ago Changed · +4 lines 41e8edec5458
  3. 27d ago Changed · -20 tokens per session f79b354c9609
  4. 1mo ago Changed · +12 lines 0260bc5b5bf0
  5. 1mo 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 (84 stars, last pushed today), licensed Apache-2.0. It adds 44 tokens to every session and 1,563 once invoked, about $0.0002 per session on Opus 5.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

vision-bridge-windows-automation

Drive Windows desktop apps (Win32/WPF/UWP), Electron windows and the browser through the vision-bridge MCP server - read the screen as structured text and click/type by element id. Use when the user asks the agent to operate a Windows GUI app, fill a form in a desktop program, read what is on screen, or automate a…

rusnetru/vision-bridge · 85 tokens

browser-use

Direct browser control via CDP for web interaction: automation, scraping, testing, screenshots, and site/app work. Also covers hosted cloud browsers for AI agents: the browser-use Python library (Browser(usecloud=True)), Playwright, Puppeteer or any CDP client.

browser-use/browser-use · 57 tokens

x402

Set up Browser Use Cloud payments with x402 — pay per request from a crypto wallet (USDC on Base mainnet), no signup or API key. Two setups it works out up front — "just use it" (set up a wallet so you or Claude Code can run cloud browser tasks paid from the wallet — Claude writes and runs throwaway scripts, nothing…

browser-use/browser-use · 175 tokens

remote-browser

Controls an isolated Browser Use Cloud browser from a sandboxed machine with the current Browser Use CLI.

browser-use/browser-use · 22 tokens

cloud

Documentation reference for using Browser Use Cloud — the hosted API and SDK for browser automation. Use this skill whenever the user needs help with the Cloud REST API (v2, v3, or v4), browser-use-sdk (Python or TypeScript), X-Browser-Use-API-Key authentication, cloud sessions, browser profiles, profile sync, CDP…

browser-use/browser-use · 177 tokens

open-source

Documentation reference for writing Python code using the browser-use open-source library. Use this skill whenever the user needs help with Agent, Browser, or Tools configuration, is writing code that imports from browseruse, asks about @sandbox deployment, supported LLM models, Actor API, custom tools, lifecycle…

browser-use/browser-use · 137 tokens