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.
npx skills add oyi77/1ai-skills --skill image-gengit clone --depth 1 https://github.com/oyi77/1ai-skillsWrote 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.
[](https://agentmods.dev/skills/oyi77/1ai-skills/image-gen)<a href="https://agentmods.dev/skills/oyi77/1ai-skills/image-gen"><img src="https://agentmods.dev/badge/skills/oyi77/1ai-skills/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.
<a href="https://agentmods.dev/skills/oyi77/1ai-skills/image-gen"><img src="https://agentmods.dev/badge/skills/oyi77/1ai-skills/image-gen.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00047 | $0.01753 |
| Opus 5 | $0.00023 | $0.00877 |
| Sonnet 5 | $0.00009 | $0.00351 |
| Haiku 4.5 | $0.00005 | $0.00175 |
Grade B, and why
image-gen scanned grade B with 2 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.
Sends data to an external URLmediumData exfiltration
A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.
response = requests.post( "https://api.stability.ai/v1/generation/stable-diffusion-xl-1024-v1-0/text-to-image", Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
response = requests.post( How it starts
The opening of the file, as written. The whole thing — 264 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Overview
AI image generation creates images from text prompts using diffusion models. This skill covers prompt engineering for consistent results, inpainting/outpainting for editing, ControlNet for precise control, and API integration for production workflows.
Capabilities
- Generate images from text prompts (DALL-E, Stable Diffusion, Midjourney)
- Engineer prompts with positive/negative prompts, style modifiers, and weights
- Edit existing images with inpainting and outpainting
- Use ControlNet for pose, depth, and edge-guided generation
- Batch generate images for content pipelines
- Integrate via API (OpenAI, Stability AI, Replicate)
- Set up local generation with ComfyUI or Automatic1111
When to Use
Trigger phrases:
-
"image gen"
-
"AI image generation — Stable Diffusion, Midjourney, DALL-E, ComfyUI"
-
Creating marketing visuals, thumbnails, social media images
-
Generating product mockups and concept art
-
Building content pipelines that need custom images
-
Editing photos (remove backgrounds, change styles)
-
Creating consistent character/brand imagery
When NOT to Use
- Task is about content strategy, not creation (use strategy skills)
- Task is about content distribution (use distribution skills)
- You need to analyze content performance (use analytics skills)
- Task is about content moderation (use moderation tools)
- You don't have content guidelines
- Task requires domain expertise (consult experts)
Pseudo Code
The image-gen workflow follows a standard pipeline pattern.
Core flow:
# image-gen primary flow
input = prepare(raw_data)
result = process(input, config={comfyui, controlnet, dall, diffusion, engineering})
validate(result)
deliver(result)
Error handling:
on error:
log(error_details)
retry_with_backoff(max=3)
if still_failing: alert_and_escalate()
Core Workflow
# image-gen primary flow
input = prepare(raw_data)
result = process(input, config={comfyui, controlnet, dall, diffusion, engineering})
validate(result)
deliver(result)
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.
- 7d ago First seen · 264 lines · 47 tokens per session scan B 92c9a6cbcc7b
image-gen is a skill published in the GitHub repository oyi77/1ai-skills (12 stars, last pushed today), licensed MIT. It adds 47 tokens to every session and 1,753 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 2 findings (sends data to an external url, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
automated-comic-creator
Automated comic creator that transforms text content into educational comics with multiple visual styles including dramatic, warm, shoujo, and ohmsha. Use when user asks to create comics, knowledge comics, educational manga, biography comics, or generate automated comic pages from articles or stories.
hive.image-generation
Required before calling imagegenerate. Create and edit images from a prompt — generate an image, make a picture / logo / illustration / icon / banner / poster / thumbnail / hero image / mockup / product shot / social graphic, or edit / restyle / combine existing images from reference images. Uses OpenAI gpt-image-2…
music-search
Search cloud drives for downloadable music resources (songs, albums, lossless audio). Use this skill when the user wants to download a specific song or album. Do NOT use for general music information, lyrics, or recommendations.
clipify
A video-editing workflow that finds notable moments in a long English video and turns them into separate short clips. It can change widescreen video to vertical format and add word-by-word captions.
ecom-details-image
A planning tool for e-commerce product visuals, including main-image concepts, scene ideas, detail-page directions, and prompts for image-generation systems.
xhs-note-creator
A content-production workflow for Xiaohongshu, a Chinese social platform for visual posts and product recommendations. It creates post copy, hashtags, image-card sets, or short-video storyboards from a topic and optional source material.