How to manage Spotify Portal directly within coding agents
The need to switch windows to check service status or the software catalog while working in a code editor or terminal is eliminated. This plugin connects the Spotify Portal CLI to coding agent environments such as Claude Code, Codex, Cursor, and pi. As a result, you can search the software catalog or create service briefings using natural language questions and execute necessary actions safely.
How to handle Portal within the agent
This repository provides workflows that help coding agents invoke the Spotify Portal CLI. The agent handles the process from setting up authentication to running read-only diagnostics and searching the software catalog. When generating a service briefing, it organizes ownership, health status, incidents, and documentation information at a glance. Additionally, when discovering and executing Portal actions, built-in help, dry-run, and confirmation procedures prevent mistakes.
Key workflows and features
Users can perform various tasks through specific commands.
- Environment setup Sets up Portal CLI authentication suitable for the current coding agent environment.
- Readiness diagnosis Checks the readiness of plugins, CLI, authentication, and actions in read-only mode.
- Catalog search Searches the software catalog and technical documentation using natural language queries.
- Service briefing Generates a concise briefing including ownership, health status, incidents, and documentation information.
- Action execution Discovers Portal actions and executes them safely through preview and confirmation procedures.
Installation and initialization
Installation commands vary depending on the coding agent used. If using Codex, run codex plugin marketplace add spotify/portal-ai-plugins, install Spotify Portal from /plugins, and request "Set up Spotify Portal for me." For Cursor, register the repository in the team marketplace and then install the plugin from settings. After installation, the setup workflow checks whether the auth, actions, owner, search, and service commands are required.
Additional feature: shunt
The marketplace also provides an additional plugin called shunt. It is currently available only in Claude Code. shunt routes I/O-intensive agent tasks, such as reading large numbers of files or generating boilerplate, to a cheaper worker model running in AiKA mode. This process is carried out through the Portal CLI action registry.
Pre-use checks
This plugin assumes an environment where the Spotify Portal CLI operates normally. Therefore, before use, ensure that the Portal CLI is installed and the necessary authentication information is configured. Additionally, the shunt feature is currently limited to Claude Code, so it is not available if using other agents. Since the README does not specify version compatibility or support scope, it is recommended to test compatibility with the latest CLI version directly.