gh-debug
SkillMonitoring & opsLets your agent fetch and analyze GitHub Actions logs to find why a build failed.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the gh-debug skill
About this capability
Debug GitHub Actions build failures by fetching and analyzing workflow logs. Use when CI/CD pipelines fail and you need to identify the root cause.
What this skill tells your AI
The instructions your AI receives, as published by fastled/fastled in .claude/skills/gh-debug/SKILL.md and read by ahel’s review.
Pull GitHub Actions logs for a workflow run, parse them to identify errors, and provide a clear diagnostic report.
Arguments: $ARGUMENTS
Primary Method (Recommended): Use the Python script for efficient log analysis:
uv run ci/tools/gh_debug.py $ARGUMENTS
This script:
- Tries build-summary artifacts first (small, focused files uploaded by CI — much faster)
- Falls back to streaming full logs if no summary artifact is available
- Filters for errors in real-time
- Stops after finding 10 errors (configurable with --max-errors)
- Shows context around each error (5 lines before/after, configurable with --context)
Fallback Method: If the Python script fails, use manual analysis:
Smart Log Fetching Strategy
- Identify failed jobs/steps using
gh run view <run-id> --log-failed - For each failed step, use targeted log extraction with grep filters
- Parse logs for: compilation errors, test failures, runtime issues
- Extract error context: ~10 lines before and after each error
Input Handling
Handle:
- Run IDs (e.g., "18391541037")
- Workflow URLs
- Most recent failed run if no argument provided (use
gh run list --status failure --limit 1)
Output Format
Provide:
- Workflow name and run number
- Job(s) that failed with step names
- Specific error messages with surrounding context (max ~50 lines per error)
- File paths and line numbers where applicable
- Suggested next steps or potential fixes
Signals
- GitHub stars
- 7k
- Forks
- 2k
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
gh-debug- Source
- github.com/fastled/fastled