
Description
binlog-failure-analysis is an agent skill from the dotnet/skills collection, listed on skills.sh. It helps an AI agent diagnose MSBuild build failures from a .binlog file, the binary log that MSBuild writes when it runs with the /bl switch. The preferred path uses a binlog MCP server, Microsoft.AITools.BinlogMcp, which ships with the plugin and lets the agent query the log through structured tools instead of reading the binary file as text. If that server is not available, the skill points to a troubleshooting skill for startup problems, and when repair is not wanted or not possible, it falls back to a replay workflow that turns the binlog into readable output. The skill is written for build errors that are unclear from console output and for cascading failures, where one early error causes many later ones. It also tells the agent to share its conclusions once it has enough evidence, rather than investigating until time runs out. The listing shows it as free.…
Highlights
- Reads .binlog files through the binlog MCP server
- Falls back to a replay workflow when the server is missing
- Traces cascading build failures to the first error
- Reports conclusions once the evidence is enough
Ratings & Reviews
No ratings yet
Be the first to rate binlog-failure-analysis.
People also visit

binlog-generation
Generate MSBuild binary logs (binlogs) for build diagnostics and analysis

build-perf-diagnostics
Diagnose MSBuild build performance bottlenecks using binary log analysis

eval-performance
Guide for diagnosing and improving MSBuild project evaluation performance

check-bin-obj-clash
Detects MSBuild projects with conflicting OutputPath or IntermediateOutputPath
binlog-failure-analysis FAQ
What does the binlog-failure-analysis skill do?
It lets an AI agent work out why an MSBuild build failed by reading a binary log, instead of guessing from console output.
How do I install it?
Run: npx skills add https://github.com/dotnet/skills --skill binlog-failure-analysis
How do I get a binary log?
Add /bl to the MSBuild-based command, for example dotnet build /bl. The binlog-generation skill in the same collection covers this.
Does the agent read the .binlog file directly?
No. The skill says the file is binary and must not be read with cat, head or strings. The agent uses the MCP tools to query it.
Do I need the source files on disk?
Not always. The skill notes that project files may only be available inside the binlog, and the MCP tools can retrieve them from there.
Is it free?
The listing shows it as free. The skill is published in a public GitHub repository.
What are the best binlog-failure-analysis alternatives?
Popular alternatives to binlog-failure-analysis include binlog-generation, build-perf-diagnostics and eval-performance. See all binlog-failure-analysis alternatives







