К основному содержанию
скилл CX Codex

scenario-formats — скилл адаптации форматов для Scenario

Лестница решений для перевода одного утверждённого мастера в десяток размеров и соотношений сторон через Scenario. Пригодится, когда один арт нужно раскидать по сторис, фидам, баннерам и превью.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add scenario-labs/skills --skill scenario-formats -a claude-code
Открыть на GitHub

Что делает scenario-formats

Скилл исходит из простого правила: адаптация формата — это деривация, а не повторная генерация. Если переспрашивать концепт под каждое размещение, получится пять разных картинок, а не пять форматов одного мастера. Поэтому сначала утверждается один текстово-чистый мастер, а все производные строятся только от него.

Внутри — лестница решений. Одинаковое соотношение, другие пиксели — обычный resize. Теснее кадр, края можно резать — fit: "cover". Нужно больше холста — expand или uncrop. Другое соотношение с перекомпоновкой вокруг объекта — генеративный reframe. А далёкое соотношение, вроде 16:9 в 9:16, — нативная перекомпоновка через scenario-image с мастером как референсом.

Порядок операций жёсткий: reframe и expand до грейдинга и зерна, потому что генеративная работа с холстом перерисовывает картинку. Потом проверка размеров — соотношения в reframe приблизительные, 4:5 может вернуться как 29:36, поэтому выходные размеры замеряются и доводятся resize. Буквы накладываются последними через scenario-text-overlay.

Скилл опирается на соседние: scenario-image-editing держит контракты инструментов холста, scenario-video-editing — то же для видео, scenario-consistency — согласованность с мастером. Если какого-то нет, скилл просит пользователя поставить его через npx skills add.

Какие задачи решает

  • разложить один мастер по 1:1, 4:5, 9:16 и 16:9
  • выбрать между crop, resize, expand и генеративным reframe
  • не потерять объект при кадрировании в вертикаль
  • проверить, что субъект выжил после перекомпоновки
  • наложить текст с учётом безопасных зон каждого размещения

Примеры запросов агенту

  • адаптируй этот мастер под 1:1 для фида и 9:16 для сторис
  • проверь размеры всех производных и доведи до точных пикселей
  • перекомпонуй этот 16:9 кей-арт в вертикаль, сохрани рыцаря по центру и оба знамени

Как установить scenario-formats

1Через Skills CLI (Vercel)

npx skills add scenario-labs/skills --skill scenario-formats -a claude-code

2Вручную: положить файлы

~/.claude/skills/scenario-formats/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/scenario-formats/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о scenario-formats

Как установить scenario-formats в Claude Code?

Выполните npx skills add scenario-labs/skills --skill scenario-formats -a claude-code. Скилл попадёт в ~/.claude/skills/scenario-formats/SKILL.md.

Чем scenario-formats отличается от scenario-image-editing?

scenario-image-editing держит контракты инструментов холста, а scenario-formats — лестница решений и порядок операций вокруг них, с соотношениями, пиксельными целями и безопасными зонами для каждого размещения.

Почему нельзя растянуть картинку в новое соотношение через resize?

fit: "stretch" искажает картинку. При смене соотношения либо fit: "cover", если края не важны, либо reframe, expand или перекомпоновка.

Исходный текст

SKILL.md · MIT
---
name: scenario-formats
description: "Use when one approved visual, image or video, must ship at many sizes or placements through Scenario: adapting a master to 1:1, 4:5, 9:16, or 16:9, social formats for feeds and stories, YouTube thumbnails, storefront capsules and app store graphics, marketplace product images, link previews, display banners, a website hero, or choosing between crop, resize, expand, and generative reframe. Keywords: aspect ratio, resize, reframe, outpaint, expand, derivative, safe zone, thumbnail, banner."
license: MIT
---

# Scenario Formats

## Overview

Format adaptation is derivation, not regeneration: re-prompting the concept per placement makes five
cousins, not five formats of one approved master. The failure modes are picking the wrong operation
(a resize where canvas needed inventing, a crop that beheads the subject) and deriving in the wrong
order. The canvas tools' exact contracts live in `scenario-image-editing`; this skill is the
decision ladder and the order of operations around them, with per-placement ratios, pixel targets,
and safe zones in [references/placement-specs.md](references/placement-specs.md). A video master
climbs the same ladder: video resize versus generative reframe lives in `scenario-video-editing`,
and far ratios recompose per `scenario-video`. Connection and the core loop: see the `scenario`
skill. Lettering per format: `scenario-text-overlay`. If a sibling skill named here is missing from
your available skills, ask the user to install it
(`npx skills add scenario-labs/skills --skill <name>`); unattended, proceed from tool schemas and
flag the gap.

## The decision ladder

Per target format, take the first rung that fits. Each rung is a `model_run` on a model found with
`search` (`target="models"`, `public=true`), never a dedicated MCP tool of its own:

| The target needs                             | Operation                                                                                                                           |
| -------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| Same ratio, other pixels                     | Resize: exact, scales pixels, invents nothing                                                                                       |
| A tighter ratio, edges expendable            | Resize with `fit: "cover"`: exact, center-crops the overflow; only when the subject clears the cut                                  |
| More canvas, composition intact              | Expand or uncrop: exact pixels, fills outward                                                                                       |
| Another ratio, recomposed around the subject | Generative reframe; the text-protecting variant when lettering or marks are on the plate                                            |
| A far ratio or a new visual hierarchy        | Recompose natively: a fresh run per `scenario-image` with the master as reference (`scenario-consistency`), composed for that ratio |

The last rung applies more often than it looks: 16:9 key art seldom survives to 9:16 by any amount
of outpainting, which is why the director siblings (`scenario-video-ads`) design each delivery ratio
as its own composition.

## Order of operations

1. Approve one master first, at the largest clean size available, on a text-free plate (unattended,
   the task's named master or the brief's own description stands in for the approval).
2. Derive every format from that master, never from another derivative: derivative-of-derivative
   compounds re-rendering artifacts.
3. Reframe and expand before grading and grain: generative canvas work re-renders the image, so
   finishing passes applied first come back partly reinterpreted (`scenario-image-editing` holds the
   pipeline order). A video reframe also precedes any upscale: it renders at its own resolution tier
   whatever the input carries (1080p at most at authoring time), so an upscale ahead of it is
   discarded; upscale the reframed clip to delivery size.
4. Verify by measurement before finishing: reframe ratio enums are approximate (a 4:5 request came
   back 29:36 at authoring time), so check output dimensions, land exact with a resize, and
   batch-check that subjects survived with `asset_analyze` (`scenario-asset-analysis`).
5. Letter last: re-overlay lettering per format with `scenario-text-overlay`, sized to each final
   canvas, since type scaled by a resize turns soft and each placement has its own safe area. Keep
   critical content and text away from the edges platform UI covers: each placement's target and
   safe zone is in [references/placement-specs.md](references/placement-specs.md) as an
   authoring-time value, so confirm contractual specs with the user (unattended, task instructions
   win over the reference, and the delivery report states which was used).

## Worked example: key art to story, feed, and thumbnail

1. Master: 16:9 text-free key art, approved.
2. 1:1 feed: generative reframe with a prompt naming what must stay ("the knight centered, both
   banners visible"), then a resize pass to the exact deliverable pixels.
3. 9:16 story: a far ratio, so recompose natively: one run per `scenario-image` with the master as
   reference and a 9:16 composition clause; the master holds palette and subject on-look.
4. Thumbnail: readability rules the crop, so reframe tight on the face or product, land exact with a
   resize, then `asset_display` the result and judge it small: thumbnails are seen at a tenth of
   their size.
5. Verify dimensions against the deliverable list and batch-check that subjects survived with one
   `asset_analyze` pass, then overlay the title card per format onto each final canvas and file the
   set in a collection.

## Common mistakes

- Re-prompting per format: five generations of one prompt are five different images; derive from the
  master.
- Stretching into a new ratio with a resize (`fit: "stretch"`): it distorts. A ratio change is
  `fit: "cover"` when the edges are expendable, else reframe, expand, or recomposition.
- Grading and grain before reframing: the order is reshape, then grade, then texture.
- Deriving from the lettered master: generative operations re-render type; keep a text-free plate
  and re-overlay per format.
- Trusting a ratio enum: measure the output and resize to exact.
- Center-cropping toward 9:16 because it is cheap: it is also how subjects lose their heads; the
  ladder exists to be climbed.
- Skipping `dry_run` on reframes: generative canvas work is the expensive step in the chain, tens of
  times an effect's price (`scenario-image-editing`).

© scenario-labs · MIT · scenario-labs/skills

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

Всё по теме «Дизайн» →
visual-formats motion-team Справочник из 45+ визуальных форматов рекламы для Meta и paid social: определение, этап воронки и медиум для каждого. Пригодится, когда нужно выбрать, как будет выглядеть креатив. CX Codex +1 487установок business-event-formats Samuel Berthe Скилл помогает выбрать формат корпоративного мероприятия: закрытый ужин, саммит, конференция в одном городе, роудшоу или стенд на чужой выставке. CX Codex +1 5 100установок ai-image-editing social-media-skills Скилл называет задачу по фото, подбирает движок и пишет спецификацию: удаление объектов, вырезание фона, апскейл, дорисовка краёв, реставрация. CX Codex +1 603установок flux social-media-skills Скилл для работы с FLUX и FLUX.2: помогает выбрать вариант модели и лицензию, написать промпт и править картинку вместо перегенерации. CX Codex +1 586установок image-editing vivy-yi Руководство по обработке снимков под Xiaohongshu с готовыми формулами коррекции света и цвета. Помогает выстроить единый визуальный стиль публикаций. CX Codex +1 432установок image-edit prime-skills Скилл выбирает модель RunComfy под задачу редактирования изображения. Нужен для замены фона, правки текста и пакетных изменений. CX Codex +1 437 300установок

Из того же набора68

scenario-gpt-image Скилл учит агента работать с моделями GPT Image на Scenario через MCP: генерация, правки по референсу, инпейнтинг по альфа-маске и прозрачные вырезы. CX Codex +1 402установок scenario-blender-lighting-rendering Скилл для ИИ-агента, который разбирается со светом, рендером и композитингом в Blender: от трёхточечной схемы до цветокоррекции AgX. CX Codex +1 400установок scenario-seedance Направляет генерацию и монтаж видео через модели Seedance от ByteDance в Scenario по протоколу MCP. Помогает задать первый и последний кадры, перенести персонажа или продлить ролик. CX Codex +1 387установок scenario-seedance-music-video Собирает музыкальный клип из трека: раскадровка по секциям, генерация клипов в Seedance и монтаж поверх нетронутого мастера. CX Codex +1 394установок scenario-workflows Скилл для запуска сохранённых Scenario-воркфлоу через MCP: перечисляет приложения, собирает входные данные, считает стоимость прогона. CX Codex +1 391установок scenario-video-editing Скилл для обработки готовых роликов в Scenario через MCP без повторной генерации. Позволяет обрезать клипы, менять цветокоррекцию, накладывать LUT и извлекать кадры. CX Codex +1 383установок scenario-sonilo Генерирует звуковые эффекты и фоновую музыку через модели Sonilo на платформе Scenario. Помогает озвучить немое видео или свести трек с видеорядом. CX Codex +1 380установок scenario-product-shots Делает пакшоты и лайфстайл-кадры из реального фото товара, следя за точностью этикетки, логотипа и формы. Пригодится для карточек на маркетплейсе и лендинга. CX Codex +1 388установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой