A YAML-based playlist standard, Claude-powered generation pipeline, and music service export tool. Part of the Hexfield ecosystem.
Hexfield Queue is two things:
-
A playlist standard — an open, human-writable, AI-generatable YAML schema for describing playlists. Service-agnostic. Lives in Git. Diffable, readable, forkable.
-
A translation pipeline — takes conforming
.queue.yamlfiles and exports them to music services. MVP: Apple Music via CSV.
It is not a web app. The editing experience is your text editor. The visual experience is Hexfield Deck.
npm install
# Validate a queue file
node scripts/validate.js examples/intro-black-pistol-fire.queue.yaml
# Export to Apple Music CSV
node scripts/export-apple-music.js examples/intro-black-pistol-fire.queue.yamlQueue files use the .queue.yaml extension. Here's a minimal example:
version: "0.1"
meta:
title: "Friday Night Drive"
created: "2026-03-26"
generated_by: "human"
tracks:
- type: track
title: "Running Down a Dream"
artist: "Tom Petty"
album: "Full Moon Fever"
year: 1989
- type: album
title: "Rumours"
artist: "Fleetwood Mac"
year: 1977
notes: "Play in full."See spec/schema-v0.1.md for the full schema reference.
Drop the contents of prompts/system-prompt.md into a Claude conversation as the system prompt, then describe your playlist in natural language. Claude outputs a valid .queue.yaml directly.
node scripts/export-apple-music.js <file.queue.yaml>
# → outputs [playlist-title].csvImport the CSV via File → Library → Import Playlist... in the Music app on macOS.
Hexfield Deck renders .queue.yaml files as draggable song/album cards in a VS Code webview. Reordering cards syncs back to the source YAML. See the Hexfield Deck repo for details.
Hexfield-Queue/
├── examples/ # Real, playable queue files
├── prompts/ # Claude generation system prompt
├── scripts/
│ ├── validate.js # Schema validator
│ └── export-apple-music.js
├── spec/
│ └── schema-v0.1.md # Formal schema documentation
└── .github/workflows/
└── validate.yml # CI validation
Maintained by @jimblom · Part of the Hexfield ecosystem