Agent skill

Experimental Code Coverage Build Inspector

by nwjs in nwjs/chromium.src

Inspects LUCI build details using the inspectcoveragebuild.py script to validate code coverage configurations, test execution, and target file coverage.

BSD-3-ClauseAuto-check passedTesting & QA

Install Experimental Code Coverage Build Inspector

skills CLI
$ npx skills add nwjs/chromium.src --skill experimental-code-coverage-build-inspector -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install nwjs/chromium.src experimental-code-coverage-build-inspector --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/nwjs/chromium.src.git skills-src && mkdir -p .claude/skills && cp -r skills-src/agents/skills/experimental-code-coverage-build-inspector .claude/skills/experimental-code-coverage-build-inspector && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
experimental-code-coverage-build-inspector
GitHub stars
160
Token cost
~1.9k tokens
SKILL.md length
842 words
Files
1
Skills in repo
64
Repo updated
First seen
Licence
BSD-3-Clause

At a glance

Inspects LUCI build details using the inspectcoveragebuild.py script to validate code coverage configurations, test execution, and target file coverage.

  • Works in 4 steps: Run the Build Inspection Script → Gate on Terminal Build Status &… → Conditional Deep-Dive Inspection (Based… → …
  • Tasks that involve Test coverage
  • SKILL.md covers When to Use This Skill, Inputs, Workflow: Single Build… and Summary of Automated Script…, plus 1 more section
  • Calls python3; reaches ci.chromium.org

What it does

Experimental Code Coverage Build Inspector is an agent skill from nwjs/chromium.src. Inspects LUCI build details using the inspectcoveragebuild.py script to validate code coverage configurations, test execution, and target file coverage.

Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Testing & QA, covering Test coverage. The repository describes itself as: Chromium codebase with NW.js modifications. Based on https://chromium.googlesource.com/chromium/src.git. The licence is BSD-3-Clause.

When your agent uses it

  • Tasks that involve Test coverage

Example prompts

  • “Use the experimental-code-coverage-build-inspector skill to inspect LUCI build details using the inspectcoveragebuild.py script to validate code…”
  • “/experimental-code-coverage-build-inspector”

Requirements

  • Python 3

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Run the Build Inspection Script
  2. Gate on Terminal Build Status & Asynchronous Polling
  3. Conditional Deep-Dive Inspection (Based on Script Findings)
  4. Compile Final Inspection Artifact for Parent Agent

What it can do on your machine

Read from SKILL.md and the folder at commit a9e8946. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • ci.chromium.org

    Also links to:

    • chromium.googlesource.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Experimental Code Coverage Build Inspector loads about 1.9k tokens when it runs. Until then it costs about 49 tokens; SKILL.md has 842 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~49
When it runs · the whole SKILL.md, loaded when a task matches
~1.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from nwjs/chromium.src at commit a9e8946, republished under its BSD-3-Clause licence (© nwjs). 842 words, ~1,909 tokens.

Download SKILL.mdSave it as .claude/skills/experimental-code-coverage-build-inspector/SKILL.md (or your agent's skills folder).
name
experimental-code-coverage-build-inspector
description
Inspects LUCI build details using the inspect_coverage_build.py script to validate code coverage configurations, test execution, and target file coverage.

Code Coverage Build Inspector

This skill inspects LUCI builds to validate instrumentation configuration, coverage pipeline execution, recipe skip/error messages, and target file coverage metrics.

[!IMPORTANT] Mandatory Diagnostic Script: You MUST use the automated inspection script tools/code_coverage/inspect_coverage_build.py as your primary inspection tool. When investigating a specific error flagged by the script, use the buildbucket skill located in depot_tools rather than manually running bb get.

When to Use This Skill

  • Confirming the gn_args and .gclient configuration for a LUCI tryjob.
  • Auditing overall test coverage and unit test coverage pipeline steps.
  • Detecting official Clang recipe skip or error messages during processing.
  • Extracting exact target file coverage percentages and uncovered line ranges.
  • Triaging why target files show 0% or low coverage despite pipeline SUCCESS.

Inputs

When invoked during CQ triage, this skill requires:

  • build_link: The Buildbucket build URL/link to inspect (e.g., https://ci.chromium.org/b/8679...), passed in the prompt by calling agent.
  • language_context: Programming language context ("cpp", "objc", "rust", "java", "js", or "ts"). Consult references/language_coverage_map.json.
  • target_files: Optional list of specific target files under investigation (e.g., ["chrome/browser/ui/color/material_new_tab_page_color_mixer.cc"]).
  • test_suites: Specific list of target test suites (e.g., ["chrome_junit_tests", "content_browsertests"]) to verify execution for.
  • metrics_of_concern: Specific coverage metric types or target thresholds under investigation (e.g., "line_coverage", "function_coverage").

Workflow: Single Build Inspection

1. Run the Build Inspection Script

Execute the automated inspection tool against the target build:

bash
python3 tools/code_coverage/inspect_coverage_build.py \
  --build <build_link> \
  --language <language_context> \
  --files <target_file_1> <target_file_2> \
  --save-artifact scratch/inspection_<build_id>.md
2. Gate on Terminal Build Status & Asynchronous Polling
  • Examine the Phase 1 output of the script.
  • CRITICAL ASYNC POLLING GATE: If the build is non-terminal (SCHEDULED or STARTED), do NOT exit or return a final report prematurely.
  • Action: Invoke the schedule tool to set up a recurring 10-minute poll:
    • CronExpression: "*/10 * * * *"
    • Prompt: "Re-run tools/code_coverage/inspect_coverage_build.py against <build_link>. If still running, go idle. If terminal, cancel this cron timer using manage_task and execute Section 3 (Conditional Deep-Dive)."
  • Once scheduled, stop calling tools immediately and go idle.
3. Conditional Deep-Dive Inspection (Based on Script Findings)

Once the script completes against a terminal build, use the buildbucket skill to pull deeper log snippets only when specific conditions occur:

  1. Clean Execution & High Coverage:
    • If pipelines report SUCCESS and target files have expected coverage, no extra log scraping is needed. Proceed directly to Section 4.
  2. Zero or Low Target File Coverage Despite Pipeline SUCCESS:
    • If inspect_coverage_build.py extracts 0.00% Line Coverage (or very low coverage) for target_files despite pipeline SUCCESS:
      • Use buildbucket to check which test suites actually ran on the bot.
      • Determine whether the target files belong to a test suite not run on this builder or if they lack unit tests entirely.
      • Compare Unit Test Coverage vs. Overall Test Coverage pipelines.
  3. Detected Recipe Skip/Error Messages:
    • Follow the specific triage instructions in Section 5 below.
  4. Configuration Mismatch (GN args or .gclient):
    • Use buildbucket to inspect the lookup GN args step output.
4. Compile Final Inspection Artifact for Parent Agent

Compile a structured Markdown artifact (scratch/inspection_<build_id>.md or path requested by parent agent) structured into three parts:

  1. Executive Summary & Status: Build ID, builder name, terminal status, and overall configuration health.
  2. Automated Diagnostic Report: The exact Phase 1 (Config), Phase 2 (Pipelines & Links), and Phase 3 (Target File Coverage) script output.
  3. Deep-Dive Log Context & Zero-Coverage Diagnosis: Any targeted logs, shard tracebacks, or explanation of 0% target file coverage gathered in Section 3.

Report back to the parent CQ Debugging agent with the artifact file URI.


Show full SKILL.md (294 more words)Show less

Summary of Automated Script Checks

The inspect_coverage_build.py script automatically verifies three phases:

  • Phase 1 (Status & Config Verification): Audits terminal status and checks properties against references/language_coverage_map.json.
  • Phase 2 (Pipeline & Recipe Verification): Audits HTML report generation and upload across unit/overall pipelines, extracts GCS/Pantheon URLs, and detects official recipe skip and error messages.
  • Phase 3 (Target File Extraction): Fetches live llvm-cov HTML reports from GCS and parses exact coverage percentages and uncovered line numbers.

Handling Clang Coverage Recipe Error & Skip Conditions

[!IMPORTANT] Use the buildbucket Skill: For all follow-up log investigation, step status queries, and error log extraction listed below, you MUST use the buildbucket skill located in depot_tools. If the buildbucket skill is not available in depot_tools, notify the user.

When the script detects official Clang coverage recipe skip or error messages from build/recipes/recipe_modules/code_coverage/api.py, follow these triage instructions to investigate further:

  1. skip processing clang coverage data because no profile data collected
    • Trigger: Swarming test steps produced zero .profraw profile dirs.
    • Action: Check if tests failed to launch, were skipped, or if GN argument use_clang_coverage = true was missing.
  2. skip processing because no profdata was generated
    • Trigger: llvm-profdata merge failed or produced no output.
    • Action: Inspect merge step logs for toolchain or profile corruption.
  3. Found invalid profraw files (presentation.properties['merge errors'])
    • Trigger: Malformed .profraw files detected during profile merge.
    • Action: Check merge errors property output to identify crashing or OOM-killed Swarming test shards.
  4. skip processing because no data is found
    • Trigger: Zero test binaries exercised instrumented files in the CL.
    • Action: Verify whether target test suites exercising target_files ran on this bot or if target_files lack unit tests.
  5. process_coverage_data_failure = True
    • Trigger: Exception during metadata generation or HTML report upload.
    • Action: Inspect processing_step.logs['error'] for Python traceback.

References

© nwjs, BSD-3-Clause. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in agents/skills/experimental-code-coverage-build-inspector of nwjs/chromium.src.

Open the folder on GitHubat commit a9e8946

Compare with similar skills

Experimental Code Coverage Build Inspector next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Experimental Code Coverage Build Inspector compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Experimental Code Coverage Build Inspector this skillnwjs/chromium.src160—~1.9kAutomated safety check: PassBSD-3-Clause
Requirementsrizsotto/Bear6.5k—~2kAutomated safety check: PassGPL-3.0
Crap Analysisardalis/RiverBooks1352 repos~3.4kAutomated safety check: PassNone
Code Coverages3s-project/s3s311—~789Automated safety check: PassApache-2.0
Project Statusbactopia/bactopia522—~787Automated safety check: PassMIT
Check Coverageldayton/Dippy243—~403Automated safety check: PassMIT

Similar skills

  • Requirements

    rizsotto/Bear

    Write, modify, or review a requirement file under docs/requirements -- pick the single owning file, keep the text contract-only, name IDs so they need no explanation, and verify cross-references and…

    6.5k GitHub stars~2k tokensUpdated yesterday
    Testing & QAAuto-check passed
  • Crap Analysis

    ardalis/RiverBooks

    Analyze code coverage and CRAP (Change Risk Anti-Patterns) scores to identify high-risk code.

    135 GitHub starsUsed in 2 repos~3.4k tokens
    Testing & QAAuto-check passed
  • Code Coverage

    s3s-project/s3s

    Measure and grow the line coverage of the s3s crate. An agent skill from s3s-project/s3s.

    311 GitHub stars~789 tokensUpdated today
    Testing & QAAuto-check passed
  • Project Status

    bactopia/bactopia

    Show a live snapshot of the Bactopia project state — component counts, GroovyDoc coverage, nf-test coverage, and structural issues.

    522 GitHub stars~787 tokensUpdated 2 mo ago
    Testing & QAAuto-check passed
  • Check Coverage

    ldayton/Dippy

    Ensure comprehensive test coverage for a CLI handler. An agent skill from ldayton/Dippy.

    243 GitHub stars~403 tokensUpdated 3 mo ago
    Testing & QAAuto-check passed
  • Guarding Destructive Operations

    kajisho5/ffmpeg-skill

    Add and review preconditions on operations that delete, overwrite, rewrite history, or resolve a caller-supplied name to a filesystem path — refusing instead of warning, placing the guard ahead of…

    1.9k GitHub stars~2.6k tokensUpdated 3 days ago
    Testing & QAAuto-check passed

More from nwjs/chromium.src

All 64 skills in this repo
  • Analyzing SQL Traces

    nwjs/chromium.src

    Extracts raw trace data from Perfetto traces, runs arbitrary SQL queries for custom follow-up analysis, and applies expert cognitive principles (Tiered Flow Analysis, Semantic Mismatch, Redundancy)…

    160 GitHub stars~2.9k tokensUpdated 4 days ago
    Auto-check passed
  • Autonomous multi-agent performance optimization loop for Chromium and V8.

    160 GitHub stars~4.2k tokensUpdated 4 days ago
    Auto-check passed
  • Automated Tracing

    nwjs/chromium.src

    Automated Tracing & Performance Telemetry in Chromium using Perfetto and Telemetry benchmarks.

    160 GitHub stars~1.5k tokensUpdated 4 days ago
    Auto-check passed
  • Chrome Releases

    nwjs/chromium.src

    Queries Chrome commit, version, release, and milestone metadata.

    160 GitHub stars~1.3k tokensUpdated 4 days ago
    Auto-check passed
  • Chromium Docs

    nwjs/chromium.src

    Search and reference Chromium documentation from the local docs index, including design docs, APIs, and development guides.

    160 GitHub stars~1.2k tokensUpdated 4 days ago
    Auto-check passed
  • Gn Deps Debugging

    nwjs/chromium.src

    Diagnose Chromium GN dependency and include-visibility failures, including BUILD.gn deps/publicdeps, DEPS include rules, private headers, and circular dependencies.

    160 GitHub stars~1.5k tokensUpdated 4 days ago
    Auto-check passed

Categories

Questions about Experimental Code Coverage Build Inspector

What does Experimental Code Coverage Build Inspector do?

Inspects LUCI build details using the inspectcoveragebuild.py script to validate code coverage configurations, test execution, and target file coverage. src.py script to validate code coverage configurations, test execution, and target file coverage.

When should I use Experimental Code Coverage Build Inspector?

Experimental Code Coverage Build Inspector fits situations like: tasks that involve Test coverage.

How do I install Experimental Code Coverage Build Inspector in Claude Code?

Run `npx skills add nwjs/chromium.src --skill experimental-code-coverage-build-inspector -a claude-code`. Or copy the skill folder (agents/skills/experimental-code-coverage-build-inspector in nwjs/chromium.src) into .claude/skills/experimental-code-coverage-build-inspector in your project. Claude Code loads it when a task matches its description.

How do I install Experimental Code Coverage Build Inspector in Codex?

Run `npx skills add nwjs/chromium.src --skill experimental-code-coverage-build-inspector -a codex`. Or copy the skill folder (agents/skills/experimental-code-coverage-build-inspector in nwjs/chromium.src) into .agents/skills/experimental-code-coverage-build-inspector in your project. Codex loads it when a task matches its description.

Can I use Experimental Code Coverage Build Inspector in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add nwjs/chromium.src --skill experimental-code-coverage-build-inspector -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/experimental-code-coverage-build-inspector, .gemini/skills/experimental-code-coverage-build-inspector, .github/skills/experimental-code-coverage-build-inspector and .opencode/skills/experimental-code-coverage-build-inspector in your project.

What does Experimental Code Coverage Build Inspector need to run?

Going by SKILL.md and its folder, Experimental Code Coverage Build Inspector needs the command-line tools its instructions call (python3). Our summary lists: Python 3.

Does Experimental Code Coverage Build Inspector access the network?

SKILL.md names 2 domains. In commands or code: ci.chromium.org; the agent is likely to contact it when it follows the instructions. As links in the text: chromium.googlesource.com. This is read from the text; nothing was executed.

Is Experimental Code Coverage Build Inspector safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Experimental Code Coverage Build Inspector use?

Experimental Code Coverage Build Inspector is published under the BSD-3-Clause licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Experimental Code Coverage Build Inspector use?

About 1.9k tokens (SKILL.md is roughly 7.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Experimental Code Coverage Build Inspector?

Skills that share tags, products or a category with Experimental Code Coverage Build Inspector: Requirements (rizsotto/Bear, 6.5k stars), Crap Analysis (ardalis/RiverBooks, 135 stars), Code Coverage (s3s-project/s3s, 311 stars) and Project Status (bactopia/bactopia, 522 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Experimental Code Coverage Build Inspector?

nwjs (a GitHub organization) maintains it in nwjs/chromium.src, which has 160 GitHub stars. The repository holds 64 skills in this directory. The repository was last updated on October 3, 2026.

Source: nwjs/chromium.src on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.