| name | analyze-ci-failure |
| description | Download and analyze a CI failure log to construct an actionable suggested fix plan and report back |
When a CI monitoring workflow alerts you to a failed Buildkite job or GitHub
check, invoke this skill by running:
./.agents/skills/analyze-ci-failure/scripts/analyze_ci_failure.py \
"<job_name>" "<build_id_or_log_url>" "<job_id>" "<your_conversation_id>"
✨ What this Skill Does
- Resolves Log: Automatically resolves the Buildkite job download URL or
fetches GitHub Actions logs via
gh CLI.
- Downloads & Ingests: Fetches the full raw CI log file and saves it
locally to
.agents/skills/analyze-ci-failure/scratch/.
- Smart Error Extraction: Scans log lines for critical failure signatures
(
Traceback, ERROR:, FAILED:, missing packages, compiler aborts, linter
errors).
- Fix Plan Synthesis: Constructs a beautifully structured Markdown
suggested plan on how to resolve the root cause.
- Natively Notifies: Dispatches a high-priority summary notification
message back to your active agent conversation via
agentapi send-message.