Spotify Engineering built a Claude Code plugin that translates natural language into Spotify Ads API v3 calls, eliminating the need to manually orchestrate complex multi-step campaign creation workflows. The plugin is written entirely in Markdown files with no compiled code, using skills, agents, and hooks. It ships the full OpenAPI spec (~8,600 lines) as the source of truth, leveraging OpenAPI Links to encode entity relationships (campaign → ad set → ad) so the LLM agent can follow the correct call sequence. The team deliberately avoided MCP due to the large API surface and chose curl-based execution for transparency and debuggability. The plugin is open source under Apache 2.0 and available on GitHub and Anthropic's Claude Plugins marketplace.

10m read timeFrom engineering.atspotify.com
Post cover image
Table of contents
What it doesWhy these technology choicesThe role of the OpenAPI SpecWhat’s next?Wrapping up

Sort: