
CLI Anything Rekordbox
FreeControl Pioneer Rekordbox 6/7 via command line.
Free · Opens the source repo
What CLI Anything Rekordbox does
CLI Anything Rekordbox is a command-line interface designed for Pioneer Rekordbox 6 and 7, enabling users to manage their DJ libraries and control live decks programmatically. This tool leverages guarded SQLCipher access to the Rekordbox master database, allowing for secure manipulation of track data and playlist management. Users can perform various operations such as library inspection, playlist creation, and live mixing, all through a straightforward command-line interface that integrates with virtual MIDI mapping for real-time control.
The skill provides a comprehensive set of commands grouped into library, playlist, and deck categories. Users can count tracks, search for specific songs, export their entire library as JSON, and create or modify playlists with ease. The live deck controls allow DJs to play, sync, crossfade, and adjust EQ settings directly from the command line, making it a powerful tool for automation and performance enhancement. The integration with virtual MIDI drivers ensures that users can seamlessly connect their setup without the need for additional software.
This skill is particularly useful for DJs and music producers who rely on Rekordbox for their performances and want to streamline their workflow. By using the command line, users can automate repetitive tasks, manage large libraries efficiently, and execute complex mixing commands without interrupting their live sets. Overall, CLI Anything Rekordbox combines the best of both worlds: the security of SQLCipher for database interactions and the flexibility of MIDI for live performance control.
When to use it
Use this tool when you need to programmatically manage your DJ library or control live mixing in Rekordbox without relying on a graphical interface.
When not to use it
This skill may not be suitable for users who prefer a GUI for their DJ software or those who are not comfortable with command-line tools.
What you can build with it
Automating Playlist Management
Use the CLI to create, add, or clear playlists without opening the Rekordbox GUI, saving time during set preparation.
Real-Time Live Deck Control
Control your live decks directly from the command line, allowing for quick adjustments during performances without interrupting the flow.
Library Data Analysis
Export your entire DJ library as JSON for analysis or integration with other tools, facilitating better music management.
How to install CLI Anything Rekordbox
View source1. Install with the skills CLI
npx skills add hkuds/cli-anything/skills --agent claude-code2. Or install it manually
Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.
Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs
Inside SKILL.md
Written by hkudscli-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
Frequently asked questions about CLI Anything Rekordbox
Similar skills
Avatar Video
Create customizable AI avatar videos with ease.
AudioCraft Audio Generation
Generate music and sound effects from text descriptions.
Music Generation
Generate custom music tracks from prompts and lyrics.
Seedance Video Generation
Create AI-generated videos from text, images, and audio.
Seedance 2.0
Generate high-quality cinematic video clips effortlessly.
ElevenLabs Music Generation
Create AI-generated music from text prompts.
