agent-herder: Skill for Claude Code

.agents/tasks/20261107-portable-native-ci/evidence/codex-v1-5ea28f-attempt-01/home/codex/skills/.system/imagegen/SKILL.md

imagegen is a skill for Claude Code, Codex from megamen32/agent-herder. It costs 113 tokens per session (4,220 once invoked), scanned A, a copy of imagegen, MIT.

An image-generation and editing tool for creating bitmap pictures and project visuals, including illustrations, textures, sprites, mockups, and transparent cutouts.

In plain words
What is it for?
Use it to generate new images, edit existing ones, create variants, or produce visual assets for websites, games, interfaces, and products.
Why use it?
It removes the need to make every raster asset manually or switch between separate image tools for new images and edits.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents); mentions Codex.

This is megamen32/agent-herder's own configuration. It tells Claude Code and Codex how to work on agent-herder itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything agent-herder configures →

Part of the agent-herder plugin — 8 skills, 1 command shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to megamen32/agent-herder. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/megamen32/agent-herder/main/.agents/tasks/20261107-portable-native-ci/evidence/codex-v1-5ea28f-attempt-01/home/codex/skills/.system/imagegen/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/megamen32/agent-herder

Made for: Claude Code, Codex.

Or install agent-herder, the plugin that ships this one along with the rest of its 8 skills, 1 command.

Wrote 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.

agentmods badge for imagegen

README.md
[![agentmods](https://agentmods.dev/badge/skills/megamen32/agent-herder/imagegen/github.svg)](https://agentmods.dev/skills/megamen32/agent-herder/imagegen)
Your own site
<a href="https://agentmods.dev/skills/megamen32/agent-herder/imagegen"><img src="https://agentmods.dev/badge/skills/megamen32/agent-herder/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.

agentmods 80×15 button for imagegen

Your own site · 80×15
<a href="https://agentmods.dev/skills/megamen32/agent-herder/imagegen"><img src="https://agentmods.dev/badge/skills/megamen32/agent-herder/imagegen.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 113 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,220 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00113 $0.04220
Opus 5.5 $0.00045 $0.01688
Sonnet 5.5 $0.00023 $0.00844
Haiku 4.5 $0.00011 $0.00422

Measured 21d ago against content hash 681ddb4ad6d0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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 21d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/image_gen.py, scripts/remove_chroma_key.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Origin

This is a copy

100% identical to imagegen — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/tasks/20261107-portable-native-ci/evidence/codex-v1-5ea28f-attempt-01/home/codex/skills/.system/imagegen/SKILL.md · 316 lines

How it starts

The opening of the file, as written. The whole thing — 316 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Image Generation Skill

Generates or edits images for the current project (for example website assets, game assets, UI mockups, product mockups, wireframes, logo design, photorealistic images, or infographics).

Top-level modes and rules

This skill has exactly two top-level modes:

  • Default built-in tool mode (preferred): built-in image_gen tool for image generation, editing, and transparent-image requests. Does not require OPENAI_API_KEY.
  • Fallback CLI mode: scripts/image_gen.py CLI. Use when the user explicitly asks for or confirms the CLI/API/model path. Requires OPENAI_API_KEY.

Within CLI fallback, the CLI exposes three subcommands:

  • generate
  • edit
  • generate-batch

Rules:

  • Use the built-in image_gen tool by default for normal image generation and editing requests.
  • Do not switch to CLI fallback for ordinary quality, size, or file-path control.
  • For transparent images, ask built-in image_gen for a transparent background and preserve the generated alpha.
  • Never silently switch from built-in image_gen or CLI gpt-image-2 to CLI gpt-image-1.5; ask the user first unless they explicitly requested gpt-image-1.5.
  • The word batch by itself does not mean CLI fallback. If the user asks for many assets or says to batch-generate assets without explicitly asking for CLI/API/model controls, stay on the built-in path and issue one built-in call per requested asset or variant.
  • If the built-in tool fails or is unavailable, tell the user the CLI fallback exists and that it requires OPENAI_API_KEY. Proceed only if the user explicitly asks for that fallback.
  • If the user explicitly asks for CLI mode, use the bundled scripts/image_gen.py workflow. Do not create one-off SDK runners.
  • Never modify scripts/image_gen.py. If something is missing, ask the user before doing anything else.

Built-in save-path policy:

  • In built-in tool mode, Codex saves generated images under $CODEX_HOME/* by default.
  • Do not describe or rely on OS temp as the default built-in destination.
  • Do not describe or rely on a destination-path argument (if any) on the built-in image_gen tool. If a specific location is needed, generate first and then move or copy the selected output from $CODEX_HOME/generated_images/....
  • Save-path precedence in built-in mode:
    1. If the user names a destination, move or copy the selected output there.
    2. If the image is meant for the current project, move or copy the final selected image into the workspace before finishing.
    3. If the image is only for preview or brainstorming, render it inline; the underlying file can remain at the default $CODEX_HOME/* path.
  • Never leave a project-referenced asset only at the default $CODEX_HOME/* path.
  • Do not overwrite an existing asset unless the user explicitly asked for replacement; otherwise create a sibling versioned filename such as hero-v2.png or item-icon-edited.png.

Read the full file on GitHub · 316 lines

Changes

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.

  1. 21d ago First seen · 316 lines · 113 tokens per session scan A 681ddb4ad6d0

Subscribe to this mod's changes

imagegen is a skill published in the GitHub repository megamen32/agent-herder (1 stars, last pushed today), licensed MIT. It adds 113 tokens to every session and 4,220 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to imagegen, differing in 0 lines, and is treated as a copy.

Related

imagegen compared with skills from other repositories

imagegen next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
imagegenmegamen32/agent-herderSkill1todayMITA113Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill331k3d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code