Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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…

kangarookingот kangarooking★ 784 звезды на GitHub

Об этом скилле

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_str
Полный SKILL.md на GitHub

Установить multi-agent-image в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

README.mdreferences/agents/image_generator.mdreferences/agents/metadata_manager.mdreferences/agents/prompt_engineer.mdreferences/agents/qa_bot.mdreferences/agents/style_scout.mdscripts/batch_generator_v2.pyscripts/case_library.pyscripts/case_selector.pyscripts/design_compiler.pyscripts/design_image.pyscripts/gpt_image2_generator.pyscripts/install.pyscripts/interactive_run.pyscripts/orchestrator_v2.pyscripts/quick_start.pyscripts/series_generator.pytemplates/linear_batch.py

FAQ

Что делает скилл 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.

Как установить скилл multi-agent-image?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл multi-agent-image запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить multi-agent-image с