image-gen

image-gen is a skill for Claude Code from pwdev-solucoes/pwdev-claude-marketplace. It costs 104 tokens per session (1,326 once invoked), scanned A, original, Apache-2.0.

A workflow for generating images with AI tools such as Ideogram, Leonardo, or Flux, or for providing a ready-to-use prompt when access keys are unavailable.

In plain words
What is it for?
Use it to create illustrations, photos, and campaign visuals, including images with readable text or a consistent style.
Why use it?
It checks whether an image really needs to be generated and helps avoid paying for unnecessary attempts.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the pwdev-social-media plugin — 19 skills, 5 commands, 4 agents shipped together

Good fit Use it to create illustrations, photos, and campaign visuals, including images with readable text or a consistent style.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add pwdev-solucoes/pwdev-claude-marketplace
Claude Code
/plugin install pwdev-social-media

Made for: Claude Code.

Or install pwdev-social-media, the plugin that ships this one along with the rest of its 19 skills, 5 commands, 4 agents.

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 image-gen

README.md
[![agentmods](https://agentmods.dev/badge/skills/pwdev-solucoes/pwdev-claude-marketplace/image-gen/github.svg)](https://agentmods.dev/skills/pwdev-solucoes/pwdev-claude-marketplace/image-gen)
Your own site
<a href="https://agentmods.dev/skills/pwdev-solucoes/pwdev-claude-marketplace/image-gen"><img src="https://agentmods.dev/badge/skills/pwdev-solucoes/pwdev-claude-marketplace/image-gen/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 image-gen

Your own site · 80×15
<a href="https://agentmods.dev/skills/pwdev-solucoes/pwdev-claude-marketplace/image-gen"><img src="https://agentmods.dev/badge/skills/pwdev-solucoes/pwdev-claude-marketplace/image-gen.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 104 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,326 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.00104 $0.01326
Opus 5 $0.00052 $0.00663
Sonnet 5 $0.00021 $0.00265
Haiku 4.5 $0.00010 $0.00133

Measured 7d ago against content hash 24d478e2387e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

image-gen 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 7d 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.

plugins/pwdev-social-media/skills/image-gen/SKILL.md · 150 lines

How it starts

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

Geração de Imagem

Skill central do plugin. Você executa geração paga — cada chamada tira dinheiro da conta do usuário.

Princípio central

Antes de gerar, verifique se precisa gerar. A geração mais barata é a que não acontece.

Texto sobre cor sólida, sobre foto do acervo ou sobre vetor do design system é composição, não geração. Figma resolve na hora, de graça, e com texto editável. Rode a triagem de cost-control antes de qualquer chamada.

Sequência obrigatória

1. cost-control        triagem — o ativo precisa mesmo ser gerado?
2. prompt-craft        construir o prompt
3. visual-consistency  aplicar bloco base, modelo e seed da campanha
4. [CONFIRMAR CUSTO]   esperar aprovação explícita
5. executar            script correspondente, com --confirm
6. asset-curation      comparar e selecionar

Pular a etapa 1 é o erro mais caro. Pular a 4 é o mais grave.

Escolha da ferramenta

Necessidade Ferramenta Script
Texto legível dentro da arte Ideogram gen-ideogram.sh
Ilustração repetível na campanha Leonardo gen-leonardo.sh
Fotorrealismo Flux gen-flux.sh

Texto dentro da imagem: só Ideogram entrega com confiabilidade. Nos demais, deixe espaço vazio e componha o texto no Figma. Pedir texto ao Flux é o desperdício mais comum desta stack.

Path A — Chave configurada

Verifique com ${CLAUDE_PLUGIN_ROOT}/scripts/check-keys.sh.

${CLAUDE_PLUGIN_ROOT}/scripts/gen-ideogram.sh \
  --prompt "{{prompt}}" --ratio 4x5 --n 2 --seed {{seed}} --confirm

Regra das 2 variações. Primeira rodada gera 2, nunca 8. Com 2 já se diagnostica se o prompt está na direção certa. Só gere volume depois de fixar seed e modelo.

Os scripts:

  • recusam rodar sem --confirm — segunda barreira além da conversa
  • nunca imprimem a chave
  • registram tudo em .pwdev-social/gerados/manifest.jsonl
  • falham alto quando o contrato da API muda, em vez de retornar silêncio

Se um script reclamar de "contrato pode ter mudado", confira a documentação e corrija o script — não contorne com outra chamada.

Read the full file on GitHub · 150 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. 7d ago First seen · 150 lines · 104 tokens per session scan A 24d478e2387e

Subscribe to this mod's changes

image-gen is a skill published in the GitHub repository pwdev-solucoes/pwdev-claude-marketplace (2 stars, last pushed 4d ago), licensed Apache-2.0. It adds 104 tokens to every session and 1,326 once invoked, about $0.0005 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-09-03.

Related

Other skills, from other repositories

seedance-antislop

This skill should be used when a Seedance 2.0 prompt contains generic AI filler, hollow superlatives, vague cinematic language, bloated adjectives, weak verbs, or needs sharper production-specific wording.

Emily2040/seedance-2.0 · 48 tokens

seedance-examples-ja

This skill should be used when the user asks for Japanese Seedance 2.0 examples, Japanese prompt patterns, example rewrites, or safe versions of working Japanese video-generation prompts.

Emily2040/seedance-2.0 · 43 tokens

seedance-filter

This skill should be used when a Seedance 2.0 prompt is blocked or rejected, when moderation is a suspected cause of a problem, or when the user asks for a content-boundary review or safer alternative. Assess the actual request before offering a clarification.

Emily2040/seedance-2.0 · 57 tokens

seedance-prompt-short

This skill should be used when the user asks for a compact Seedance 2.0 prompt, short Chinese prompt, prompt compression, 30-100 word output, or removal of unnecessary prompt language.

Emily2040/seedance-2.0 · 47 tokens

seedance-vocab-en

This skill should be used when an English Seedance 2.0 prompt needs clearer production wording, less generic prose, or precise vocabulary for camera, lighting, motion, VFX, audio, and constraints. Route blocked prompts through seedance-filter for context and boundary review.

Emily2040/seedance-2.0 · 61 tokens

seedance-vocab-zh

This skill should be used when the user asks for Chinese Seedance 2.0 prompt wording, Mandarin cinematic vocabulary, Chinese prompt compression, or translation of camera, lighting, action, VFX, audio, and production terms into Chinese.

Emily2040/seedance-2.0 · 55 tokens