minimax-image-skill

minimax-image-skill is a skill for Codex from feiskyer/codex-settings. It costs 46 tokens per session (449 once invoked), scanned A, original, MIT.

A skill for generating images with the MiniMax Image API, an online service that creates images from text prompts.

In plain words
What is it for?
Use it when you need to generate images with MiniMax, including choosing the model, region, size, aspect ratio, seed, or number of results.
Why use it?
It provides a documented way to request images from MiniMax instead of constructing API calls manually.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Install

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.

agentmods
npx agentmods add skills/feiskyer/codex-settings/minimax-image-skill
Any agent
npx skills add feiskyer/codex-settings --skill minimax-image-skill
Clone the repo
git clone --depth 1 https://github.com/feiskyer/codex-settings

Made for: Codex.

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 minimax-image-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/feiskyer/codex-settings/minimax-image-skill.svg)](https://agentmods.dev/skills/feiskyer/codex-settings/minimax-image-skill)
Your own site
<a href="https://agentmods.dev/skills/feiskyer/codex-settings/minimax-image-skill"><img src="https://agentmods.dev/badge/skills/feiskyer/codex-settings/minimax-image-skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 449 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found 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.00046 $0.00449
Opus 5 $0.00023 $0.00225
Sonnet 5 $0.00009 $0.00090
Haiku 4.5 $0.00005 $0.00045

Measured 6d ago against content hash c3fac596cc4f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

minimax-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 6d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (minimax_image.py, tests/test_minimax_image.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.

skills/minimax-image-skill/SKILL.md · 48 lines

What it actually says

MiniMax Image Skill

Generate images from a text prompt through the bundled MiniMax Image API helper.

Resolve the skill directory

Resolve the absolute directory containing this SKILL.md before running a command and refer to it as <skill-dir>. Keep output paths relative to the user's working directory unless the user requests another location.

Requirements

  • Export MINIMAX_API_KEY before running the helper.
  • Use Python 3.9 or newer. The helper uses only the Python standard library.

Generate an image

Ask for the prompt and, when relevant, the model, region, aspect ratio, dimensions, result count, and output filename. Then run:

python3 "<skill-dir>/minimax_image.py" \
  --prompt "A quiet observatory beneath an aurora" \
  --output "observatory.png"

The global endpoint is used by default. Select the China endpoint explicitly when needed:

python3 "<skill-dir>/minimax_image.py" \
  --region china \
  --prompt "A paper-cut landscape at sunrise" \
  --output "landscape.png"

Use --model image-01-live for that model. Optional API fields are exposed through --aspect-ratio, --width, --height, --seed, --n, --response-format, and --disable-prompt-optimizer.

The helper downloads URL responses immediately because generated URLs expire. It also decodes base64 responses and creates output parent directories automatically. For multiple results, it adds a numeric suffix to the output filename.

Safety and failures

  • Never print or persist the API key.
  • Do not call the API until the prompt and local output path pass validation.
  • If the API rejects a field combination, report the returned error and ask the user to adjust only that option.
  • Do not claim success unless at least one image was saved locally.
Files

What ships with it

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

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. 6d ago First seen · 48 lines · 46 tokens per session scan A c3fac596cc4f

Subscribe to this mod's changes

minimax-image-skill is a skill published in the GitHub repository feiskyer/codex-settings (237 stars, last pushed 23d ago), licensed MIT. It adds 46 tokens to every session and 449 once invoked, about $0.0002 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.

Related

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…

feiskyer/claude-code-settings · 90 tokens

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.

feiskyer/claude-code-settings · 39 tokens

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

feiskyer/claude-code-settings · 94 tokens

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…

feiskyer/claude-code-settings · 93 tokens

gpt-image-skill

Generate or edit images using OpenAI GPT Image API (gpt-image-2, gpt-image-1, etc). Use ONLY when the user explicitly names OpenAI or GPT as the provider: "gpt image", "openai image", "generate image with openai", "用 openai 画图", "用 GPT 生成图片". For generic image requests without a provider, use nanobanana-skill instead.…

feiskyer/claude-code-settings · 115 tokens

youtube-transcribe-skill

Extract subtitles/transcripts from YouTube videos. Triggers: "youtube transcript", "extract subtitles", "video captions", "视频字幕", "字幕提取", "YouTube转文字", "提取字幕".

feiskyer/claude-code-settings · 50 tokens