Roon Controller Skill for Openclaw

A sophisticated Roon music player integration for AI agents featuring automatic core discovery, zone management, and multi-language command support.

puterjam
v1.0.3
Jan 29, 2026
3
2.9k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install roon-controller

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 roon-controller 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 Roon Controller Skill?

The roon-controller is a specialized tool designed to bridge the gap between AI coding agents and high-fidelity audio systems. By leveraging the official Roon API, this skill enables programmatic control over music playback, zone selection, and track metadata retrieval. It is a core component for developers looking to build media-aware automations within the Openclaw Skills ecosystem, offering a reliable way to interact with local audio hardware without manual configuration of IP addresses or ports.

This skill excels at simplifying the complex Roon authentication process by handling token persistence and automatic discovery of the Roon Core on a local network. Whether you are building a voice-controlled home assistant or a productivity dashboard that manages your background music, this skill provides the necessary technical infrastructure to make Roon an integrated part of your smart environment.

Roon Controller Skill Use Cases

  • Automating home audio playback through natural language or voice-activated AI agents.
  • Synchronizing music playback with specific coding workflows or time-based triggers.
  • Developing custom dashboards to monitor high-fidelity audio streams across multiple house zones.
  • Enabling non-English speakers to control their audio environment using native Chinese commands.

How Roon Controller Skill Works

  1. The skill utilizes the roonapi library to broadcast a discovery request and locate a Roon Core on the local area network.
  2. On the initial execution, the user authorizes the extension within the Roon application, after which the skill securely stores an authentication token in a local JSON configuration file.
  3. The agent identifies available audio zones, applying filters to find specific hardware like Muspi-enabled zones or user-defined defaults.
  4. Commands such as play, pause, or track skipping are translated into API calls and transmitted to the Roon Core in real-time.
  5. The skill parses the response from the Core and returns detailed playback metadata, including track titles, artists, and seek positions, back to the AI agent.

Roon Controller Skill Setup

To integrate this capability into your project, install the required Python dependency first:

pip install roonapi

Ensure your device is connected to the same network as your Roon Core. Upon the first run, navigate to the Roon application settings to authorize the new extension. The skill will automatically generate a configuration file at ~/clawd/roon_config.json to store your access tokens and zone preferences.

Roon Controller Skill Data Schema & Taxonomy

The roon-controller organizes its operations and persistent data through a structured schema:

Data Type Description Path / Format
Configuration Stores auth tokens and active zone IDs ~/clawd/roon_config.json
Track Info Returns track name, artist, album, and duration JSON Object
Command Result Standardized success flag and status message Dictionary
Zone List Provides a list of all discoverable audio outputs Array of Strings

All methods return a unified dictionary structure to ensure compatibility with different Openclaw Skills implementations.

Roon Controller Skill Advanced Features

  • Intelligent zone filtering that automatically prioritizes hardware ending with the muspi suffix.
  • Built-in natural language processing for Chinese trigger words like 切歌 (next track) and 暂停 (pause).
  • Persistent state management that remembers the last used audio zone across different sessions.
  • Comprehensive CLI tool support for direct terminal-based control and quick status checks.
  • Automatic re-connection logic that handles network interruptions or Roon Core restarts without user intervention.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*