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 feiskyer/codex-settings --skill gpt-image-skillgit clone --depth 1 https://github.com/feiskyer/codex-settingsWrote 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/feiskyer/codex-settings/gpt-image-skill)<a href="https://agentmods.dev/skills/feiskyer/codex-settings/gpt-image-skill"><img src="https://agentmods.dev/badge/skills/feiskyer/codex-settings/gpt-image-skill/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/feiskyer/codex-settings/gpt-image-skill"><img src="https://agentmods.dev/badge/skills/feiskyer/codex-settings/gpt-image-skill.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.00038 | $0.00549 |
| Opus 5.5 | $0.00015 | $0.00220 |
| Sonnet 5.5 | $0.00008 | $0.00110 |
| Haiku 4.5 | $0.00004 | $0.00055 |
Grade A, and why
gpt-image-skill 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 23d 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 — 46 lines — stays where its author put it; the contents beside it link to each section on GitHub.
GPT Image Skill
Generate or edit images with OpenAI's GPT Image models through the bundled gpt_image.py.
Resolve the skill directory
Before running any command, resolve the absolute directory containing this SKILL.md and refer to it as <skill-dir>. Never assume the current working directory is the skill directory. Keep user input and output paths relative to the user's working directory unless the user requests another location.
Requirements
- OPENAI_API_KEY in
~/.gpt-image.envor the shell environment. - OPENAI_API_BASE (optional) for compatible endpoints such as Azure OpenAI or a proxy, in the same places.
- Python dependencies:
python3 -m pip install -r "<skill-dir>/requirements.txt". - Executable:
<skill-dir>/gpt_image.py.
Run it
Generate:
python3 "<skill-dir>/gpt_image.py" --prompt "Modern minimalist logo for a tech startup" \
--quality high --background transparent --output "logo.png"
Edit or combine references:
python3 "<skill-dir>/gpt_image.py" edit --prompt "Add a rainbow in the sky" \
--input photo.png --output "photo-with-rainbow.png"
edit accepts several --input files to composite multiple references into one image.
Options live on the subcommands, so read them with generate --help or edit --help — the bare python3 "<skill-dir>/gpt_image.py" --help only lists the two modes. That is where the current --model, --size, --quality, --format, --background, and --n values are; every one has a working default, so pass only what the request actually constrains. Parent directories in the output path are created automatically, and an omitted --format is inferred from the .png, .jpg/.jpeg, or .webp extension, defaulting to PNG.
Report the saved path when the run completes.
When a run fails
Check that OPENAI_API_KEY is set and, for a custom endpoint, that OPENAI_API_BASE is correct; confirm input images exist and are readable, the output directory is writable, and the model name is valid. Do not report success unless an image was saved locally.
What ships with it
5 files 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.
- 23d ago Changed · -20 tokens per session e8a84dd2a096
- 28d ago Changed · -142 lines · -54 tokens per session 73282b18fa5a
- 1mo ago First seen · 188 lines · 112 tokens per session scan A 80d9e32f6223
gpt-image-skill is a skill published in the GitHub repository feiskyer/codex-settings (247 stars, last pushed 24d ago), licensed MIT. It adds 38 tokens to every session and 549 once invoked, about $0.0002 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.
Other skills, from other repositories
github-review-pr
Review GitHub pull requests with detailed, multi-perspective code analysis using parallel subagents. Use this skill whenever the user wants to review a PR, asks for code review on a pull request, mentions "review PR", "check this PR", "look at pull request", or references a PR number or GitHub PR URL. Do NOT use for…
skill-creator
Create, refine, and benchmark agent skills. Use when building a new skill, updating an existing one, running evals, checking trigger quality, or improving a skill description.
deep-research
Multi-agent research orchestration: split a research goal into parallel sub-goals, run each via headless claude -p subprocesses, aggregate results into a polished report file. Use for systematic web/document research, competitive or industry analysis, batch link/dataset processing, and long-form evidence synthesis.…
brainstorming
Explore user intent, requirements, and design options through collaborative dialogue before implementation. Use before building new features, components, or systems — whenever the user describes something to build and design decisions are involved. Triggers: "brainstorm", "help me design", "think through the…
grill-me
A guided, adversarial interview for challenging a plan or design one question at a time. It also records agreed terms and architectural decisions as the discussion develops.
gpt-image-skill
A skill for generating or editing images through OpenAI's GPT Image API, a programming interface for requesting image operations. It uses a bundled Python script and supports configuration such as model, size, quality, and output file.