This skill analyzes the past day’s GitHub Actions workflow runs to detect actionable failures and open issues for remediation.
npx playbooks add skill dyad-sh/dyad --skill check-workflows
Check GitHub Actions workflow runs from the past day for severe or consistent failures and file a GitHub issue if actionable problems are found.
$ARGUMENTS: (Optional) Number of hours to look back (default: 24)Fetch all workflow runs from the past N hours (default 24):
gh run list --limit 100 --json workflowName,status,conclusion,event,headBranch,createdAt,databaseId,url,name
Filter to only runs created within the lookback window. Group runs by workflow name.
For each failed run, determine if it is expected or actionable by checking these rules:
html-report, blob reports). This is noise, not an independent problem:action_required / neutral conclusions: Standard GitHub behavior for fork PRs or first-time contributors needing manual approval.GITHUB_TOKEN, 403/401 errors on API calls that should be authenticated, Resource not accessible by integration errors.For each potentially actionable failure, get more details:
gh run view <run_id> --log-failed 2>/dev/null | head -100
Look for:
After investigation, categorize actionable failures:
Only proceed to file an issue if there are SEVERE or MODERATE findings.
Before creating a new issue, check if there's already an open issue about workflow problems:
gh issue list --label "workflow-health" --state open --json number,title,body
If an existing issue covers the same problems, do not create a duplicate. Instead, add a comment to the existing issue with the latest findings.
If there are actionable findings (SEVERE or MODERATE), create a GitHub issue:
gh issue create --title "Workflow issues: <X>, <Y>, and <Z>" --label "workflow-health" --body "$(cat <<'EOF'
## Workflow Health Report
**Period:** <start_time> to <end_time>
**Total runs checked:** <N>
**Failures found:** <N actionable> actionable, <N expected> expected (ignored)
## Issues Found
### <Issue 1 Title>
- **Workflow:** <workflow name>
- **Severity:** SEVERE / MODERATE
- **Failed runs:**
- [Run #<id>](<url>) — <date>
- [Run #<id>](<url>) — <date>
- **Error:** <brief error description>
- **Suggested fix:** <how to resolve>
### <Issue 2 Title>
...
## Expected Failures (Ignored)
<Brief summary of expected failures that were skipped and why>
---
*This issue was automatically created by the daily workflow health check.*
EOF
)"
The issue title should list the specific problems found (e.g., "Workflow issues: CI permissions error, flakiness upload rate-limited"). Keep it concise but descriptive.
Summarize:
Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.