model-aware-image-prompt-engineer

model-aware-image-prompt-engineer is a skill for Codex from Emily2040/nano-banana-image-skill. It costs 210 tokens per session (1,834 once invoked), scanned A, original, Apache-2.0.

A guide for writing image-generation prompts tailored to different image models and tools.

In plain words
What is it for?
Use it to write, improve, translate, troubleshoot, or assess prompts for image generation and image editing.
Why use it?
Different image generators understand prompts and controls differently, so one generic prompt may produce poor or inconsistent results.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to write, improve, translate, troubleshoot, or assess prompts for image generation and image editing.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/emily2040/nano-banana-image-skill/model-aware-image-prompt-engineer
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.

Any agent
npx skills add Emily2040/nano-banana-image-skill --skill model-aware-image-prompt-engineer
Clone the repo
git clone --depth 1 https://github.com/Emily2040/nano-banana-image-skill

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 model-aware-image-prompt-engineer

README.md
[![agentmods](https://agentmods.dev/badge/skills/emily2040/nano-banana-image-skill/model-aware-image-prompt-engineer/github.svg)](https://agentmods.dev/skills/emily2040/nano-banana-image-skill/model-aware-image-prompt-engineer)
Your own site
<a href="https://agentmods.dev/skills/emily2040/nano-banana-image-skill/model-aware-image-prompt-engineer"><img src="https://agentmods.dev/badge/skills/emily2040/nano-banana-image-skill/model-aware-image-prompt-engineer/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 model-aware-image-prompt-engineer

Your own site · 80×15
<a href="https://agentmods.dev/skills/emily2040/nano-banana-image-skill/model-aware-image-prompt-engineer"><img src="https://agentmods.dev/badge/skills/emily2040/nano-banana-image-skill/model-aware-image-prompt-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 210 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,834 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 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.00210 $0.01834
Opus 5 $0.00105 $0.00917
Sonnet 5 $0.00042 $0.00367
Haiku 4.5 $0.00021 $0.00183

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

Security

Grade A, and why

model-aware-image-prompt-engineer 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 12d 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.

packages/model-aware-image-prompt-engineer/SKILL.md · 230 lines

How it starts

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

Model-Aware Image Prompt Engineer

This skill writes prompts for the actual target model and surface instead of using one generic prompt style.

The core rule:

Route first. Write second.

An image prompt is not portable by default. Gemini, Midjourney, OpenAI, FLUX, Qwen, Z-Image, Stable Diffusion, Pony, and local ComfyUI checkpoints use different prompt languages, controls, and failure patterns.

First Decision

Before writing any prompt, identify:

  1. Target model or model family.
  2. Target surface.
  3. Task type.
  4. Input image roles.
  5. Whether the surface supports negative prompts.
  6. Whether the surface supports parameters outside the prompt.
  7. Whether exact text must appear in the image.
  8. Whether safety false positives are likely.

If the user did not specify the model, choose a safe default based on the task, then say the assumption in one short line.

Reference Loading

Load only the references needed for the request.

  • references/model-router.md: use for target model, surface, and task routing.
  • references/prompt-formats.md: use for prompt templates, JSON-style briefs, tag prompts, negative prompts, API parameters, and edit prompts.
  • references/model-cards-commercial.md: use for OpenAI, Gemini, Midjourney, BFL, Stability, Runway, Ideogram, Firefly, Recraft, Luma, Seedream, and hosted platforms.
  • references/model-cards-open-local.md: use for Z-Image, Qwen-Image, FLUX local, Stable Diffusion, SDXL, SD3.5, Pony, Illustrious, NoobAI, Animagine, HunyuanImage, HiDream, OmniGen2, Sana, PixArt, Kolors, and Chroma.
  • references/safety-and-false-positives.md: use for rejected prompts, policy friction, benign rewrites, and moderation ambiguity.
  • references/evaluation-and-iteration.md: use for testing, seed grids, prompt diffs, and output review.
  • examples/prompt-packs.md: use when the user asks for examples or a full prompt pack.

Evidence Labels

Use evidence labels whenever a model trick is not official.

Allowed labels:

Read the full file on GitHub · 230 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. 12d ago First seen · 230 lines · 210 tokens per session scan A d4d8d023ae79

Subscribe to this mod's changes

model-aware-image-prompt-engineer is a skill published in the GitHub repository Emily2040/nano-banana-image-skill (30 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 210 tokens to every session and 1,834 once invoked, about $0.0011 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