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.
npx skills add TGYD-helige/pi --skill video-gengit clone --depth 1 https://github.com/TGYD-helige/piWrote 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.
[](https://agentmods.dev/skills/tgyd-helige/pi/video-gen)<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.
<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>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once 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 |
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.
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.
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_generatefor 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_capabilitiesand 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_rendercall 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.
What ships with it
17 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.
- evals.json 10 KB
- examples/continuous-demo/.gitignore 18 B
- examples/continuous-demo/package.json 430 B
- examples/continuous-demo/prepare-audio.mjs 3.4 KB runs code
- examples/continuous-demo/README.md 3.4 KB
- examples/continuous-demo/src/index.tsx 14 KB
- examples/continuous-demo/timing.mjs 1.3 KB runs code
- references/film-direction.md 15 KB
- references/motion-authoring.md 4.0 KB
- references/remotion-handoff.md 5.8 KB
- references/seedance-assets.md 3.4 KB
- references/seedance-personas.json 3716 KB
- references/seedance-public-material-library.md 13 KB
- references/shot-planning.md 7.0 KB
- references/timeline-compose.md 4.2 KB
- references/video-render-workflow.md 6.2 KB
- scripts/search-seedance-personas.mjs 2.8 KB runs code
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.
- 2d ago Changed · -177 lines 417579f5cbb3
- 5d ago Changed · +4 lines 41e8edec5458
- 27d ago Changed · -20 tokens per session f79b354c9609
- 1mo ago Changed · +12 lines 0260bc5b5bf0
- 1mo ago First seen · 214 lines · 64 tokens per session scan A 62c4b43c2892
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.
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…
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.
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…
remote-browser
Controls an isolated Browser Use Cloud browser from a sandboxed machine with the current Browser Use CLI.
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…
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…