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-upload-imagegit 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.01045 |
| Opus 5 | $0.00000 | $0.00522 |
| Sonnet 5 | $0.00000 | $0.00209 |
| Haiku 4.5 | $0.00000 | $0.00104 |
Grade C, and why
fk-upload-image 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.
curl -s http://127.0.0.1:8100/api/characters/<ENTITY_ID> | python3 -c " 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/health How it starts
The opening of the file, as written. The whole thing — 124 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Upload a local image file to Google Flow and get a media_id (UUID).
Usage: /fk-upload-image <file_path> [--project <project_id>] [--entity <entity_id>]
Useful for: setting channel icons, covers, or any local image as an entity reference or scene image.
Step 1: Check health
curl -s http://127.0.0.1:8100/health
Must have extension_connected: true AND flow key present. Abort if not.
curl -s http://127.0.0.1:8100/api/flow/status
# Must return: {"connected": true, "flow_key_present": true}
Step 2: Upload image
curl -s -X POST http://127.0.0.1:8100/api/flow/upload-image \
-H "Content-Type: application/json" \
-d '{
"file_path": "/absolute/path/to/image.png",
"project_id": "<PID>",
"file_name": "descriptive_name.png"
}'
Parameters:
file_path(required): Absolute path to local image file (PNG, JPG, WebP)project_id(optional): Project to associate the upload withfile_name(optional): Descriptive filename, defaults toimage.png
Response:
{
"media_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"raw": { "media": { "name": "uuid", ... } }
}
The media_id is the UUID you use everywhere (entity refs, scene images, video start frames).
Step 3: Apply the media_id
Option A: Set as entity reference image
curl -s -X PATCH http://127.0.0.1:8100/api/characters/<ENTITY_ID> \
-H "Content-Type: application/json" \
-d '{"media_id": "<MEDIA_ID>"}'
Option B: Set as scene image
curl -s -X PATCH http://127.0.0.1:8100/api/scenes/<SCENE_ID> \
-H "Content-Type: application/json" \
-d '{
"horizontal_image_media_id": "<MEDIA_ID>",
"horizontal_image_status": "COMPLETED"
}'
(Use ${ori}_image_media_id / ${ori}_image_status matching project orientation.)
Option C: Create new entity with uploaded image
# 1. Create entity
curl -s -X POST http://127.0.0.1:8100/api/characters \
-H "Content-Type: application/json" \
-d '{
"name": "Asset Name",
"entity_type": "visual_asset",
"description": "What the image shows",
"media_id": "<MEDIA_ID>"
}'
# 2. Link to project
curl -s -X POST http://127.0.0.1:8100/api/projects/<PID>/characters/<ENTITY_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.
- 2d ago First seen · 124 lines · 0 tokens per session scan C 1c556165e6f1
fk-upload-image is a command published in the GitHub repository crisng95/flowkit (620 stars, last pushed 14d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,045 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.