# Setup

> Setup is an open-source agent skill for developer tools. Sets up and verifies Spotify Portal CLI access for your coding agent. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/spotify/portal-ai-plugins/tree/main/skills/setup
- **Repository:** https://github.com/spotify/portal-ai-plugins
- **GitHub stars:** 3,322
- **License:** Apache-2.0
- **Skill name:** setup
- **Collection:** https://github.com/spotify/portal-ai-plugins
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-02

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/spotify/portal-ai-plugins/tree/HEAD/skills/setup)
- [License: Apache-2.0](https://github.com/spotify/portal-ai-plugins/tree/HEAD/skills/setup)

## Features

- **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

## Install

### Claude Code

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

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

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

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

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

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Doctor](https://ai-powered.com/skills/doctor-spotify): Doctor is an open-source agent skill for developer tools.
- [Actions](https://ai-powered.com/skills/actions-spotify): Actions is an open-source agent skill for developer tools.
- [Search](https://ai-powered.com/skills/search): Search is an open-source agent skill for knowledge and memory.
- [Feedback](https://ai-powered.com/skills/feedback-spotify): Feedback is an open-source agent skill for developer tools.
- [Find skills](https://ai-powered.com/skills/find-skills): Find skills is an open-source agent skill for developer tools.
- [Find skills](https://ai-powered.com/skills/find-skills-melandlabs): Find skills is an open-source agent skill for developer tools.
- [Skills atlas](https://ai-powered.com/skills/skills-atlas): Skills atlas is an open-source agent skill for developer tools.
- [Configuration](https://ai-powered.com/skills/configuration-spark-arena): Configuration is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/setup-spotify
