binlog-generation SKILL.md skillA
binlog-generation from dotnet/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add dotnet/skills/binlog-generation@git:20261020.cbb2bb7Pins git:20261020.cbb2bb7 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- dotnet/skills
- Path
plugins/dotnet-msbuild/skills/binlog-generation/SKILL.md- Versions recorded
- 7
- Latest version
- git:20261020.cbb2bb7, committed Oct 20, 2026
- First version recorded
- Feb 27, 2026
- Size
- 4,284 bytes
- Repository stars
- 5,788
- License
- MIT
Generate MSBuild binary logs (binlogs) for build diagnostics and analysis. USE FOR: adding /bl:{} to any dotnet build, test, pack, publish, or restore command to capture a full build execution trace, prerequisite for binlog-failure-analysis and build-perf-diagnostics skills, enabling post-build investigation of errors or performance. Requires MSBuild 17.8+ / .NET 8 SDK+ for {} placeholder; PowerShell must quote the complete switch as '-bl:{}'. DO NOT USE FOR: non-MSBuild build systems…
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Generate Binary Logs
**Pass the `/bl` switch when running any MSBuild-based command.** This is a non-negotiable requirement for all .NET builds.
## Commands That Require /bl
You MUST add the `/bl:{}` flag to:
- `dotnet build`
- `dotnet test`
- `dotnet pack`
- `dotnet publish`
- `dotnet restore`
- `msbuild` or `msbuild.exe`
- Any other command that invokes MSBuild
## Preferred: Use `{}` for Automatic Unique Names
> **Note:** The `{}` placeholder requires MSBuild 17.8+ / .NET 8 SDK or later.
The `{}` placeholder in the binlog filename is replaced by MSBuild with a unique identifier, guaranteeing no two builds ever overwrite each other — without needing to track or check existing files.
```bash
# Every invocation produces a distinct file automatically
dotnet build /bl:{}
dotnet test /bl:{}
dotnet build --configuration Release /bl:{}
```
**PowerShell requires quoting the complete switch:**
```powershell
# Keep the literal {} placeholder in one argument
dotnet build '-bl:{}'
dotnet test '-bl:{}'
```
## Why This Matters
1. **Unique names prevent overwrites** - You can always go back and analyze previous builds
…Read the whole file at its exact version.
How to install
mdr add dotnet/skills/binlog-generation@sha256:dce87c222945463eThe line at the top of this page pins the label git:20261020.cbb2bb7, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_fcat2x7kmpyxm2wz)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 7 versions of this file, between Feb 27, 2026 and Oct 20, 2026, about one every 39 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261020.cbb2bb7 latest | 2026-10-20 | cbb2bb7 | 4,284 B | A | view · diff |
| git:20260930.ac46442 | 2026-09-30 | ac46442 | 4,225 B | A | view · diff |
| git:20260717.1b99afa | 2026-07-17 | 1b99afa | 4,154 B | A | view · diff |
| git:20260624.67e2a47 | 2026-06-24 | 67e2a47 | 3,309 B | A | view · diff |
| git:20260421.05aeb65 | 2026-04-21 | 05aeb65 | 3,401 B | A | view · diff |
| git:20260317.7e7dabd | 2026-03-17 | 7e7dabd | 3,388 B | A | view · diff |
| git:20260227.250b1c2 | 2026-02-27 | 250b1c2 | 2,869 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (4284 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
dotnet/skills · 5,788 stars · license MIT · pushed 2026-11-01 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_fcat2x7kmpyxm2wz GET https://markdownregistry.com/api/v1/resolve?ref=dotnet/skills/binlog-generation GET https://markdownregistry.com/api/v1/blob/dce87c222945463e43c9fd03fbd6b2496e6ba5e91ee9127df5c0e82361f9ba87
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.