Communitygithub.com

cli-anything-rekordbox

代理原生 CLI,可程式化驅動 Pioneer Rekordbox 6/7 的 DJ 資料庫與即時播放器。

cli-anything-rekordbox 是什麼?

cli-anything-rekordbox 是一個專為 AI 代理設計的命令列工具,能深入操控 Pioneer Rekordbox 6 和 7。它同時支援「資料庫操作」(透過 SQLCipher 讀寫加密的 master.db)與「即時播放器控制」(透過虛擬 MIDI 發送指令),讓代理程式可以搜尋曲目、管理播放清單、觸發 hot cue 及執行混音。支援 Windows、macOS 與 Linux,並提供標準的 --json 輸出格式,方便 AI 代理解析。安裝需依賴 Python 3.10+ 與虛擬 MIDI 驅動程式,適用於 Claude Code、Cursor 或其他支援 CLI 呼叫的代理平台。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/HKUDS/CLI-Anything/tree/main/skills/cli-anything-rekordbox

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

cli-anything-rekordbox 是做什麼的?

代理原生 CLI,可程式化驅動 Pioneer Rekordbox 6/7 的 DJ 資料庫與即時播放器。

安裝

pip install cli-anything-rekordbox

先決條件:

  • Python 3.10+
  • 已安裝 Rekordbox 6 或 7(master.db 必須存在)
  • 用於即時播放器控制的虛擬 MIDI 驅動程式:
    • Windows:loopMIDI / LoopBe / teVirtualMIDI
    • macOS:IAC Driver
    • Linux:ALSA 虛擬 MIDI(snd-virmidi)

用法

# 狀態檢查
cli-anything-rekordbox status

# REPL 模式
cli-anything-rekordbox

# 提供 JSON 輸出給代理使用
cli-anything-rekordbox --json library search "Daft Punk"

指令群組

Library(資料庫)

指令說明
count總曲目數量
search QUERY依標題/演出者子字串尋找曲目
info TRACK_ID完整曲目中繼資料
dump --out FILE.json匯出完整資料庫為 JSON

Playlist(播放清單)

指令說明
list列出所有播放清單
create NAME [--force] [--no-backup]建立新播放清單
add NAME --track-title T [--force] [--no-backup]新增曲目
clear NAME [--force] [--no-backup]清空播放清單

播放清單寫入操作會先備份 master.db。若 Rekordbox 正在執行,操作會拒絕執行,除非加上 --force;強制寫入仍會建立備份。--no-backup 僅在 Rekordbox 關閉時才接受。

Deck(即時 MIDI)

指令說明
play --deck N播放/暫停
sync --deck N節奏同步
crossfade FROM TO --secs S平滑淡化音訊
eq --deck N --hi --mid --loEQ 控制
hot-cue --deck N --slot 1-8觸發 hot cue

頂層

指令說明
status執行環境 / 資料庫 / MIDI 狀態
install-mapping將 Bunker.midi.csv 放入 rekordbox 的 MidiMappings 資料夾
mix A B --secs S高層級操作:搜尋 + 載入 + 同步 + 淡化

運作方式

+------------------+
|   您的代理       |
+--------+---------+
         |
         v
+------------------+
| cli-anything-    |
| rekordbox CLI    |
+--------+---------+
   |          |
   v          v
+----------+  +----------+
|pyrekord- |  |  mido +  |
|box DB    |  |  虛擬     |
|寫入操作   |  |  MIDI    |
+----------+  +----------+
   |               |
   v               v
+----------+  +-----------+
| master.db|  | Rekordbox |
|SQLCipher |  | 即時播放器 |
+----------+  +-----------+
  • master.db 使用所有 rekordbox 6/7 安裝共用的靜態 AES-256 金鑰加密(由 pyrekordbox 自動提取)
  • 虛擬 MIDI 對映採用 Pioneer 標準的 .midi.csv 格式;此 CLI 附帶 Bunker.midi.csv 及 install-mapping 指令,可將其放入 rekordbox 的 MidiMappings/ 資料夾

JSON 輸出

每個指令都支援 --json:

$ cli-anything-rekordbox --json library count
{"track_count": 30344}

授權

MIT

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

cli-anything-adguardhome

>-

cli-anything-anygen

>-

cli-anything-audacity

>-

cli-anything-blender

>-

cli-anything-browser

Browser automation CLI using DOMShell MCP server. Maps Chrome

cli-anything-calibre

>-

cli-anything-ccswitch

CLI interface for CC Switch — manage AI coding tool configurations from the terminal

cli-anything-chromadb

>-

cli-anything-cloudanalyzer

Command-line interface for CloudAnalyzer — Agent-friendly harness for CloudAnalyzer, a QA platform for mapping, localization, and perception outputs. Supports 27 commands across 8 groups: point cloud evaluation, trajectory evaluation, ground segmentation QA, config-driven quality gates, baseline evolution, processing, visualization, and interactive REPL.

cli-anything-cloudcompare

Command-line interface for CloudCompare — Agent-friendly harness for CloudCompare, the open-source 3D point cloud and mesh processing software. Supports 41 commands across 9 groups: project management, session control, point cloud operations (subsample, filter, segment, analyze), mesh operations, distance computation (C2C, C2M), transformations (ICP, matrix), export (LAS/LAZ/PLY/PCD/OBJ/STL/E57), and interactive REPL.

cli-anything-comfyui

>-

cli-anything-dify-workflow

Wrapper for the Dify workflow DSL CLI. Create, inspect, validate, edit, and export Dify workflow files through a CLI-Anything harness.

cli-anything-drawio

>-

cli-anything-eez-studio

Use EEZ Studio from the command line: inspect and modify native .eez-project files, edit LVGL screens/widgets, manage SCPI commands, and invoke the real EEZ Studio backend for LVGL builds.

cli-anything-eth2-quickstart

>-

cli-anything-exa

>-

cli-anything-firefly-iii

Firefly III CLI - Personal finance management via CLI-Anything

cli-anything-freecad

Complete CLI harness for FreeCAD parametric 3D CAD modeler (258 commands). Covers ALL workbenches: Part (29 primitives + boolean + mirror + loft + sweep), Sketcher (26 cmds: geometry + constraints + editing), PartDesign (38 cmds: pad/pocket/groove/fillet/chamfer/patterns/hole/datum), Assembly (11 cmds), Mesh (16 cmds), TechDraw (15 cmds: views + dimensions + PDF/SVG), Draft (33 cmds: 2D shapes + arrays + transforms), FEM (12 cmds), CAM/CNC (10 cmds), Surface (6 cmds), Spreadsheet (7 cmds), Import (13 formats), Export (17 formats), Measure (12 cmds), Materials (21 presets). Headless FreeCAD export to STEP/IGES/STL/OBJ/DXF/PDF/glTF/3MF.

cli-anything-gimp

>-

cli-anything-godot

>-

相關技能