Generates AI voice (TTS), music, lyrics, and sound effects via a zero-dependency Node.js CLI supporting SiliconFlow, MiniMax, OpenAI, ElevenLabs, and local models.
Ships in hairyf-skills-4. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Generate voice, music, lyrics, and sound effects through scripts/sonic.js — a zero-dependency Node.js CLI (Node 18+, no npm install). It saves audio to disk and prints the absolute path.
# TTS (defaults to SiliconFlow CosyVoice2)
node scripts/sonic.js tts "Hello, world" -o hi.mp3
# Music with auto-written lyrics / instrumental only
node scripts/sonic.js music "cheerful jazz with brass and double bass, café style" -o song.mp3 --lyrics-optimizer
node scripts/sonic.js music "epic movie soundtrack, orchestral" -o bgm.mp3 --instrumental
# Lyrics
node scripts/sonic.js lyrics "a summer day at the beach"
# Sound effects — cloud MMAudio (zero install, needs key) / local Woosh (free, auto-installed)
node scripts/sonic.js sfx "rain falling on a wooden roof" -o rain.wav --provider mmaudio
node scripts/sonic.js sfx "footsteps crunching in the snow" -o steps.flac
China-friendly priority order (Alipay/WeChat top-up, no foreign card):
| Asset | Recommended (priority order) | Notes |
|---|---|---|
| Voice / TTS | SiliconFlow CosyVoice2 → MiniMax Speech → OpenAI TTS / ElevenLabs | SiliconFlow is OpenAI-compatible and already keyed |
| Music | MiniMax Music 3.0 → Bailian Fun-Music → Suno (third-party relays) | MiniMax has an official API + China payment |
| Sound effects | Local MMAudio → Local Sony Woosh → MMAudio cloud → ElevenLabs SFX | Local channels run on an NVIDIA GPU, free, auto-installed by the agent |
--negative "speech, voice, human talking, vocals, singing" to suppress them.{genre/style} + {instruments} + {mood} + {tempo} + {scene}; --instrumental for pure music, --lyrics-optimizer or --lyrics for vocals. Generation takes tens of seconds to minutes — use a generous timeout.--speed 0.9–1.1 for narration, 1.2+ for ads, 0.8 for audiobook; -v <voice> keeps a consistent voice. ElevenLabs' free tier only ships its 21 premade voices (default "Adam") — list them with GET /v1/voices.scripts/install/woosh.* / scripts/install/mmaudio.* with -Start / --start yourself — never ask the user to install by hand. Servers idle-exit after 15 minutes; restart before retrying a failed request.| When | Reference |
|---|---|
| Full CLI options and exit codes | core-usage |
| First run with no API key configured (env keys, AGENTS.md merge) | core-setup |
| Debugging the pipeline or editing the scripts | core-script |
AGENTS.md (opens in a new tab)references/core-script.md (opens in a new tab)references/core-setup.md (opens in a new tab)references/core-usage.md (opens in a new tab)scripts/install/mmaudio.ps1 (opens in a new tab)scripts/install/mmaudio.sh (opens in a new tab)scripts/install/woosh.ps1 (opens in a new tab)scripts/install/woosh.sh (opens in a new tab)scripts/lib/config.js (opens in a new tab)scripts/lib/env.js (opens in a new tab)scripts/lib/http.js (opens in a new tab)scripts/lib/mmaudio.py (opens in a new tab)scripts/lib/output.js (opens in a new tab)scripts/lib/providers.js (opens in a new tab)scripts/lib/woosh.py (opens in a new tab)scripts/sonic.js (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/hairyf-skills-4:sonicfrom hairyf-skills-4
hairyf-skills-4@cascade-code-languages-misc-1 is listed by joshuarweaver/cascade-code-languages-misc-1 — review the source before installing
npx claudepluginhub joshuarweaver/cascade-code-languages-misc-1 --plugin hairyf-skills-480 skills in this plugin
/animeAnime.js v4 - A fast, multipurpose and lightweight JavaScript animation library. Use when creating animations, timelines, draggable interactions, SVG animations, text effects, or working with CSS properties, DOM attributes and JavaScript objects./antfuAnthony Fu's opinionated tooling and conventions for JavaScript/TypeScript projects. Use when setting up new projects, configuring ESLint/Prettier alternatives, monorepos, library publishing, or when the user mentions Anthony Fu's preferences./arch-nuxtVitesse-style Nuxt 4 starter with Vite, UnoCSS, Pinia, VueUse, PWA. Use when scaffolding or maintaining a Nuxt app with this stack./arch-nuxt-liteVitesse Lite — lightweight Vite + Vue 3 SPA with file-based routing, UnoCSS, VueUse, Vitest. Use when scaffolding or maintaining a simple Vue SPA with this stack./arch-nuxt-module-builderBuild and ship Nuxt modules with @nuxt/module-builder. Use when scaffolding, building, or maintaining a Nuxt module (unbuild preset, types, runtime)./arch-tsdownTypeScript library starter using tsdown. Use when scaffolding or maintaining a TS/ESM library with tsdown, pnpm, Vitest, and npm Trusted Publisher.Other plugins' skills for the same job