binlog-failure-analysis

binlog-failure-analysis is a skill for Claude Code from ANcpLua/ancplua-claude-plugins. It costs 239 tokens per session (4,152 once invoked), scanned A, original, MIT.

A workflow for finding the cause of a failed Azure DevOps build attached to a GitHub pull request by reading the build log file it already created. It sends the findings back as a comment on the pull request.

In plain words
What is it for?
It is for investigating failed Azure DevOps checks, examining errors and warnings in their build logs, and posting a root-cause summary to GitHub. It can also add suggested fixes to specific lines of code.
Why use it?
It avoids running the build again just to investigate a failure. It also groups several error messages that come from the same underlying problem.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the dotnet-dnceng plugin — 10 skills, 1 agent shipped together

Good fit It is for investigating failed Azure DevOps checks, examining errors and warnings in their build logs, and posting a root-cause summary to GitHub. It can also add suggested fixes to specific lines of code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ancplua/ancplua-claude-plugins/binlog-failure-analysis
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 ANcpLua/ancplua-claude-plugins --skill binlog-failure-analysis
Clone the repo
git clone --depth 1 https://github.com/ANcpLua/ancplua-claude-plugins

Made for: Claude Code.

Or install dotnet-dnceng, the plugin that ships this one along with the rest of its 10 skills, 1 agent.

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 binlog-failure-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/ancplua/ancplua-claude-plugins/binlog-failure-analysis/github.svg)](https://agentmods.dev/skills/ancplua/ancplua-claude-plugins/binlog-failure-analysis)
Your own site
<a href="https://agentmods.dev/skills/ancplua/ancplua-claude-plugins/binlog-failure-analysis"><img src="https://agentmods.dev/badge/skills/ancplua/ancplua-claude-plugins/binlog-failure-analysis/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 binlog-failure-analysis

Your own site · 80×15
<a href="https://agentmods.dev/skills/ancplua/ancplua-claude-plugins/binlog-failure-analysis"><img src="https://agentmods.dev/badge/skills/ancplua/ancplua-claude-plugins/binlog-failure-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 239 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,152 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00239 $0.04152
Opus 5 $0.00120 $0.02076
Sonnet 5 $0.00048 $0.00830
Haiku 4.5 $0.00024 $0.00415

Measured 8d ago against content hash 52b65a30edc2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

binlog-failure-analysis scanned grade A with 1 finding 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 8d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- **`curl`** for the AzDO REST artifact download.
plugins/dotnet-dnceng/skills/binlog-failure-analysis/SKILL.md · 262 lines

How it starts

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

Binlog Failure Analysis (reuse AzDO binlog, don't rebuild)

Analyze a failed AzDO PR build by reading the binlog that build already produced, not by re-running the local build (./build.sh -bl or equivalent) on a GitHub Actions runner. This is the AI-build-failure-analyst pattern: it makes the analyst run cheap enough to be turned on for every failing PR sync.

🛑 NEVER use gh pr review --approve or --request-changes. Only --comment is allowed. Approval and blocking are human-only actions.

Workflow: gate on check_run: completed → resolve PR + build id → download AzDO artifact → ask the binlog MCP server for the build overview, errors, and warnings (drilling into root-cause diagnostics or property-value tracing when the basics aren't enough) → group symptoms by root cause → post a single summary comment → optionally attach ≤10 inline suggestion blocks. The agent drives the analysis; tools provide the data.

When to use

  • A GitHub PR check from app slug azure-pipelines (or the repo's AzDO check slug) transitions to failure.
  • The pipeline publishes a binlog artifact (arcade-onboarded repos do this via eng/common/core-templates/steps/publish-logs.yml; arbitrary AzDO pipelines may not).
  • You want a structured per-PR comment with grouped root causes and concrete suggestion blocks — not just a link to the raw log.

When NOT to use

  • The PR has no AzDO check (GH-Actions-only repos) — use a rebuild-based skill instead, or wait for an AzDO migration.
  • The pipeline doesn't publish a binlog artifact — there's nothing to reuse.
  • You want pipeline-wide health analysis across many builds — use ci-analysis or pipeline-investigation.
  • You want to investigate a non-build leg failure (test failures, Helix work item failures) — see helix-investigation.

Prerequisites

  • binlog MCP serverMicrosoft.AITools.BinlogMcp is wired in plugins/dotnet-dnceng/plugin.json under the namespace binlog. The same server is also published by dotnet/skills/dotnet-msbuild under the same binlog name, so installing both plugins resolves to a single MCP instance. This skill invokes the server's capabilities semantically (build overview, error list, warning list, root-cause diagnose, property-value trace, structured search, task details, tasks-in-target) — discover the exact tool names for your server version via tools/list. With Microsoft.AITools.BinlogMcp, typical names start with binlog_ (e.g., binlog_overview, binlog_errors); the server exposes ~29 tools total.
  • curl for the AzDO REST artifact download.
  • jq for parsing the AzDO artifacts JSON and the GitHub check-runs payload (Step 2 + references/azdo-artifact-fetch.md).
  • unzip for extracting the artifact.
  • Azure DevOps access:
    • Anonymous read for dev.azure.com/dnceng-public/public — no token needed.
    • For devdiv/DevDiv or dnceng/internal: a federated identity (azure/login@v2) or azureauth ado token. See references/azdo-artifact-fetch.md.
  • gh CLI for posting the summary comment + inline review comments.

Read the full file on GitHub · 262 lines

Files

What ships with it

1 file 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. 8d ago First seen · 262 lines · 239 tokens per session scan A 52b65a30edc2

Subscribe to this mod's changes

binlog-failure-analysis is a skill published in the GitHub repository ANcpLua/ancplua-claude-plugins (6 stars, last pushed 22d ago), licensed MIT. It adds 239 tokens to every session and 4,152 once invoked, about $0.0012 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories