Dicklesworthstone

Frankensonos — Development skill for Claude Code

Development community

Memory-safe Rust controller for your own Sonos speakers on your own LAN — reliable SSDP/UPnP-SOAP/GENA interoperability (S1 + S2), a Spotify-library classical DJ, and a CLI + HTTP API + MCP server so.

How to install Frankensonos

This entry records only its repository, not the path inside it, so there is no exact command to give. Open Dicklesworthstone/frankensonos and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Frankensonos does

Memory-safe Rust controller for your own Sonos speakers on your own LAN — reliable SSDP/UPnP-SOAP/GENA interoperability (S1 + S2), a Spotify-library classical DJ, and a CLI + HTTP API + MCP server so AI agents can run the house, including off-LAN over Tailscale.

Alternatives in Development

  • StatsPAI — StatsPAI is the first Agent-native Python library for causal inference and applied econometrics — unified API 302 ★
  • Claude Code 配置管理器 V1.7.0 — 🎉 一款基于 Tauri 和 Rust 构建的现代化 Claude Code 配置管理工具,为开发者提供便捷的 API 配置管理解决方案 254 ★
  • Claude Code API Rs — A high-performance Rust implementation of an OpenAI-compatible API gateway for Claude Code CLI 135 ★

README

FrankenSonos

FrankenSonos illustration

**Your Sonos, your way.** A memory-safe Rust controller for the Sonos speakers you already own. It talks to them directly on your own network, so you can script them and let your own AI agents run them instead of the official app.

![status: pre-release](https://img.shields.io/badge/status-pre--release-orange) ![language: Rust 2024](https://img.shields.io/badge/Rust-2024%20(nightly)-dea584) ![license: MIT + rider](https://img.shields.io/badge/license-MIT%20%2B%20OpenAI%2FAnthropic%20rider-blue) ![interfaces: CLI · HTTP · MCP](https://img.shields.io/badge/interfaces-CLI%20%C2%B7%20HTTP%20%C2%B7%20MCP-7b4bff) ![networks: S1 + S2](https://img.shields.io/badge/Sonos-S1%20%2B%20S2-111)

**Status:** under active development (pre-`0.1.0`). The architecture, plan, and a green multi-crate workspace are in place; the control paths are being implemented against real hardware. The features and commands below describe the target design. See [Roadmap](#roadmap) for what works today.


The problem

Sonos hardware is excellent and long-lived, but the software around it often isn't: apps that lose devices, flaky discovery, grouping that fights you, and automation that is either impossible or breaks. The legacy S1 line (Play:5 Gen 1, Bridges) is frozen on unsupported firmware, and the S2 line has moved on without it. The Spotify Web API also cannot start playback on a Sonos at all, so "just script Spotify" doesn't work.

The solution

FrankenSonos is a local controller and daemon that speaks the speakers' own, long-documented local protocols: SSDP discovery, UPnP/SOAP control on port 1400, and GENA event subscriptions. [SoCo](https://github.com/SoCo/SoCo), [node-sonos](https://github.com/bencevans/node-sonos), and the [Home Assistant Sonos integration](https://www.home-assistant.io/integrations/sonos/) work the same way. FrankenSonos