Picks, installs and wires accessible audio UI components in React (with or without shadcn): knobs, faders, XY pads, envelopes, level meters, waveforms, EQ/filter plots, timelines, step sequencers, drum pads, pianos, piano rolls, and transport bars.
Ships in audio-ui. 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.
Accessible, composable audio controls, in two layers:
| Layer | What it is | Pick it when |
|---|---|---|
@audio-ui registry (shadcn) | Styled components and blocks copied into the project | The project has a components.json (shadcn/ui, Tailwind v4) |
@audio-ui primitives (registry) | Headless primitives, one adapter per framework (knob-react, knob-vue, knob-svelte, knob-web): behavior, input handling and ARIA, no styles | React without shadcn, or the project brings its own design system. Ready skins: the design skill. Vue, Svelte and the web: the core skill |
Run commands with the project's package manager, read from its lockfile: npx shadcn@latest, pnpm dlx shadcn@latest, bunx --bun shadcn@latest or yarn dlx shadcn@latest. Examples use npx.
audio/ui ships as one plugin of four skills. Each one loads when its job comes up; use the neighbor for the rest.
| Skill | Job |
|---|---|
audio-ui | Pick, install and wire the components: layers, component selection, values and events, accessibility, styling, AI control |
web-audio | Sound and live data: the AudioContext, click-free ramps, scheduling, meters, spectra, playheads, microphone and MIDI input |
design | How it looks: retro, minimal and modern skins, materials, and composing a look from a brief |
| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Values & Events | HIGH | values- |
| 2 | Accessibility | HIGH | a11y- |
| 3 | Styling | MEDIUM | style- |
| 4 | AI Control | MEDIUM | ai- |
The CRITICAL rules (sound without clicks, live data without re-renders) are in the web-audio skill: read them before writing any code that makes or measures sound.
values-controlled-or-uncontrolled - value + onValueChange, or defaultValue, never bothvalues-commit-for-persistence - Sound on onValueChange, saving and undo on onValueCommittedvalues-step-fits-range - Set step and largeStep to the range; the defaults (1 and 10) assume 0 to 100values-log-scale-frequency - scale="log" for frequency, Q and ratiosvalues-cancel-change - Reject a change with eventDetails.cancel()values-anchor-bipolar - anchor={0} for pan and detunevalues-editable-readout - editable on Knob.Value and Fader.Value lets people type an exact numbervalues-knob-drag-mode - dragMode="vertical" on knobs: up and down, not around the diala11y-accessible-name - Every control has aria-label or its Label parta11y-keep-focusable-part - Restyle the thumb with render, never replace ita11y-live-readout - Silent display, a polite status that changes only when the meaning doesa11y-focus-and-hit-area - Draw :focus-visible, widen small hit areasstyle-headless-state - Style primitives by state: data-* attributes and CSS variablesstyle-props-before-classname - Registry components: size, marks, orientation before classesstyle-semantic-tokens - Theme tokens, never raw palette colorsstyle-never-edit-package - Edit your copy of the adapter or the component, never the packageai-person-in-charge - No tool records or plays on its own; bounded levels; undoable editsai-schema-from-instance - Tool schemas built from this component's configai-tools-edit-state - Tools return the next state; they never touch the DOMai-pure-reducers - apply is pure and re-clamps the model's outputai-current-state - Give the model the state it editsai-structured-tool-calls - Tool calls with validated arguments, never parsed proseai-device-contract - A device is a state and a description (defineDevice), with a controlled panel, an engine and tools, not a widget with audio inside| Need | Use |
|---|---|
| One continuous parameter (level, cutoff, pan) | knob (rotary) or fader (linear) |
| Two parameters on one surface | xypad |
| ADSR or any breakpoint shape | envelope |
| Level in dB with peak hold | meter |
| Audio file shape, seeking, live scope | waveform |
| EQ, filter or compressor curve with handles | plot |
| Live spectrum, frequency analyzer | spectrum-analyzer |
| Arrangement view, clips, ruler, playhead | timeline |
| Step pattern | sequencer |
| Drum pads, sample triggers | pad |
| Playable keyboard | piano |
| Play from a MIDI keyboard | use-midi-input hook, midi-connect-control |
| A track's effects in a row, reordered, with a library to add one from | device-chain, device-browser, block-device-chain |
| A compressor, or any effect, as a state a host and an agent can drive | block-compressor, block-equalizer, block-delay, block-reverb, block-filter, block-distortion, block-chorus, or defineDevice and device-panel |
| Tune an instrument, name the note of a sound | tuner (it installs use-microphone and use-pitch) |
| Note editor | piano-roll |
| A note editor's menus: scale, find, edit commands, MIDI and MusicXML files | scale-menu, note-find, note-edit-menu, midi-file, musicxml-file |
| Process a sound: reverse, repeat, normalize, filter, stretch, pitch, speed, repair | process-menu, which installs sound-operations; use-bake for a track's sound as edited |
| Play a piano roll's notes, with undo and redo | use-piano-roll-playback, use-undo-history |
| Play, stop, record, loop, bars and tempo | transport |
| Play and pause with a seek bar | scrubber |
| Export to WAV, FLAC or MP3, normalized to a peak or a loudness | export-dialog, which installs exportSound |
Installed components import from @/components/audio-ui/<name>. Every import, install name and ready block: components.md.
package.json (framework, and React 19 for the React layers), components.json if any, the lockfile for the package manager.components.json, or the user wants a distinct look (retro, minimalist, modern): install the headless primitive (npx shadcn@latest add @audio-ui/<name>-react) and style it with the kit of the design skill, never a hand-written slider.
2b. Choose a visual direction and say it in one sentence (retro hardware, minimal or modern), then follow the design skill: it has the skins, the Panel markup, and how to compose a look from a brief. Outside React, the core skill has the plain DOM kit.https://www.audio-ui.dev/llm/components/base/<name> (markdown), or the MCP server (setup.md). Props are specific; a guessed prop compiles and misbehaves. Offline, the verified Panel markup and the props table of the design skill's directions.md cover knob, fader, meter, XY pad, pad and piano; the items are @audio-ui/knob-react, fader-react, meter-react, xypad-react, pad-react, piano-react.npx shadcn@latest add @audio-ui/<name> (@audio-ui is in shadcn's registry directory, nothing to configure, setup.md) copies it to components/audio-ui/<name>.tsx: import { Meter } from "@/components/audio-ui/meter" (through the project's components alias). The CLI prints every file it writes: import from those paths, not from memory. Headless primitive: npx shadcn@latest add @audio-ui/<name>-react copies it to components/audio-ui/<name>/react.tsx, and import { Knob } from "@/components/audio-ui/knob/react". Other frameworks: use the core skill.web-audio skill for anything that makes or measures sound.OscillatorNode through the same analyser to test an input path. Drag every control fast (no clicks in the sound), Tab to each control and use the arrow keys, background the tab during playback, and check nothing re-renders per frame.Read the rule files for the explanation and the incorrect and correct code:
rules/values-commit-for-persistence.md
rules/a11y-accessible-name.md
Every rule of this skill expanded in one file: AGENTS.md
AGENTS.md (opens in a new tab)README.md (opens in a new tab)agents/openai.yml (opens in a new tab)assets/audio-ui-small.png (opens in a new tab)assets/audio-ui.png (opens in a new tab)components.md (opens in a new tab)evals/evals.json (opens in a new tab)metadata.json (opens in a new tab)rules/_sections.md (opens in a new tab)rules/_template.md (opens in a new tab)rules/a11y-accessible-name.md (opens in a new tab)rules/a11y-focus-and-hit-area.md (opens in a new tab)rules/a11y-keep-focusable-part.md (opens in a new tab)rules/a11y-live-readout.md (opens in a new tab)rules/ai-current-state.md (opens in a new tab)rules/ai-device-contract.md (opens in a new tab)rules/ai-person-in-charge.md (opens in a new tab)rules/ai-pure-reducers.md (opens in a new tab)rules/ai-schema-from-instance.md (opens in a new tab)rules/ai-structured-tool-calls.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
/audio-ui:audio-uifrom audio-ui
npx claudepluginhub ouestlabs/audio-ui --plugin audio-ui3 skills in this plugin
/designDesigns how an audio interface looks with audio/ui: picks a visual direction (retro hardware, skeuomorphic, minimalist, modern, and skins such as tape, phosphor, hifi, brutalist, y2k, console, synth70), ships ready CSS skins and the verified Panel markup for the headless primitives of the audio/ui registry, and composes a look from a brief or a reference with materials, palettes, lighting and typography. Use when the user wants a synth, mixer, plugin, drum machine or DAW panel to look like hardware or like a named style, asks for retro, analog, skeuomorphic, minimal or modern audio UI, has no shadcn or Tailwind and needs the primitives styled, or when a panel looks flat, generic or AI-made and needs to read as an instrument./web-audioLoad this before writing any code that makes or measures sound in a web page: Web Audio API, AudioContext, GainNode, BiquadFilterNode, oscillators, AnalyserNode, MIDI or microphone input. It fixes clicks, crackle and zipper noise when a knob or fader moves a parameter (use ramps, never param.value from a drag), dB to gain, headroom and clipping, look-ahead scheduling on the audio clock when a sequencer or metronome drifts (not setInterval), suspended AudioContext until a click, node cleanup on unmount, and live level meters, spectrum analyzers, waveform playheads and pitch tuners that must not re-render React every frame. Use it whenever audio code is being written or debugged, even if the user does not name audio/ui.Other plugins' skills for the same job