Dagster is a platform for developing, running, and observing data assets, such as datasets and the processes that produce them. It is used to organize and automate data workflows.
Borrowing it
Nothing to install: this file belongs to dagster-io/dagster. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/dagster-io/dagster/master/.claude/commands/diagnose_bk_failure.mdgit clone --depth 1 https://github.com/dagster-io/dagsterWrote 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.
[](https://agentmods.dev/commands/dagster-io/dagster/diagnose_bk_failure)<a href="https://agentmods.dev/commands/dagster-io/dagster/diagnose_bk_failure"><img src="https://agentmods.dev/badge/commands/dagster-io/dagster/diagnose_bk_failure/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.
<a href="https://agentmods.dev/commands/dagster-io/dagster/diagnose_bk_failure"><img src="https://agentmods.dev/badge/commands/dagster-io/dagster/diagnose_bk_failure.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00410 |
| Opus 5 | $0.00000 | $0.00205 |
| Sonnet 5 | $0.00000 | $0.00082 |
| Haiku 4.5 | $0.00000 | $0.00041 |
Grade A, and why
diagnose_bk_failure 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 10d 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.
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.
What it actually says
Diagnose Buildkite Failure
Fast automated diagnosis of Buildkite build failures using the specialized buildkite-error-detective agent.
Usage
/diagnose_bk_failure
What it does
Delegates to buildkite-error-detective agent for:
- Fast parallel analysis of failing builds (30-45 second target)
- Pattern-first diagnosis of common failure types
- Specific actionable fixes with file paths and line numbers
- Distinction between functional failures vs. test infrastructure issues
Process:
- Get PR Status: Uses
ghCLI to fetch the current PR's status checks - Find Failing Builds: Identifies failing Buildkite builds and extracts build numbers
- Fetch Failure Logs: Uses Buildkite MCP server to get detailed logs from the most recent failing build
- Analyze Failures: Examines error patterns and provides diagnosis
- Suggest Solutions: Recommends specific fixes or next steps
Requirements
- Buildkite MCP Server: Must be configured with API tokens
- Installation: https://github.com/buildkite/buildkite-mcp-server
- API tokens: https://buildkite.com/user/api-access-tokens
Example Output
Executive Summary: Cache Performance Regression in Asset Partition Status Methods
Root Cause: AssetMixin extraction broke caching behavior - get_materialized_partitions() called more times than expected
Priority Fixes:
- Verify AssetMixin Integration: Check cached method delegation in asset mixin structure
- Cache Mechanism: Ensure partition status queries properly cached through new mixin
- Method Resolution: Confirm cache decorators preserved after method extraction
Affected Tests:
test_get_cached_partition_status_changed_time_partitionstest_get_cached_partition_status_by_asset- Storage & GraphQL partition caching tests (8 failed jobs)
Investigation Time: ~35 seconds ✅
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.
- 10d ago First seen · 53 lines · 0 tokens per session scan A 5f73f85e89c6
diagnose_bk_failure is a command published in the GitHub repository dagster-io/dagster (16,132 stars, last pushed today), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 410 tokens. 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-08-30.
Other commands, from other repositories
fix-ci
Start an iterative CI fix session — resolve the input (build / PR / branch / cwd), then run the fixing-ci skill loop until CI is green or you've hit the iteration cap.
metrics
Apply the CLI runtime and safety contract before executing a command. Runtime --help is authoritative.
fix-develop
Autonomous fix loop for failing CI on the repo's default branch.
gha
Fix failing GitHub Actions for the current commit.
fix-ci
../../templates/commands/fix-ci.md.
deploy
Run the complete ClawBridge release process. This is the ONLY way to deploy — follow every step.