Skip to content
Skill

Setup

Sets up and verifies Spotify Portal CLI access for your coding agent

Setup is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
3.3K
Last commit
License
Apache-2.0
Listing updated

Similar skills

About Setup

This skill walks a coding agent through installing and connecting the Spotify Portal CLI. It checks that Node.js and npm are present, confirms the CLI exposes the expected commands, and reviews any existing Portal instances before reusing or adding one.

The workflow runs the upstream @spotify/portal-cli package through npx, asks the user to choose when several instances exist, and starts browser-based login only when the chosen instance is not yet authenticated. Credentials are never requested in chat. It finishes by selecting the instance, confirming it with auth show, and running a JSON action listing to prove the CLI can reach the instance.

It expects Node.js with npm, access to a Portal backend URL, and a browser for login, or a no-browser flow if the CLI offers one. The skill is part of a Spotify repository licensed under Apache-2.0.

When your agent uses it

Set up, authenticate, and verify Spotify Portal for the current coding agent. Use when the user asks to install or connect Portal, authenticate the Portal CLI, select a Portal instance, or verify CLI access.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (3 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the portal plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add spotify/portal-ai-plugins
/plugin install portal@portal

Or copy only this skill to ~/.claude/skills/setup:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/spotify/portal-ai-plugins.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/setup &&
cp -R "$tmp/skills/setup" ~/.claude/skills/setup &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/setup inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/setup to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/spotify/portal-ai-plugins.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/setup &&
cp -R "$tmp/skills/setup" ~/.agents/skills/setup &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/setup inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/setup to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/spotify/portal-ai-plugins.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/setup &&
cp -R "$tmp/skills/setup" ~/.cursor/skills/setup &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/setup inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/spotify/portal-ai-plugins.git --path skills/setup

Or copy the folder to ~/.gemini/skills/setup yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/setup:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/spotify/portal-ai-plugins.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/setup &&
cp -R "$tmp/skills/setup" ~/.copilot/skills/setup &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/setup inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/spotify/portal-ai-plugins.git

Then copy portal-ai-plugins/skills/setup into your agent's skills folder as setup. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Command discovery check
Confirms the resolved Portal CLI build includes the auth, actions, owner, search and service commands.
Instance inventory
Lists existing Portal instances and asks the user to pick one when several are configured.
Browser-based login
Runs the CLI login flow for an instance that is not yet authenticated, leaving the sign-in to the user.
Instance verification
Selects the chosen instance and checks it with auth show before continuing.
Agent-safe access test
Runs a JSON action listing to confirm the CLI can authenticate and reach the instance.

Good for

  • Install and connect the Spotify Portal CLI for my coding agent
  • Log in to a Portal instance from the terminal
  • Switch the active Portal instance when several are configured
  • Check that my Portal CLI access is working

Setup FAQ

What does Setup need before it runs?

Node.js and npm must be installed, and the user needs a Portal backend URL and a short name for the instance if none matches.

Does Setup ask for my access tokens?

No. The skill forbids pasting tokens or authorization codes into chat and relies on the CLI's login flow, which may open a browser.

Does Setup pick an instance automatically?

No. When more than one instance is listed, the agent must ask the user which one to use.

What does a successful run confirm?

That the CLI can authenticate, reach the selected Portal instance, and read the user's available actions via actions list.

How do I install Setup in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/setup to use it in all your projects, or to .claude/skills/setup in one project. Or install the portal plugin, which includes it: /plugin marketplace add spotify/portal-ai-plugins, then /plugin install portal@portal.

Does Setup run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Setup?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Setup?

The closest alternatives to Setup are Doctor, Actions, Search, Feedback and Find skills.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from spotify/portal-ai-plugins

  1. Offloads reading of large files and multi-file questions to AiKA

    • Open source
    • 3.3K GitHub stars
    • Developer tools
  2. Generates boilerplate code like tests and docstrings from reference files

    • Open source
    • 3.3K GitHub stars
    • Developer tools
  3. Lets an agent find, inspect and run Spotify Portal actions through the Portal CLI

    • Open source
    • 3.3K GitHub stars
    • Developer tools
  4. Runs a read-only health check on Spotify Portal plugin, CLI and auth setup

    • Open source
    • 3.3K GitHub stars
    • Developer tools
  5. Sends your feedback about the Spotify Portal CLI to the Portal team

    • Open source
    • 3.3K GitHub stars
    • Developer tools
  6. Lets your agent check Fleetshift shift progress, target status and PR state without

    • Open source
    • 3.3K GitHub stars
    • Developer tools