Install
openclaw skills install go-music-skillSearch songs, download playable audio, fetch lyrics, parse music share links, configure platform cookies, and switch music sources through a local go-music-api backend on Linux, macOS, and Windows. Use when the user asks to search music, play or download a song, get lyrics, resolve music share links, configure cookies for login-required tracks, or retry playback from another source after failures. If the backend is missing or unhealthy, install and start go-music-api first.
openclaw skills install go-music-skillUse this skill to install and run a local go-music-api backend, search tracks across sources, download audio, embed metadata, and recover from source failures.
Prefer the bundled scripts instead of reimplementing the flow by hand.
scripts/install.sh and scripts/play.sh.docs/windows.md before proceeding.docs/cookies.md.Run:
scripts/install.sh
The install script should:
go-music-api into ~/.openclaw/musicRun:
scripts/play.sh "稻香" "$HOME/.openclaw/media/daoxiang.mp3"
The play script should:
data.data, data.list, or data.songsscripts/embed_metadata.py to write title, artist, album, cover art, and embedded lyrics when availablePrefer saving final media under a sendable location such as ~/.openclaw/media/.
Use this only for debugging or when the helper scripts need changes.
~/.openclaw/music/port on Linux/macOS or %USERPROFILE%\.openclaw\music\port on Windows; default to 8080 if absent.GET /api/v1/music/search?q={q}.data.* collections.GET /api/v1/music/stream?id={id}&source={source}.stream response as audio bytes, not JSON.GET /api/v1/music/switch?... to switch source and retry.docs/cookies.md, set them with POST /api/v1/system/cookies, and verify with GET /api/v1/system/cookies.GET /api/v1/music/lyric?id={id}&source={source} when needed.Runtime files live under ~/.openclaw/music (Linux/macOS) or %USERPROFILE%\.openclaw\music (Windows):
go-music-api (Linux/macOS) or go-music-api.exe (Windows)log.txtpidportcache-index.jsoncurl, tar, unzip, and file (Linux/macOS) or the Windows requirements in docs/windows.md..deb or .rpm packages.mutagen are available. If not, skip metadata embedding or install the dependency before retrying./api/v1/system/cookies before switching sources.log.txt.