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.00064 | $0.05772 |
| Opus 5 | $0.00032 | $0.02886 |
| Sonnet 5 | $0.00013 | $0.01154 |
| Haiku 4.5 | $0.00006 | $0.00577 |
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 — 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 concat —
video_composejoins compatible existing MP4 clips. - Timeline render —
video_composelocally 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_generatecall. - Shot-book AI film — author a shot book, generate frames with
image_generate, then ONE paidvideo_rendercall 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
-
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_generateMulti-shot film with keyframes video_renderPromo/explainer from images, screenshots & clips video_compose(TimelineSpec — local mixed-media render; optional network TTS) -
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_generatewhen its source images do not already exist. -
AI preflight only. For
video_generateorvideo_render, callvideo_capabilitiesand respect the active model's duration range and audio support, frame support, and trusted asset modalities. Confirmimage_generateis available only when source frames need to be generated (/video-gen doctorchecks; config health is/image-gen list). -
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.
-
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.
-
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.
-
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_generateper §C. Show each generated batch to the user. -
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 callvideo_renderONCE. -
Cost honesty. AI video calls are paid and take minutes each. Never state amounts (prices change); state call counts and durations.
-
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).
-
Degradation negotiation. If
video_renderpreflight 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'snativeAudiois false, omit audio cues and obtain acceptance of silence if audio was requested. -
Cancellation honesty. Interrupting stops local polling only — remote tasks may keep running and billable (Ark cancellation is unverified). Say so.
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.
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 · +12 lines 0260bc5b5bf0
- 10d 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 (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.
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…
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…
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.
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.".
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.
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.