Music Player Skill for Openclaw

A local media controller that allows AI agents to manage music playback through the MPV media player and organized local directories.

samuelwhg
v1.0.0
Feb 5, 2026
0
0
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install player

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install player using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Music Player Skill?

The Music Player Skill is designed to bridge the gap between AI agents and local media environments. By leveraging the power of Openclaw Skills, this tool provides a programmatic interface to control the MPV media player, specifically targeting a dedicated music directory (F:\Music). It allows for seamless integration of music management into a developer's daily workflow without leaving the command environment.

This skill provides comprehensive control over a local audio library, including metadata search and directory-wide playback. It is optimized for users who maintain a high-quality local music collection and require a lightweight, scriptable way to handle audio streams via Openclaw Skills.

Music Player Skill Use Cases

  • Automatically playing background music during focused coding sessions.
  • Searching and playing specific tracks or artists using natural language commands.
  • Managing local audio libraries by querying statistics and directory contents.
  • Triggering random shuffle play for music discovery within a personal collection.

How Music Player Skill Works

  1. The skill scans the configured music library path (F:\Music) to index available audio files.
  2. When a command is received, the skill parses parameters like song names, artist names, or directory paths.
  3. It uses the Python subprocess module to initialize the MPV media player located at a specific binary path.
  4. Commands for playback, pausing, or stopping are sent as arguments or signals to the MPV process.
  5. The skill returns status updates or library information to the user interface via Openclaw Skills protocols.

Music Player Skill Setup

To get started with this skill, ensure your environment meets the following requirements:

  1. Install Python 3.x on your system.
  2. Install the MPV player. Ensure the executable is located at E:\software\mpv-x86_64\mpv.exe or update the skill configuration accordingly.
  3. Place your audio files in the F:\Music directory.
  4. Register the skill within your agent configuration to enable Openclaw Skills functionality.
# Standard Python libraries used:
# - subprocess (for process management)
# - json (for data handling)

Music Player Skill Data Schema & Taxonomy

The skill organizes data based on the filesystem structure of the music library and the MPV execution parameters:

Attribute Description
Binary Path The absolute path to the mpv.exe file used for playback.
Library Path The root directory where music files are stored (F:\Music).
Search Keys Metadata used for matching, including song titles and artist names.
Statistics Data regarding the total number of files and directory hierarchy.

Music Player Skill Advanced Features

  • Support for recursive directory playback to listen to entire albums or genres.
  • Randomized 'Shuffle' mode for non-linear music discovery.
  • Real-time library info summaries to track your collection size and structure.
  • Low-latency control via direct subprocess manipulation, compatible with most Openclaw Skills workflows.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*