broken-build-troubleshooter

broken-build-troubleshooter is an agent for Claude Code from ivegamsft/basecoat. It costs 79 tokens per session (406 once invoked), scanned A, original, MIT.

A build-failure triage assistant that examines logs and recent changes to identify the first failing stage and likely failure class.

In plain words
What is it for?
Use it to diagnose failing local or CI builds, narrow down a reproducible failure, propose remediation, and create a validation checklist.
Why use it?
It helps separate dependency, toolchain, test, infrastructure, and configuration problems so teams can focus on the smallest safe fix.

Agent for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter.

Good fit Use it to diagnose failing local or CI builds, narrow down a reproducible failure, propose remediation, and create a validation checklist.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ivegamsft/basecoat/basecoat-60-workflow-broken-build-troubleshooter
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/ivegamsft/basecoat

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 broken-build-troubleshooter

README.md
[![agentmods](https://agentmods.dev/badge/agents/ivegamsft/basecoat/basecoat-60-workflow-broken-build-troubleshooter/github.svg)](https://agentmods.dev/agents/ivegamsft/basecoat/basecoat-60-workflow-broken-build-troubleshooter)
Your own site
<a href="https://agentmods.dev/agents/ivegamsft/basecoat/basecoat-60-workflow-broken-build-troubleshooter"><img src="https://agentmods.dev/badge/agents/ivegamsft/basecoat/basecoat-60-workflow-broken-build-troubleshooter/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 broken-build-troubleshooter

Your own site · 80×15
<a href="https://agentmods.dev/agents/ivegamsft/basecoat/basecoat-60-workflow-broken-build-troubleshooter"><img src="https://agentmods.dev/badge/agents/ivegamsft/basecoat/basecoat-60-workflow-broken-build-troubleshooter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 406 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.00079 $0.00406
Opus 5 $0.00039 $0.00203
Sonnet 5 $0.00016 $0.00081
Haiku 4.5 $0.00008 $0.00041

Measured today against content hash 9a40fe2aa88e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

broken-build-troubleshooter 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 today.

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.

agents/basecoat-60-workflow-broken-build-troubleshooter.agent.md · 55 lines

What it actually says

Broken Build Troubleshooter Agent

Purpose: Provide deterministic build-failure triage and guide the team to a safe green-state recovery.

Inputs

  • Failing workflow/job identifier
  • Build logs or failing command output
  • Last known good commit (optional)
  • Recent dependency or config change context (optional)

Workflow

  1. Collect evidence from logs, stage timelines, and changed files.
  2. Classify failure (toolchain, dependency, test flake, infra, configuration).
  3. Narrow blast radius to the first failing step and minimal repro command.
  4. Propose fix sequence with rollback-safe ordering.
  5. Emit validation checklist for CI and local confirmation.

Output

## Broken Build Triage

- Failure class: <dependency/toolchain/test/infra/config>
- First failing stage: <name>
- Suspected trigger: <summary>

### Proposed Fix
1. <smallest safe change>
2. <secondary hardening change>

### Validation
- [ ] Local repro no longer fails
- [ ] CI stage passes
- [ ] No new regression failures introduced
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. today Changed · -1 lines · +79 tokens per session 9a40fe2aa88e
  2. 7d ago First seen · 56 lines · 0 tokens per session scan A 69811fb959ae

Subscribe to this mod's changes

broken-build-troubleshooter is an agent published in the GitHub repository ivegamsft/basecoat (4 stars, last pushed today), licensed MIT. It adds 79 tokens to every session and 406 once invoked, about $0.0004 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-09-03.

Related

Other agents, from other repositories

oncall-engineer

Diagnoses a red CI run, traces it to the responsible task, hands a concrete fix task to the SWE, and re-verifies green. Owns pipeline health; does not change application code.

iusztinpaul/squid · 45 tokens

ci-debugger

CI pipeline debugging specialist. Analyzes CI logs, identifies failure causes, and provides specific fixes for GitHub Actions and GitLab CI.

dykyi-roman/awesome-claude-code · 32 tokens

ci-doctor

Diagnoses and repairs an eligible CI failure on the existing pull-request branch.

theam/facility · 19 tokens

megalinter-watcher

Watch a MegaLinter CI job (GitHub Actions, GitLab CI, Azure Pipelines or Bitbucket Pipelines) until completion, download its logs, and return only the parsed lint error list. Use to keep large CI logs out of the main context. Observes only — never fixes, edits or pushes.

ulises-jeremias/agent-toolkit · 70 tokens

factory-ci-doctor

Diagnostician for one red GitHub Actions run. Spawn it after a run has failed — never to wait for one (gh run watch --exit-status does that for free) — with the repo and run ID or PR number, so the failed-job logs never enter the caller's context. It returns the culprit job/step, the offending log lines, and a TICKET…

watt-mind/factory · 108 tokens

orc-ci-investigator

Investigator role — diagnoses a failing CI run end-to-end and returns a classified failure report with a concrete fix list; never edits code, never re-runs workflows. Fetches run/job logs via gh CLI, classifies each failure as test / lint / build / flake / infra / environment-drift, and emits fix items orc-code-fixer…

HigorAlves/orc · 118 tokens