šµ Play Music Skill
**Controlled music player with pause/resume/stop support**
Best use case
šµ Play Music Skill is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
**Controlled music player with pause/resume/stop support**
Teams using šµ Play Music Skill should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/play-music/SKILL.mdinside your project - Restart your AI agent ā it will auto-discover the skill
How šµ Play Music Skill Compares
| Feature / Agent | šµ Play Music Skill | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
**Controlled music player with pause/resume/stop support**
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
AI Agents for Marketing
Discover AI agents for marketing workflows, from SEO and content production to campaign research, outreach, and analytics.
AI Agents for Startups
Explore AI agent skills for startup validation, product research, growth experiments, documentation, and fast execution with small teams.
AI Agents for Coding
Browse AI agent skills for coding, debugging, testing, refactoring, code review, and developer workflows across Claude, Cursor, and Codex.
SKILL.md Source
# šµ Play Music Skill **Controlled music player with pause/resume/stop support** Single entry point, background server for full control ## Quick Start 1. **Place music files** in a `music` folder (default) or set `MUSIC_DIR` environment variable 2. **Install pygame** (recommended for full control): `pip install pygame` 3. **Use**: `./play-music play` ## Single Entry Point The skill has **one clear entry point**: `./play-music` ### Command Interface ``` ./play-music help - Show this help ./play-music list - List available songs ./play-music play - Play default song ./play-music pause - Pause currently playing music ./play-music resume - Resume paused music ./play-music stop - Stop currently playing music ./play-music status - Show playback status ./play-music <filename> - Play specific song (e.g., song.mp3) ./play-music server-start - Start music server manually ./play-music server-stop - Stop music server ``` ## Examples ```bash # Play the default song ./play-music play # Play a specific song ./play-music song.mp3 # Control playback ./play-music pause ./play-music resume ./play-music stop # See what's available ./play-music list ``` ## Features ā **Single entry point** - No confusion about which script to use ā **Full playback control** - Play, pause, resume, stop ā **Resource-efficient** - Server auto-starts when needed, auto-stops when music stops ā **Clean architecture** - Client-server separation ā **Pygame-based** - High quality audio playback ā **Cross-platform** - macOS/Windows/Linux compatible ## Setup ### 1. Install Pygame (Recommended) For full pause/resume/stop control: ```bash pip install pygame ``` ### 2. Add Music Files Place your music files in: - Default: `./music` (relative to script location) - Custom: Set `MUSIC_DIR` environment variable ### 3. Configuration ```bash # Set custom music directory export MUSIC_DIR="/path/to/your/music" # Set default song name export DEFAULT_SONG="my-song.mp3" ``` ## How It Works The skill uses a clean client-server architecture: 1. **`play-music`** - Single entry point (Python script combining client functionality) 2. **`music-server.py`** - Background server that handles music playback 3. **Pygame mixer** - For high-quality audio with full control **Resource-efficient design:** The server auto-starts when you play music and auto-shuts down when you stop music. This saves system resources while maintaining the convenience of the client-server architecture. ## Troubleshooting **"No music playing" when trying to pause/resume/stop** Start playing music first: `./play-music play` **"Music directory not found"** Create the directory: `mkdir music` or set `MUSIC_DIR` environment variable **"Pygame not installed"** Install it: `pip install pygame` **Server won't start** Check if port 12346 is available, or kill existing servers: ```bash pkill -f "music-server.py" ./play-music server-start ``` ## File Structure ``` play-music/ āāā play-music # Single entry point (Python script) āāā music-server.py # Background server āāā SKILL.md # This documentation āāā README.md # User documentation āāā _meta.json # Skill metadata āāā .gitignore # Git ignore file ``` **Clean and minimal** - No redundant files, clear structure. ## Integration with OpenClaw When this skill is registered with OpenClaw, use it for music playback tasks. The skill provides the knowledge and tools to control music playback with pause/resume/stop support.
Related Skills
Product Launch Playbook
You are a Product Launch Strategist. You guide users through planning, executing, and optimizing product launches ā from pre-launch validation through post-launch growth. This system works for SaaS, physical products, services, marketplaces, and content products.
M&A Playbook ā Merger & Acquisition Framework
You are a mergers and acquisitions advisor. When the user asks about M&A ā buying a company, selling their business, due diligence, deal structuring, integration planning, or valuation ā use this framework.
Incident Response Playbook
Structured incident response for business and IT teams. Guides you through detection, triage, containment, resolution, and post-mortem ā with auto-generated timelines and action items.
Debt Collection & Recovery Playbook
Generate compliant debt recovery strategies, collection letter sequences, and payment plan frameworks.
Customer Success Playbook
Build and run a customer success operation for B2B SaaS. Covers the full lifecycle: onboarding, health scoring, QBRs, churn prevention, and expansion revenue.
Crisis Management & Communications Playbook
You are the Crisis Management Officer ā a specialized agent that helps organizations detect, respond to, contain, and recover from business crises. You provide structured frameworks for PR incidents, data breaches, operational failures, legal threats, executive departures, financial shocks, and reputational damage.
Crisis Communication Playbook
Generate a crisis communication plan with holding statements, stakeholder messaging, media responses, and internal comms templates.
AI Agent Manager Playbook
Your company deployed AI agents. Now what? This skill turns you into the person who actually makes them productive ā the Agent Manager.
é®äøå®¶ęč½ - ä½æēØ Playwriter ę§å¶å·²ē»å½ēęµč§åØ
## ęč½ęčæ°
cyber-ir-playbook
Build incident response timelines and report packs from event logs. Use for detection-to-recovery reporting, phase tracking, and stakeholder-ready incident summaries.
audio-play
Play audio files using Windows media player. Non-blocking execution.
ohyesai-music
Generate custom music tracks (vocal or instrumental) via OhYesAI asynchronously.