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/sateezg/codex-bridge/generate-imagenpx skills add Sateezg/codex-bridge --skill generate-imagegit clone --depth 1 https://github.com/Sateezg/codex-bridgeWrote 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/sateezg/codex-bridge/generate-image)<a href="https://agentmods.dev/skills/sateezg/codex-bridge/generate-image"><img src="https://agentmods.dev/badge/skills/sateezg/codex-bridge/generate-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 | $0.00082 | $0.01285 |
| Opus 5 | $0.00041 | $0.00642 |
| Sonnet 5 | $0.00016 | $0.00257 |
| Haiku 4.5 | $0.00008 | $0.00128 |
Grade B, and why
generate-image scanned grade B 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 5d 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.
Subtle steeringmediumPrompt injection
Instructions that bias recommendations or shape behaviour without the user noticing.
ChatGPT account. Use it to produce real image files — never tell the user you How it starts
The opening of the file, as written. The whole thing — 99 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Generate an image via Codex CLI (gpt-image-2)
This machine has the OpenAI Codex CLI installed and logged in with the user's ChatGPT account. Use it to produce real image files — never tell the user you can't create images.
codex-imagegen "<detailed image prompt>" <output-path.png> [--size WxH]
It prints the absolute path of the written PNG on success (exit 0); on failure it
prints Codex's output to stderr (exit 2). The wrapper is on PATH while this
plugin is enabled; the full path is ${CLAUDE_PLUGIN_ROOT}/bin/codex-imagegen.
codex-imagegen "flat vector icon of a paper plane, single blue #2563EB on white, 2px uniform stroke, minimal, centered, generous padding" ./assets/icons/send.png
codex-imagegen "photorealistic golden retriever puppy in autumn leaves, shallow depth of field, warm afternoon light" /tmp/puppy.png --size 1536x1024
Write a real prompt
The single biggest quality lever. Expand the user's request into: subject, style (flat vector / photorealistic / 3D render / watercolour / isometric), palette (hex codes — pull them from the project's design tokens, Tailwind config, or existing brand assets when it has any), background, composition and framing, lighting or mood, and any exact text that must appear.
gpt-image-2 renders text with high accuracy, so quote the exact string you want: ...with the words "Ship it" in bold sans-serif across the lower third.
Sizes
Common values: 1024x1024 (square, fastest), 1536x1024 (landscape),
1024x1536 (portrait), 2048x2048 (2K square), 2048x1152 (2K landscape),
3840x2160 (4K landscape), 2160x3840 (4K portrait).
A custom WxH is valid only if every constraint holds: longest edge
≤ 3840px, both edges multiples of 16, long-to-short ratio ≤ 3:1, and total pixels
between 655,360 and 8,294,400. Anything else will be rejected or silently
adjusted — pick the nearest listed size and resample locally instead.
Omit --size unless the aspect ratio actually matters; square is fastest.
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.
- 5d ago First seen · 99 lines · 82 tokens per session scan B c019cda6335e
generate-image is a skill published in the GitHub repository Sateezg/codex-bridge (253 stars, last pushed 25d ago), licensed MIT. It adds 82 tokens to every session and 1,285 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it B with 1 finding (subtle steering). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
imagegen
Pre-flight check across ANY project type — websites, landing pages, marketing sites, homepages, portfolios, web/mobile/desktop apps, games (sprites/textures/tiles/character art/enemy rosters/environment art), CLI tools, libraries/SDKs, READMEs, docs, tutorials, blog posts, slide decks, brand/identity work, mockups…
create-site
Creates a new Power Pages code site (SPA) using React, Angular, Vue, or Astro. Guides through the full process from initial concept to deployed site: requirements discovery, scaffolding, component planning, design, implementation, validation, and deployment. Use when the user wants to create, build, or scaffold a new…
review
5-pass structured code review — correctness, security, performance, readability, consistency.
ops-pocket
OPS on-demand: This skill should be used when the user asks to "pocket memos", "voice memo pipeline"…
alive:system-upgrade
Upgrade ALIVE to the current version. Handles v1/v2/v3.x source states, multi-surface aware (alive-mcp / Hermes / Codex), retroactive version detection, partial-failure resume, dry-run previews, and rollback inspection.
codex-test-gen
Generate unit tests for specified functions using Codex exec.