Our review
Uses BuildBuddy to debug CI/CD failures by analyzing build invocations, logs, and targets via MCP tools.
Strengths
- Direct MCP integration without needing API keys
- Structured access to build metadata, logs, and artifacts
- Ideal for CI pipelines using BuildBuddy with Bazel
Limitations
- Requires manual extraction of invocation ID from links
- Only works for builds instrumented by BuildBuddy
- Large logs may require pagination
When you need to diagnose a CI build failure on a platform using BuildBuddy.
For local CI builds or those using a different remote build service.
Security analysis
SafeThe skill only uses safe, read-only commands (gh CLI to extract metadata) and MCP tools for build analysis. It explicitly discourages direct curl calls, and performs no destructive actions or data exfiltration.
No concerns found
Examples
Our CI build failed on invocation abc123 in BuildBuddy. Can you investigate why and show me the error logs?Get the target details for the last failed build in this PR and tell me which test failed and why.name: buildbuddy description: Use when debugging failed CI/CD jobs, analyzing build logs, or investigating GitHub Actions failures. Access BuildBuddy remote build execution and caching service for detailed build insights.
BuildBuddy - Remote Build Execution & CI Debugging
MCP Tools (Primary Interface)
Use BuildBuddy MCP tools via Context Forge. MCP handles authentication automatically.
Load tools with: ToolSearch query +buildbuddy
| Tool | Purpose |
| --------------------------------- | ---------------------------------- |
| buildbuddy-mcp-get-invocation | Build metadata, status, duration |
| buildbuddy-mcp-get-log | Full build logs (stdout/stderr) |
| buildbuddy-mcp-get-target | Target information and results |
| buildbuddy-mcp-get-action | Action details and execution info |
| buildbuddy-mcp-get-file | Download files by URI |
| buildbuddy-mcp-execute-workflow | Trigger a BuildBuddy workflow |
Debugging Failed CI
Workflow
GitHub PR fails
│
▼
gh pr checks ──► extract invocation ID from BuildBuddy URL
│
▼
ToolSearch +buildbuddy ──► load MCP tools
│
▼
buildbuddy-mcp-get-invocation ──► check success/failure, duration
│
▼
buildbuddy-mcp-get-log ──► find error messages
│
▼
Parse errors ──► fix root cause
Step 1: Get the Invocation ID
# Extract invocation ID from PR check links
gh pr checks --json link | jq -r '.[] | select(.link | contains("buildbuddy")) | .link' | grep -o '[^/]*$' | head -1
The invocation ID is the last path segment of the BuildBuddy URL:
https://jomcgi.buildbuddy.io/invocation/<invocation_id>
Step 2: Investigate with MCP Tools
Use the invocation ID with MCP tools — no API key or curl needed:
- Get overview:
buildbuddy-mcp-get-invocation— check.invocation.success, command, duration - Get logs:
buildbuddy-mcp-get-log— search for error/fail/fatal messages - Get targets:
buildbuddy-mcp-get-target— find which targets failed - Get actions:
buildbuddy-mcp-get-action— dig into specific action failures - Get files:
buildbuddy-mcp-get-file— download test outputs or artifacts
Tips
- Reproduce locally with
bazel test //... --config=ci - BuildBuddy logs may be paginated — use page tokens for large logs
- Check
.invocation.successboolean to quickly determine pass/fail - A PreToolUse hook blocks direct
curlto the BuildBuddy API — use MCP tools instead
Next.js App Router Expert
Development
A skill that turns Claude into a Next.js App Router expert.
README Generator
Development
Creates professional and comprehensive README.md files for your projects.
API Documentation Writer
Development
Generates comprehensive API documentation in OpenAPI/Swagger format.