
Description
connector-spotify is an agent skill that gives the recipe for building Caffeine apps that read Spotify catalog data or control a user's Spotify playback from a canister. It is built around spotify-client, a set of Motoko bindings for the Spotify Web API generated from Spotify's official OpenAPI specification. The package contains 15 API modules with 270 operations, so an agent can call endpoints such as getting a track or reading the user's current playback, and skipping to the next track. The skill is marked as the supported path for these builds, and the agent is told to follow it for every Caffeine build that uses Spotify. The package is set up in icp-cli mode, which uses the management-canister interface from the ic dependency, and it pins PocketIC in the toolchain configuration for testing. A key point of the design is that the token always comes from the caller, so the canister never stores a Spotify client secret. The skill's backend example shows the imports for the track and player APIs and the configuration type with its default values. The skill is published in the caffeinelabs/skills repository on GitHub.…
Highlights
- Motoko bindings for the Spotify Web API
- 15 API modules and 270 operations
- Catalog reads and playback control
- Token comes from the caller, no client secret in the canister
- PocketIC pinned for tests
Ratings & Reviews
No ratings yet
Be the first to rate connector-spotify.
People also visit
connector-spotify FAQ
What is this skill?
An agent recipe for Caffeine builds that read Spotify catalog data or control a user's Spotify playback from a canister.
What does spotify-client include?
Motoko bindings generated from Spotify's OpenAPI spec, with 15 API modules and 270 operations.
Where does the Spotify token come from?
Always from the caller. The canister never holds a Spotify client secret, according to the skill.
Can it control playback?
Yes. The example imports the player API, including reading current playback and skipping to the next track.
How do I install it?
Run npx skills add https://github.com/caffeinelabs/skills --skill connector-spotify.
What security audits does it have?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
What are the best connector-spotify alternatives?
Popular alternatives to connector-spotify include spotify-player, social-spotify-card and connector-weatherapi. See all connector-spotify alternatives



