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

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

Скилл настраивает промпты для генерации звуковых эффектов, музыки и озвучки через платформу Layer. Помогает избежать лишнего эха и каши в аудиодорожках.

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

Что делает layer-audio

Скилл делит генерацию аудио в Layer на три сценария: sound_effects, music и text_to_speech. Для шумов он требует описывать физические свойства объекта, а не абстрактное настроение. Если не потребовать сухой изолированный звук без реверберации, игровой движок получит эффект с уже вшитым эхом помещения. Такой хвост потом невозможно вырезать.

Для музыки инструкция заставляет задавать назначение трека вроде фонового лупа без солирующей партии. Это бережёт реплики персонажей. Озвучку скилл разбивает на короткие абзацы и требует транскрипцию для сложных имён. Цикл генерации и контроль бюджета находятся в базовом скилле layer.

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

  • получить сухие звуковые эффекты без комнатного эха
  • настроить фоновую музыку без перебивающей диалоги мелодии
  • сгенерировать речь персонажей по абзацам с точной фонетикой
  • собрать набор звуков интерфейса в едином стиле

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

  • Сделай сухой звук открывания сундука для инвентаря без эха помещения короче одной секунды
  • Напиши эмбиент для меню: спокойный луп без солирующих инструментов под голос
  • Озвучь реплику мага, используй фонетическую транскрипцию для имени Эльтир

Как установить layer-audio

1Через Skills CLI (Vercel)

npx skills add layerai/skills --skill layer-audio -a claude-code

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

~/.claude/skills/layer-audio/SKILL.md

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

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

Вопросы о layer-audio

Как установить layer-audio в Claude Code?

Выполните команду npx skills add layerai/skills --skill layer-audio -a claude-code.

Что делает скилл layer-audio?

Он учит агента составлять структурированные промпты для генерации шумов, музыки и синтеза речи через Layer. Инструкции помогают отсекать нежелательное эхо и делить озвучку на короткие фрагменты.

Нужен ли дополнительный скилл для генерации?

Да, цикл запросов и проверка расходов опираются на базовый скилл layer. Без него агент не сможет проверить цены и запустить итерации генерации.

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

SKILL.md · MIT
---
name: layer-audio
description: "Use when generating audio with Layer: sound effects for a game or trailer, music and background tracks, or speech and voice-over from text. Also when a sound effect comes back with unwanted ambience or reverb, when a music prompt needs structure or length control, or when choosing a voice and delivery for narration. Keywords: SFX, sound effect, foley, UI sound, music, soundtrack, loop, text to speech, TTS, voice over, narration."
license: MIT
---

# Layer Audio Generation

## Overview

Three distinct use cases with almost nothing in common: `sound_effects`, `music`, and
`text_to_speech`. Pick one, then write the prompt the way that discipline expects. The loop and the
spend gate are in the `layer` skill.

If a sibling skill named here is missing from your available skills, ask the user to install it
(`npx skills add layerai/skills --skill <name>`); unattended, proceed from tool schemas and flag the
gap.

## Sound effects

Describe the physical event, not the feeling. What object, made of what, doing what, at what scale,
in what space. "Heavy oak door, iron hinges, swinging open slowly with a low groan, then a dull thud
against stone" is a sound. "Scary door sound" is a mood board.

Three things decide whether a game-ready effect is usable:

- **The space.** Generated effects arrive with room ambience baked in unless you exclude it. For an
  asset the engine will place in its own reverb, ask for it dry, close-mic'd, and isolated. A wet
  effect cannot be made dry afterwards.
- **The length.** UI sounds are short, and a model given no length target produces a tail that has to
  be trimmed. State it.
- **One event per generation.** A footstep, a sword unsheathe, and an impact are three assets. Asking
  for a sequence yields one file you then have to cut apart.

For UI sound sets, generate each state separately and name the shared character once in every prompt,
so the confirm, cancel, and hover sounds read as one family.

## Music

Name genre, instrumentation, tempo, mood, and **function**. Function is the one people leave out and
the one that matters most: a menu loop, a combat layer, a boss intro, and a credits piece are written
differently even in the same style.

Say what the track should not do. Background music for a game should not have an arresting melodic
hook competing with dialogue, and stating "sparse, no lead melody, sits under voice" gets there
faster than three rerolls.

Where a model exposes structured fields (`lyrics`, `instrumental`, `speed`), use them instead of
describing the same thing in prose. `get_base_model` is the authority on which apply. For anything
that must loop, keep the arrangement steady rather than building to a climax that cannot rejoin its
own start.

## Speech

Filter for `text_to_speech`. Send the script clean, with real punctuation, since models take commas
and full stops as pacing. Spell out anything ambiguous: a number, an acronym, or an invented fantasy
name will otherwise be read the model's way, and "Aelthyr" needs a phonetic respelling if it must be
said consistently across a cast.

Direct the delivery separately from the words: pace, energy, age, accent, emotional register. Keep
one voice per character and reuse the same voice selection across the project, since a voice that
drifts between lines is more noticeable than one that is merely wrong.

Generate long narration in paragraph-sized chunks rather than one call. A single bad word in a
four-minute take costs the whole take.

## Worked example

"We need a sword-unsheathe effect for the inventory screen."

1. `list_base_models` with `filter.use_case: "sound_effects"`. Take the first result, then
   `get_base_model` for its length and format fields.
2. Prompt the event: "Single steel longsword drawn from a leather scabbard, fast, bright metallic
   ring with a short decay. Dry, close-mic'd, isolated, no room reverb, no ambience, no music. Under
   one second."
3. `estimate_forge_price`, then execute with `batch_size` high enough to choose from, since audio
   runs are cheap and the take-to-take variation is large.
4. Poll at `poll_interval_seconds`, then audition the results before delivering rather than passing
   on the first file.

## Common mistakes

- Describing the emotion of a sound instead of the physical event.
- Accepting baked-in reverb on an asset the engine will place in its own space.
- Asking for a sequence of events in one generation, then cutting the file apart by hand.
- Leaving length unstated on a UI sound.
- Omitting the function of a music cue, so a background loop arrives with a lead melody.
- Sending an unpunctuated script, or an invented name with no phonetic spelling.
- Generating four minutes of narration in one call.

© layerai · MIT · layerai/skills

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

Всё по теме «Геймдев и 3D: Unity, Unreal, Godot, Blender» →
orbit-card heygen-com Скилл для встраивания готового 10-секундного 3D-блока HyperFrames: карточка фичи облетает сферу из точек по траектории камеры из Blender. CX Codex +1 10 000установок cad earthtojake Создаёт и правит параметрические CAD-модели, экспортирует STEP, STL, 3MF и GLB, измеряет геометрию и открывает готовые файлы в CAD Viewer. CX Codex +1 14 000установок step-parts earthtojake Скилл ищет готовые покупные детали в каталоге step.parts и скачивает их STEP-файлы, чтобы не рисовать заглушки в сборке. CX Codex +1 11 200установок sdf earthtojake Скилл создаёт и проверяет SDFormat-файлы для моделей и миров, а затем помогает подготовить их к передаче в симулятор. CX Codex +1 10 500установок urdf earthtojake Скилл помогает создавать, проверять и отлаживать описания роботов в формате URDF. Пригодится для работы со звеньями, сочленениями и геометрией. CX Codex +1 10 500установок hatch-pet официальный openai Создаёт и упаковывает анимированных питомцев и спрайт-листы для Codex. Пригодится, когда нужен персонаж по описанию, изображению или фирменным ориентирам. CX Codex +1 3 300установок

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

layer-quality Оценивает сгенерированные файлы Layer по правилам студии и помогает выбрать, что отдавать. Нужен перед сдачей партии ассетов. CX Codex +1 3 300установок layer-workflows Скилл для запуска сохранённых воркфлоу Layer Blueprint: находит пайплайн в рабочем пространстве, читает его схему входов, оценивает цену и следит за шагами. CX Codex +1 3 400установок layer-3d Ведёт агента по цепочке 3D-пайплайна Layer: сгенерировать меш, пересобрать топологию, наложить текстуры, поставить скелет и анимацию. CX Codex +1 3 300установок layer-video Скилл для генерации видео через Layer: текст в видео, оживление кадра, продление клипа, камера, звук и липсинк. Пригодится, когда промпт даёт не то движение. CX Codex +1 3 400установок layer-video-timeline Собирает готовые клипы, картинки и аудио в один ролик: порядок, переходы, титры, логотип, музыка. Нужен, когда монтаж идёт из уже сгенерированных шотов. CX Codex +1 3 300установок layer-image Скилл для text-to-image через Layer: подсказывает, что писать в промпте, как задать пропорции и когда нужна референс-картинка. CX Codex +1 3 300установок layer-image-editing Скилл для редактирования уже существующих изображений на Layer: инпейнтинг, расширение кадра, смена ракурса, апскейл. CX Codex +1 3 400установок

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

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