Recipes
Recipes are the point of a CLI-first music app. Each one starts with a thing you actually want.
Play something from fuzzy search
Section titled “Play something from fuzzy search”spotuify search "luther vandross" --type track --format ids \ | fzf \ | xargs spotuify play-uriWhat you get: a fast terminal picker that starts the selected track.
Queue a small search set
Section titled “Queue a small search set”spotuify search "burial" --type track --limit 5 --format ids \ | spotuify queue add --format jsonWhat you get: the first five matching track URIs queued through the daemon.
Make a playlist from an agent plan
Section titled “Make a playlist from an agent plan”spotuify playlist plan "songs about exile and returning home" --format json > plan.jsonspotuify resolve-tracks --from plan.json --format jsonl > candidates.jsonlspotuify playlist create "Exile and Return" --from candidates.jsonl --dry-runWhat you get: a preview. Commit after approval:
spotuify playlist create "Exile and Return" --from candidates.jsonl --yes --format jsonInspect unresolved candidates
Section titled “Inspect unresolved candidates”jq -r 'select(.status != "resolved") | [.query, .reason] | @tsv' candidates.jsonlWhat you get: rows the agent should fix before a playlist write.
Status line
Section titled “Status line”spotuify status --format json \ | jq -r 'if .item then .item.name + " - " + .item.subtitle else "not playing" end'What you get: a now-playing string for tmux or a shell prompt.
Emergency quiet
Section titled “Emergency quiet”spotuify pausespotuify volume 30Agent prompt that works
Section titled “Agent prompt that works”I need focused, hopeful music for a long coding session.Use spotuify search and playlist plan. Show me the candidate list andthe playlist create --dry-run output. Do not run --yes until I approve.