formal-ci-lanes-carry-forward

formal-ci-lanes-carry-forward is a skill for Claude Code from melodic-software/claude-code-plugins. It costs 138 tokens per session (3,452 once invoked), scanned A, original, MIT.

A TLA+ model of a continuous-integration rule for pull requests. Continuous integration, or CI, automatically runs checks on proposed code changes; this model checks how full runs and contract-only runs carry status between them.

In plain words
What is it for?
Use it when changing the pull-request checks workflow or its result-aggregation script, especially the logic for pending, passing, and carried-forward statuses.
Why use it?
It checks that an older successful result is not reused while a newer full run is still in progress. This helps find workflow races that ordinary examples may miss.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: reads .claude/ paths.

Good fit Use it when changing the pull-request checks workflow or its result-aggregation script, especially the logic for pending, passing, and carried-forward statuses.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/melodic-software/claude-code-plugins/formal-ci-lanes-carry-forward
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 melodic-software/claude-code-plugins --skill formal-ci-lanes-carry-forward
Clone the repo
git clone --depth 1 https://github.com/melodic-software/claude-code-plugins

Made for: Claude Code.

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 formal-ci-lanes-carry-forward

README.md
[![agentmods](https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/formal-ci-lanes-carry-forward/github.svg)](https://agentmods.dev/skills/melodic-software/claude-code-plugins/formal-ci-lanes-carry-forward)
Your own site
<a href="https://agentmods.dev/skills/melodic-software/claude-code-plugins/formal-ci-lanes-carry-forward"><img src="https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/formal-ci-lanes-carry-forward/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 formal-ci-lanes-carry-forward

Your own site · 80×15
<a href="https://agentmods.dev/skills/melodic-software/claude-code-plugins/formal-ci-lanes-carry-forward"><img src="https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/formal-ci-lanes-carry-forward.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 138 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,452 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.00138 $0.03452
Opus 5.5 $0.00055 $0.01381
Sonnet 5.5 $0.00028 $0.00690
Haiku 4.5 $0.00014 $0.00345

Measured 6d ago against content hash b13c7d03707d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

formal-ci-lanes-carry-forward 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 6d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (model/view.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.claude/skills/formal-ci-lanes-carry-forward/SKILL.md · 181 lines

How it starts

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

Formal check: the ci-lanes carry-forward

Property

Each rule is an INVARIANT in model/CarryForward.tla. WF is .github/workflows/pr-require-checks.yml; REPORT is .github/actions/pr-require-checks/report-ci-status/action.yml, RUN is .github/actions/pr-require-checks/aggregate-results/run.sh and ACTION its action.yml, in melodic-software/ci-workflows at the commit WF pins on the ci-status job's Aggregate lane results step. REPORT runs aggregate-results at that same commit.

Rule Plain sentence Source
NoStaleCarry A contract-only run that passes carries no success a full run in flight is about to replace: every full-run attempt in flight when it passes wrote that success, or started after the run's last listing of the runs. WF, the mark-lanes comment: "A FULL RUN MARKS ITS SHA IN FLIGHT AT ONCE. A contract-only run on this SHA reads the newest bot-written ci-lanes status once and passes only on success, so this pending makes it fail at once instead of carrying forward a verdict this run is about to replace"; RUN, the yield block: "This closes the gap record-pending alone leaves: a full run that is queued, or whose first job has not yet written its pending marker, would otherwise let this run carry an older success forward across it."
HeldPassIsNewer A run that held for full runs passes only on a success created after each of them started. ACTION, yield-wait-seconds: "passes only on a success created at or after their latest start. An older success does not pass"
PassCarriesSuccess A contract-only run passes only on a success whose writer it verified. RUN header: "A success passes only when its writer run is a full run of this same workflow on this SHA whose aggregate step succeeded"

How the rules read the model's states:

  • A full run is in flight from the event that creates it (queued) until it completes or is cancelled, as GitHub's run listing reports it. Each re-run is a new attempt with a new start.
  • NoStaleCarry is judged at the step where the contract-only run decides to pass, over the full-run attempts in flight at that step. An attempt that started after the run's last listing is exempt: the run cannot see it. "Known results" gives that window's path.

Read the full file on GitHub · 181 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 6d ago Changed · +4 lines · +1 tokens per session b13c7d03707d
  2. 7d ago Changed · +8 lines d7953ed290f6
  3. 8d ago First seen · 169 lines · 137 tokens per session scan A 0cc5da94d7f9

Subscribe to this mod's changes

formal-ci-lanes-carry-forward is a skill published in the GitHub repository melodic-software/claude-code-plugins (32 stars, last pushed today), licensed MIT. It adds 138 tokens to every session and 3,452 once invoked, about $0.0006 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-11-18.

Related

formal-ci-lanes-carry-forward compared with skills from other repositories

formal-ci-lanes-carry-forward next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
formal-ci-lanes-carry-forwardmelodic-software/claude-code-pluginsSkill32todayMITA138Claude Code
imagegenopenai/codexSkill136ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill327kyesterdayMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill14kyesterdayCC0-1.0A113Claude Code, Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill81k9d agoMITA200Claude Code, Codex