원클릭으로
log-retrieval
Retrieves and displays Buildkite job logs. For debugging failures, use build-debugging instead.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Retrieves and displays Buildkite job logs. For debugging failures, use build-debugging instead.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Diagnoses Buildkite agent issues like stuck jobs and queue mismatches.
Analyzes failed Buildkite builds to identify root causes and provide fixes.
Shows recent Buildkite build status for a pipeline with pass/fail visibility.
Triggers new Buildkite builds with branch/commit control and safety confirmations.
Unblocks Buildkite builds waiting for manual approval.
Helps write and improve Buildkite pipeline YAML configurations.
| name | log-retrieval |
| description | Retrieves and displays Buildkite job logs. For debugging failures, use build-debugging instead. |
Retrieve and display job logs from Buildkite builds.
/buildkite:logs| Tool | Purpose |
|---|---|
get_build | Get build details to find job IDs |
read_logs | Get full log output for a job |
search_logs | Search for patterns within logs |
tail_logs | Show last N log entries |
Parse from $ARGUMENTS or user's message:
| Input Format | Example |
|---|---|
| Job URL | https://buildkite.com/org/pipe/builds/123#job-uuid |
| Build + job name | build 123, test step |
| Build number | 123 (then ask which job) |
| Description | "the failed job" or "the deploy step" |
Identify the job
Fetch logs with buildkite_read_logs
Present logs appropriately
Search if needed with buildkite_search_logs
## Logs: "Run Tests" (job abc-123)
```
[timestamp] Installing dependencies...
[timestamp] Running test suite...
[timestamp] Error: Connection refused
[timestamp] Test failed: api.test.js
```
Showing last 50 lines. Full log is 2,847 lines.
When searching:
## Search: "error" in build 456
Found 3 matches:
**Line 234** (test step):
> Error: Cannot connect to database
**Line 567** (deploy step):
> Error: Permission denied
**Line 890** (cleanup step):
> Error: File not found (non-fatal)
| Scenario | Skill |
|---|---|
| "Why did build fail?" | build-debugging |
| "Show me the test logs" | log-retrieval |
| "Debug this error" | build-debugging |
| "Search for 'timeout' in logs" | log-retrieval |
| "What went wrong?" | build-debugging |
| "What did the deploy output?" | log-retrieval |
User: Show me the logs from the failed test
1. Get build (from context or ask)
2. Find job with "test" in name that failed
3. Fetch logs with buildkite_read_logs
4. Display relevant portion in code block