Skip to content

cdp-wasm-suite/cdp-sound-design

v0.6.0MIT

Agentic sound design with cdp-wasm

cdp-sound-design — agent skill and plugin

Teaches compatible coding agents to orchestrate the CDP (Composers Desktop Project) audio-processing suite through cdp-wasm: render multi-effect sound-design jobs, build editable patches and share links for cdp-web, and drive a running cdp-web live in the browser.

Install

Codex plugin

codex plugin marketplace add cdp-wasm-suite/cdp-wasm
codex plugin add cdp-sound-design@cdp-wasm

Start a new Codex thread after installation so the skill is loaded.

Claude Code plugin

/plugin marketplace add cdp-wasm-suite/cdp-wasm
/plugin install cdp-sound-design@cdp-wasm

Any agent supported by npx skills

Install directly from the skill directory and select an agent interactively:

npx skills add https://github.com/cdp-wasm-suite/cdp-wasm/tree/main/plugins/cdp-sound-design/skills/cdp-sound-design

Agent Plugins clients

This directory is also a conformant Agent Plugins 1.0.0 package (plugin.json at the plugin root, skills under skills/), so any client implementing that spec can load it directly.

For a global Codex installation:

npx skills add https://github.com/cdp-wasm-suite/cdp-wasm/tree/main/plugins/cdp-sound-design/skills/cdp-sound-design -a codex -g

Repository-wide discovery is also available when requested explicitly:

npx skills add cdp-wasm-suite/cdp-wasm --full-depth --skill cdp-sound-design

Requirements

  • Node.js ≥ 18
  • The cdp-wasm package, resolved one of three ways:
    • installed globally (npm i -g cdp-wasm) — the skill then works in any directory, which is usually what you want for sound design on loose files that aren't part of a Node project,
    • installed as a dependency of your project (npm i cdp-wasm), or
    • a checkout of this repo with the WASM artifacts built (npm run build:wasm, requires Emscripten).

A project-local install or repo checkout wins over the global one, so a pinned project version is never shadowed by whatever is installed globally.

The skill's check-env script detects which situation you're in and prints exact remediation steps if none applies.

What's inside

  • skills/cdp-sound-design/ — render and analyse audio: bootstrap + discovery scripts, an internal chain runner, and a cookbook (chains, breakpoints, raw programs, batch jobs).
  • skills/build-cdp-web-patches/ — build, validate and share editable .cdp graph patches, with automatic PVOC adapters and URL-backed sound Sources.
  • skills/drive-cdp-web/ — drive a running cdp-web in Chrome through its WebMCP agent tools (via the chrome-devtools MCP): edit the patch live on the canvas, load sounds, set parameters, render.

A dedicated MCP server with file-path-based tools may be added later, reusing the same helpers.

Note on presets

The chain-spec format used by cdp-sound-design's render-chain.mjs remains internal rendering plumbing. build-cdp-web-patches emits the user-facing .cdp patch format consumed by cdp-web.