# Doctor

> Doctor is an open-source agent skill for developer tools. Runs a read-only health check on Spotify Portal plugin, CLI and auth setup. It is available on Claude Code, Codex and Cursor.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor
- **Website:** https://github.com/spotify/portal-ai-plugins/tree/main/skills/doctor
- **Repository:** https://github.com/spotify/portal-ai-plugins
- **GitHub stars:** 3,322
- **License:** Apache-2.0
- **Skill name:** doctor
- **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 an agent through a diagnostic pass over a Spotify Portal installation without changing anything. It checks whether the portal plugin is installed and enabled in the current host, reads its reported version, and suggests a reload or new session when the visible commands look out of date.

The checks then cover the Node and npm runtime, confirm the Portal CLI exposes the expected command groups, and inspect authentication and instance selection using read-only listing commands. When several instances exist without a stated target, the skill reports the ambiguity rather than picking one. It finishes by listing available actions to confirm access, without invoking any of them.

The output is a compact status table covering plugin, CLI, authentication and actions. The skill expects the Portal CLI to be reachable through npx and a supported host such as Claude Code, Codex or Cursor, and it never prints credentials or tokens.

## When your agent uses it

> Diagnose Spotify Portal plugin, CLI, authentication, and action access without changing state. Use when setup is failing, commands are missing, authentication is unclear, a plugin update looks stale, or the user asks whether Portal is ready.

## 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/doctor)
- [License: Apache-2.0](https://github.com/spotify/portal-ai-plugins/tree/HEAD/skills/doctor)

## Features

- **Plugin status check:** Confirms whether the Portal plugin is installed, enabled and at a current version in the host.
- **CLI runtime verification:** Checks Node, npm and that the Portal CLI exposes the required command groups.
- **Authentication inspection:** Lists and shows configured instances without changing the active selection.
- **Read-only access test:** Runs an actions listing to confirm the CLI can reach the instance and enumerate actions.
- **Structured readiness report:** Summarizes each check as ready, warning, ambiguous or blocked in one table.

## Good for

- Check whether my Spotify Portal setup is ready to use
- Figure out why Portal commands are missing in my agent
- Diagnose a failing Portal authentication or instance selection
- See whether a stale Portal plugin update needs a reload

## 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/doctor`:

```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/doctor &&
cp -R "$tmp/skills/doctor" ~/.claude/skills/doctor &&
rm -rf "$tmp"
```

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

### Codex

Copy the skill folder to `~/.agents/skills/doctor` 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/doctor &&
cp -R "$tmp/skills/doctor" ~/.agents/skills/doctor &&
rm -rf "$tmp"
```

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

### Cursor

Copy the skill folder to `~/.cursor/skills/doctor` 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/doctor &&
cp -R "$tmp/skills/doctor" ~/.cursor/skills/doctor &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/doctor` 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/doctor
```

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

### VS Code

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

```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/doctor &&
cp -R "$tmp/skills/doctor" ~/.copilot/skills/doctor &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/doctor` 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/doctor` into your agent's skills folder as `doctor`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Does Doctor change my Portal configuration?

No. It is designed to be read-only. It does not install, authenticate, select an instance or invoke mutating actions.

### When does the skill trigger?

When setup is failing, commands are missing, authentication is unclear, a plugin update looks stale, or the user asks whether Portal is ready.

### Which hosts does Doctor check?

The content names Claude Code and Codex CLI commands for plugin listing, and describes checking Cursor through its Settings Plugins panel.

### Are credentials shown in the report?

No. The skill instructs the agent never to request or print credentials, tokens or authorization codes.

### How do I install Doctor in Claude Code?

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

### Does Doctor 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 Doctor?

Claude Code, Codex and Cursor. 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 Doctor?

The closest alternatives to Doctor are Setup, Actions, Search, Feedback and Fleetshift check shift.

## Where this comes from

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

## Alternatives

- [Setup](https://ai-powered.com/skills/setup-spotify): Setup 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.
- [Fleetshift check shift](https://ai-powered.com/skills/fleetshift-check-shift): Fleetshift check shift 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.
- [CLI audit](https://ai-powered.com/skills/cli-audit): CLI audit is an open-source agent skill for developer tools.
- [Guardrail tester](https://ai-powered.com/skills/guardrail-tester): Guardrail tester is an open-source agent skill for security.

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