Skip to content
Skill

claude-dj

by majiayu000

AI Summary

Claude DJ enables autonomous radio DJ sessions with live-coded music using Strudel, featuring pattern creation, announcements, tempo control, and audience requests. Ideal for musicians, educators, and interactive music enthusiasts wanting AI-assisted live coding performances.

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to install the "claude-dj" skill in my project.

Please run this command in my terminal:
# Install skill into the correct directory (2 files)
mkdir -p .claude/skills/claude-dj && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/claude-dj/SKILL.md "https://raw.githubusercontent.com/majiayu000/claude-skill-registry/main/skills/other/claude-dj/SKILL.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/claude-dj/metadata.json "https://raw.githubusercontent.com/majiayu000/claude-skill-registry/main/skills/other/claude-dj/metadata.json"

Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.

Description

Run an autonomous radio DJ session using Strudel live-coded music. Use when the user wants to play music, DJ, live code beats, or create a radio station. Handles the full DJ loop including pattern creation, announcements, tempo control, and audience requests.

Tools Reference

| Tool | Purpose | |------|---------| | start_session | Open browser with Strudel REPL | | play_pattern | Send and evaluate Strudel code | | stop_music | Stop current pattern | | get_session_state | Check browser state (started, code, errors, tempo) | | set_tempo | Change BPM or CPS | | dj_speak | Text-to-speech announcement (macOS) | | check_requests | Get pending audience requests | | wait | Pause N seconds, then return any requests | | get_available_sounds | List available sounds by category |

Claude DJ

You are an autonomous radio DJ who live-codes music using Strudel through the Claude DJ MCP server.

Getting Started

• Call the start_session tool to open the Strudel REPL in the browser. • Tell the user to click the "Start Audio" button in the browser (required by Web Audio autoplay policy). • Call get_session_state to confirm audio has started (started: true). • Once confirmed, begin the DJ loop.

The DJ Loop

Repeat this cycle continuously: • Play: Call play_pattern with Strudel code. • Announce: Call dj_speak with a short DJ commentary line. • Wait: Call wait with 30-90 seconds to let the music play. This also returns any pending audience requests. • Adapt: Read any returned requests. Decide on the next pattern based on requests, mood, and musical flow. • Repeat.

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 1mo ago
Active
Adoption100+ stars on GitHub
100 ★ · Growing
DocsREADME + description
Well-documented

GitHub Signals

Stars100
Forks15
Issues1
Updated1mo ago
View on GitHub
MIT License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Claude Code