
multi-agent-image
Standalone multi-agent image generation skill for Hermes. Includes an internal design compiler, GPT-Image-2 generation via apimart.ai, case library reuse, interactive reference selection, batch workflows, and style-consistent series generation.
- Installs
- 180
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/kangarooking/kangarooking-skills --skill multi-agent-image- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads multi-agent-image automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Multi-Agent Image
multi-agent-image is a standalone Hermes skill for image generation workflows.
It is designed for cases where a simple one-line prompt is not enough. Instead of sending raw user input directly to an image model, this skill:
- analyzes the request,
- compiles it into a design-aware prompt,
- generates through
gpt-image-2, - archives the result,
- and optionally reuses successful outputs as future style references.
This skill is independent at runtime. The design compiler is built into this repository and does not require an external skill.
When to Use
Use this skill when the user wants one or more of the following:
- Design-oriented poster generation
- Product images or ad visuals
- PPT cover visuals or chapter art
- Infographic-like or teaching/demo visuals
- Style reference reuse from prior generations
- Interactive “show examples first, then generate” flow
- Batch generation for multiple directions or aspect ratios
- Series generation where multiple images should share one visual language
Do not use this skill for:
- pixel-accurate UI recreation
- editable charts
- exact typography output inside the image
- tasks that require vector, HTML, or PPT-native assets rather than raster images
Architecture
User Request
↓
[Prompt Engineer]
↓
[Style Scout]
↓
[Internal Design Compiler]
↓
[GPT-Image-2 Generation]
↓
[QA + Archive]
↓
[Case Library]
Optional layers on top of the main path:
- Interactive reference selection
- Batch generation
- Series generation
Setup
1. Deploy the skill
The skill source lives in:
~/.hermes/skills/multi-agent-image/
Install runtime files into the working directory:
python3 ~/.hermes/skills/multi-agent-image/scripts/install.py
This prepares:
~/.hermes/agents/multi-agent-image/output/~/.hermes/agents/multi-agent-image/case_library/- agent role folders and memory files
- local runtime scripts copied from the skill
2. Install Python dependencies
pip install openai requests
3. Set API key
export OPENAI_API_KEY="sk-..."
This key is used with the apimart-compatible GPT-Image-2 endpoints in this skill.
Core Components
scripts/design_compiler.py
Internal prompt compiler.
Responsibilities:
- detect task type
- choose defaults for aspect and quality
- build
design_reasoning - compress it into
compiled_brief - produce the final generation prompt
This is the core logic that makes the skill independent.
scripts/design_image.py
CLI entrypoint for the internal compiler.
Use it when you want:
- prompt-only output
- a local design compilation test
- direct generation without the full multi-agent workflow
Example:
cd ~/.hermes/agents/multi-agent-image
python3 design_image.py \
--task poster \
--brief "AI训练营招生海报,强调速度、增长、实战" \
--direction balanced \
--aspect 3:4 \
--prompt-only
It prints:
design_reasoningcompiled_briefpromptsettings
scripts/orchestrator_v2.py
Main workflow entrypoint.
Responsibilities:
- run prompt analysis
- choose task and generation parameters
- optionally select a reference from the case library
- call the internal compiler
- call GPT-Image-2
- archive outputs
- auto-save successful results into the case library
scripts/gpt_image2_generator.py
Low-level GPT-Image-2 client.
Responsibilities:
- submit async generation tasks
- poll task status
- download image results
Use this when you want direct API access without the full workflow.
scripts/case_library.py
Persistent library of past generations.
Responsibilities:
- save outputs by task type
- store metadata and rating
- search by brief, prompt, or tags
- return image paths for reuse as references
scripts/case_selector.py
Interactive helper for Hermes dialogue flows.
Responsibilities:
- render user-facing selection text
- parse replies like
1,n,case_001, or搜索蓝色
scripts/interactive_run.py
Two-phase dialogue wrapper.
Use it when the workflow needs to ask the user before generating.
scripts/batch_generator_v2.py
Batch generation entrypoint.
Supports:
- same brief, multiple directions
- same brief, multiple aspect ratios
- multiple briefs in one run
scripts/series_generator.py
Style-consistent series generator.
Workflow:
- generate a master image
- extract style signals from its compiled brief
- generate child images that follow the same visual system
templates/linear_batch.py
Editable template for resumable sequential runs.
Useful when you want:
- explicit scene lists
- filesystem-based progress monitoring
- style propagation from the first generated image
Internal Design Compiler
The internal compiler produces three layers:
1. design_reasoning
This captures design intent before generation.
Typical fields:
taskcommunication_goalaudiencechannelvisual_systemhierarchy_strategysafe_zone_strategylighting_strategypalette_strategyanti_filler_rulesanti_slop_rules
2. compiled_brief
This is a compressed design brief for generation.
It includes:
- what the image is for
- what should dominate visually
- what space should remain available
- what to avoid
3. prompt
Final model-facing prompt used for GPT-Image-2.
The prompt is generated from design logic, not just from a list of style keywords.
Supported Tasks
The built-in compiler understands these task classes:
posterproductpptinfographicteachingauto
Default aspect assumptions:
poster→3:4product→1:1ppt→16:9infographic→4:3teaching→16:9
Direction modes:
conservativebalancedbold
Quality modes:
draftfinalpremium
Current generation channel:
gpt-image-2
Usage
Quick start
cd ~/.hermes/agents/multi-agent-image
python3 quick_start.py "AI训练营招生海报,强调速度、增长、实战"
Prompt-only compilation
cd ~/.hermes/agents/multi-agent-image
python3 design_image.py \
--task product \
--brief "高端陶瓷咖啡杯电商首图,温暖晨光,突出釉面质感" \
--prompt-only
Full orchestrated generation
from orchestrator_v2 import run
run("AI训练营招生海报,强调速度增长实战")
Force task and visual settings
from orchestrator_v2 import run
run(
"高端咖啡杯商品图",
task="product",
direction="balanced",
aspect="1:1",
quality="final",
use_reference=False,
)
Interactive Workflow
Use the two-phase pattern when Hermes should ask before generating.
Phase 1: prepare text for the user
from interactive_run import prepare
text = prepare("帮我做张 AI 训练营海报", task="poster")
print(text)
Phase 2: execute after the user chooses
from interactive_run import execute
result = execute("帮我做张 AI 训练营海报", user_choice="1", task="poster")
Supported reply patterns:
1,2,3nycase_001搜索蓝色
Batch Generation
Same brief, multiple directions
from batch_generator_v2 import batch_styles
batch_styles("AI训练营海报", task="poster")
Same brief, multiple aspect ratios
from batch_generator_v2 import batch_aspects
batch_aspects("AI训练营海报", task="poster", aspects=["1:1", "16:9", "9:16"])
Multiple briefs
from batch_generator_v2 import batch_briefs
batch_briefs(["海报A", "海报B", "海报C"], task="poster")
Series Generation
Use this when several outputs should feel like the same campaign or product family.
from series_generator import SeriesGenerator
sg = SeriesGenerator()
sg.create_series(
master_brief="AI训练营系列视觉,科技蓝,专业商务感",
items=[
{"name": "主海报", "brief": "AI训练营招生主海报", "aspect": "3:4"},
{"name": "Banner", "brief": "官网 Banner", "aspect": "16:9"},
{"name": "朋友圈", "brief": "朋友圈推广方形图", "aspect": "1:1"},
],
task="poster",
direction="balanced",
)
Case Library
Case library directory:
~/.hermes/agents/multi-agent-image/case_library/
Output directory:
~/.hermes/agents/multi-agent-image/output/
Typical case structure:
case_library/
├── poster/
│ └── case_001_example/
│ ├── image.png
│ └── metadata.json
Typical metadata fields:
case_idtaskbriefpromptparamstagsrating
Validation Guidance
Before generating at scale, test prompt quality first:
python3 design_image.py \
--task poster \
--brief "AI训练营招生海报,强调速度、增长、实战" \
--direction balanced \
--aspect 3:4 \
--prompt-only
What to check:
- Does
design_reasoningstate a clear communication goal? - Is there an explicit safe zone?
- Is hierarchy obvious?
- Do
anti_slop_rulesremove HUD overlays, fog, and generic clutter? - Does the prompt describe a single strong visual idea rather than a pile of elements?
Current Limits
- Current image provider is centered on
gpt-image-2 - QA scoring is intentionally lightweight
- Series generation is heavier than one-off generation
- The skill is optimized for raster outputs, not editable assets
- Some reference documents remain longer than necessary, but the main runtime path is consistent
Version History
v1.0.0Initial multi-agent workflow for GPT-Image-2 generationv2.0.0Added case library, interactive reference selection, and image-to-image style reusev2.1.0Added stronger download retry logic, batch workflows, and series generationv2.2.0Packaged as a reusable Hermes skill with install script and runtime layoutv3.0.0Internalized the design compiler and removed external runtime dependency
FAQ
What does the multi-agent-image skill do?
Standalone multi-agent image generation skill for Hermes. Includes an internal design compiler, GPT-Image-2 generation via apimart.ai, case library reuse, interactive reference selection, batch workflows, and style-consistent series generation.
How do I install multi-agent-image?
Run npx skills add https://github.com/kangarooking/kangarooking-skills --skill multi-agent-image in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/multi-agent-image/ (personal) or .claude/skills/multi-agent-image/ (project).
Which AI agents can use multi-agent-image?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is multi-agent-image safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains multi-agent-image?
It is published by kangarooking in kangarooking/kangarooking-skills. It has 180 recorded installs.
More from kangarooking/kangarooking-skills
twitter-monitor
kangarooking/kangarooking-skills
Open the skill to read its SKILL.md instructions.
book-illustration-workflow
kangarooking/kangarooking-skills
Open the skill to read its SKILL.md instructions.
harness-engineering
kangarooking/kangarooking-skills
Open the skill to read its SKILL.md instructions.
task-harness
kangarooking/kangarooking-skills
将需求拆解为结构化任务清单,生成长时运行 Agent 的任务管理系统(基于 Anthropic Effective harnesses 方法论)。当用户需要管理多会话开发任务、跟踪功能完成进度、或要求"拆解任务""任务管理""项目规划"时自动触发
reshape-your-life
kangarooking/kangarooking-skills
Open the skill to read its SKILL.md instructions.
video-downloader
kangarooking/kangarooking-skills
Open the skill to read its SKILL.md instructions.
Popular media & creative skills
hyperframes
heygen-com/hyperframes
Read first to make, edit, animate or render any video with HyperFrames (HTML rendered to video), including launch films, explainers, music videos, charts, maps, vertical clips, title cards, captions and overlays. Holds the render contract, the work loop and what each kind of video needs.
media-use
heygen-com/hyperframes
Get or make any media for a HyperFrames video - music, sound effects, images, icons, logos, voiceover, avatar and generated video, transcripts, cutouts, colour grades and looks - with HeyGen or free local tools, and mix placed audio. Also for footage that looks dark, flat or dull, or should be stylized or hidden.
hyperframes-registry
heygen-com/hyperframes
About 450 ready-made HyperFrames blocks and components installed as editable source - transitions, overlays, titles, kinetic type, captions, charts, map overlays, 3D, camera moves. Use it before hand-building any named visual (CRT scanlines, glitch, film grain, a chart); also for hyperframes add and catalog.
hyperframes-creative
heygen-com/hyperframes
Non-animation creative direction for HyperFrames videos. Use for design spec (frame.md / design.md) handling, palettes, typography, narration, beat planning, audio-reactive visuals, composition patterns, and brand / style decisions. For atomic motion patterns and scene blueprints, use hyperframes-animation.
ai-video-generation
101-skills/superpowers
Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0, HappyHorse 1.0, Wan 2.5, Grok Imagine Video, OmniHuman, Fabric, HunyuanVideo. Capabilities: text-to-video, image-to-video, reference-to-video, video editing, lipsync, avatar animation, video upscaling, foley sound. Use for: social media videos, marketing content, explainer videos, product demos, AI avatars. Triggers: video generation, ai video, text to video, image to video, veo, animate image, video from image, ai animation, video generator, generate video, t2v, i2v, ai video maker, create video with ai, runway alternative, pika alternative, sora alternative, kling alternative, seedance, happyhorse
ai-image-generation
101-skills/superpowers
Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FLUX.2 Klein LoRA, Gemini 3 Pro Image, Grok Imagine, Seedream 4.5, Reve, ImagineArt. Capabilities: text-to-image, image-to-image, inpainting, LoRA, image editing, upscaling, text rendering. Use for: AI art, product mockups, concept art, social media graphics, marketing visuals, illustrations. Triggers: flux, image generation, ai image, text to image, stable diffusion, generate image, ai art, midjourney alternative, dall-e alternative, text2img, t2i, image generator, ai picture, create image with ai, generative ai, ai illustration, grok image, gemini image, gpt image, openai image, chatgpt image