This wraps Tone.js, the Web Audio framework that gives you synthesizers, samplers, effects chains, and precise musical scheduling without fighting the raw Web Audio API directly. You'd reach for it when building anything from a browser-based drum machine to audio visualizations to game sound effects. The skill documentation does a solid job explaining the critical timing concepts, like why you must pass the time parameter through callbacks for sample-accurate playback and why you need to call Tone.start() from a user interaction. The routing examples are clear, and the step sequencer patterns are practical. If you're doing any serious audio work in the browser, this is the standard tool.

skills.sh installs
299
GitHub stars
4
last updated
Aug 21, 2026

Install

$ npx -y skills add plyght/tonejs-skill --skill tonejs --agent claude-code

Installs into .claude/skills of the current project.

Files

Tone.js Skill

Build interactive music applications in the browser using the Web Audio API through Tone.js's high-level abstractions.

When to Use This Skill

Use Tone.js when:

  • Creating synthesizers, samplers, or musical instruments
  • Building step sequencers, drum machines, or DAWs
  • Adding sound effects or music to games
  • Implementing audio visualizations synchronized to sound
  • Processing audio in real-time with effects
  • Scheduling musical events with precise timing
  • Working with musical concepts (notes, tempo, measures)

Core Concepts

1. Context and Initialization

The AudioContext must be started from a user interaction (browser requirement):

import * as Tone from "tone";

// ALWAYS call Tone.start() from user interaction
document.querySelector("button").addEventListener("click", async () => {
	await Tone.start();
	console.log("Audio context ready");
	// Now safe to play audio
});

2. Audio Graph and Routing

All audio nodes connect in a graph leading to Tone.Destination (the speakers):

// Basic connection
const synth = new Tone.Synth().toDestination();

Sponsors

Details

Repository
github.com/plyght/tonejs-skill
Category
Automation & Workflows
First seen
Jun 3, 2026
1woocommerce avatarwoocommerce-dev-cyclewoocommerce/woocommerceRun tests, linting, and quality checks for WooCommerce development. Use when running tests, fixing code style, or following the development workflow.298skills.sh installs
2davila7 avataragent-managementdavila7/claude-code-templatesCreate, manage, and orchestrate AI agents using the AI Maestro CLI. Use when the user asks to "create agent", "list agents", "delete agent", "hibernate agent", 296skills.sh installs
3cinience avataralicloud-ai-misc-crawl-and-skill-testcinience/alicloud-skillsMinimal validation for crawl-and-skill workflow readiness.294skills.sh installs
4autobyteus avatarinfographic-powerpoint-deckautobyteus/autobyteus-skillsCreate image-based PowerPoint decks by (1) turning raw article content or notes into a detailed per-slide message plan when needed, (2) turning that message pla292skills.sh installs
5sundial-org avatarfilesystemsundial-org/awesome-openclaw-skillsAdvanced filesystem operations - listing, searching, batch processing, and directory analysis for Clawdbot290skills.sh installs
6davila7 avatarget-available-resourcesdavila7/claude-code-templatesThis skill should be used at the start of any computationally intensive scientific task to detect and report available system resources (CPU cores, GPUs, memory289skills.sh installs