Inspect Yandex Music via the MarshalX yandex-music library. Use when the user wants Yandex Music search, current track lookup, liked tracks, playlists, or a...
Use the bundled helper script for deterministic operations instead of rewriting API snippets.
references/token-and-control.md.YM_TOKEN or the workspace config file.scripts/ymctl.py auth-check
Prefer the skill-local virtualenv interpreter when present:
./.venv/bin/python scripts/ymctl.py ...
If .venv is missing, create it and install the library:
python3 -m venv .venv
./.venv/bin/pip install yandex-music
./.venv/bin/python scripts/ymctl.py auth-set <TOKEN>
./.venv/bin/python scripts/ymctl.py auth-set <TOKEN> --device '<device-id>'
./.venv/bin/python scripts/ymctl.py auth-where
./.venv/bin/python scripts/ymctl.py auth-clear
Default config path:
/root/.openclaw/workspace/.openclaw/yandex-music-control/config.json
Search tracks:
./.venv/bin/python scripts/ymctl.py search 'кино группа крови'
./.venv/bin/python scripts/ymctl.py search 'масло черного тмина' --type artist
Current track:
./.venv/bin/python scripts/ymctl.py now-playing
Likes and playlists:
./.venv/bin/python scripts/ymctl.py likes --limit 20
./.venv/bin/python scripts/ymctl.py playlists
./.venv/bin/python scripts/ymctl.py like 'shortparis страшно'
./.venv/bin/python scripts/ymctl.py unlike 'shortparis страшно'
now-playing uses a local Ynison websocket probe for modern clients.scripts/ymctl.pyreferences/token-and-control.mdZIP package — ready to use