본문으로 건너뛰기
cccskills
무료GitHub에 공개

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.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(19)

  • SKILL.md10.4 KB
  • README.md6.9 KB
  • references/agents/image_generator.md2.5 KB
  • references/agents/metadata_manager.md1.6 KB
  • references/agents/prompt_engineer.md1.7 KB
  • references/agents/qa_bot.md1.8 KB
  • references/agents/style_scout.md3.0 KB
  • scripts/batch_generator_v2.py7.3 KB
  • scripts/case_library.py8.1 KB
  • scripts/case_selector.py4.8 KB
  • scripts/design_compiler.py18.4 KB
  • scripts/design_image.py4.8 KB
  • scripts/gpt_image2_generator.py7.1 KB
  • scripts/install.py2.8 KB
  • scripts/interactive_run.py3.3 KB
  • scripts/orchestrator_v2.py16.0 KB
  • scripts/quick_start.py9.4 KB
  • scripts/series_generator.py13.4 KB
  • templates/linear_batch.py2.5 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

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:

  1. analyzes the request,
  2. compiles it into a design-aware prompt,
  3. generates through gpt-image-2,
  4. archives the result,
  5. 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_reasoning
  • compiled_brief
  • prompt
  • settings

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:

  1. generate a master image
  2. extract style signals from its compiled brief
  3. 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:

  • task
  • communication_goal
  • audience
  • channel
  • visual_system
  • hierarchy_strategy
  • safe_zone_strategy
  • lighting_strategy
  • palette_strategy
  • anti_filler_rules
  • anti_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:

  • poster
  • product
  • ppt
  • infographic
  • teaching
  • auto

Default aspect assumptions:

  • poster → 3:4
  • product → 1:1
  • ppt → 16:9
  • infographic → 4:3
  • teaching → 16:9

Direction modes:

  • conservative
  • balanced
  • bold

Quality modes:

  • draft
  • final
  • premium

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, 3
  • n
  • y
  • case_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_id
  • task
  • brief
  • prompt
  • params
  • tags
  • rating

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_reasoning state a clear communication goal?
  • Is there an explicit safe zone?
  • Is hierarchy obvious?
  • Do anti_slop_rules remove 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.0 Initial multi-agent workflow for GPT-Image-2 generation
  • v2.0.0 Added case library, interactive reference selection, and image-to-image style reuse
  • v2.1.0 Added stronger download retry logic, batch workflows, and series generation
  • v2.2.0 Packaged as a reusable Hermes skill with install script and runtime layout
  • v3.0.0 Internalized the design compiler and removed external runtime dependency

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Generate and download images through APIMart's asynchronous GPT-Image-2 API. Use when Codex needs APIMart image generation, GPT-Image-2 text-to-image, image-to-image with reference URLs or local image files, 1k/2k/4k output, aspect-ratio control, task polling, or saving APIMart image results locally.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

kangarooking/kangarooking-skills6782026년 9월 7일 업데이트

Find low-follower viral Bilibili videos for account-growth topic selection. Use when the user asks for B站低粉爆款, Bilibili low-fan hits, 起号选题 from B站, niche Bilibili references, or videos ranked by UP主粉丝数, 播放, 点赞, 投币, 收藏, 分享, 评论, 弹幕, and 播放粉丝比.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

kangarooking/kangarooking-skills6782026년 9월 7일 업데이트

用于处理写书过程中的章节截图与插图工作流。适用于:梳理某一章需要哪些截图、逐步给出 Claude Code 实操提示词、规定截图文件名与图号映射、回填本地 Markdown 中的图片位置、清理作者备注为读者版正文、以及把章节和图片按正确位置同步到 Feishu 文档。用户如果提到“书的截图”“章节配图”“图号对应”“放到原文里”“上传飞书文档”“按刚才那套流程来”,应触发此 skill。

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

kangarooking/kangarooking-skills6782026년 9월 7일 업데이트

Use for the owner's personal creator-content thumbnails and covers for short video, Bilibili, Douyin, WeChat, or similar platforms from a title, summary, established real portrait, kangaroo IP, product Logo, screenshot, or app reference. It enforces the owner's visual signature, runs a four-concept selection stage, then five responsive platform ratios. Do not use for generic clients, book or album covers, slide title pages, generic posters or social cards, article body illustrations, document headers, website hero art, or unrelated image edits unless the user explicitly invokes cover-skill and accepts the personal-signature rules.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

kangarooking/kangarooking-skills6782026년 9월 7일 업데이트

Initialize a Harness Engineering framework in the current project. Use when user says 'harness', 'init harness', 'initialize framework', 'setup harness engineering', '/harness', or wants to set up a Plan-Build-Verify development workflow with specialized agents (planner, generator, evaluator). Creates CLAUDE.md, agent definitions, command templates, hooks, and documentation structure for autonomous AI-driven development.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

kangarooking/kangarooking-skills6782026년 9월 7일 업데이트

hy-3d-gen

무료

输入文字或图片,通过腾讯混元生3D TokenHub/OpenAI 兼容接口或腾讯云 SDK 生成3D模型。支持文生3D、图生3D、多视图生3D、PBR、白模、草图生3D、智能拓扑生3D;当用户要求生成或查询混元3D模型时使用。

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

kangarooking/kangarooking-skills6782026년 9월 7일 업데이트

kangarooking의 스킬 모두 보기

이 스킬의 문제 신고