Communitygithub.com

cli-anything-rekordbox

Pioneer Rekordbox 6/7 向けのエージェントネイティブCLI。プログラム的にDJライブラリとライブデッキを操作します。

cli-anything-rekordbox とは?

cli-anything-rekordboxは、AIエージェント(Claude Code、Cursorなど)がPioneer Rekordbox 6および7を直接操作できるようにするコマンドラインツールです。ライブラリの検索・管理、プレイリストの作成・編集、MIDIによるライブデッキ制御(再生、同期、クロスフェード、EQ調整、ホットキュー発火)など、DJワークフローの自動化を実現します。内部ではpyrekordboxライブラリを用いて暗号化されたmaster.db(SQLCipher)に読み書きし、midoと仮想MIDIドライバを通じてRekordboxのライブデッキにMIDI信号を送信します。すべてのコマンドはJSON出力に対応しており、エージェントが構造化データを容易に処理できます。Windows、macOS、Linuxに対応し、各プラットフォームで適切な仮想MIDIドライバの設定が必要です。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/HKUDS/CLI-Anything/tree/main/skills/cli-anything-rekordbox

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

cli-anything-rekordbox は何をしますか?

Pioneer Rekordbox 6/7 向けのエージェントネイティブCLI。プログラム的にDJライブラリとライブデッキを操作します。

インストール

pip install cli-anything-rekordbox

前提条件:

  • Python 3.10+
  • Rekordbox 6 または 7 がインストールされていること(master.db が存在すること)
  • ライブデッキ制御のための仮想MIDIドライバ:
    • Windows: loopMIDI / LoopBe / teVirtualMIDI
    • macOS: IAC Driver
    • Linux: ALSA virtual MIDI(snd-virmidi)

使い方

# ステータス確認
cli-anything-rekordbox status

# REPLモード
cli-anything-rekordbox

# エージェント向けJSON出力
cli-anything-rekordbox --json library search "Daft Punk"

コマンドグループ

ライブラリ

コマンド説明
count総トラック数
search QUERYタイトル/アーティストの部分一致でトラックを検索
info TRACK_IDトラックの全メタデータ
dump --out FILE.json全ライブラリをJSONとしてエクスポート

プレイリスト

コマンド説明
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が閉じている場合のみ受け付けられます。

デッキ(ライブ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ホットキューを発火

トップレベル

コマンド説明
statusランタイム/DB/MIDIの状態
install-mappingBunker.midi.csv をrekordboxのMidiMappingsフォルダに配置
mix A B --secs S高レベル操作:検索+ロード+同期+クロスフェード

仕組み

+------------------+
|   あなたのエージェント   |
+--------+---------+
         |
         v
+------------------+
| cli-anything-    |
| rekordbox CLI    |
+--------+---------+
   |          |
   v          v
+----------+  +----------+
|pyrekord- |  |  mido +  |
|box DB    |  |  virtual |
|書き込み    |  |  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

>-

関連スキル