spotify-automation▌
claude-office-skills/skills · updated Apr 8, 2026
Automate Spotify music playback, playlist management, and discovery workflows.
Spotify Automation
Automate Spotify music playback, playlist management, and discovery workflows.
Core Capabilities
Playback Control
playback_commands:
- play_track: "spotify:track:xxx"
- pause
- next_track
- previous_track
- set_volume: 75
- set_shuffle: true
- set_repeat: "context" # track, context, off
- seek_position: 30000 # milliseconds
- transfer_playback:
device_id: "device_xxx"
Playlist Management
playlist_operations:
create:
name: "{{playlist_name}}"
description: "{{description}}"
public: false
collaborative: false
add_tracks:
playlist_id: "xxx"
tracks:
- "spotify:track:xxx"
- "spotify:track:yyy"
position: 0 # optional
smart_playlist:
name: "Workout Mix"
criteria:
energy: "> 0.8"
tempo: "> 120"
genres: ["electronic", "pop"]
limit: 50
refresh: weekly
Music Discovery
recommendations:
seed_tracks: ["track_id_1", "track_id_2"]
seed_artists: ["artist_id"]
seed_genres: ["pop", "rock"]
target_features:
energy: 0.8
danceability: 0.7
valence: 0.6 # positiveness
limit: 20
Audio Analysis
audio_features:
- acousticness: 0.0-1.0
- danceability: 0.0-1.0
- energy: 0.0-1.0
- instrumentalness: 0.0-1.0
- liveness: 0.0-1.0
- loudness: -60 to 0 dB
- speechiness: 0.0-1.0
- tempo: BPM
- valence: 0.0-1.0 (mood)
- key: 0-11 (C to B)
- mode: 0 (minor) or 1 (major)
Workflow Examples
Daily Mix Generator
workflow:
trigger: daily at 6:00 AM
steps:
- get_recently_played: 50
- analyze_mood: based_on_audio_features
- get_recommendations:
based_on: recent_tracks
mood: current_time_appropriate
- create_playlist: "Today's Mix - {{date}}"
- add_tracks: recommended
Party Mode
party_playlist:
trigger: "party mode"
actions:
- get_top_tracks:
time_range: medium_term
limit: 20
- get_recommendations:
seed: top_tracks
energy: "> 0.8"
danceability: "> 0.7"
- shuffle_and_play
- set_crossfade: 5 # seconds
API Examples
// Search and Play
const results = await spotify.search("Bohemian Rhapsody", ["track"]);
await spotify.play({ uris: [results.tracks.items[0].uri] });
// Create Smart Playlist
const recs = await spotify.getRecommendations({
seed_genres: ["chill"],
target_energy: 0.4,
limit: 30
});
const playlist = await spotify.createPlaylist("Chill Vibes", {
description: "AI-curated relaxation",
public: false
});
await spotify.addTracksToPlaylist(playlist.id, recs.tracks.map(t => t.uri));
Best Practices
- Rate Limits: Respect Spotify API limits
- Caching: Cache frequently accessed data
- User Consent: Request appropriate scopes
- Fallbacks: Handle unavailable tracks gracefully
Ratings
4.6★★★★★37 reviews- ★★★★★Shikha Mishra· Dec 28, 2024
spotify-automation fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- ★★★★★Kwame Lopez· Dec 28, 2024
Registry listing for spotify-automation matched our evaluation — installs cleanly and behaves as described in the markdown.
- ★★★★★Arya Farah· Dec 20, 2024
We added spotify-automation from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Kiara Choi· Dec 16, 2024
spotify-automation reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Yash Thakker· Nov 19, 2024
spotify-automation is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- ★★★★★Arya Abebe· Nov 11, 2024
Keeps context tight: spotify-automation is the kind of skill you can hand to a new teammate without a long onboarding doc.
- ★★★★★Dhruvi Jain· Oct 10, 2024
Keeps context tight: spotify-automation is the kind of skill you can hand to a new teammate without a long onboarding doc.
- ★★★★★Dev Bansal· Oct 2, 2024
spotify-automation is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- ★★★★★Mia Harris· Sep 21, 2024
Useful defaults in spotify-automation — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
- ★★★★★Anika Lopez· Sep 21, 2024
We added spotify-automation from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
showing 1-10 of 37