返回顶部
y

yandex-music-controlYandex音乐控制

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 reusable helper for Yandex Music tokens.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
242
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

yandex-music-control

Yandex Music Control

使用捆绑的辅助脚本执行确定性操作,而非重写 API 片段。

首次使用

  1. 1. 阅读 references/token-and-control.md。
  2. 检查令牌是否已通过 YM_TOKEN 或工作区配置文件可用。
  3. 如果缺少令牌,请向用户索要令牌或引导其提供令牌;不要自行编造提取流程。
  4. 使用以下命令验证令牌:

bash
scripts/ymctl.py auth-check

运行时

优先使用技能本地的虚拟环境解释器(若存在):

bash
./.venv/bin/python scripts/ymctl.py ...

如果 .venv 缺失,则创建它并安装库:

bash
python3 -m venv .venv
./.venv/bin/pip install yandex-music

保存令牌

bash
./.venv/bin/python scripts/ymctl.py auth-set
./.venv/bin/python scripts/ymctl.py auth-set --device
./.venv/bin/python scripts/ymctl.py auth-where
./.venv/bin/python scripts/ymctl.py auth-clear

默认配置路径:

text
/root/.openclaw/workspace/.openclaw/yandex-music-control/config.json

常用命令

搜索曲目:

bash
./.venv/bin/python scripts/ymctl.py search кино группа крови
./.venv/bin/python scripts/ymctl.py search масло черного тмина --type artist

当前曲目:

bash
./.venv/bin/python scripts/ymctl.py now-playing

喜欢与播放列表:

bash
./.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 使用本地 Ynison WebSocket 探测功能,适用于现代客户端。
  • 不要将密钥回显到聊天中。
  • 令牌处理应仅限于环境变量或工作区配置文件。

文件

  • - 辅助脚本:scripts/ymctl.py
  • 控制/令牌说明:references/token-and-control.md

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 yandex-music-1776184455 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 yandex-music-1776184455 技能

通过命令行安装

skillhub install yandex-music-1776184455

下载

⬇ 下载 yandex-music-control v1.0.0(免费)

文件大小: 7.45 KB | 发布时间: 2026-4-15 10:49

v1.0.0 最新 2026-4-15 10:49
- Initial release of the Yandex Music control skill using the MarshalX yandex-music library.
- Provides search, current track lookup, liked tracks, and playlists lookup via bundled helper script.
- Adds workflow for Yandex Music token setup, validation, and storage using scripts/ymctl.py.
- Emphasizes deterministic script use instead of ad-hoc API snippets.
- Keeps token management local and never exposes secrets in chat.
- Clear, command-based interface for common Yandex Music queries and actions.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部