analyze-github-action-logs
Installation
SKILL.md
Analyze GitHub Action Logs
Fetch and analyze recent GitHub Actions runs for a given workflow. Review agent/step performance, identify wasted effort and mistakes, and produce a report with actionable improvements.
Input
You need:
workflow(required) — The workflow file name or ID (e.g.,issue-triage.yml,deploy.yml).repo(optional) — The GitHub repository inOWNER/REPOformat. Defaults towithastro/astro.count(optional) — Number of recent completed runs to analyze. Defaults to5.
Step 1: List Recent Runs
Fetch the most recent completed runs for the workflow. Filter by --status=completed:
gh run list --workflow=<workflow> -R <repo> --status=completed -L <count>