asset-set — скилл для Claude Code: набор ассетов в одном стиле
Скилл asset-set собирает фавиконы, иконки приложения, OG-карточки и иллюстрации за один проход: общий стилевой контракт, правильные размеры и имена файлов.
MIT ★ 195 обновлён 2026-08-10
/plugin marketplace add Sateezg/codex-bridge
/plugin install codex-bridge@codex-bridgeЧто делает asset-set
Скилл собирает не одну картинку, а семейство: фавиконы, иконки приложения, OG-карточки, hero-изображения, иллюстрации пустых состояний или набор иконок в общем стиле. Перед генерацией он фиксирует одну фразу-контракт (стиль, палитра в hex, толщина обводки, скругления, фон, ракурс) и вставляет её в каждый промпт. Палитру берёт из проекта: tailwind.config.*, CSS-переменные, файл токенов или существующий логотип.
Генерация идёт через codex-imagegen, по одному вызову на ассет. Сначала самый важный: логотип или hero. Его показывают и ждут одобрения, потому что переделка всего набора после обходится в лишние генерации. Размеры заново не генерируются: один крупный мастер уменьшают через ImageMagick или sips на macOS. Соцкартинку 1200x630 напрямую не получить, ведь 630 не кратно 16, поэтому берут 1536x1024 и режут локально.
Потолок генератора: длинная сторона до 3840, обе стороны кратны 16, соотношение не больше 3:1, суммарно от 655,360 до 8,294,400 пикселей. Стандартные размеры иконок (16, 32, 180, 192, 512) ниже минимума по пикселям, поэтому без ImageMagick или sips схема с мастером не работает. Полный прогон фавиконов, OG и семейства иконок — это 8–12 генераций из квоты ChatGPT.
Какие задачи решает
- собрать полный набор фавиконов из одной мастер-картинки
- получить OG-карточку 1200x630 для соцсетей
- сгенерировать семейство иконок, которые выглядят от одного дизайнера
- нарисовать иллюстрации пустых состояний в палитре продукта
- выгрузить иконку приложения без прозрачности и скруглений
Примеры запросов агенту
- Сгенерируй набор ассетов для нового лендинга: фавикон,
apple-touch-icon.pngи OG-картинку. - Сделай семейство иконок в стиле нашего логотипа, палитру возьми из
tailwind.config.js. - Нужны иллюстрации для пустых состояний в той же палитре, что и приложение.
Как установить asset-set
1Через маркетплейс плагинов
/plugin marketplace add Sateezg/codex-bridge/plugin install codex-bridge@codex-bridgeКоманда ставит плагин codex-bridge целиком, со всеми его скиллами
2Вручную: положить файлы
~/.claude/skills/asset-set/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/asset-set/
Вручную: положить файлы
.agents/skills/asset-set/SKILL.mdДля всех проектов — ~/.agents/skills/
Вручную: положить файлы
.cursor/skills/asset-set/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install Sateezg/codex-bridge skills/asset-set2Вручную: положить файлы
.github/skills/asset-set/SKILL.mdКомандой платформы
gemini skills install https://github.com/Sateezg/codex-bridge --path skills/asset-setВручную: положить файлы
.devin/skills/asset-set/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Claude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы об asset-set
Как установить asset-set в Claude Code?
Через маркетплейс плагинов: сначала /plugin marketplace add Sateezg/codex-bridge, потом /plugin install codex-bridge@codex-bridge.
Что делает asset-set?
Создаёт связный набор картинок для веба или приложения: фавиконы, иконки, OG-карточки, hero и иллюстрации. Общая стилевая фраза повторяется в каждом промпте, а варианты размеров получаются уменьшением одного мастера.
Чем asset-set отличается от generate-image?
generate-image отвечает за отдельные картинки. Здесь речь о семействах, которым нужен общий стилевой контракт, верные размеры и предсказуемые имена файлов.
Исходный текст
SKILL.md · MIT
--- description: Generate a complete, style-consistent set of image assets for a web or app project in one pass — favicons, app icons, OG/social cards, hero images, empty-state illustrations, or a matching icon family. Use when the user asks for "icons for", "assets for", "favicon", "og image", "app icon", "a set of illustrations", or is setting up branding for a new project. --- # Generate a consistent asset set Individual images are the `generate-image` skill. This is for **families of assets that must look like they came from the same designer** — which requires a shared style contract, correct sizes, and correct filenames. ## Step 1 — lock the style contract Before generating anything, write one style sentence you will paste verbatim into every prompt in the set. It must pin down: art style, palette (hex codes), stroke weight, corner treatment, background, and perspective. For example: > Flat vector, 2px uniform stroke, palette #2563EB on #FFFFFF with #94A3B8 > accents, 4px rounded corners, centered, generous padding, no gradients, no > shadows, front-on view. Pull the palette from the project when one exists — check `tailwind.config.*`, CSS custom properties, a design tokens file, or an existing logo. Ask the user only if nothing is discoverable. ## Step 2 — generate One call per asset, style sentence repeated in each: ```bash codex-imagegen "<subject>. <style contract>" <path>.png --size <WxH> ``` Generate the **most important asset first** (the logo mark or the hero), show it to the user, and only continue once they're happy. Regenerating a whole set after the fact wastes their quota. For assets that must match one already generated, pass it as a reference so the model has the style in front of it, not just described: ```bash codex-imagegen "a settings gear icon, same style as the reference" ./icons/settings.png --ref ./icons/home.png ``` ## Step 3 — derive the size variants locally **Do not regenerate for each size.** Generate one large master and resample it with ImageMagick (or `sips` on macOS) — it's instant, free, and pixel-consistent: ```bash magick master.png -resize 512x512 icon-512.png magick master.png -define icon:auto-resize=16,32,48,64 favicon.ico ``` ## Standard recipes **Web favicon set** — master at 1024x1024, then derive `favicon.ico` (16/32/48), `favicon-32x32.png`, `apple-touch-icon.png` (180x180), `icon-192.png`, `icon-512.png`. **Social / OG card** — generate at 1536x1024, resample to 1200x630 (1200x630 isn't directly generatable: 630 is not a multiple of 16). Leave the centre clear if a title will be overlaid; ask whether text should be baked in — text renders reliably, but baked text can't be localised later. **iOS / Android app icon** — master at 1024x1024, no transparency, no rounded corners (the OS masks them), subject centred with ~10% safe margin. **Icon family** — all at 1024x1024 with the identical style sentence, downscaled to the size the UI actually uses. **Empty states / illustrations** — 1536x1024, same palette as the product, generous whitespace so copy can sit alongside. ## Rules 1. **Verify visually.** Read every generated PNG and check the set actually looks coherent side by side — not just each image on its own. 2. **Name and place files conventionally**: `public/` or `assets/` for web, kebab-case, size in the filename where a variant exists. 3. **Budget honestly.** A full favicon + OG + icon-family run is 8–12 generations and spends real ChatGPT quota. Say the expected count before you start and let the user trim the list. 4. Use a Bash timeout of at least 300000 ms per generation. 5. **Only certain sizes are generatable**: longest edge ≤ 3840, both edges multiples of 16, ratio ≤ 3:1, total pixels 655,360–8,294,400. Every standard icon size (16, 32, 180, 192, 512) is below that floor — which is exactly why you generate one large master and resample. 6. **Use the path the wrapper prints.** Codex avoids overwriting existing files and may write a versioned sibling (`icon-v2.png`); the wrapper detects that and reports the real path. For sets larger than about four images, hand the whole brief to the `codex-artist` subagent so the generation loop stays out of the main conversation.
© Sateezg · MIT · Sateezg/codex-bridge