From buddy-cli
Diagnoses and resolves CI/CD pipeline failures. Use when builds fail, executions error, or users ask why a deployment didn't work.
How this skill is triggered — by the user, by Claude, or both
Slash command
/buddy-cli:troubleshooting-pipelinesThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Diagnostic workflow for Buddy.works pipeline failures.
Diagnostic workflow for Buddy.works pipeline failures.
DO NOT try
buddy-cli,buddy execution logs,buddy api, or browser automation. These do not exist. Use the commands below.
The #1 priority is reading the actual build logs. Do NOT guess or theorize without them.
# Failed action logs (most useful for failures)
buddy executions:failed <exec-id> --pipeline=<id>
# ALL action logs (when you need full context)
buddy executions:show <exec-id> --pipeline=<id> --logs
buddy executions:show <exec-id> --pipeline=<id> --logs -v # Surface errors for skipped actions
# Error pattern analysis
buddy executions:failed <exec-id> --pipeline=<id> --analyze
# Compact status overview
buddy executions:show <exec-id> --pipeline=<id> --summary
# Targeted: list actions to find action_execution_id, then fetch one action's logs
buddy executions:actions <exec-id> --pipeline=<id>
buddy executions:action-logs <exec-id> <action-execution-id> --pipeline=<id>
Tip: For targeted debugging, use
executions:actionsto find the specific action's hex ID, thenexecutions:action-logsto fetch just that one action's logs. Faster than--logswhich fetches all actions sequentially.
When the user provides a Buddy.works URL, parse it using the buddy-cli:url-parser agent to extract workspace, project, pipeline, and execution IDs.
Note: URL execution IDs are hex hashes (e.g.,
69c2d8c162305ac4bd6107fb). The CLI resolves these to integer IDs automatically — you can pass either format.
# List recent executions (returns integer IDs)
buddy executions:list --pipeline=<id>
# Find the latest failed execution
buddy executions:list --pipeline=<id> --json | jq '[.[] | select(.status == "FAILED")] | .[0]'
| Symptom | Likely Cause | Fix |
|---|---|---|
| "heap out of memory" | Node.js memory limit | Set NODE_OPTIONS=--max-old-space-size=4096 as pipeline variable |
| "permission denied" | SSH key or credentials | Check Variables, verify keys |
| "connection refused" | Service not running | Check target server status |
| "authentication failed" | Expired token/password | Rotate credentials in Variables |
| "timeout" | Slow tests/builds | Increase timeout or optimize |
| "npm ERR!" / "composer error" | Dependency issues | Clear cache, check lock files |
| "out of memory" | Container resource limits | Increase container resources or memory variable |
| Exit code 1 | Generic failure | Check action logs for specifics |
Build failed?
├── Get logs FIRST (executions:failed)
├── Clear error message?
│ ├── Yes → Fix based on error type (see table above)
│ └── No → Check last successful run, diff changes
│
├── Intermittent failure?
│ ├── Yes → Likely timeout/resource issue, retry first
│ └── No → Code or config change caused it
│
└── First-time setup?
└── Check config: token, workspace, project, variables
buddy pipelines:retry <pipeline-id>
# For wildcard pipelines, specify branch:
buddy pipelines:run <pipeline-id> --branch=<branch-name>
# Pipeline-scoped variable (all options BEFORE --, then key and value)
buddy vars:set --pipeline=<id> -- KEY "value"
buddy pipelines:cancel <pipeline-id>
buddy config:validate
buddy config:validate --test-api
buddy vars:list --pipeline=<id>
npx claudepluginhub jtsternberg/buddy-cli --plugin buddy-cliProvides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.