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 nathanonn/agent-skills --skill codex-imagegengit clone --depth 1 https://github.com/nathanonn/agent-skillsWrote 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/nathanonn/agent-skills/codex-imagegen)<a href="https://agentmods.dev/skills/nathanonn/agent-skills/codex-imagegen"><img src="https://agentmods.dev/badge/skills/nathanonn/agent-skills/codex-imagegen/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/nathanonn/agent-skills/codex-imagegen"><img src="https://agentmods.dev/badge/skills/nathanonn/agent-skills/codex-imagegen.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Rogue Agent · line 3 Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
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.00112 | $0.01994 |
| Opus 5.5 | $0.00045 | $0.00798 |
| Sonnet 5.5 | $0.00022 | $0.00399 |
| Haiku 4.5 | $0.00011 | $0.00199 |
Grade A, and why
codex-imagegen 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 20d 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 — 194 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Codex Imagegen
Generate images with Codex's built-in $imagegen skill, land them in the
project, and keep $CODEX_HOME/generated_images/ from silently growing. The
bundled script uses the Codex CLI directly and applies machine, workspace,
project, environment, and per-run configuration without shipping a fixed model.
Prerequisites
The Codex CLI is required. The Claude Code codex plugin alone is not a runtime for this skill.
npm i -g @openai/codex
codex login
Authentication is OpenAI/ChatGPT-account backed. If the CLI is absent, the script exits with code 3 and prints these steps.
Project folder and destination
The project marker and configuration folder is:
<project>/.codex-imagegen/
├── config.toml
├── output/
└── refs/
config.toml is optional, output/ is the default image destination, and
refs/ is reserved for future style references. A bare .codex-imagegen/
directory is still a project marker.
Destination precedence is:
--dest DIR.- Merged
[imagegen] dest, resolved relative to the project folder that holds the.codex-imagegen/directory. .codex-imagegen/output/below the deepest marker found by walking upward.$PWD/.codex-imagegen/output/.
The walk is anchored on the normalized --dest directory when supplied and on
$PWD otherwise. It visits ancestors up to $HOME, or up to the filesystem
root when the anchor lives outside $HOME. The script creates the destination
only for a real run; --dry-run creates nothing. Never overwrite an existing
project asset unless the user explicitly approved replacement.
A destination that comes from a config file or a marker must stay inside its
project folder. The script canonicalizes the path and refuses a destination
that resolves outside, so a symlink committed to a repository cannot redirect
writes or widen what --add-dir authorizes. A path you pass explicitly with
--dest is treated as deliberate and is not restricted.
Layered configuration
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 20d ago Changed · +83 lines · -42 tokens per session 706cfbdef0f0
- 3mo ago First seen · 111 lines · 154 tokens per session scan A 13cda842ebdc
codex-imagegen is a skill published in the GitHub repository nathanonn/agent-skills (23 stars, last pushed yesterday), licensed MIT. It adds 112 tokens to every session and 1,994 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-08-30.
codex-imagegen compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| codex-imagegennathanonn/agent-skills | Skill | 23 | yesterday | MIT | A | 112 | Claude Code, Codex |
| imagegenopenai/codex | Skill | 137k | today | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 102k | today | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 396k | today | MIT | A | 36 | Claude Code |
| systematic-debuggingobra/superpowers | Skill | 331k | 4d ago | MIT | A | 21 | Claude Code |
| free-llm-apismnfst/awesome-free-llm-apis | Skill | 15k | today | CC0-1.0 | A | 113 | Claude Code, Codex |
| next-cache-components-adoptionvercel/next.js | Skill | 144k | today | MIT | A | 95 | Claude Code |