ci-lane

ci-lane is a command for Claude Code from lyarwood/kubevirt-ai-helpers. It costs 12 tokens per session (1,363 once invoked), scanned A, original, Apache-2.0.

A command for examining recent runs of one continuous-integration job, where CI is the system that builds and tests code automatically. It reads Prow results, test reports, and build logs to find recurring and flaky failures.

In plain words
What is it for?
Investigating a named CI job, comparing its run types, finding repeated test failures, and separating infrastructure, test, and flaky failures.
Why use it?
It turns scattered job results and logs into failure rates, patterns, and categories, making unstable tests and infrastructure problems easier to identify.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the kubevirt plugin — 4 skills, 17 commands shipped together

Good fit Investigating a named CI job, comparing its run types, finding repeated test failures, and separating infrastructure, test, and flaky failures.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/lyarwood/kubevirt-ai-helpers/ci-lane
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.

Clone the repo
git clone --depth 1 https://github.com/lyarwood/kubevirt-ai-helpers

Made for: Claude Code.

Or install kubevirt, the plugin that ships this one along with the rest of its 4 skills, 17 commands.

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-lane

README.md
[![agentmods](https://agentmods.dev/badge/commands/lyarwood/kubevirt-ai-helpers/ci-lane/github.svg)](https://agentmods.dev/commands/lyarwood/kubevirt-ai-helpers/ci-lane)
Your own site
<a href="https://agentmods.dev/commands/lyarwood/kubevirt-ai-helpers/ci-lane"><img src="https://agentmods.dev/badge/commands/lyarwood/kubevirt-ai-helpers/ci-lane/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-lane

Your own site · 80×15
<a href="https://agentmods.dev/commands/lyarwood/kubevirt-ai-helpers/ci-lane"><img src="https://agentmods.dev/badge/commands/lyarwood/kubevirt-ai-helpers/ci-lane.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,363 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.00012 $0.01363
Opus 5 $0.00006 $0.00681
Sonnet 5 $0.00002 $0.00273
Haiku 4.5 $0.00001 $0.00136

Measured 12d ago against content hash 9b4679d53e1d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

ci-lane 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 12d 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/kubevirt/commands/ci-lane.md · 156 lines

How it starts

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

Name

kubevirt:ci-lane

Synopsis

/kubevirt:ci-lane <job-name> [--since <period>] [--type <job-type>]

Description

The kubevirt:ci-lane command analyzes recent job runs for a specific CI lane by crawling live Prow data. It provides real-time failure analysis, pattern detection, and comprehensive statistics to help understand job stability and identify problematic tests.

This command uses the healthcheck lane tool to:

  1. Fetch recent runs for the specified job from Prow
  2. Parse JUnit test results and build logs
  3. Identify failure patterns and trends
  4. Categorize failures by type (infrastructure, test, flaky)
  5. Provide actionable insights and recommendations

Analysis Capabilities

Failure Pattern Detection
  • Groups failures by test name to identify recurring issues
  • Calculates failure frequency and rates
  • Detects flaky tests (intermittent failures)
  • Categorizes by component (migration, storage, compute, network, operator)
Statistics & Metrics
  • Total runs analyzed with success/failure breakdown
  • Failure rate percentage
  • Job type distribution (presubmit, batch, periodic, postsubmit)
  • Per-job-type failure rates
  • Unique test failure counts
Time-Based Analysis
  • Flexible time ranges (hours, days, weeks)
  • Automatic pagination to fetch all results in period
  • Trend detection (improving, stable, degrading)
  • Duration calculations

Implementation

Phase 1: Prerequisites Check

  1. Verify healthcheck CLI is available:
    which healthcheck || echo "healthcheck not found - install from repos/healthcheck"
    
  2. Validate job name argument provided

Phase 2: Fetch and Analyze Data

  1. Run healthcheck lane command with summary mode:
    healthcheck lane <job-name> --since <period> --summary --output json
    
  2. Parse JSON output containing:
    • Run statistics (total, successful, failed, unknown)
    • Failure rate and job type breakdown
    • Test failure counts and patterns
    • Individual run details with URLs

Read the full file on GitHub · 156 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. 12d ago First seen · 156 lines · 12 tokens per session scan A 9b4679d53e1d

Subscribe to this mod's changes

ci-lane is a command published in the GitHub repository lyarwood/kubevirt-ai-helpers (2 stars, last pushed 9d ago), licensed Apache-2.0. It adds 12 tokens to every session and 1,363 once invoked, about $0.0001 per session on Opus 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-08-31.