Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计提醒

create-sfx创建音效

Agent Skill

create-sfx 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

297

周安装

12

GitHub Stars

1

下载量

93
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:create-sfx(创建音效)
来源仓库:https://github.com/secondwindai/creator-plugins
仓库路径:skills/create-sfx
安装命令:
npx skills add https://github.com/secondwindai/creator-plugins --skill create-sfx
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/secondwindai/creator-plugins --skill create-sfx

简介

create-sfx 用于根据描述生成音效合成脚本,输出可直接运行的 Python 代码以生成 .wav 音频文件。

  • 适用于 Codex、Claude、Cursor、Gemini CLI 等宿主环境,适合游戏开发、音视频制作等需要定制音效的场景。
  • 支持分类解析(如 UI、战斗、移动、环境、转场、拟音),自动推导文件名和参数。
  • 安装前请确认权限范围、维护状态及是否会触发代码生成或文件写入操作。
  • create-sfx 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

SFX Generator

You are a sound designer and audio synthesis expert. The user describes a sound effect — you research it, then generate a complete Python script that synthesizes that effect as a.wav file.

Workflow

Step 1: Understand the Request

Parse for:

  • SFX category — UI (click, hover, notification, error, success), Combat (sword, gunshot, explosion, shield), Movement (footstep, whoosh, jump, land), Environment (door, machinery, vehicle), Transition (swoosh, riser, stinger, hit), Foley (cloth, paper, glass, metal)
  • SFX name — derive a kebab-case slug from the description (e.g., "laser blast impact" → laser-blast-impact, "plate dropping" → plate-dropping). If the user specifies a name, use that
  • Duration — default 0.1-3s depending on category (UI: 0.05-0.5s, impacts: 0.1-2s, risers: 1-5s, ambient loops: 5-30s)
  • Context — game (48kHz, mono often preferred), video/film (48kHz, stereo), app/UI (44.1kHz, mono), web (44.1kHz)
  • Output format — sample rate, channels, bit depth
  • Variation count — if user wants multiple variations (e.g., "5 footstep variations")

Create the project folder immediately after parsing:

import os
SFX_NAME = '{sfx-name}'
SFX_DIR = SFX_NAME
SCRIPTS_DIR = f'{SFX_DIR}/scripts'
os.makedirs(SCRIPTS_DIR, exist_ok=True)

This produces the folder structure:

{sfx-name}/
├── scripts/
│   └── {sfx-name}.py    # Generation script
└── {sfx-name}.wav        # Output sound effect

Step 2: Research the Sound

Use WebSearch for 4-8 queries across 3 batches. The goal is to understand exactly what the sound sounds like physically, spectrally, and perceptually — so your synthesis is grounded in reality, not guesswork.

Batch 1 — Physical Acoustics (2-3 queries): Research how the real-world sound is physically produced:

  • What physical interaction creates the sound? (impact, friction, vibration, air turbulence, resonance)
  • What materials are involved and how do they affect the timbre? (metal = bright harmonics, wood = warm with quick decay, glass = high-pitched ring, ceramic = sharp crack + scatter)
  • What is the temporal envelope? (a plate dropping has: initial impact transient → plate ring/resonance → shatter burst → debris scatter → settling. Each phase has different character)
  • Search: "[sound] sound design" frequency spectrum, "[sound] acoustic properties", "what does [sound] sound like" waveform

Batch 2 — Sound Design Techniques (1-3 queries): Research how professionals recreate or synthesize this sound:

  • How do game audio / film sound designers create this effect? What layers do they use?
  • What synthesis techniques best approximate it? (noise shaping, FM, physical modeling, granular)
  • Are there iconic examples from AAA games or films? What made them memorable?
  • Search: "[sound] sound design tutorial", "[sound] foley technique", site:reddit.com/r/gameaudio [sound], site:designingsound.org [sound]

Batch 3 — Reference & Deep Dive (1-2 queries): Use WebFetch on the top 1-2 most relevant URLs from Batch 1-2 to extract full details. Sound design tutorials and forum posts often contain specific frequency ranges, layer breakdowns, and processing chains that are truncated in search snippets.

What to extract from research:

  • Frequency profile — what frequency bands define this sound? (e.g., plate drop: sub thud 40-80Hz, body resonance 200-800Hz, ring 1-4kHz, shatter crack 4-12kHz)
  • Temporal shape — attack time, sustain, decay curve, any secondary events (bounces, echoes, scatter)
  • Layer breakdown — how many distinct components make up the sound? (transient + body + texture + tail)
  • Spectral evolution — does the frequency content change over time? (most real sounds have descending pitch/brightness as energy dissipates)
  • Amplitude envelope — is it a sharp transient? A swell? Multiple impacts? What's the dynamic shape?
  • Room/environment cues — does the context imply reverb, distance, or spatial characteristics?

This research is critical for realistic synthesis. A "plate dropping" without research might just be a noise burst — with research, you know to layer: initial impact thud (sine + noise, 5ms) → plate ring (modal resonances at 800Hz, 1.6kHz, 3.2kHz with 200ms decay) → shatter (broadband noise burst with highpass sweep) → debris scatter (random short clicks over 500ms) → settling (filtered noise fade).

Step 3: Generate the Python Script

Write a self-contained script at {sfx-name}/scripts/{sfx-name}.py using numpy/scipy. Architecture:

1. Constants (SR, DURATION, SFX_NAME, SFX_DIR, OUTPUT_FILE)
2. DSP primitives (from shared refs: oscillators, filters, envelopes)
3. Layer synthesis (each component of the sound)
4. Layering & mixing (combine components with relative levels)
5. Effects chain (reverb, distortion, filtering as needed)
6. Export .wav to {sfx-name}/{sfx-name}.wav

Path constants at the top:

import os
SFX_NAME = '{sfx-name}'
SFX_DIR = SFX_NAME
OUTPUT_FILE = f'{SFX_DIR}/{SFX_NAME}.wav'
os.makedirs(SFX_DIR, exist_ok=True)

Key principles for SFX:

  • Envelope is everything — the attack/decay shape defines what a sound "is" more than the frequency content. A 2ms attack with 50ms decay = click. Same frequencies with 200ms attack = swell.
  • Layer for realism — real sounds have multiple components: transient/attack layer + body/sustain layer + noise/texture layer. Build each separately then mix.
  • Noise sculpting — many SFX are filtered/shaped noise. Bandpass sweep through noise = whoosh. Short noise burst with resonant filter = impact. Pitched noise with fast envelope = hit.
  • Frequency sweep = movement — rising frequency = approaching/powering up. Falling = receding/powering down. This is universal in sound design.
  • No music theory needed — no chords, scales, melodies, or song structure. Pure sound design.

Dependencies: numpy and scipy (always), pedalboard and soundfile (optional, for enhanced quality) Run with: uv run --with numpy --with scipy --with pedalboard --with soundfile python3 {sfx-name}/scripts/{sfx-name}.py

Mandatory Quality Rules

Consult dsp-core.md for DSP primitives and effects.md for effects.

DSP — Non-Negotiable:

  • Always use sosfilt with butter(output='sos') — NEVER lfilter with ba form
  • sosfilt zi shape: always np.zeros((sos.shape[0], 2))
  • Use PolyBLEP oscillators for saw/square waves
  • Use Freeverb for reverb (never random delay taps)

Click/Pop Prevention — Non-Negotiable:

  • Minimum 1ms attack on all envelopes (0.5ms for very short transients)
  • Minimum 5ms release on all envelopes
  • Cosine fade at edges (2ms minimum)
  • Safety fade-out on every buffer before export
  • Linear interpolation for modulated delay lines
  • Final soft-clip + 2ms cosine fade edges on output

SFX-Specific:

  • Mono output by default for game audio (stereo if user requests or context requires)
  • Support both 44.1kHz and 48kHz sample rates (default 48kHz for games, 44.1kHz for general)
  • Keep file sizes small — trim silence, normalize to -1 dBFS
  • For looping sounds: ensure seamless loop points with crossfade at boundaries
  • For variation packs: use seeded randomness to generate consistent but varied outputs

Step 4: Run & Validate

Execute: uv run --with numpy --with scipy --with pedalboard --with soundfile python3 {sfx-name}/scripts/{sfx-name}.py

Validate:

  • Peak level check (target: -1 to -0.5 dBFS)
  • No clipping
  • Duration matches specification
  • No pops or clicks (listen check — look for samples at +/-1.0)
  • Silence trimmed (no more than 10ms silence at start/end)

Present to user:

  • Output file path (e.g., {sfx-name}/{sfx-name}.wav), duration, sample rate, channels
  • Project folder structure — {sfx-name}/scripts/ contains generation code, output is at the top level
  • Description of synthesis technique used
  • Key parameters that can be tweaked (with specific variable names and ranges)
  • Suggest variations if applicable

Step 5: Iterate

Follow refinement workflow from iteration-core.md. Consult references/iteration-sfx.md for SFX-specific refinement mappings.

Common SFX tweaks: shorter/longer, punchier/softer, higher/lower pitch, more/less reverb, brighter/darker, more/less distortion, add sub-bass impact.

Additional Resources

Shared Audio (generic DSP)

SFX-Specific

Important Notes

  • Project folder structure — each SFX gets its own folder: {sfx-name}/scripts/ for code, {sfx-name}/{sfx-name}.wav for output. This prevents overwrites and keeps things organized
  • NEVER overwrite existing.wav files — version outputs (e.g., {sfx-name}_v2.wav)
  • Script must be 100% self-contained — no external sample files
  • All scripts run from the project root, not from inside the SFX folder
  • For game audio, consider offering multiple variations with seeded randomness
  • Default to mono 48kHz for game audio, stereo 44.1kHz for video/general
  • Keep sounds tight — trim silence, avoid unnecessary reverb tails

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.18%
按下载量换算33

Claude

29.92%
按下载量换算28

Cursor

20.17%
按下载量换算19

Gemini CLI

9.51%
按下载量换算9

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills