
Portal Ai Plugins
Spotify Portal workflows for AI coding agents
Replaces —

Who it's for
A platform engineer working in Claude Code can run `/portal:setup` once, then use the `search`, `service`, and `actions` workflows to look up service owners, check health, and invoke Portal automations without leaving their session.
Your team does not use Spotify Portal.
A team orchestrating large-scale automated PR campaigns with Fleetshift can draft shifts, trigger runs, monitor progress, troubleshoot failures, and open PRs for completed targets entirely through agent commands.
Your team does not use Fleetshift.
A team running Claude Code agents on tasks that involve reading many files or generating boilerplate can install the shunt plugin to route that work to cheaper worker models and reduce per-session token costs.
You are not using Claude Code or are not concerned about token costs on bulk operations.
The problem
Engineering teams using Spotify Portal and AI coding agents must context-switch between their agent session and the Portal UI or CLI to look up service ownership, check health, search the catalog, or trigger automations. There is no way to invoke Portal workflows from inside Claude Code, Codex, Cursor, or pi without leaving the coding session.
How it works
The `search` workflow queries the Portal software catalog and technical documentation using natural language queries directly from within the agent session, without leaving the editor.
The `service` workflow generates a concise briefing for any service, pulling available ownership, health, incident, and documentation details from Portal in a single agent command.
The `actions` workflow lets agents discover, inspect, and preview Portal actions before running them. It includes built-in help, dry-run mode, and a confirmation step to prevent accidental execution.
Four dedicated workflows cover the full Fleetshift lifecycle: draft and create a shift from a goal, trigger and monitor a run, check progress and PRs, troubleshoot failed jobs, and open PRs for completed targets.
The `doctor` workflow runs read-only checks to verify that the plugin, CLI, authentication, and action readiness are all in order before the agent attempts any Portal operations.
The optional shunt plugin (Claude Code only) routes I/O-heavy tasks such as bulk file reads and boilerplate generation to AiKA modes backed by cheaper worker models via the Portal CLI actions registry.
Features
- Software catalog and docs search
- Operational service briefings
- Safe Portal action invocation
- Fleetshift shift management
- Readiness diagnostics
- Shunt: cheaper delegation for bulk work
How to install
claude plugin marketplace add spotify/portal-ai-plugins claude plugin install portal@portal claude plugin install shunt@portal # optional: token-saving AiKA delegation
Recommended for this setup
Strengths
- Multi-agent support: The plugin works with Claude Code, Codex, Cursor, and pi, with agent-specific installation paths for each. Teams are not locked to a single coding agent.
- Dry-run and confirmation safeguards: Portal action invocation and Fleetshift shift creation both include dry-run preview and explicit confirmation steps, reducing the risk of unintended side effects from automated agent actions.
- Token cost reduction via shunt: The companion shunt plugin offloads bulk, repetitive agent work to cheaper worker models, which can meaningfully reduce token spend on large-scale file operations and boilerplate generation.
- Apache-2.0 license from Spotify: The plugin is published by Spotify under the Apache-2.0 license, giving teams confidence in its provenance and permissive rights to modify and redistribute it.
Trade-offs
- Requires Spotify Portal access: The plugin is only useful to teams already running Spotify Portal. It wraps the `@spotify/portal-cli` and has no value without an active Portal instance and authentication.
- Shunt is Claude Code only: The token-saving shunt plugin is currently limited to Claude Code. Teams using Codex, Cursor, or pi cannot take advantage of AiKA delegation at this time.
- Early-stage repository: The repository has 9 commits as of publication, which suggests it is in early stages. Workflow coverage and stability may change as Spotify iterates on Portal CLI compatibility.
Tech stack
FAQ
Claude Code, Codex, Cursor, and pi each have their own installation path. Shunt (the token-saving delegation companion) is currently available for Claude Code only.
Yes. The plugin wraps the `@spotify/portal-cli` and all workflows invoke it via `npx @spotify/portal-cli <command>`. You need an active Portal instance and credentials to authenticate.
It runs read-only diagnostics to verify that the plugin, the CLI, authentication, and action readiness are all working before the agent attempts any Portal operations.
Shunt routes I/O-heavy agent tasks, such as bulk file reads and boilerplate generation, to AiKA modes running cheaper worker models via the Portal CLI actions registry. This keeps expensive model capacity free for reasoning-heavy work.
The `actions` workflow includes built-in help, dry-run mode, and an explicit confirmation step before any action runs. The Fleetshift create-shift workflow also offers a dry-run preview before committing a shift.