Spotify from your terminal

Search tracks, get recommendations, and create playlists. Built for developers and AI agents.

Agent Skill

Install the skill to let your AI agent create playlists from natural language, mood descriptions, or your Obsidian vault.

$ npx skills add crafter-station/skills --skill spoti-cli

terminal

$ bun add -g @crafter/spoti-cli

$ spoti-cli auth --client-id YOUR_ID

Opening browser for Spotify login...

Authenticated successfully!

$ spoti-cli search "Radiohead" --json

$ spoti-cli recommend --seed-genres electronic --energy 0.8

$ spoti-cli create "Deep Work Mix" --tracks ... --open

Playlist created: https://open.spotify.com/playlist/...

Search

Find tracks, artists, and albums with flexible queries and filters.

Recommend

Get recommendations by seeds with tunable attributes: energy, tempo, valence.

Create

Create playlists and add tracks in one command. Opens in Spotify.

Built for AI agents

Every command supports --json output. Pair with Codex, Claude Code, or any agent to create playlists from natural language.

"Create a lo-fi playlist for studying"

→ AI maps mood to seeds + attributes

→ spoti-cli search + recommend + create

→ Playlist on your Spotify