image-poster — скилл для Claude Code: что делает и как установить
Скилл image-poster собирает детальный промпт для постера или обложки и запускает генерацию через локальный CLI-диспетчер. Выдаёт готовый PNG в каталог проекта.
Apache-2.0 229 установок ★ 108 855 обновлён 2026-10-25
npx skills add nexu-io/open-design --skill image-poster -a claude-codeЧто делает image-poster
Скилл автоматизирует создание постеров и обложек. Вместо прямого вызова API нейросетей агент структурирует промпт по пяти шагам: композиция, свет, палитра с hex-кодами, оптические параметры и стоп-слова против дефектов генерации.
По умолчанию используется gpt-image-2, хотя скилл одинаково управляет генерацией через Flux или Midjourney. Пропорции холста и стиль подтягиваются из метаданных проекта (imageModel, imageAspect). Без настроенного диспетчера Open Design вызов генератора завершится ошибкой.
За один шаг создаётся ровно один файл. Готовое изображение сохраняется в каталог проекта, после чего ассистент возвращает краткий отчёт с именем файла.
Какие задачи решает
- составить детальный промпт для постера или обложки
- сгенерировать единичный PNG-файл с точными пропорциями холста
- исключить дефекты нейросетей через список нежелательных элементов
- передать задачу генерации локальному CLI-диспетчеру проекта
Примеры запросов агенту
- Создай постер инди-кинофестиваля с абстрактным силуэтом на фактурной бумаге
- Сгенерируй обложку для статьи с мягким студийным светом в пропорциях 16:9
- Сделай ключевой арт для музыкального релиза в тёмных тонах
Как установить image-poster
1Через Skills CLI (Vercel)
npx skills add nexu-io/open-design --skill image-poster -a claude-code2Вручную: положить файлы
~/.claude/skills/image-poster/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/image-poster/
1Через Skills CLI (Vercel)
npx skills add nexu-io/open-design --skill image-poster -a codex2Вручную: положить файлы
.agents/skills/image-poster/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add nexu-io/open-design --skill image-poster -a cursor2Вручную: положить файлы
.cursor/skills/image-poster/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install nexu-io/open-design design-templates/image-poster/SKILL.md2Вручную: положить файлы
.github/skills/image-poster/SKILL.md1Через Skills CLI (Vercel)
npx skills add nexu-io/open-design --skill image-poster -a gemini-cli2Командой платформы
gemini skills install https://github.com/nexu-io/open-design --path design-templates/image-posterВручную: положить файлы
.devin/skills/image-poster/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add nexu-io/open-design --skill image-poster -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы об image-poster
Как установить image-poster в Claude Code?
Выполните в терминале команду npx skills add nexu-io/open-design --skill image-poster -a claude-code. Файл конфигурации сохранится по пути ~/.claude/skills/image-poster/SKILL.md.
Что делает скилл image-poster?
Он переводит описание задачи в пятичастный структурированный промпт и передаёт его локальной утилите генерации. Полученный файл сразу записывается в папку проекта.
Что требуется для запуска генерации?
Нужны настроенные переменные окружения $OD_BIN, $OD_NODE_BIN и $OD_PROJECT_ID. Скилл не обращается к внешним API напрямую, а делегирует работу этому интерфейсу.
Исходный текст
SKILL.md · Apache-2.0
---
name: image-poster
description: |
Single-image generation skill for posters, key art, and editorial
illustrations. Defaults to gpt-image-2 but is provider-agnostic — the
same workflow drives Flux, Imagen, or Midjourney via the active
upstream tooling. Output is one or more PNG/JPEG files saved to the
project folder.
triggers:
- "poster"
- "key art"
- "illustration"
- "image"
- "cover art"
- "海报"
- "插画"
od:
mode: image
surface: image
scenario: design
preview:
type: html
entry: example.html
design_system:
requires: false
example_prompt: |
Editorial poster for an indie film festival — one bold abstract
silhouette over a warm, slightly grainy paper background; hand-set
sans serif title at the top, festival dates and venue at the bottom
in monospace. Muted ochre + ink palette.
---
# Image Poster Skill
Produce **one** finished image asset per turn unless the user asks for
variations. Image generation rewards a tight, structured prompt — your
job is to assemble that prompt from the user's brief, then dispatch.
## Resource map
```
image-poster/
├── SKILL.md ← you're reading this
└── example.html ← what the resulting card looks like in Examples
```
## Workflow
### Step 0 — Read the project metadata
The active project carries `imageModel`, `imageAspect`, and (optional)
`imageStyle` notes. Use them as the upstream model + canvas + style
anchor. When a value is not provided, infer a safe default from the brief and
media contract. Ask only when the choice would materially change the requested
result and no safe default can be inferred.
### Step 1 — Compose the prompt
Plan in this exact order before calling any tool:
1. **Subject + composition** — what is in the frame, where, at what
scale; eye-line and crop.
2. **Lighting + mood** — natural / studio / moody; warm / cool; key
plus rim plus fill; time of day if outdoor.
3. **Palette + textures** — hex anchors when the user gave a brand
palette; otherwise a 3-word mood tag (e.g. "muted ochre + ink").
4. **Camera / lens** — only if the user wants photographic realism
("85mm portrait, shallow DOF") or a specific film stock.
5. **What to avoid** — common AI-slop patterns ("no extra fingers, no
warped text, no logo placeholders").
### Step 2 — Dispatch via the media contract
Use the unified dispatcher — do **not** call upstream provider APIs by
hand. Run from your shell tool:
```bash
"$OD_NODE_BIN" "$OD_BIN" media generate \
--project "$OD_PROJECT_ID" \
--surface image \
--model "<imageModel from metadata>" \
--aspect "<imageAspect from metadata>" \
--output "<short-descriptive-name>.png" \
--prompt "<the full assembled prompt from Step 1>"
```
The command prints one line of JSON: `{"file": {"name": "...", ...}}`.
The daemon writes the bytes into the project folder; the FileViewer
picks it up automatically.
### Step 3 — Hand off
Reply with a one-paragraph summary of the prompt you used and the
filename returned by the dispatcher (e.g. *I generated `hero-poster.png`
with `gpt-image-2` at 1:1.*). Do **not** emit an `<artifact>` tag.
## Hard rules
- One image per turn unless asked for variations.
- Honor `imageAspect` exactly — the upstream cost is the same; matching
the aspect avoids a re-render.
- No filler typography in the image itself unless the user asked for
in-frame text. Real copy beats lorem.
- Save every render — never describe an image without producing the
file. The user expects something to open in the file viewer.
© nexu-io · Apache-2.0 · nexu-io/open-design