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/hyperb1iss/hyperskills/codex-imagegennpx skills add hyperb1iss/hyperskills --skill codex-imagegengit clone --depth 1 https://github.com/hyperb1iss/hyperskillsWrote 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/hyperb1iss/hyperskills/codex-imagegen)<a href="https://agentmods.dev/skills/hyperb1iss/hyperskills/codex-imagegen"><img src="https://agentmods.dev/badge/skills/hyperb1iss/hyperskills/codex-imagegen.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.03019 |
| Opus 5 | $0.00041 | $0.01510 |
| Sonnet 5 | $0.00016 | $0.00604 |
| Haiku 4.5 | $0.00008 | $0.00302 |
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 4d 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 — 265 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Codex Image Generation
Delegate raster image generation and editing to Codex's built-in $imagegen
capability, then return a verified workspace artifact to the leader harness.
Core insight: instrument Codex, not the desktop window. An authenticated
codex exec session can use built-in image generation headlessly. The desktop
app does not need to be open, GUI automation adds no useful capability, and the
shared filesystem is the artifact handoff.
As of Jul 2026, this path is verified with codex-cli 0.144.6. CLI and tool
availability are volatile; the installed CLI and a live invocation outrank this
snapshot.
Select the Execution Route
| Host state | Route |
|---|---|
| Codex with a callable built-in image-generation tool | Invoke $imagegen directly. Never launch a child Codex from Codex. |
Claude Code, Pi, Cursor, or another shell-capable harness with codex installed |
Use codex exec. This is the default delegation path. |
The leader already has Codex MCP tools named codex and codex-reply |
Use MCP when iterative art direction benefits from a persistent thread. |
| No native tool, Codex CLI, or configured Codex MCP server | Stop with the missing prerequisite and the exact error. Do not substitute another generator. |
Run codex --version before the first delegated call. Respect the user's Codex
configuration; never set --model, -m, or -c model=. Authentication,
entitlements, workspace policy, and image-generation availability belong to the
installed Codex environment.
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.
- 4d ago First seen · 265 lines · 82 tokens per session scan A 3795ae2343e3
codex-imagegen is a skill published in the GitHub repository hyperb1iss/hyperskills (31 stars, last pushed 8d ago), licensed MIT. It adds 82 tokens to every session and 3,019 once invoked, about $0.0004 per session on Opus 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.
Other skills, from other repositories
fixing-motion-performance
Audit and fix animation performance issues including layout thrashing, compositor properties, scroll-linked motion, and blur effects. Use when animations stutter, transitions jank, or reviewing CSS/JS animation performance.
wechat-article-writer
公众号/自媒体全流程。根据用户表述自动匹配:撰写文章、封面图、正文插图、风格提取。支持多种写作风格。当用户提到写公众号、技术博客、公众号封面、正文插图、步骤图、演示图、流程示意、分析写作风格、克隆文风、模仿爆款、提取风格时使用。详见 reference 目录。.
drawio-diagram
为深度学习模型、网络架构、算法流程等生成标准 Draw.io (.drawio) 格式的可视化图表;支持从零生成与风格迁移两种模式。从零生成:模型架构图、流程图、感受野示意图等;风格迁移:参考图 + 内容描述/项目 → 按参考图风格生成新图。确保 XML 格式正确,可直接在 Draw.io 中打开编辑。.
openstoryline-use
Use this skill when OpenStoryline is already installed and the user wants to start the local MCP/Web services, create or continue a session, send editing instructions, perform multi-turn re-editing, and verify rendered video outputs, as well as Chinese requests like “启动 OpenStoryline”, “把 OpenStoryline 跑起来”, “用…
gemini-watermark-remover
Remove visible Gemini image watermarks from local image files by calling the project's CLI. Use when the user wants an agent to clean one or more local Gemini-generated images and save de-watermarked output files.
baocut
BaoCut-only operator for the installed bcut CLI and .bcut projects. Implicitly trigger only when the request explicitly names BaoCut or bcut, targets a .bcut project or BaoCut Subtitle Studio, or continues a BaoCut workflow already established in the conversation. Do not trigger solely for generic audio or video…