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

scenario-textures — скилл для Claude Code: что делает и как установить

Скилл настраивает генерацию бесшовных текстур, апскейл с сохранением тайлинга и сборку PBR-материалов через MCP-сервер Scenario. Пригодится при подготовке ассетов для игровых движков.

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

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

Скилл задаёт сценарий создания и обработки текстур через Scenario MCP. Каталог моделей сервиса постоянно меняется, поэтому агент не должен зашивать идентификаторы вручную. Инструмент сначала находит генератор через recommend по описанию задачи либо через search по имени, после чего проверяет параметры через model_schema_get. Стоимость пакета генераций можно проверить заранее флагом dry_run=true.

Инструмент генерирует бесшовные текстуры с затиранием стыков через eraseSeam и стилизацией по референсам. Для создания PBR-карт (альбедо, нормали, металличность) скилл вызывает model_patina. Карта шероховатости там возвращается с меткой smoothness. Это повод заранее проверить формат шейдера в проекте, чтобы текстура легла правильно.

Апскейлеры используются только специальные: обычные алгоритмы нарушают тайлинг. Масштабирование поддерживает коэффициенты от 2x до 8x с пресетами точной или креативной доработки. Если нужно перетекстурировать готовую 3D-сетку целиком, потребуются родственные скиллы scenario-3d или scenario-meshy.

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

  • сгенерировать затайленную текстуру по текстовому описанию
  • извлечь набор PBR-карт из плоского изображения поверхности
  • увеличить разрешение текстуры от 2x до 8x с сохранением тайлинга
  • устранить стыки на границах текстуры параметром eraseSeam
  • рассчитать стоимость генерации пакета текстур через dry_run

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

  • Сделай бесшовную текстуру старой кирпичной кладки 1024x1024 с затиранием швов
  • Извлеки PBR-карты из этого изображения каменной стены через модель Patina
  • Увеличь разрешение этой текстуры в 2 раза без нарушения тайлинга

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

1Через Skills CLI (Vercel)

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

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

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

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

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

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

scenario-consistency Скилл для Scenario, который удерживает одного персонажа, товар или стиль одинаковыми от кадра к кадру. Полезен, когда сид не справляется. CX Codex +1 563установок scenario-sprite-animation Скилл направляет задачи анимации 2D-спрайтов в Scenario: от циклов ходьбы до нарезки листа на кадры для движка. CX Codex +1 530установок scenario-3d Скилл для генерации 3D-моделей через MCP-сервер Scenario: из текста, картинки или готового меша — с текстурой, риггом и выгрузкой в Unity, Unreal, Godot или Blender. CX Codex +1 531установок scenario-image Скилл для работы с генерацией и редактированием изображений в Scenario через MCP: txt2img, img2img, инпейнтинг по маске, размеры и соотношения сторон. CX Codex +1 523установок scenario-refine-loop Скилл для Claude и других агентов: превращает приёмку генераций Scenario в повторяемый цикл с рубрикой, вердиктами и точечными правками. CX Codex +1 472установок scenario-quality-gate Скилл оценивает готовую картинку Scenario и выдаёт вердикт pass, warn или fail со счётом от 0 до 100. Полезен, когда генерацию нужно проверить до публикации. CX Codex +1 461установок scenario-moderation Разбирает блокировки генераций в Scenario, находит причину фильтрации и подбирает альтернативные модели без переписывания промпта. CX Codex +1 445установок scenario-video Скилл подключает генерацию и монтаж видео через Scenario MCP. Помогает собирать ролики из текста, картинок и аудио прямо в диалоге с агентом. CX Codex +1 444установок

Похожие

3d-high-resolution-textures MengTo Помогает подобрать разрешение и PBR-карты для 3D-материалов, чтобы близкие планы выглядели резко, а GPU-память не улетала в потолок. CX Codex +1 508установок threejs-textures CloudAI-X Скилл помогает настраивать загрузку изображений, цветовые пространства и типы текстур в Three.js r186. Пригодится при сборке материалов для WebGL или WebGPU. CX Codex +1 12 600установок render-textures phaserjs Скилл обучает агента работать с RenderTexture и DynamicTexture в Phaser 4: рисовать объекты в текстуру, использовать Stamp и настраивать командный буфер. CX Codex +1 773установок fal-assets rehan-remade Генерирует спрайты, бесшовные текстуры, PBR-карты, 3D-модели и звуки через API fal. Пригодится разработчикам модов и инди-игр, когда в проекте не хватает арта или аудио. CX Codex +1 1 400установок layer-3d layerai Ведёт агента по цепочке 3D-пайплайна Layer: сгенерировать меш, пересобрать топологию, наложить текстуры, поставить скелет и анимацию. CX Codex +1 3 300установок substance-3d-texturing freshtechbro Скилл для работы с Substance 3D Painter: помогает писать PBR-материалы, выгружать текстуры под Three.js, Babylon.js, Unity и Unreal и автоматизировать экспорт через Python API. CX Codex +1 2 400установок

Рядом в теме «Геймдев и 3D: Unity, Unreal, Godot, Blender»

Всё по теме «Геймдев и 3D: Unity, Unreal, Godot, Blender» →

Вопросы о scenario-textures

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

Выполните команду npx skills add scenario-labs/skills --skill scenario-textures -a claude-code. Скилл сохранится в файле ~/.claude/skills/scenario-textures/SKILL.md.

Что делает скилл scenario-textures?

Он направляет агента при генерации затайленных текстур, устранении швов, извлечении PBR-карт и масштабировании через Scenario MCP. Скилл находит нужные модели во время работы и проверяет их параметры перед стартом.

Какие зависимости нужны для работы scenario-textures?

Потребуется настроенный Scenario MCP и базовый скилл scenario из этого же репозитория. Для полного текстурирования трёхмерных сеток скилл обращается к соседним навыкам scenario-3d или scenario-meshy.

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

SKILL.md · MIT
---
name: scenario-textures
description: "Use when a task involves game textures or materials through the Scenario MCP: seamless or tileable textures, themed texture packs (brick, wood, stone, floors, hand-painted), PBR materials (albedo, metallic, roughness, normal) on 3D assets, retexturing a mesh, material iteration from reference images, texture upscaling that must preserve tiling, or sizing textures for game engines. Keywords: seamless texture, tileable, PBR, material, retexture, texture upscale, surface."
license: MIT
---

# Scenario texture and material workflows

## Overview

Scenario generates seamless, tileable textures from text or reference images, upscales them without
breaking the tile, and applies PBR materials when texturing 3D meshes. Model availability differs
per team and evolves, so always discover models at run time instead of hardcoding IDs: `recommend`
with the need in the user's own words for a capability, `search` for a member known by name.

Connection and the core generation loop: see the `scenario` skill in this repo. 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.

## Quick reference

| Step                | Tool                                              | Notes                                                                                                                                                           |
| ------------------- | ------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Find texture models | `recommend` with the need in the user's own words | `capability` is `txt2img` or `img2img` with the texture in `prompt` (the catalog tags texture models `txt2img_texture`, `img2img_texture`); `search` for a name |
| Inspect inputs      | `model_schema_get`                                | Always call before `model_run`                                                                                                                                  |
| Generate            | `model_run`                                       | `dry_run=true` prices a batch first                                                                                                                             |
| Wait                | `jobs_wait`                                       | Re-call with `pending_job_ids`                                                                                                                                  |
| View and save       | `asset_display`, then `asset_download`            | Download for engine import                                                                                                                                      |
| Upscale             | `model_run` on a texture upscaler                 | 2x to 8x, tiling preserved                                                                                                                                      |

## What live search confirmed at authoring time (examples to re-discover, not constants)

- Seamless generation: `model_scenario-texture` (Scenario Texture) takes a prompt (a tileable hint
  is appended automatically), `width`/`height` from 16 to 3840 in multiples of 16, `quality`,
  `seed`, up to 10 `referenceImages` for style, and `eraseSeam` (off by default) with
  `overlap`/`featherRadius` to inpaint away both seam axes.
- Themed texture LoRAs (Flux.1 LoRA, tag `sc:texture`): floors, marble, concrete, stone walls, wood
  boards, brick, terracotta, hand-painted, cybernetic, realistic textures. They expose dedicated
  texture capabilities (`txt2img_texture`, `img2img_texture`, `controlnet_texture`).
- Tiling-safe upscaling: `model_sc-upscale-flux-texture` (Scenario Texture Upscale), `upscaleFactor`
  2 (the minimum) to 8, presets `precise`/`balanced`/`creative` riding the same `strength` and
  controlnet sliders the schema exposes. It re-renders, so expect small tonal drift: `precise` with
  low strength minimizes it, and the result is compared against the source before shipping.
- Material-look conversion: `model_sc-texture-converter` (Texture Converter) turns a flat image into
  a surface material using `raised`, `shiny`, `polished`, `angular` sliders and an `invert` relief
  toggle.
- PBR maps come from two different routes. For a flat texture, 2D map extractors (`recommend`,
  `capability="img2img"`, with the user's words about extracting maps from a flat texture; `search`
  only for one already known by name) return a full set in one img2img call: `model_patina` (PATINA
  Image to Maps) outputs base color, normal, roughness, metalness, and height, each as its own image
  asset whose `metadata.type` names it (`texture-albedo`, `texture-normal`, `texture-smoothness`,
  `texture-metallic`, `texture-height`) in the order requested; the roughness request comes back
  labeled smoothness, so confirm the convention before wiring it. `model_patina-material` tiles a
  PBR material straight from a prompt. For a mesh, 3D texturing and image-to-3D models emit the maps
  instead (Tripo 3.0 Texturing, Tencent Texture Edit, Meshy 7 Retexture); enable the PBR toggle
  found via `model_schema_get`. Retexturing a full mesh is a 3D-to-3D pipeline: see `scenario-3d`,
  and `scenario-meshy` for the Meshy retexture contract.

## Worked example: seamless brick, iterated then upscaled

1. `recommend` with the user's own words as `prompt` ("seamless tileable weathered brick"), pick the
   seamless generator (e.g. `model_scenario-texture`).
2. `model_schema_get` `model_id="model_scenario-texture"`.
3. `model_run` with
   `parameters={"prompt": "weathered red brick wall, moss in the mortar joints", "width": 1024, "height": 1024, "eraseSeam": true, "seed": 42}`.
   For a themed pack, price the batch with `dry_run=true` first, then launch the runs with
   `wait=false`.
4. `jobs_wait` with `job_ids=["job_..."]` (the ids returned by `model_run`). A ~180s timeout is not
   an error: re-call with the returned `pending_job_ids` as `job_ids`, never a second `model_run`.
   Then `asset_display` the output asset.
5. Iterate: rerun with the same `seed` and an edited prompt, or add `referenceImages=["asset_..."]`
   to lock a style.
6. Upscale: `recommend` with `capability="img2img"` and the user's own words as `prompt` ("upscale
   this texture without breaking the tile"), hold the pick to tiling preservation (a generic
   upscaler breaks the repeat), `model_schema_get` it, then `model_run` with the image and the
   factor and preset fields the schema names (at authoring time the texture upscaler took
   `upscaleFactor: 2` and `preset: "precise"`), raising the factor only deliberately: cost follows
   output pixels, and this leg can only be `dry_run`-priced once its input asset exists, so a
   two-step chain is never priced up front.
7. Verify tiling at no cost: the saved PNG's left column against its right and top row against
   bottom should differ no more than neighboring interior columns do, and a 2x2 self-tile proof
   sheet shows any seam instantly.
8. `asset_download` the final asset for engine import.

## Common mistakes

- Skipping `model_schema_get`: parameter names differ per model and most models reject an empty
  payload.
- Using a generic upscaler on a tileable texture: it breaks the repeat at the seams. Use the
  texture-specific upscaler, which preserves tiling.
- Generating huge sizes directly: generate near 1024, then upscale 2x to 8x. Generation dimensions
  cap at 3840.
- Routing a flat texture through a 3D texturing model just to get PBR maps: the 2D map extractors do
  that in one img2img call, and the 3D models are for meshes.
- Ignoring engine sizing: engines expect square power-of-two textures (the seamless generator
  defaults to 1024x1024, 1:1). The generator accepts any multiple of 16, so choose 1024 or 2048
  deliberately.
- Hardcoding model IDs: availability differs per team. Re-discover each session.

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

Смотрите также

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

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