بنقرة واحدة
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