agentleFS
pedroxcardosopedroxcardoso/maquina-cortes-gta/skills/sound-effects/SKILL.md

sound-effects

Skill49 starsChanged 22 days agoMITView on GitHub

Generate a small, coherent sound palette for interface moments through interchangeable provider adapters, beginning with ElevenLabs Sound Effects, then hand it to a walkthrough to check that the cues clarify rather than distract. Use when a product needs interaction sounds, feedback cues, micro-sound design, or a retro-futuristic audio layer. Triggers on sound effects, UI sounds, interaction audio, micro sounds, click sound, swipe sound, drag sound, ElevenLabs sound effects, audio feedback, retro-futuristic sound.

  • Reads credentials

15 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use pose-library-design, video-toolkit and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • LinHao-citySkill

    pose-library-design

    Design reusable 2D character pose libraries, action cycles, and expression states for data-driven animation.

    Also in 4 projects that use this

  • LinHao-citySkill

    video-toolkit

    Create professional videos autonomously using claude-code-video-toolkit — AI voiceovers, image generation, music, talking heads, and Remotion rendering.

    Also in 4 projects that use this

  • GopyrSkill

    azure-speech-to-text

    Also in 3 projects that use this

  • GopyrSkill

    dashscope

    Also in 3 projects that use this

  • RobStrayerSkill

    voice-isolator

    Remove background noise and isolate vocals/speech from audio using ElevenLabs Voice Isolator (audio isolation) API. Use when cleaning up noisy recordings, removing music or background ambience from dialogue, isolating speech from field recordings, preparing audio for transcription, extracting vocals, or any "denoise / clean up / isolate voice" task.

    Also in 3 projects that use this

  • +7 more from LinHao-city

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 6 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 6 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read the project's token set or DESIGN.md when it exists.

    line 24
  2. Distinctive:

    Ask whether sound is opt-in, and identify motion-reduction and system sound settings.

    line 25
  3. Distinctive:

    Start with three to five roles.

    line 29
  4. Distinctive:

    Use one sound per completed gesture and rate-limit rapid hover, drag, and click events.

    line 73
  5. Distinctive:

    Never generate speech here.

    line 79
  6. Distinctive:

    Never claim an effect improves accessibility without testing it with people who use sound differently or not at all.

    line 80
  7. Distinctive:

    Never spend credits or call the API until the user approves the selected prompts and variation count.

    line 81

“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Sound Effects

Announce at start: "I'm using the humane:sound-effects skill to make a small, coherent sound palette for this interface."

Sound is feedback, not wallpaper. Generate a short cue only when it acknowledges a change that the interface needs to make felt: a panel catching after a drag, a confirmed action, a changed mode, or a boundary reached. It is never added merely because something moves.

Before generating

  1. Name the moment and the change it confirms. If the interface already makes it obvious, do not add a sound.
  2. Read the project's token set or DESIGN.md when it exists. It supplies the material vocabulary; do not invent a second brand in audio.
  3. Ask whether sound is opt-in, and identify motion-reduction and system sound settings. Effects must never autoplay, convey the only meaning, or prevent a task from being completed silently.

Generate a palette, not isolated noises

Start with three to five roles. Keep each effect short and quieter than a notification.

MomentDurationPrompt shape
Press / select0.50 sdry tactile click, no voice, no melody
Panel drag0.50–0.60 srestrained low-friction mechanical glide, soft analogue texture
Snap / settle0.50 ssoft magnetic catch, rounded transient, short decay
Boundary0.50 smuted non-alarming low pulse
Completion0.50–0.80 ssmall upward confirmation tone, restrained and non-game-like

For Humane, begin with precise, editorial, retro-futurist, tactile, quiet and exclude voice, melody, fanfare, harsh alarms, and bright game UI. Generate alternatives, then choose the family by listening side by side.

Provider adapters

ElevenLabs is the first adapter, not the architecture. The generator takes a --provider name and loads scripts/providers/<name>.py; every adapter shares the same prompt, duration, loop, output, and receipt contract. Read references/provider-adapters.md before adding one. This is where another hosted provider or local sound model can be integrated later without changing the skill's UI rules, prompt palette, generated files, or review handoff.

The ElevenLabs adapter calls POST /v1/sound-generation with ELEVENLABS_API_KEY. The key belongs in the project's approved secret manager or local environment, never in humane.json, a prompt, source code, or a committed .env file. Read setup/references/secrets.md when setting up or changing secret access.

python3 scripts/generate_sound.py --provider elevenlabs --name panel-snap --text "A soft magnetic mechanical catch; tactile analogue electronics, warm low mid tone, precise and quiet, no voice, no melody, no alarm" --duration 0.5 --out <resolved-sound-directory>/panel-snap.mp3

Resolve <resolved-sound-directory> with artifact_path(palette, "sound-effects"), which produces .design/sound-<palette>/ under the project; never construct that path from the current working directory. ElevenLabs accepts explicit durations from 0.5 seconds, so the generation table does not promise a shorter value than the adapter can request. Use --duration only when interaction timing needs it. --loop is for ambience only, never a click, drag, or completion cue. The script writes audio plus a JSON receipt containing its prompt and parameters, never a key.

Wire and check

  • Preload only selected, compressed effects; never fetch a key or generate in the browser.
  • Trigger after a visual state change begins. A sound that predicts a change that later fails is misleading.
  • Use one sound per completed gesture and rate-limit rapid hover, drag, and click events.
  • Offer a visible mute control when sound recurs, preserving that choice for the current device.
  • Hand the live interaction to humane:walkthrough. Check whether the cue clarifies what happened; do not judge it in isolation.

Boundaries

  • Never generate speech here; use a speech tool for narration.
  • Never claim an effect improves accessibility without testing it with people who use sound differently or not at all.
  • Never spend credits or call the API until the user approves the selected prompts and variation count.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.