# Ci leg skipping moves minutes it does not remove them

> Ci leg skipping moves minutes it does not remove them is an open-source agent skill for developer tools. Checks whether a CI skip rule actually saves money or only moves job minutes. 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/wan-huiyan/agent-traffic-control/tree/main/plugins/agent-traffic-control/skills/ci-leg-skipping-moves-minutes-it-does-not-remove-them
- **Repository:** https://github.com/wan-huiyan/agent-traffic-control
- **GitHub stars:** 5
- **License:** MIT
- **Skill name:** ci-leg-skipping-moves-minutes-it-does-not-remove-them
- **Collection:** https://github.com/wan-huiyan/agent-traffic-control
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

This skill guides an agent through pricing a proposal to skip CI jobs or matrix legs on pull requests, such as path filters, safe lists or changed-files gates. It has the agent first look for merge, push, nightly or merge-queue runs that execute the complementary legs, since those runs can absorb the skipped minutes. It then sets out a per-branch calculation that counts how many ready runs a branch actually takes to land and multiplies the extra runs by the skipped legs' billed minutes.

The workflow asks the agent to report branches that save nothing alongside the average, to label every figure as billed minutes or wall-clock time, and to check whether removed legs were on the critical path. It also distinguishes changes that remove whole runs, such as batching pull requests or avoiding premature ready-for-review flips, from changes that only rearrange legs within a run.

The skill expects access to the workflow YAML files and the CI provider's run history or API, along with a real sample of recent branches and their merged file lists. It is written with GitHub Actions billing in mind, including per-job rounding to the whole minute.

## When your agent uses it

> You are about to propose, price or approve a CI cost saving that works by making a job or matrix leg SKIP on pull requests — a path filter, a safe list, a changed-files gate, an exemption list. Check first whether the pipeline runs a complement or backstop on merge, on push, or nightly: many do, and then the legs a pull request skipped are exactly the legs some later run executes, so a branch that goes green once and merges bills the same total either way and the wall clock does not move at all. Use when pricing a filter change, when a percentage saving is quoted with no basis, or when choosing between filtering legs and batching pull requests. The question that separates money from bookkeeping is whether the change removes RUNS or merely moves LEGS.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/wan-huiyan/agent-traffic-control/tree/HEAD/plugins/agent-traffic-control/skills/ci-leg-skipping-moves-minutes-it-does-not-remove-them)
- [License: MIT](https://github.com/wan-huiyan/agent-traffic-control/tree/HEAD/plugins/agent-traffic-control/skills/ci-leg-skipping-moves-minutes-it-does-not-remove-them)

## Features

- **Locate every trigger:** Enumerates pull request, push, merge queue, scheduled and manual runs that could still execute a filtered leg.
- **Per-branch saving formula:** Calculates savings as extra ready runs multiplied by the skipped legs' billed minutes, branch by branch.
- **Report zero-saving cases:** Requires branches that save nothing to be shown alongside any average so the distribution is visible.
- **Separate billed and wall clock:** Asks that every figure name its basis, since a skip can change billed minutes while leaving wall clock unchanged.
- **Runs versus legs test:** Provides a question to tell proposals that remove whole runs from those that only move legs around.
- **Protect the backstop:** Warns against weakening a complement or nightly run that is the only remaining place a filtered leg executes.

## Good for

- Price a path filter that skips a CI job on documentation-only pull requests
- Check whether a proposed changed-files gate really reduces monthly CI spend
- Compare batching pull requests against filtering matrix legs to cut CI costs
- Audit a quoted CI saving percentage for its billing basis and sample size

## Install

### Claude Code

This skill ships in the `agent-traffic-control` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add wan-huiyan/agent-traffic-control
/plugin install agent-traffic-control@wan-huiyan-agent-traffic-control
```

Or copy only this skill to `~/.claude/skills/ci-leg-skipping-moves-minutes-it-does-not-remove-them`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/wan-huiyan/agent-traffic-control.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/ci-leg-skipping-moves-minutes-it-does-not-remove-them &&
cp -R "$tmp/plugins/agent-traffic-control/skills/ci-leg-skipping-moves-minutes-it-does-not-remove-them" ~/.claude/skills/ci-leg-skipping-moves-minutes-it-does-not-remove-them &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/ci-leg-skipping-moves-minutes-it-does-not-remove-them` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/ci-leg-skipping-moves-minutes-it-does-not-remove-them` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/wan-huiyan/agent-traffic-control.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/ci-leg-skipping-moves-minutes-it-does-not-remove-them &&
cp -R "$tmp/plugins/agent-traffic-control/skills/ci-leg-skipping-moves-minutes-it-does-not-remove-them" ~/.agents/skills/ci-leg-skipping-moves-minutes-it-does-not-remove-them &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/ci-leg-skipping-moves-minutes-it-does-not-remove-them` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/ci-leg-skipping-moves-minutes-it-does-not-remove-them` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/wan-huiyan/agent-traffic-control.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/ci-leg-skipping-moves-minutes-it-does-not-remove-them &&
cp -R "$tmp/plugins/agent-traffic-control/skills/ci-leg-skipping-moves-minutes-it-does-not-remove-them" ~/.cursor/skills/ci-leg-skipping-moves-minutes-it-does-not-remove-them &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/ci-leg-skipping-moves-minutes-it-does-not-remove-them` 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/wan-huiyan/agent-traffic-control.git --path plugins/agent-traffic-control/skills/ci-leg-skipping-moves-minutes-it-does-not-remove-them
```

Or copy the folder to `~/.gemini/skills/ci-leg-skipping-moves-minutes-it-does-not-remove-them` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/ci-leg-skipping-moves-minutes-it-does-not-remove-them`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/wan-huiyan/agent-traffic-control.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/ci-leg-skipping-moves-minutes-it-does-not-remove-them &&
cp -R "$tmp/plugins/agent-traffic-control/skills/ci-leg-skipping-moves-minutes-it-does-not-remove-them" ~/.copilot/skills/ci-leg-skipping-moves-minutes-it-does-not-remove-them &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/ci-leg-skipping-moves-minutes-it-does-not-remove-them` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/wan-huiyan/agent-traffic-control.git
```

Then copy `agent-traffic-control/plugins/agent-traffic-control/skills/ci-leg-skipping-moves-minutes-it-does-not-remove-them` into your agent's skills folder as `ci-leg-skipping-moves-minutes-it-does-not-remove-them`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When does Ci leg skipping moves minutes it does not remove them trigger?

It applies when you are about to propose, price or approve a CI cost saving that makes a job or matrix leg skip on pull requests, when a percentage saving is quoted without a basis, or when choosing between filtering legs and batching pull requests.

### What does the agent need to run Ci leg skipping moves minutes it does not remove them?

It needs access to the pipeline's workflow files and the CI run history or API, plus a real sample of branches with their merged file lists and ready-run counts.

### Does Ci leg skipping moves minutes it does not remove them include scripts?

No. The skill is a single SKILL.md with instructions and example shell commands for reading workflow triggers; it ships no scripts.

### Is Ci leg skipping moves minutes it does not remove them tied to a specific tool?

The examples and billing notes assume GitHub Actions, though the reasoning about backstop runs and per-job rounding applies to any CI provider that bills that way.

### How do I install Ci leg skipping moves minutes it does not remove them in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/ci-leg-skipping-moves-minutes-it-does-not-remove-them to use it in all your projects, or to .claude/skills/ci-leg-skipping-moves-minutes-it-does-not-remove-them in one project. Or install the agent-traffic-control plugin, which includes it: /plugin marketplace add wan-huiyan/agent-traffic-control, then /plugin install agent-traffic-control@wan-huiyan-agent-traffic-control.

### Does Ci leg skipping moves minutes it does not remove them 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 Ci leg skipping moves minutes it does not remove them?

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 Ci leg skipping moves minutes it does not remove them?

The closest alternatives to Ci leg skipping moves minutes it does not remove them are GitHub actions efficiency, Ci speedup, Loop on ci, Fix ci and Ci.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [GitHub actions efficiency](https://ai-powered.com/skills/github-actions-efficiency): GitHub actions efficiency is an open-source agent skill for developer tools.
- [Ci speedup](https://ai-powered.com/skills/ci-speedup): Ci speedup is an open-source agent skill for developer tools.
- [Loop on ci](https://ai-powered.com/skills/loop-on-ci): Loop on ci is an open-source agent skill for developer tools.
- [Fix ci](https://ai-powered.com/skills/fix-ci): Fix ci is an open-source agent skill for developer tools.
- [Ci](https://ai-powered.com/skills/ci-chachamaru127): Ci is an open-source agent skill for developer tools.
- [Ci cd and automation](https://ai-powered.com/skills/ci-cd-and-automation-ajyadav013): Ci cd and automation is an open-source agent skill for developer tools.
- [Ci cd](https://ai-powered.com/skills/ci-cd): Ci cd is an open-source agent skill for developer tools.
- [Ecc tools cost audit](https://ai-powered.com/skills/ecc-tools-cost-audit): Ecc tools cost audit is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/ci-leg-skipping-moves-minutes-it-does-not-remove-them
