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 skills/nikships/droidproxy/gpt-imagenpx skills add nikships/droidproxy --skill gpt-imagegit clone --depth 1 https://github.com/nikships/droidproxyWrote 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/nikships/droidproxy/gpt-image)<a href="https://agentmods.dev/skills/nikships/droidproxy/gpt-image"><img src="https://agentmods.dev/badge/skills/nikships/droidproxy/gpt-image.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.00111 | $0.02371 |
| Opus 5 | $0.00056 | $0.01185 |
| Sonnet 5 | $0.00022 | $0.00474 |
| Haiku 4.5 | $0.00011 | $0.00237 |
Grade A, and why
gpt-image 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 today.
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.
RESP=$(curl -sS --max-time 180 http://localhost:8317/v1/images/generations \ How it starts
The opening of the file, as written. The whole thing — 197 lines — stays where its author put it; the contents beside it link to each section on GitHub.
GPT Image 2 (via DroidProxy Codex)
POST http://localhost:8317/v1/images/generations (or /edits) with
Authorization: Bearer dummy-not-used. Always send model: gpt-image-2.
Never send a chat id (gpt-5.*). Never use an OPENAI_API_KEY. Chat
models on :8317 do not generate images.
Use this for generating or editing visual assets, not for understanding an image the user already attached.
Generate
Requests often take 15–70s. Use --max-time 180. Default quality to
low; raise it only when the user asks (or for small chart text).
RESP=$(curl -sS --max-time 180 http://localhost:8317/v1/images/generations \
-H "Content-Type: application/json" \
-H "Authorization: Bearer dummy-not-used" \
-d "$(jq -n --arg p "A red balloon on a wooden table, soft natural light" \
'{model:"gpt-image-2", prompt:$p, size:"1024x1024", quality:"low",
response_format:"b64_json"}')")
if B64=$(printf '%s' "$RESP" | jq -er '.data[0].b64_json' 2>/dev/null); then
printf '%s' "$B64" | base64 -d > out.png
else
printf '%s\n' "$RESP" >&2
exit 1
fi
Check .data[0].b64_json before decoding. On failure print the raw body —
Codex errors are JSON (usage_limit_reached, auth_not_found,
moderation_blocked).
Edit
Same auth. JSON with a data URL — no upload step, no file_id. Do not
pass the data URL through jq --arg: a typical generated PNG is larger
than ARG_MAX (~1MB on macOS) and jq dies with Argument list too long.
Write the data URL to a file and use --rawfile, then POST with
--data-binary. Decode the same way as Generate.
SRC_FILE=$(mktemp)
REQ=$(mktemp)
printf 'data:image/png;base64,%s' "$(base64 -i ./photo.png)" > "$SRC_FILE"
jq -n --arg p "Make it blue-tinted studio lighting" --rawfile u "$SRC_FILE" \
'{model:"gpt-image-2", prompt:$p, images:[{image_url:$u}], quality:"low",
response_format:"b64_json"}' > "$REQ"
RESP=$(curl -sS --max-time 180 http://localhost:8317/v1/images/edits \
-H "Content-Type: application/json" \
-H "Authorization: Bearer dummy-not-used" \
--data-binary @"$REQ")
rm -f "$SRC_FILE" "$REQ"
if B64=$(printf '%s' "$RESP" | jq -er '.data[0].b64_json' 2>/dev/null); then
printf '%s' "$B64" | base64 -d > out.png
else
printf '%s\n' "$RESP" >&2
exit 1
fi
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.
- today First seen · 197 lines · 111 tokens per session scan A f1deefa14152
gpt-image is a skill published in the GitHub repository nikships/droidproxy (121 stars, last pushed yesterday), licensed MIT. It adds 111 tokens to every session and 2,371 once invoked, about $0.0006 per session on Opus 5. 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-09-05.
Other skills, from other repositories
harbofly-cleanup
Reclaim disk space on a macOS developer machine by finding and safely cleaning build caches and artifacts (Xcode DerivedData, nodemodules, Docker, and package-manager/editor/AI caches) with the Harbofly CLI. Everything goes to the Trash and is recoverable. Use when the user wants to free up disk space, clean dev…
claude-api
Build, debug, and optimize Claude API / Anthropic SDK apps. Apps built with this skill should include prompt caching. Also handles migrating existing Claude API code between Claude model versions (4.5 → 4.6, 4.6 → 4.7, retired-model replacements). TRIGGER when: code imports anthropic/@anthropic-ai/sdk; user asks for…
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.
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…
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers.…
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.