跳到正文
Skillpedia
音频与语音58k · #3240

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/HKUDS/CLI-Anything/blob/main/rekordbox/agent-harness/cli_anything/rekordbox/skills/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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.db must 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.csv format; this CLI ships Bunker.midi.csv and an install-mapping command to drop it into rekordbox's MidiMappings/ 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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能