Skip to content
Skill

Ci leg skipping moves minutes it does not remove them

Checks whether a CI skip rule actually saves money or only moves job minutes

Ci leg skipping moves minutes it does not remove them 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
5
Last commit
License
MIT
Listing updated

Similar skills

About Ci leg skipping moves minutes it does not remove them

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.

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 (12 KB) on GitHub on 4 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 agent-traffic-control plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/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:

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.

Claude Code docs on skills

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

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.

Codex docs on skills

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

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.

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

Gemini CLI docs on skills

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

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.

VS Code docs on skills

Get the folder:

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.

The SKILL.md format

What it does

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

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

More from wan-huiyan/agent-traffic-control