Skip to content
Skill

Doctor

Runs a read-only health check on Spotify Portal plugin, CLI and auth setup

Doctor is an open-source agent skill for developer tools. It is available on Claude Code, Codex and Cursor.

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

Similar skills

About Doctor

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.

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 2 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/doctor:

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.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/doctor 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/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.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/doctor 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/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.

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/doctor

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

Gemini CLI docs on skills

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

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.

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/doctor into your agent's skills folder as doctor. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

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

Doctor 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 Skills atlas.

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. Sends your feedback about the Spotify Portal CLI to the Portal team

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

    • Open source
    • 3.3K GitHub stars
    • Developer tools
  6. Opens reviewable pull requests for targets finished in a Fleetshift shift run

    • Open source
    • 3.3K GitHub stars
    • Developer tools