ci-leg-skipping-moves-minutes-it-does-not-remove-them

ci-leg-skipping-moves-minutes-it-does-not-remove-them is a skill for Claude Code from wan-huiyan/agent-traffic-control. It costs 183 tokens per session (2,815 once invoked), scanned A, original, MIT.

A CI cost-analysis guide explains why skipping a job or matrix leg on pull requests may only move its run to a later check. CI, or continuous integration, automatically builds and tests code changes.

In plain words
What is it for?
Use it when reviewing path filters, changed-file rules, allowlists, or other proposals to skip CI work. It helps compare pull-request, merge, push, and scheduled runs before approving a change.
Why use it?
It prevents teams from claiming savings when the same work still runs after merging, on pushes, or nightly. It also separates reduced billed minutes from reduced waiting time.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Part of the agent-traffic-control plugin — 118 skills shipped together

Good fit Use it when reviewing path filters, changed-file rules, allowlists, or other proposals to skip CI work. It helps compare pull-request, merge, push, and scheduled runs before approving a change.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wan-huiyan/agent-traffic-control/ci-leg-skipping-moves-minutes-it-does-not-remove-them
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add wan-huiyan/agent-traffic-control --skill ci-leg-skipping-moves-minutes-it-does-not-remove-them
Clone the repo
git clone --depth 1 https://github.com/wan-huiyan/agent-traffic-control

Made for: Claude Code.

Or install agent-traffic-control, the plugin that ships this one along with the rest of its 118 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ci-leg-skipping-moves-minutes-it-does-not-remove-them

README.md
[![agentmods](https://agentmods.dev/badge/skills/wan-huiyan/agent-traffic-control/ci-leg-skipping-moves-minutes-it-does-not-remove-them/github.svg)](https://agentmods.dev/skills/wan-huiyan/agent-traffic-control/ci-leg-skipping-moves-minutes-it-does-not-remove-them)
Your own site
<a href="https://agentmods.dev/skills/wan-huiyan/agent-traffic-control/ci-leg-skipping-moves-minutes-it-does-not-remove-them"><img src="https://agentmods.dev/badge/skills/wan-huiyan/agent-traffic-control/ci-leg-skipping-moves-minutes-it-does-not-remove-them/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ci-leg-skipping-moves-minutes-it-does-not-remove-them

Your own site · 80×15
<a href="https://agentmods.dev/skills/wan-huiyan/agent-traffic-control/ci-leg-skipping-moves-minutes-it-does-not-remove-them"><img src="https://agentmods.dev/badge/skills/wan-huiyan/agent-traffic-control/ci-leg-skipping-moves-minutes-it-does-not-remove-them.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 183 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,815 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00183 $0.02815
Opus 5.5 $0.00073 $0.01126
Sonnet 5.5 $0.00037 $0.00563
Haiku 4.5 $0.00018 $0.00281

Measured 2mo ago against content hash 3d7be73e5006, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ci-leg-skipping-moves-minutes-it-does-not-remove-them scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/agent-traffic-control/skills/ci-leg-skipping-moves-minutes-it-does-not-remove-them/SKILL.md · 239 lines

How it starts

The opening of the file, as written. The whole thing — 239 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Skipping a CI Leg Moves Its Minutes, It Does Not Delete Them

Problem

The bill is too high, so someone proposes the obvious fix: this job does not need to run on this kind of change, so filter it out and save its minutes. The reasoning is clean, the change is small, and it is usually wrong.

A leg removed from the pull-request run is not a leg removed from the bill if the pipeline runs it somewhere else. Many pipelines deliberately carry a backstop: the merge or push run executes the COMPLEMENT of what the pull-request run skipped, precisely so that a wrong filter cannot make a leg stop running anywhere. Under that design the minutes are redistributed, not deleted.

For a branch that is made ready once and merges, the total is unchanged. The saving exists only from the SECOND ready run onward, and its size is:

saving = (ready runs − 1) × the skipped legs' minutes

So a change that looks like "we no longer pay for this leg" is really "we pay for this leg once per merge instead of once per ready run", and on a branch that lands first time those are the same number.

And on wall clock it usually saves nothing at all. Matrix legs run in parallel, so removing a leg that was never the long pole changes the pull request's wall clock by zero — while making the merge run longer. Wall-clock minutes and billed minutes are different quantities with similar digits, and quoting one while meaning the other is how a saving gets approved twice.

Context / Trigger Conditions

You are in the right place if any of these is true:

  • Someone proposes a path filter, safe list, changed-files gate or exemption list whose stated benefit is the removed job's minutes
  • A saving is quoted as a percentage or a minute count with no basis named
  • The pipeline has a merge, push, nightly or merge-queue run whose job set is derived from what the pull-request run did — a complement, a backstop, an unfiltered sweep
  • You are choosing between two cost proposals and one of them removes whole runs (batching, fewer ready flips, cancelling superseded runs) while the other rearranges legs within a run

Read the full file on GitHub · 239 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 239 lines · 183 tokens per session scan A 3d7be73e5006

Subscribe to this mod's changes

ci-leg-skipping-moves-minutes-it-does-not-remove-them is a skill published in the GitHub repository wan-huiyan/agent-traffic-control (3 stars, last pushed 4d ago), licensed MIT. It adds 183 tokens to every session and 2,815 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-12.

Related

ci-leg-skipping-moves-minutes-it-does-not-remove-them compared with skills from other repositories

ci-leg-skipping-moves-minutes-it-does-not-remove-them next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ci-leg-skipping-moves-minutes-it-does-not-remove-themwan-huiyan/agent-traffic-controlSkill34d agoMITA183Claude Code
cloudflare-workers-testingsecondsky/claude-skillsSkill2578d agoMITA57Claude Code
dependency-upgradesecondsky/claude-skillsSkill2578d agoMITA34Claude Code
cloudflare-workers-ci-cdsecondsky/claude-skillsSkill2578d agoMITA50Claude Code
github-project-automationsecondsky/claude-skillsSkill2578d agoMITA45Claude Code
bun-sveltekitsecondsky/claude-skillsSkill2578d agoMITA26Claude Code
web-releaseavelikiy/great_ctoSkill11714d agoMITA135Claude Code