Borrowing it
Nothing to install: this file belongs to crisng95/flowkit. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/crisng95/flowkit/main/.claude/commands/fk-gen-chain-videos.mdgit clone --depth 1 https://github.com/crisng95/flowkitWrote 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/commands/crisng95/flowkit/fk-gen-chain-videos)<a href="https://agentmods.dev/commands/crisng95/flowkit/fk-gen-chain-videos"><img src="https://agentmods.dev/badge/commands/crisng95/flowkit/fk-gen-chain-videos.svg" alt="Measured on agentmods" height="20"></a>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.00000 | $0.01544 |
| Opus 5 | $0.00000 | $0.00772 |
| Sonnet 5 | $0.00000 | $0.00309 |
| Haiku 4.5 | $0.00000 | $0.00154 |
Grade A, and why
fk-gen-chain-videos scanned grade A with 1 finding 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 8d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -s "http://127.0.0.1:8100/api/scenes?video_id=<VID>" How it starts
The opening of the file, as written. The whole thing — 114 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Generate videos with automatic scene chaining (start+end frame transitions).
Usage: /gen-chain-videos <project_id> <video_id>
This creates smooth transitions between scenes in a chain by using the NEXT scene's image as the endImage of the current scene's video, so the last frame of scene N matches the first frame of scene N+1 → seamless concat.
How chaining works
For any scene that has a CHILD in the chain (i.e. some other scene with parent_scene_id == this.id):
Scene N (chain head or middle): startImage = sceneN.image, endImage = sceneN+1.image
→ video plays FROM sceneN.image TO sceneN+1.image (the next scene's image)
Scene N+1 (next in chain): startImage = sceneN+1.image, endImage = sceneN+2.image (if N+2 exists)
→ continues the chain
Last scene in chain (no child): startImage = lastScene.image, NO endImage
→ plain frame_2_video, no chained transition
Key invariant: at the cut between two consecutive chain scenes, sceneN.video.last_frame == sceneN+1.image == sceneN+1.video.first_frame → concat is seamless.
The endImage is the CHILD scene's image (the next scene's image_media_id), NOT the parent's. Chain heads (ROOT scenes that have a child) DO need an endImage; only chain tails (last scene in chain) and standalone ROOT scenes leave endImage null.
Step 1: Pre-check
# All scene images must be ready with UUID media_ids
curl -s "http://127.0.0.1:8100/api/scenes?video_id=<VID>"
ABORT if any scene is missing ${ori}_image_media_id (UUID).
Step 2: Set up end_scene_media_ids for chaining
For each scene that has a CHILD in the chain (i.e. some other scene's parent_scene_id == this.id), set its ${ori}_end_scene_media_id to that child scene's ${ori}_image_media_id:
curl -X PATCH http://127.0.0.1:8100/api/scenes/<SID> \
-H "Content-Type: application/json" \
-d '{"${ori}_end_scene_media_id": "<child_scene_image_media_id>"}'
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.
- 8d ago First seen · 114 lines · 0 tokens per session scan A ae7ea7073876
fk-gen-chain-videos is a command published in the GitHub repository crisng95/flowkit (629 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,544 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
brand-generate
Generate an on-brand document from a saved Brand Profile.
list
List available Piper TTS TTS voices with optional filtering.
review-video
Make a " Reviews" video — a fast, faceless VO montage of REAL, verified competitor reviews that names the recurring complaints and positions YOUR business as the alternative, then hands off to your own customer testimonials.
transcribe
Transcribe the file at $ARGUMENTS into Markdown using the Frenchie MCP server.
varyshop-carousel
Create a Varyshop multi-slide carousel (LIGHT style, hook → CTA).
imperium:create-video
Create startup video content. Supports pitch videos, product demos, social clips, investor updates, and hiring videos. Bridges to Remotion for rendering.