# Fleetshift run shift

> Fleetshift run shift is an open-source agent skill for developer tools. Runs a Fleetshift shift against its targets, monitors jobs, and can stop them. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/spotify/portal-ai-plugins/tree/main/skills/fleetshift-run-shift
- **Repository:** https://github.com/spotify/portal-ai-plugins
- **GitHub stars:** 3,322
- **License:** Apache-2.0
- **Skill name:** fleetshift-run-shift
- **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 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.

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

## Features

- **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

## 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/fleetshift-run-shift`:

```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/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.

### Codex

Copy the skill folder to `~/.agents/skills/fleetshift-run-shift` 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/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.

### Cursor

Copy the skill folder to `~/.cursor/skills/fleetshift-run-shift` 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/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.

### 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/fleetshift-run-shift
```

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

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/fleetshift-run-shift`:

```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/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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Fleetshift check shift](https://ai-powered.com/skills/fleetshift-check-shift): Fleetshift check shift is an open-source agent skill for developer tools.
- [Fleetshift create prs](https://ai-powered.com/skills/fleetshift-create-prs): Fleetshift create prs is an open-source agent skill for developer tools.
- [Fleetshift troubleshoot shift](https://ai-powered.com/skills/fleetshift-troubleshoot-shift): Fleetshift troubleshoot shift is an open-source agent skill for developer tools.
- [Fleetshift create shift](https://ai-powered.com/skills/fleetshift-create-shift): Fleetshift create shift is an open-source agent skill for developer tools.
- [Run](https://ai-powered.com/skills/run): Run is an open-source agent skill for developer tools.
- [Devfleet](https://ai-powered.com/skills/devfleet): Devfleet is an open-source agent skill for developer tools.
- [Shipping](https://ai-powered.com/skills/shipping): Shipping is an open-source agent skill for developer tools.
- [Enterprise agent ops](https://ai-powered.com/skills/enterprise-agent-ops): Enterprise agent ops is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/fleetshift-run-shift
