wegent-image-generation

wegent-image-generation is a skill for Claude Code, Codex from wecode-ai/Wegent. It costs 28 tokens per session (289 once invoked), scanned A, original, Apache-2.0.

Instructions for generating images from written descriptions or supplied image references. It covers when to call the image-generation tool and how to pass references.

In plain words
What is it for?
Use it when a user asks to generate, draw, create, or revise an image.
Why use it?
It gives image requests a consistent handling process and prevents duplicate image results or unsupported file references.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when a user asks to generate, draw, create, or revise an image.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wecode-ai/wegent/wegent-image-generation
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 wecode-ai/Wegent --skill wegent-image-generation
Clone the repo
git clone --depth 1 https://github.com/wecode-ai/Wegent

Made for: Claude Code, 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 wegent-image-generation

README.md
[![agentmods](https://agentmods.dev/badge/skills/wecode-ai/wegent/wegent-image-generation/github.svg)](https://agentmods.dev/skills/wecode-ai/wegent/wegent-image-generation)
Your own site
<a href="https://agentmods.dev/skills/wecode-ai/wegent/wegent-image-generation"><img src="https://agentmods.dev/badge/skills/wecode-ai/wegent/wegent-image-generation/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 wegent-image-generation

Your own site · 80×15
<a href="https://agentmods.dev/skills/wecode-ai/wegent/wegent-image-generation"><img src="https://agentmods.dev/badge/skills/wecode-ai/wegent/wegent-image-generation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 289 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00028 $0.00289
Opus 5.5 $0.00011 $0.00116
Sonnet 5.5 $0.00006 $0.00058
Haiku 4.5 $0.00003 $0.00029

Measured 1mo ago against content hash 74abfcdfba75, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

wegent-image-generation 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 1mo 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.

backend/init_data/skills/wegent-image-generation/SKILL.md · 30 lines

What it actually says

Image Generation

Call generate_image when the user asks for an image.

  • Put the complete visual description in prompt.
  • Use reference_images only when the user supplied image attachments or URLs.
  • Pass attachment IDs, public HTTP/HTTPS URLs, or base64 data URLs, not local sandbox paths.
  • For uploaded or previously generated images, pass attachment IDs. Do not pass Wegent attachment download URLs or relative /api/attachments/... paths as remote references.
  • Default to one image unless the user explicitly asks for multiple images.
  • The tool saves generated images as task attachments and returns image blocks. Do not create a duplicate card.
  • If the tool returns error, explain it once and do not retry unchanged parameters.
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. 1mo ago Changed · +3 lines 74abfcdfba75
  2. 1mo ago First seen · 27 lines · 28 tokens per session scan A ad8628cceab1

Subscribe to this mod's changes

wegent-image-generation is a skill published in the GitHub repository wecode-ai/Wegent (878 stars, last pushed today), licensed Apache-2.0. It adds 28 tokens to every session and 289 once invoked, about $0.0001 per session on Opus 5.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

imagegen

Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, UI mockups, product shots, or transparent-background cutouts. Use when the result should be an image asset rather than repo-native SVG, HTML/CSS, or canvas.

nexus-research-lab/nexus · 65 tokens

skin-creator

Create and apply a two-asset LobsterAI visual skin from the user's style description. Use only when the AI Skin Designer kit supplies the structured skinpack workflow marker; do not use for ordinary theme or image requests.

netease-youdao/LobsterAI · 48 tokens

content-planner

WeChat Official Account topic planning and content calendar management. Based on WeChat article search and trending analysis, generates differentiated topic recommendations and outputs structured content calendars. Activated when users mention "topic", "planning", "content calendar", "trending", or "what to write next…

netease-youdao/LobsterAI · 63 tokens

skill-vetter

Security-first skill vetting for AI agents. Use before installing any skill from ClawdHub, GitHub, or other sources. Checks for red flags, permission scope, and suspicious patterns.

netease-youdao/LobsterAI · 42 tokens

stock-analyzer

A comprehensive stock deep analysis tool that combines real-time quotes, fundamental metrics, technical indicators, and growth analysis into a single professional report. Supports A-share, US stocks, HK stocks. Generates detailed investment recommendations with risk assessment and actionable trading strategies.

netease-youdao/LobsterAI · 53 tokens

weather

Get current weather and forecasts (no API key required).

netease-youdao/LobsterAI · 13 tokens