gflow-cli is a command-line tool and MCP server that automates Google Flow, a service for creating videos and images with Google's Veo, Omni, Nano Banana, and Imagen models. It is for users of Claude Code, Claude Desktop, Cursor, VS Code, Codex, MCP clients, or a terminal who want to generate media through their signed-in Google Flow account. The catalogue entries provide commands, skills, instructions, MCP configurations, and a plugin for using gflow-cli from these agent environments.
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 ffroliva/gflow-cli --skill optimizegit clone --depth 1 https://github.com/ffroliva/gflow-cliWrote 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/ffroliva/gflow-cli/optimize)<a href="https://agentmods.dev/skills/ffroliva/gflow-cli/optimize"><img src="https://agentmods.dev/badge/skills/ffroliva/gflow-cli/optimize/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/ffroliva/gflow-cli/optimize"><img src="https://agentmods.dev/badge/skills/ffroliva/gflow-cli/optimize.svg" alt="Reviewed on agentmods" width="80" 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.00100 | $0.02208 |
| Opus 5.5 | $0.00040 | $0.00883 |
| Sonnet 5.5 | $0.00020 | $0.00442 |
| Haiku 4.5 | $0.00010 | $0.00221 |
Grade A, and why
optimize 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 17d 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 — 104 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/gflow:optimize [ci | local | e2e] — test and CI speed
gflow reverse-engineers a black box, so its quality rests on running tests often: the offline suite on every commit and the live e2e suite on every change to a Flow surface. A slow loop is a quality problem, because slow tests get run less. This skill is how speed work is done here.
Targets (owner rules):
- CI: 3-5 minutes wall time per run, on PRs and pushes to develop. Outside that range, optimise before other work.
- Local offline suite: 3 minutes (the global test SLA).
- Live e2e: as close to the slowest single generation as parallelism allows. An image takes about 1-2 minutes and a video 2-4 in Flow itself; that is the floor for a test that generates. Everything around it (browser launch, page load, fixed waits, running tests one after another) is ours to remove.
The rule that does not bend: never weaken
A speed change never skips, deselects, xfails or marks a test slow to get it out of the run;
never loosens or deletes an assertion or shrinks a test's data; never raises a timeout to hide a
wait. Every test that ran before still runs, and still checks the same thing.
What is allowed and expected here, unlike in a generic speed rule: adding workers (-n),
adding shards, rebalancing shards, and cloning profiles for e2e. gflow's e2e time is mostly
model latency we cannot remove, so running tests concurrently is the main lever, not a dodge.
When a single test is itself slow, cut its cost first; parallelism hides a cost, it does not
remove it.
The protocol
- Measure the wall clock and its critical path. Never guess, never
--durationsalone (it cannot tell setup from a wait from code under test).- CI:
gh run list --workflow CI --json databaseId,createdAt,updatedAt,event -L 20for wall time per run;gh run view <id> --json jobsfor each job's start and end. Separate queue time (waiting for a runner) from run time. - Local / e2e: run with
--junitxml=<dir>/report.xml, then rank files by share of their worker:python -m scripts.ci.pytest_speed rank <dir> --root .(config:pytest-speed.toml).
- CI:
- Name what dominates, in one sentence, with the number: "the critical path is shard 2/3 at 2m40s, 70 s more than the others", "e2e is 106 tests x ~32 s run one at a time".
- Pick the lever from the table below that removes that cost. One lever per change.
- Prove it with a red test when the change is to a test or fixture (the speed fix must not change what the test checks), and A/B it: at least 3 runs before and 3 after on the same machine or runner class. One run each is noise.
- Record the before/after numbers and the decision in the PR body, and in the active plan's decision log when there is one.
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.
- 17d ago First seen · 104 lines · 100 tokens per session scan A 8806ea198ca3
optimize is a skill published in the GitHub repository ffroliva/gflow-cli (1,223 stars, last pushed today), licensed MIT. It adds 100 tokens to every session and 2,208 once invoked, about $0.0004 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-11-13.
optimize compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| optimizeffroliva/gflow-cli | Skill | 1.2k | today | MIT | A | 100 | Claude Code, Codex |
| canary-executionapp-vitals/shipwright | Skill | 16 | today | MIT | A | 125 | Claude Code |
| verifyHmbown/CodeWhale | Skill | 41k | yesterday | MIT | A | 25 | Claude Code, Codex |
| webapp-testingHmbown/CodeWhale | Skill | 41k | yesterday | MIT | A | 32 | Claude Code, Codex |
| e2e-testingthedaviddias/Front-End-Checklist | Skill | 75k | 1mo ago | MIT | A | 38 | Claude Code, Codex |
| winui-ui-testingmicrosoft/winappCli | Skill | 1.4k | today | MIT | A | 74 | Claude Code |
| testing-and-cigreenpau/caddy-security | Skill | 2.3k | 13d ago | Apache-2.0 | A | 50 | Codex |