Skip to content
Agentmart
Submit a tool

setup

Set up, authenticate, and verify Spotify Portal for the current coding agent.

Skill by spotify

IndexedApache-2.0★ 2,516
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/spotify-setup

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

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.

Use cases: agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/setup

What's inside

Skill name
setup
Description
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.
License
Apache-2.0
Instructions
89 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Set Up Spotify Portal

Set up the Portal CLI for every supported host.

## Critical rules

1. Never ask the user to paste access tokens, authorization codes, or other credentials into chat.
2. Run `--help` before relying on a Portal CLI or host command or flag.
3. Prefer `--json` whenever the agent consumes command output.
4. Never assume the default authenticated Portal instance when more than one instance is listed. Ask the user which instance to use.

## CLI invocation

Verify Node.js and npm:

```bash
node --version
npm --version
```

Run Portal CLI commands through the upstream package:

```bash
npx @spotify/portal-cli <command>
```

Inside a Portal source checkout, `npx` resolves the workspace-local build; elsewhere it fetches the published npm package.

## Setup workflow

Complete these steps in order.

### 1. Verify command discovery

```bash
npx @spotify/portal-cli --help
npx @spotify/portal-cli auth --help
```

The first command should list `auth`, `actions`, `owner`, `search`, and `service`. If they are absent, the resolved CLI build is too old for this workflow. Stop and report that a newer Portal CLI release is required.

### 2. Inspect existing instances

```bash
npx @spotify/portal-cli auth list
```

- Reuse an instance whose backend URL matches the user's target.
- If one instance exists and the user did not name a target, confirm it before continuing.
- If multiple instances exist, show their names and URLs and ask the user to choose.
- If no matching instance exists, obtain the Portal backend URL and a short instance name from the user.

### 3. Authenticate when needed

Run login only when the chosen instance is not already authenticated:

```bash
npx @spotify/portal-cli auth login --instance <instance-name> --backend-url <backend-url>
```

The command may open a browser. Let the user complete authentication there. If the environment cannot open a browser, inspect login help and use its no-browser flow. Never request credentials in chat.

### 4. Select and verify the instance

```bash
npx @spotify/portal-cli auth select --instance <instance-name>
npx @spotify/portal-cli auth show --instance <instance-name>
```

Do not continue unless `auth show` succeeds for the chosen instance.

### 5. Verify agent-safe CLI access

```bash
npx @spotify/portal-cli actions list --json
```

Success proves that the CLI can authenticate, reach the selected Portal instance, and read the user's available actions.

## Completion report

Report:

- CLI build source: workspace-local or published package
- selected instance name and backend URL
- CLI authentication: confirmed or blocked
- `actions list --json`: confirmed or blocked

From spotify/portal-ai-plugins, Apache-2.0.

More from spotify/portal-ai-plugins

Signals

Stars
2,516
Forks
202
Open issues
11
Last commit (this folder)
Aug 11, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from spotify

Cite this page

setup skill. Agent Mart. https://agentmart.dev/skills/spotify-setup (last updated 2026-10-24)