Skip to content
Skill

Fleetshift run shift

Runs a Fleetshift shift against its targets, monitors jobs, and can stop them

Fleetshift run 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 run shift

This skill executes a shift that was already defined in Fleetshift. It looks up the shift and its targets, then triggers one agent job per target repository, collecting a job identifier and Portal URL for each. Triggering only happens after the user explicitly confirms the exact targets, and a dry run validates each request first.

After triggering, the agent polls each job's status with a bounded loop: a limited number of polls spaced at least 30 seconds apart, under a fifteen-minute overall cap. It reports results per target, including any pull request link, and points to related skills for checking, opening PRs, or troubleshooting failures.

The skill also includes a kill switch. When the user asks to stop, it halts further triggering, ends monitoring, and calls the stop-jobs action on running jobs, falling back to the Fleetshift UI when needed. It works through the Portal CLI or a connected Portal MCP server and requires an authenticated Portal account.

When your agent uses it

Run an existing Fleetshift shift against its targets: triggers the agent jobs and monitors them to completion with a bounded wait. Also covers the kill switch for stopping a run (halt triggering, stop running jobs) when the user changes their mind. Use when the user wants to actually execute a previously created shift (see fleetshift-create-shift), or to stop or cancel one. Requires explicit user confirmation before triggering, and never waits indefinitely — it polls with a hard time/attempt cap and reports where things stand.

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 (9 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@portal

Or copy only this skill to ~/.claude/skills/fleetshift-run-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-run-shift &&
cp -R "$tmp/skills/fleetshift-run-shift" ~/.claude/skills/fleetshift-run-shift &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/fleetshift-run-shift inside it instead.

Claude Code docs on skills

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

For one repository only, put the folder in .agents/skills/fleetshift-run-shift inside it instead.

Codex docs on skills

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

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

Or copy the folder to ~/.gemini/skills/fleetshift-run-shift yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/fleetshift-run-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-run-shift &&
cp -R "$tmp/skills/fleetshift-run-shift" ~/.copilot/skills/fleetshift-run-shift &&
rm -rf "$tmp"

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

The SKILL.md format

What it does

Confirmed target triggering
Starts agent jobs one target at a time, only after the user approves the exact target list.
Bounded job monitoring
Checks job status with a capped number of polls and a total time limit, then reports where things stand.
Emergency stop control
Halts pending triggers and stops running jobs immediately when the user cancels a run.
Pre-run target review
Lists pending, running and completed targets so the scope of a run is clear before starting.
Re-run safeguards
Warns that re-running a completed target replaces its earlier result that could feed a pull request.
Per-target reporting
Summarizes status and pull request links for each target, with links to each job page.

Good for

  • Run a previously created shift across its target repositories
  • Check whether the jobs from a running shift have finished
  • Stop a shift run that is already in progress
  • Re-run a single target after reviewing its earlier result
  • Get a summary of which targets succeeded, failed or are still running

Fleetshift run shift FAQ

What do I need before using Fleetshift run shift?

You need an authenticated Portal CLI session, or a connected Portal MCP server, and an existing Fleetshift shift created with the fleetshift-create-shift skill.

Will the agent start jobs without asking?

No. The skill requires explicit user confirmation of the shift and exact targets before triggering any job.

How long will Fleetshift run shift wait for jobs to finish?

Monitoring is capped at 10 polls spaced at least 30 seconds apart and a total of 15 minutes per shift, after which it reports jobs still running.

Does stopping a run delete the shift or close pull requests?

No. Stopping halts triggers and running jobs only. Closing PRs and deleting shifts are separate actions that require an explicit request.

How do I install Fleetshift run shift in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/fleetshift-run-shift to use it in all your projects, or to .claude/skills/fleetshift-run-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 run 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 run 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 run shift?

The closest alternatives to Fleetshift run shift are Fleetshift check shift, Fleetshift create prs, Fleetshift troubleshoot shift, Fleetshift create shift and Run.

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. Runs a read-only health check on Spotify Portal plugin, CLI and auth setup

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

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

    • Open source
    • 3.3K GitHub stars
    • Developer tools