# Fleetshift create shift

> Fleetshift create shift is an open-source agent skill for developer tools. Creates a reusable Fleetshift agent shift that applies changes across repositories. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/spotify/portal-ai-plugins/tree/main/skills/fleetshift-create-shift
- **Repository:** https://github.com/spotify/portal-ai-plugins
- **GitHub stars:** 3,322
- **License:** Apache-2.0
- **Skill name:** fleetshift-create-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 sets up a Fleetshift shift, a saved definition that pairs an LLM agent prompt with a set of repository targets and pull request metadata. It walks the agent through checking existing shifts for name collisions, drafting the prompt and target references from the user's goal, validating the payload with a dry run, and only then creating the shift after explicit user confirmation.

The workflow relies on the Portal CLI, which must be authenticated before any calls are made. Read-only lookups such as listing shifts come first, and the create call is never run with the confirmation flag reserved for destructive actions. Larger target sets above ten need a separate scope confirmation before creation.

The skill only creates agent-type shifts. Once created, the shift is run, monitored and turned into pull requests by companion skills for those steps.

## When your agent uses it

> Create a Fleetshift shift definition that runs an agent to apply transformations across a set of repository targets. Use when the user wants to set up a reusable, repeatable change (e.g. "add a header to every service", "migrate every repo from X to Y") that can later be run, checked on, and have PRs opened from it. Requires explicit user confirmation before creating the shift.

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

## Features

- **Shift name collision check:** Lists existing shifts so a new definition does not overwrite one that already exists.
- **Drafted prompt and targets:** Turns a stated goal into a concrete agent instruction and structured repository target references.
- **Dry-run validation:** Checks the payload locally with a dry run before anything is created.
- **Explicit confirmation gate:** Requires a clear user yes before the mutating create call runs.
- **Post-create verification:** Reads the new shift back to confirm its owner, target count and details.

## Good for

- Add a maintainers section to the README of every service
- Migrate all repositories from one library version to another
- Set up a repeatable header change to apply across a team's repos
- Create a reusable shift that later opens pull requests for its targets

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

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

### Codex

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

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

### Cursor

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

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

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

### VS Code

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

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

## FAQ

### What do I need before using Fleetshift create shift?

The Portal CLI must be authenticated, which you can check with its auth show command. If a Portal MCP server is connected instead, the same actions are available as tools without a dry-run option.

### Does Fleetshift create shift create the shift without asking?

No. The skill validates the payload with a dry run, shows the drafted name, prompt, targets and PR details, and only creates the shift after an explicit yes from the user.

### What types of shifts does Fleetshift create shift create?

Only agent-type shifts, where an LLM agent runs a prompt against each target repository.

### How do I install Fleetshift create shift in Claude Code?

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

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Fleetshift create shift?

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

## 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 run shift](https://ai-powered.com/skills/fleetshift-run-shift): Fleetshift run 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.
- [Shipping](https://ai-powered.com/skills/shipping): Shipping 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.
- [Auto scaffold](https://ai-powered.com/skills/auto-scaffold): Auto scaffold is an open-source agent skill for developer tools.
- [Release changelog harness](https://ai-powered.com/skills/release-changelog-harness): Release changelog harness is an open-source agent skill for developer tools.

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