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 agentmods add commands/crisng95/flowkit/fk-pipelinegit clone --depth 1 https://github.com/crisng95/flowkitWhat 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 | $0.00000 | $0.04481 |
| Opus 5 | $0.00000 | $0.02240 |
| Sonnet 5 | $0.00000 | $0.00896 |
| Haiku 4.5 | $0.00000 | $0.00448 |
Grade C, and why
fk-pipeline scanned grade C with 2 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.
Downloads and executes remote codehighSupply chain
curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.
VID=$(curl -s "http://127.0.0.1:8100/api/videos?project_id=<PID>" | python3 -c "import sys,json; print(json.load(sys.stdin)[0]['id'])") 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/projects How it starts
The opening of the file, as written. The whole thing — 490 lines — stays where its author put it; the contents beside it link to each section on GitHub.
fk-pipeline — Smart Full-Pipeline Orchestrator
Auto-detect project state and run the correct stages (continuation or full run). Handles batching, parallelism, retries, downloads, TTS, and Telegram notifications.
Usage: /fk-pipeline [project_id] [orientation] [options]
Options:
--upscale— include 4K upscale stage (TIER_TWO only)--tts— include TTS narration stage (parallel with upscale)--download— auto-download 4K files as upscales complete--concat— run concat after all stages done--notify— send Telegram notifications at milestones--interval N— poll interval in seconds (default: 15)--orientation H|V— HORIZONTAL or VERTICAL (auto-detected from video.orientation if omitted)
Examples:
/fk-pipeline— detect state and continue most recent project/fk-pipeline --upscale --tts --download --notify— full run with all options/fk-pipeline <project_id> HORIZONTAL --upscale --download— explicit project + orientation
When to Use
- Starting a new project from scratch (after scenes are created)
- Resuming a partially-complete project
- Batch-running all remaining stages hands-free
- Want TTS + upscale to run simultaneously
- Want 4K downloads to roll in as each upscale completes
Step 1: Resolve Project and State
1a. Fetch project
# Most recent project
curl -s http://127.0.0.1:8100/api/projects
# Use last item → {id, name}
# Get video + scenes
VID=$(curl -s "http://127.0.0.1:8100/api/videos?project_id=<PID>" | python3 -c "import sys,json; print(json.load(sys.stdin)[0]['id'])")
curl -s "http://127.0.0.1:8100/api/scenes?video_id=$VID" > /tmp/fk_scenes.json
curl -s "http://127.0.0.1:8100/api/projects/<PID>/characters" > /tmp/fk_chars.json
curl -s "http://127.0.0.1:8100/api/projects/<PID>/output-dir" > /tmp/fk_outdir.json
1b. Derive slug and output dir
import json
outdir_meta = json.load(open('/tmp/fk_outdir.json'))
SLUG = outdir_meta['slug']
OUTDIR = outdir_meta['path']
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 First seen · 490 lines · 0 tokens per session scan C ddfab9922c7d
fk-pipeline is a command published in the GitHub repository crisng95/flowkit (620 stars, last pushed 15d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 4,481 tokens. A static security scan graded it C with 2 findings (downloads and executes remote code, 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
git
Git operations with intelligent commit messages and workflow optimization.
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.
analyze
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.
constitution
Create or update the project constitution from interactive or provided principle inputs.