One-click install
npx skills add https://github.com/renatoworks/strudel-claude --skill api-renatoworks
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: api
Source: https://github.com/renatoworks/strudel-claude/tree/main/.claude/skills/api
Command: npx skills add https://github.com/renatoworks/strudel-claude --skill api-renatoworks

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manually interacting with the Strudel live coding music REPL to input code and control playback is slow and inefficient, especially for AI agents or automated music composition workflows that require programmatic, hands-free access to the tool's core functions.

Core Features & Use Cases

  • REST API Access: Push Strudel code, start and stop playback, and check the current REPL status via simple HTTP requests.
  • Real-Time Sync: Leverage Server-Sent Events to get instant updates when code is pushed or playback state changes, ensuring the browser UI stays in sync with programmatic actions.
  • Use Case: An AI agent can autonomously compose an algorithmic techno track by generating Strudel code, pushing it to the REPL, and triggering playback without any manual user intervention.

Quick Start

Use the api skill to push a new Strudel drum pattern to the local REPL and start playback automatically.

Frequently Asked Questions about api

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I push Strudel code to the REPL using a REST API?

Use a REST API to push Strudel code and control playback programmatically. This eliminates manual UI interaction for live coding, enabling AI agents to autonomously input code and manage algorithmic music playback.

Can I automate algorithmic music composition without manual user input?

Automating algorithmic music composition is possible by using a REST API to push generated Strudel code and trigger playback. This enables AI agents to autonomously create music without direct user intervention.

How does real-time sync work when controlling Strudel playback programmatically?

Real-time sync uses Server-Sent Events to provide instant updates when code is pushed or playback state changes. This ensures the browser UI remains synchronized with programmatic REST API actions.

Does the Strudel REST API support checking REPL status and stopping playback?

The Strudel REST API supports checking the current REPL status, starting playback, and stopping it via HTTP requests. These functions allow complete programmatic control over the live coding environment.

What is the best way to integrate an AI agent with a live coding music REPL?

The best way to integrate an AI agent is through a REST API that pushes Strudel code to the REPL and controls playback. This method provides hands-free access for automated music composition workflows.