Search

PythonReactSEOPDF
OpenClaw

Play Music

๐ŸŽต Play Music Skill

awspace0 source installsโ˜† 0 Repository stars

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install awspace/play-music

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source โ†—Guides

Skill instructions

๐ŸŽต 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

# 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:

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
# Set custom music directory
export MUSIC_DIR="/path/to/your/music"

# Set default...

Source information

Source
github
Repository
openclaw/skills
Path
skills/awspace/play-music
Version
โ€”
Commit
18453b43023763a2c012cb81b3d1989fb444c1e0
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

README

๐ŸŽต Play Music Skill

Controlled music player with pause/resume/stop support
Single entry point, background server for full control

Quick Start

  1. Clone or download this repository
  2. Install pygame (recommended for full control): pip install pygame
  3. Place music files in a music folder in the same directory
  4. Make executable: chmod +x play-music
  5. 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

Configuration

Environment Variables

You can customize the behavior using environment variables:

# Set custom music directory
export MUSIC_DIR="/path/to/your/music"

# Set default song name
export DEFAULT_SONG="my-favorite-song.mp3"

# Set custom lock file location (optional)
export MUSIC_LOCK_FILE="/tmp/my_music_player.lock"
Default Behavior
  • Music directory: ./music (relative to script location)
  • Default song: jaychou-sunnyday.mp3 (or set via DEFAULT_SONG)
  • Lock file: /tmp/music_player.lock (for server coordination)

Examples

# Play the default song
./play-music play

# Play a specific song
./play-music my-song.mp3

# Control playback
./play-music pause
./play-music resume
./play-music stop

# See what's available
./play-music list

# Use custom music directory
MUSIC_DIR=~/Music ./play-music play

# Set default song and play
DEFAULT_SONG="background-music.mp3" ./play-mus...

Extracted content

SKILL.md
# ๐ŸŽต 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...
README
# ๐ŸŽต Play Music Skill

**Controlled music player with pause/resume/stop support**  
Single entry point, background server for full control

## Quick Start

1. **Clone or download** this repository
2. **Install pygame** (recommended for full control): `pip install pygame`
3. **Place music files** in a `music` folder in the same directory
4. **Make executable**: `chmod +x play-music`
5. **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
```

## Configuration

### Environment Variables

You can customize the behavior using environment variables:

```bash
# Set custom music directory
export MUSIC_DIR="/path/to/your/music"

# Set default song name
export DEFAULT_SONG="my-favorite-song.mp3"

# Set custom lock file location (optional)
export MUSIC_LOCK_FILE="/tmp/my_music_player.lock"
```

### Default Behavior

- **Music directory**: `./music` (relative to script location)
- **Default song**: `jaychou-sunnyday.mp3` (or set via DEFAULT_SONG)
- **Lock file**: `/tmp/music_player.lock` (for server coordination)

## Examples

```bash
# Play the default song
./play-music play

# Play a specific song
./play-music my-song.mp3

# Control playback
./play-music pause
./play-music resume
./play-music stop

# See what's available
./play-music list

# Use custom music directory
MUSIC_DIR=~/Music ./play-music play

# Set default song and play
DEFAULT_SONG="background-music.mp3" ./play-mus...

Related skills

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...

OpenClaw

geo-optimization

capt-marbles

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...

OpenClaw

0protocol

0isone

Agents can sign plugins, rotate credentials without losing identity, and publicly attest to behavior.

OpenClaw

0x0-messenger

eijiac24

Send and receive P2P messages using disposable numbers and PINs. No servers, no accounts. Use for human notifications, approval flows, and agent-to-agent communication.