Shows recent Buildkite build status for a pipeline with pass/fail visibility.
Show recent build status for a pipeline with clear pass/fail visibility.
| Tool | Purpose |
|---|---|
list_builds | List recent builds with optional filters |
get_build | Get detailed info for a specific build |
get_pipeline | Get pipeline configuration and metadata |
Parse from $ARGUMENTS or user's message:
| Input Format |
|---|
| Example |
|---|
| Pipeline name | my-pipeline |
| Pipeline + branch | my-pipeline main |
| Just branch | main (if pipeline can be inferred) |
| Question | "is the deploy pipeline healthy?" |
If no pipeline specified and in a git repo, try to match against Buildkite pipelines.
Identify the pipeline
buildkite_get_pipeline if need to verify it existsList recent builds with buildkite_list_builds
Present a clear summary
Present as a scannable table:
Pipeline: my-org/my-pipeline
| # | State | Branch | Commit | Age | Duration |
|---|-------|--------|--------|-----|----------|
| 456 | ✅ passed | main | abc123 | 2h ago | 4m 32s |
| 455 | ❌ failed | feature-x | def456 | 3h ago | 2m 15s |
| 454 | ✅ passed | main | 789ghi | 5h ago | 4m 28s |
| 453 | 🔄 running | develop | jkl012 | 10m ago | - |
| 452 | ⏸️ blocked | main | mno345 | 1d ago | - |
| State | Icon | Meaning |
|---|---|---|
| passed | ✅ | Build succeeded |
| failed | ❌ | Build failed |
| running | 🔄 | Currently running |
| blocked | ⏸️ | Waiting for approval |
| canceled | ⚪ | User cancelled |
| scheduled | 🕐 | Waiting to start |
User: Is main green?
1. Identify pipeline (from context or ask)
2. List recent builds filtered to main branch
3. Show status table
4. Summarize: "Main is green - last 5 builds passed"