
Fleetshift troubleshoot shift
Diagnoses why a Fleetshift shift or job failed, using read-only status and log checks
Fleetshift troubleshoot shift 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 Fleetshift troubleshoot shift
This skill helps an agent work out why a Fleetshift shift run failed. It starts by listing the shift and its aggregate status, then narrows to targets that ended in failed, stopped or skipped states. For each one it pulls job status and archived logs, looks for the concrete cause such as agent errors, repository access problems, build failures, timeouts or missing resources, and quotes the relevant log lines in its report.
The workflow never changes anything. It does not trigger, stop, re-run or open pull requests. When a fix is needed, it recommends the appropriate companion skill for re-running failed targets, opening pull requests once a job completes, or checking overall shift state, and leaves confirmation to those skills. For soundcheck failures it cross-checks the matching shift before suggesting a re-run.
Usage requires the Portal CLI to be authenticated, and the skill calls its shift and job actions through that CLI or the equivalent Portal MCP tools. Job logs are kept for 30 days, so older failures may return no logs, in which case the skill reports that rather than guessing a cause.
When your agent uses it
Diagnose why a Fleetshift shift or job failed: find failed targets, pull their job logs and status, and explain the root cause and the safe next step. Read-only and safe to run anytime. Use when a shift run fails, a target ends in jobFailed/stopped, or a soundcheck check is still failing after a run.
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 (4 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@portalOr copy only this skill to ~/.claude/skills/fleetshift-troubleshoot-shift:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/spotify/portal-ai-plugins.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/fleetshift-troubleshoot-shift &&
cp -R "$tmp/skills/fleetshift-troubleshoot-shift" ~/.claude/skills/fleetshift-troubleshoot-shift &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/fleetshift-troubleshoot-shift inside it instead.
Copy the skill folder to ~/.agents/skills/fleetshift-troubleshoot-shift 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/fleetshift-troubleshoot-shift &&
cp -R "$tmp/skills/fleetshift-troubleshoot-shift" ~/.agents/skills/fleetshift-troubleshoot-shift &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/fleetshift-troubleshoot-shift inside it instead.
Copy the skill folder to ~/.cursor/skills/fleetshift-troubleshoot-shift 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/fleetshift-troubleshoot-shift &&
cp -R "$tmp/skills/fleetshift-troubleshoot-shift" ~/.cursor/skills/fleetshift-troubleshoot-shift &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/fleetshift-troubleshoot-shift inside it instead.
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/fleetshift-troubleshoot-shiftOr copy the folder to ~/.gemini/skills/fleetshift-troubleshoot-shift yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/fleetshift-troubleshoot-shift:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/spotify/portal-ai-plugins.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/fleetshift-troubleshoot-shift &&
cp -R "$tmp/skills/fleetshift-troubleshoot-shift" ~/.copilot/skills/fleetshift-troubleshoot-shift &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/fleetshift-troubleshoot-shift inside it instead.
Get the folder:
git clone --depth 1 https://github.com/spotify/portal-ai-plugins.gitThen copy portal-ai-plugins/skills/fleetshift-troubleshoot-shift into your agent's skills folder as fleetshift-troubleshoot-shift. Agents that support SKILL.md read one folder per skill.
What it does
- Failed target discovery
- Lists a shift's targets filtered to those with failed status to focus the investigation.
- Job log analysis
- Pulls raw and summarized job logs for each failed target and extracts the relevant excerpts.
- Root cause summary
- Explains the likely cause of each failure and what it implies for the affected target.
- Soundcheck cross-check
- Confirms that a failing soundcheck check actually matches the shift before suggesting a re-run.
- Read-only safety
- Performs no mutating actions and hands off any fix to skills that require explicit confirmation.
Good for
- Why did my Fleetshift shift fail for these services?
- Show me the logs behind the jobFailed targets in this shift
- Find the root cause of a stopped job and tell me the safe next step
- Check whether a failing soundcheck check is caused by the last shift run
Fleetshift troubleshoot shift FAQ
Does Fleetshift troubleshoot shift change anything in my Fleetshift setup?
No. It only inspects shift, target, job and log state and never triggers, stops, re-runs or closes anything. Fixes are handed off to other skills that require confirmation.
What do I need before using Fleetshift troubleshoot shift?
The Portal CLI must be authenticated with npx @spotify/portal-cli auth login, or a Portal MCP server must be connected. If more than one Portal instance exists, the skill asks which one to use.
What happens if the logs are too old?
Fleetshift keeps job logs for 30 days. For older targets the skill reports that logs have expired and offers to re-run those targets to capture fresh logs.
When does Fleetshift troubleshoot shift trigger?
It is meant for cases where a shift run fails, a target ends in jobFailed or stopped, or a soundcheck check is still failing after a run.
How do I install Fleetshift troubleshoot shift in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/fleetshift-troubleshoot-shift to use it in all your projects, or to .claude/skills/fleetshift-troubleshoot-shift in one project. Or install the portal plugin, which includes it: /plugin marketplace add spotify/portal-ai-plugins, then /plugin install portal@portal.
Does Fleetshift troubleshoot shift 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 Fleetshift troubleshoot shift?
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 Fleetshift troubleshoot shift?
The closest alternatives to Fleetshift troubleshoot shift are Fleetshift check shift, Fleetshift run shift, Fleetshift create shift, Fleetshift create prs and Observability gap.
Where this comes from
- Description: from the skill's own SKILL.md.
More from spotify/portal-ai-plugins

Offloads reading of large files and multi-file questions to AiKA
- Open source
- 3.3K GitHub stars
- Developer tools

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

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

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

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

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

