agentsclimarketplace

Codex imagegen

Skill pablopda/codex-imagegen-bridge/skills/codex-imagegen

Generate or edit raster images through Codex CLI built-in $imagegen so usage goes through ChatGPT/Codex subscription limits instead of OpenAI API billing. Use this when the user wants image assets, reference-image edits, icons, posters, banners, UI placeholders, sprites, or generated visual files and explicitly wants Codex quota/subscription usage.From its SKILL.md

Install
npx -y skills add pablopda/codex-imagegen-bridge --skill codex-imagegen

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

1.8 KB, as published. Nobody here has run it

Codex ImageGen Bridge

Use this skill to generate or edit images through Codex built-in $imagegen. This is for users who want subscription-backed Codex usage instead of local OPENAI_API_KEY API billing.

Workflow

  1. Require an output path. Prefer outputs/<short-name>.png when the user does not specify one.
  2. Use the local CLI from this project:
codex-imagegen -p "PROMPT" -f outputs/result.png
  1. For reference images, pass each one with -i:
codex-imagegen -p "Restyle this as a clean app icon" -i reference.png -f outputs/icon.png
  1. Add --size, --quality, or --style only when useful.
  2. Do not set or rely on OPENAI_API_KEY. The CLI strips OPENAI_API_KEY and CODEX_API_KEY by default before launching codex exec.
  3. Report the saved output path.

Important Behavior

  • The bridge runs codex exec and asks Codex to use $imagegen.
  • Built-in Codex image generation uses gpt-image-2 and counts toward general Codex usage limits when Codex is signed in with ChatGPT.
  • API-key usage is intentionally avoided by default. Only use --allow-api-env if the user explicitly asks to allow API-key-backed Codex execution.
  • The command refuses to overwrite existing output files unless --force is provided.

Preflight

Before first use, check:

codex login status
codex --version
codex-imagegen --help

If Codex is not signed in with ChatGPT, ask the user to run:

codex login

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.