asset-generator

asset-generator is an agent for Claude Code from pwdev-solucoes/pwdev-claude-marketplace. It costs 81 tokens per session (712 once invoked), scanned A, original, Apache-2.0.

A production agent that filters proposed assets, prepares consistent prompts, generates image or video variations through supported services, and selects the best result.

In plain words
What is it for?
It helps remove unnecessary generations, estimate calls and variations, run approved image or video generation, inspect results, and curate the final asset.
Why use it?
It controls generation cost and keeps visuals consistent across a campaign while recording which approved variation was used.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: model in frontmatter.

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 It helps remove unnecessary generations, estimate calls and variations, run approved image or video generation, inspect results, and curate the final asset.

Compare 6 agents 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 asset-generator

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/pwdev-solucoes/pwdev-claude-marketplace/asset-generator"><img src="https://agentmods.dev/badge/agents/pwdev-solucoes/pwdev-claude-marketplace/asset-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 712 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.00081 $0.00712
Opus 5 $0.00041 $0.00356
Sonnet 5 $0.00016 $0.00142
Haiku 4.5 $0.00008 $0.00071

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

Security

Grade A, and why

asset-generator 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.

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/agents/asset-generator.md · 65 lines

How it starts

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

Subagente: Asset Generator

Papel

Executor da geração. Siga, nesta ordem: cost-controlprompt-craftvisual-consistencyimage-gen / video-genasset-curation.

Contrato de entrada

  • LANGUAGE, ATIVOS (tabela do conceito), ORCAMENTO
  • CONTEXT_FILE — seção 3 (brand kit), 4 (identidade), 6 (chaves), 8 (restrições)
  • CAMPANHA — para bloco base, modelo fixo e seed

Sequência obrigatória

1. Triagem — antes de qualquer prompt

Elimine o que não precisa ser gerado: texto sobre fundo liso, ativo já no acervo, vetor do design system. Reporte quantos foram eliminados.

2. Prompt

Bloco base fixo da campanha + bloco variável por ativo. Nunca altere a base no meio da campanha.

3. Estimativa e confirmação

Apresente em chamadas e variações, nunca em reais inventados. Espere aprovação explícita. Nunca gere "para mostrar como ficaria".

4. Executar

${CLAUDE_PLUGIN_ROOT}/scripts/gen-*.sh ... --confirm

Regra das 2 variações: primeira rodada gera 2, nunca 8.

5. Curadoria

Comparar, inspecionar em tamanho real, selecionar por eliminação. Registrar a seed da aprovada.

Regras inegociáveis

  1. Nunca pedir, escrever ou imprimir chave de API. Só ler variável de ambiente.
  2. Sem chave: entregar prompt e declarar "NÃO GERADO". Não simular.
  3. Nunca gastar crédito sem confirmação explícita, com estimativa antes.
  4. Seed da peça aprovada é registrada sempre — sem ela a peça é irreproduzível.
  5. Não gerar rosto de pessoa real nem imitar artista vivo identificável.
  6. Não gerar imagem que simule situação real e possa ser lida como registro — em setor público, isso é grave.
  7. Vídeo tem confirmação de custo separada da imagem: é o item mais caro.
  8. Antes de upscale, verificar se existe original em resolução maior.
  9. Script que reclamar de "contrato pode ter mudado": parar e reportar, não contornar com outra chamada.
  10. Após 3 rodadas no mesmo ativo, parar e apontar que o caminho provavelmente não é geração.

Read the full file on GitHub · 65 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. 6d ago First seen · 65 lines · 81 tokens per session scan A b959879e31ec

Subscribe to this mod's changes

asset-generator is an agent published in the GitHub repository pwdev-solucoes/pwdev-claude-marketplace (2 stars, last pushed 3d ago), licensed Apache-2.0. It adds 81 tokens to every session and 712 once invoked, about $0.0004 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 agents, from other repositories

pixel-art-animation-reviewer

Independent reviewer of pixel-art ANIMATION quality (loop seamlessness, motion physics, multi-component motion, frame timing, period selection, particle determinism). One of four specialized review roles in the pixel-art-quality-board orchestrator. Use when the user asks to "check animation timing", "verify loop…

AnastasiyaW/codex-claude-code-config · 140 tokens

proposal-writer

Specialized agent for generating professional, branded proposals using a presentation-generation tool. Creates polished presentations and documents for sales opportunities from your project and CRM context.

Zeekeey-jpeg/LeRoy-HQ · 34 tokens

cover-artist

Generate book cover art prompts from story content. Produces optimized prompts for image generation models (GPT Image, Gemini, FLUX, etc.) that conform to Kindle dimensions.

howells/fiction · 38 tokens

ollama-vision

Use this agent to analyze images, screenshots, UI mockups, diagrams, or any visual content. Delegates vision analysis to a local Qwen2.5-VL model. Use when the user wants to describe, debug, or extract information from an image file.

PratikHotchandani22/claude-ollama-agents · 59 tokens

forge-modeler

Headless 3D geometry specialist for the Forge suite. Builds, repairs, and validates polygon meshes, parametric CAD (CadQuery/Build123d/OpenSCAD), and procedural geometry (Geometry Nodes, SDF, L-systems) via Python — no GUI. Use for mesh construction, parametric modeling, procedural generation, topology/retopo/LOD…

luminary19/atelier · 126 tokens

gds-agent-game-designer

Game designer for creative vision, GDD creation, and narrative design. Use when the user asks to talk to Samus Shepard or requests the Game Designer.

PabloLION/bmad-plugin · 38 tokens