Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Image Generation

ASecurity

Write and send image prompts that fit whichever image model is selected. Use for any generate or edit request, for a recurring character, product or brand look (a lock plus a scene), for social and phone formats, and whenever an image must hit a specific ratio or pixel size.

10 stars
0 votes
0 copies
0 views
Added 10/6/2026
ai-agentsgoexpress

Security Analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned 10/6/2026

$npx -y skills add FerroxLabs/murage --skill image-generation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Image Generation?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Image Generation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ferroxlabs-image-generation/badge)](https://www.skillsdirectory.com/skills/ferroxlabs-image-generation)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
SKILL.md
---
name: image-generation
description: "Write and send image prompts that fit whichever image model is selected. Use for any generate or edit request, for a recurring character, product or brand look (a lock plus a scene), for social and phone formats, and whenever an image must hit a specific ratio or pixel size."
---

# Image generation

Every image model wants something different. Find out which model is
selected, fit the request to what that model can take, then say plainly what
was sent and what came back.

## 1. Read the model's limits first

Call `list_image_models`. For the model you will use, note from its
`capabilities`:

- `maxPromptChars`: the prompt budget in characters. Everything you send
  counts: saved blocks, the scene and any Avoid: line.
- `sizeRule` and `sizeRuleText`: free pixels on a grid, a named ratio plus a
  size tier, or a fixed list of sizes.
- `qualities`, `formats`, `maxReferences` and `supports` (edits, transparent
  background, seed, native negative prompt, images per request as `n`).

The numbers there are the truth for this connection. The profiles below are
only guidance; when they disagree, `list_image_models` wins. If a model is
not in the table, write for the smallest budget and say so.

## 2. Model profiles (researched 29 Sep 2026)

| Model family | Budget | Size rule | References | Write for it like this |
|---|---|---|---|---|
| GPT Image 2 and 2.5 (Sunburst, Flare) | large (32,000 characters) | any WxH in multiples of 16, 1:3 to 3:1, up to 3840x2160 where the connection allows it | up to 16 | Long, structured, sectioned prompts work. Identity first. |
| Gemini image (Nano Banana 2, Pro, Lite) | large | named ratio plus a tier (512, 1K, 2K, 4K) | up to 14 | Natural description beats keyword lists. Say which reference is the subject and which is style. |
| FLUX.2 | small (about 30 to 80 words is best) | multiples of 32, about 4 MP | few or none | Short and concrete, most important words first. Drop the negatives. |
| Grok Imagine | not published | the model's default | up to 4 | Mid-length plain sentences. |

## 3. Lock plus scene

For anything recurring (a character, a product, a brand look), keep two parts:

- **Lock**, never edited per image: identity, permanent markers, the
  photographic approach, what must never appear.
- **Scene**, new every image: place, moment, action, expression, clothing,
  camera relationship, framing, light, one or two candid details.

Send the lock first, then the scene. Save the lock once with
`save_prompt_block` (`name`, `text`) and pass its name in `generate_image`
`prompt_blocks` (for example `["character-lock"]`, up to 8 blocks, in order)
with the scene as `prompt`. Murage joins them with a blank line and counts
the whole assembled prompt against the model's budget. Pin a version with
`name@3`; without it the latest version is used. `list_prompt_blocks` shows
your own blocks and the workspace's (your own wins on a shared name), and
`get_prompt_block` (`name`, optional `version`) reads one back in full.
Saving changed text makes a new version; saving the same text again changes
nothing. Never rewrite a lock from memory.

For a feed, vary on purpose: camera relationship, head position, awareness of
the camera, distance, activity. Lock the identity; loosen everything else.

## 4. When the prompt is too long for the model

`generate_image` refuses an over-budget prompt before the approval card and
names both numbers. It never cuts a prompt. Condense it yourself, in this
order, and stop at about 90% of the budget:

1. Permanent identity markers.
2. Subject, action and expression for this scene.
3. Camera and framing.
4. Light and place.
5. Clothing and candid details.
6. Negatives, as one short Avoid: line, or none for a small-budget model.

Send the condensed prompt with `condensed_from_chars` set to the original
length, so the card and the result say "Condensed from 12,900 to 1,900
characters". Tell the owner what you dropped. Keep the full lock unchanged.

## 5. Shape and size

Ask what the image is for, or infer it, and ask for intent:
`aspect_ratio` (such as `9:16`) with `resolution` (`small`, `standard`,
`large` or `max`), or exact `width` and `height`.

| Use | Ratio | Good pixels |
|---|---|---|
| Stories, reels, phone video covers | 9:16 | 1080x1920 |
| Feed portrait | 4:5 | 1080x1350 |
| Square post, avatar | 1:1 | 1024x1024 or 2048x2048 |
| Video thumbnail, web hero | 16:9 | 1920x1080 |
| Banner, cinematic | 21:9 | 2560x1088 |
| Link preview image | about 1.91:1 | 1200x630 (ask 16:9, then crop) |
| Pin | 2:3 | 1000x1500 |

`fit` is `nearest` by default: the model renders the closest size it
supports, and a request for a different shape is refused with the nearest
legal option named. Use `fit: "exact"` when the pixels matter: the model
renders the nearest size and Murage crops and resizes it here to exactly what
you asked, and says so. Never hand back a different shape without saying so.

## 6. References

- Use the model's cap (`maxReferences`), not a habit. For a character: one
  clean character sheet, then the best few renders showing the face at
  different angles.
- Prepare images from this conversation or workspace with
  `resolve_image_reference` and pass the ids in `reference_ids`.
- Save a set you reuse with `save_reference_pack` (`name`, `reference_ids`,
  up to 16) and pass its name as `reference_pack` (`name` or `name@2`);
  `list_reference_packs` shows the ones you can use. Pack images come first,
  then `reference_ids`, and together they count against the cap. Murage
  checks every pack image against its saved copy; a changed or missing one
  refuses the whole request.
- Say which reference is which in the prompt ("image 1 is the character;
  image 2 is lighting reference only").
- Drop weak references. A bad reference teaches drift.

## 7. The other settings

- `n` makes several images from one approval, up to the model's `supports.n`.
- `negative_prompt` is sent natively where the model supports it; otherwise
  Murage adds it as an Avoid: line, counts it in the budget and says so.
- `seed`, `background: "transparent"`, `output_format` and
  `output_compression` only where `supports` says so. Anything else is
  refused plainly; leave it out rather than guess.

## 8. Before and after the call

Before: model, quality, size, references and the assembled prompt length are
decided and fit. The approval card is the owner's decision; do not describe
the image as made until it comes back.

After: look at the image. Check every lock marker, the ratio and the pixels
in the result (they are read from the image itself). Report it in one line
("9:16, 1152x2048, markers held, watch missing") and one sentence on what you
would change next time. Never call a render on-model without checking it.

## 9. Never

- Never truncate a lock or rewrite it from memory.
- Never switch to a different model than the one selected without saying so.
- Never retry a render after a timeout or an uncertain result without first
  checking whether the first one landed; repeat the same `request_id` to
  resume it.
- Never paste keys, provider URLs or local file paths into a prompt or a tool
  call.

Attribution

FerroxLabsFerroxLabs
View sourceSee grades on GitHubMore from FerroxLabs →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman

Terse caveman voice: answer first, fluff gone, every technical fact kept. Use for /caveman, "caveman mode", "talk like caveman", "be brief", "less tokens". Stays on until "stop caveman" or "normal mode".

1100021 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

698461 votes

Writing Skills

Create and manage Claude Code skills in HASH repository following Anthropic best practices. Use when creating new skills, modifying skill-rules.json, understanding trigger patterns, working with hooks, debugging skill activation, or implementing progressive disclosure. Covers skill structure, YAML frontmatter, trigger types (keywords, intent patterns), UserPromptSubmit hook, and the 500-line rule. Includes validation and debugging with SKILL_DEBUG. Examples include rust-error-stack, cargo-dep...

3931 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3421 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Amp, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Grok Build, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

741 votes
View all in ai-agents →