/mays:codex-image-generatorfrom mays
Generates and edits raster images (hero images, illustrations, product shots, mockups) via Codex CLI's built-in image_gen tool. Supports reference images, model selection, and transparent backgrounds.
Ships in mays. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Codex CLI ships an image_gen tool and a bundled imagegen skill that shapes prompts, saves under $CODEX_HOME/generated_images/, and copies the result to a requested path. This skill wraps one codex exec call around that tool and verifies the file. No API key is needed; Codex uses its own login.
Delegate the run to a general-purpose subagent pinned to model: "sonnet". A Codex run takes about 50 seconds and the result is a file check, so the session must not block on it. Give the subagent the exact command and the verification rule below.
"${CLAUDE_SKILL_DIR}/scripts/generate.sh" \
--prompt "<image description>" \
--output <path>.png \
[--reference <image>]... [--model gpt-6-astra] [--open]
--prompt: describe scene, subject, style, composition, and lighting. Quote exact in-image text verbatim. Ask for a transparent background when the asset must sit on the page's color.--output: the final PNG path. The script creates the parent directory and rejects a run that leaves no image there.--reference: attaches an image to the Codex prompt. Use it for style guidance or to edit an existing image; say in the prompt which role each reference plays and what must stay unchanged. Edits drift: in testing a sky-only change also altered style, aspect ratio, and background detail, so list every invariant and check the result.--model: defaults to gpt-5.6-sol. gpt-6-astra produces the same image quality at higher cost, so use it only when the user asks.--open: opens the verified image in Preview. Use it for one-off requests so the user sees the result. Skip it for assets that code consumes.The script prints the absolute path, then the file description, byte size, elapsed seconds, and model. Exit code 5 means Codex finished without leaving an image at the path; the log path in stderr shows what Codex did.
hero-v2.png.codex is missing or not logged in, say so and stop.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub stevenmays/dotfiles --plugin mays14 skills in this plugin
/adversarial-reviewTwo-family adversarial review of a plan or a diff — one fresh Claude subagent and one external run (GPT through Codex, or Grok through Cursor) on identical briefs, launched concurrently, then triaged into verified blockers, concerns, and rejected findings. Use before approving a plan, before shipping a change, or whenever a workflow asks for an adversarial review./claims-verificationCheck the factual claims a plan makes about existing code against the repo — extract atomic claims, have a fresh subagent answer neutral questions without seeing the plan, then score each claim. Use after a plan is drafted and before adversarial review, or whenever a workflow asks to verify a plan's claims./claude-subagentsDispatch planning, review, implementation, or a scoped question to a fresh Claude subagent with the Agent tool — which subagent type and model to pick, what the prompt must carry, and how to check what comes back. Use whenever a workflow hands work to a Claude subagent, including the Claude half of adversarial-review./deslopClean up AI slop in existing code — measure complexity with real tools, delete dead and redundant code, refactor the worst hotspots first, and prove behavior is unchanged. Use when the user asks to clean up slop, deslop, reduce complexity, untangle spaghetti, simplify a god function, or make AI-generated code maintainable. Not a review skill — extreme-code-quality-review covers review; this one changes the code./external-subagentsRun a planning, research, review, or implementation task on a second model family as a background subagent that cannot hang the session — GPT through the Codex CLI, or the newest Grok through the Cursor CLI where Codex is missing. A wrapper kills stalled runs and salvages partial output. Use whenever a workflow sends work to Codex, Cursor, GPT, Grok, a second model, or a non-Claude subagent, including the external half of adversarial-review. Not for images./extreme-code-quality-reviewRun an extremely strict maintainability review for abstraction quality, giant files, and spaghetti-condition growth. Use for an extreme code quality review, deep code quality audit, or especially harsh maintainability review.Other plugins' skills for the same job