cli-anything-rekordbox
它能做什么
这个技能让 AI 智能体使用 Rekordbox。它是一款用于管理音乐库的 DJ 软件。适合希望获得查找曲目、制作播放列表或控制打碟机帮助的 DJ。
适用场景
- ✓当你想按歌名或歌手名在音乐库中查找曲目的时候。
- ✓当你需要用你挑选的曲目制作一个新播放列表的时候。
- ✓当你希望智能体协助现场打碟操作,例如播放、同步或交叉淡化的时候。
技能链接
https://github.com/HKUDS/CLI-Anything/blob/main/rekordbox/agent-harness/cli_anything/rekordbox/skills/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我在 Rekordbox 音乐库中搜索 Daft Punk 的曲目,并制作一个名为 Warm Up 的播放列表。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体读取你的 Rekordbox 数据库,并可在做好备份后把曲目添加到播放列表中。现场打碟控制通过虚拟 MIDI 连接实现,前提是 Rekordbox 处于打开状态。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
cli-anything-rekordbox
Agent-native CLI for Pioneer Rekordbox 6/7. Drives the DJ library and live decks programmatically.
Installation
pip install cli-anything-rekordbox
Prerequisites:
- Python 3.10+
- Rekordbox 6 or 7 installed (
master.dbmust exist) - Virtual MIDI driver for live-deck control:
- Windows: loopMIDI / LoopBe / teVirtualMIDI
- macOS: IAC Driver
- Linux: ALSA virtual MIDI (
snd-virmidi)
Usage
# Status check
cli-anything-rekordbox status
# REPL mode
cli-anything-rekordbox
# JSON output for agents
cli-anything-rekordbox --json library search "Daft Punk"
Command Groups
Library
| Command | Description |
|---|---|
count |
Total track count |
search QUERY |
Find tracks by title/artist substring |
info TRACK_ID |
Full track metadata |
dump --out FILE.json |
Export full library as JSON |
Playlist
| Command | Description |
|---|---|
list |
All playlists |
create NAME [--force] [--no-backup] |
New playlist |
add NAME --track-title T [--force] [--no-backup] |
Add track |
clear NAME [--force] [--no-backup] |
Empty a playlist |
Playlist writes create a master.db backup before mutation. They refuse to run
while Rekordbox is open unless --force is supplied; forced writes still require
a backup. --no-backup is only accepted when Rekordbox is closed.
Deck (live MIDI)
| Command | Description |
|---|---|
play --deck N |
Play/pause |
sync --deck N |
Tempo sync |
crossfade FROM TO --secs S |
Smooth crossfade |
eq --deck N --hi --mid --lo |
EQ control |
hot-cue --deck N --slot 1-8 |
Trigger hot cue |
Top-level
| Command | Description |
|---|---|
status |
Runtime / DB / MIDI state |
install-mapping |
Drop Bunker.midi.csv into rekordbox's MidiMappings folder |
mix A B --secs S |
High-level: search + load + sync + crossfade |
How it works
+------------------+
| Your Agent |
+--------+---------+
|
v
+------------------+
| cli-anything- |
| rekordbox CLI |
+--------+---------+
| |
v v
+----------+ +----------+
|pyrekord- | | mido + |
|box DB | | virtual |
|writes | | MIDI |
+----------+ +----------+
| |
v v
+----------+ +-----------+
| master.db| | Rekordbox |
|SQLCipher | | live decks|
+----------+ +-----------+
- master.db is encrypted with a static AES-256 key shared by all rekordbox 6/7 installs (auto-extracted by pyrekordbox)
- Virtual MIDI mapping uses Pioneer's standard
.midi.csvformat; this CLI shipsBunker.midi.csvand aninstall-mappingcommand to drop it into rekordbox'sMidiMappings/folder
JSON output
Every command supports --json:
$ cli-anything-rekordbox --json library count
{"track_count": 30344}
License
MIT
常见问题
它会安全地修改我的音乐库吗?
修改播放列表前会先备份数据库,这样出现问题时可以恢复。
Rekordbox 打开时可以写入播放列表吗?
除非你强制执行,否则 Rekordbox 打开时会阻止写入播放列表,并且仍会先进行备份。
现场打碟控制需要什么?
你需要一个虚拟 MIDI 驱动,例如 Windows 上的 loopMIDI、macOS 上的 IAC Driver,或 Linux 上的 ALSA。
详情
作者的原始描述
Command-line interface for Pioneer Rekordbox 6/7 - DJ library and live-deck control via guarded SQLCipher master.db access (pyrekordbox) + virtual MIDI mapping. Provides library inspection, playlist creation/add/clear, and live-deck mixing (play/sync/crossfade/EQ). Pioneer ships no playback REST API; this harness combines the only two real surfaces (encrypted DB + MIDI) into one agent-native CLI.
repo: HKUDS/CLI-Anything
热度
- GitHub 星标
- 58k
- 排名
- #3240
- 许可证
- Apache-2.0
- 更新时间
- 2026/9/21
评论
- …
同一仓库的更多技能
cli-anything-3mf
58k帮你的智能体检查和修复 3D 打印文件,包括查找圆孔、调整孔径、修复网格,以及比较两个文件。
cli-anything-qgis
58k帮你的智能体在终端中打开、编辑和导出 QGIS 地图项目,包括图层、要素、打印布局和处理工具。
cli-anything-adguardhome
58k帮你的智能体管理 AdGuard Home,这是一款全网络广告拦截器,可管理过滤规则、DNS 重写、客户端和查询日志。
cli-anything-anygen
58k帮你的智能体借助 AnyGen 服务,根据文字提示生成幻灯片、文档、网站和图表。