github-actions-stuck-run-audit
Detect stale queued/in-progress GitHub Actions runs before they quietly block delivery.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/daniellummis/github-actions-stuck-run-auditWhat This Skill Does
The github-actions-stuck-run-audit skill is a specialized diagnostic utility designed to monitor and evaluate the health of GitHub Actions workflows. In high-velocity development environments, it is common for workflows to become trapped in non-terminal states like 'queued', 'in_progress', or 'waiting', effectively creating a bottleneck that delays deployment pipelines and consumes concurrency limits. This skill ingests JSON exports of your GitHub Actions runs and applies sophisticated logic to identify these stale processes. It aggregates data by repository, workflow, or specific branch, allowing teams to visualize exactly where their CI/CD health is degrading. By using configurable thresholds—including stuck-age, total stuck-run volume, and stuck-rate—the skill calculates a severity score for each group. It acts as a gatekeeper for your automated processes, providing both readable text summaries and machine-readable JSON outputs that can be integrated into broader automated monitoring pipelines.
Installation
To install this skill, use the OpenClaw command-line interface within your local repository:
clawhub install openclaw/skills/skills/daniellummis/github-actions-stuck-run-audit
Ensure that you have access to the source repository at openclaw/skills. Once installed, you will need to point the tool at your exported GitHub Actions run data, typically generated via the gh run view command provided in the skill documentation.
Use Cases
This skill is essential for DevOps engineers and SRE teams managing multiple high-traffic repositories. Common use cases include:
- Automated CI Gatekeeping: Failing builds or deployments if the queue for critical pipelines reaches a 'critical' severity status.
- Bottleneck Analysis: Identifying specific branches or workflow configurations that consistently fail to transition to completion, often pointing to resource contention or runner infrastructure issues.
- Maintenance Audits: Running weekly reports to identify under-performing workflows that require optimization or cleanup.
Example Prompts
- "Audit the GitHub actions runs in the artifacts folder, grouping by repository-workflow, and output the result as a text report."
- "Run a stuck-run audit with a 60-minute critical threshold and fail the process if any critical workflows are detected."
- "Analyze the action runs in the fixture directory using a simulated timestamp of March 8th, 2026, to verify our alerting logic."
Tips & Limitations
- Data Consistency: The accuracy of this skill is entirely dependent on the quality of the JSON exports collected via
gh run. Ensure your collector script captures all necessary fields (e.g.,status,createdAt,updatedAt). - Threshold Tuning: The defaults (45 minutes for warn, 120 for critical) are starting points. Adjust these in your own CI environment based on typical job durations—short-lived unit tests will need much stricter timeouts than long-running integration suites.
- Performance: While the audit process is lightweight, parsing thousands of JSON run files may take a few seconds. If audit volume is massive, consider using the
TOP_Nfilter to focus only on the most severe offenders.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-daniellummis-github-actions-stuck-run-audit": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read, code-execution
Related Skills
github-actions-recovery-latency-audit
Measure GitHub Actions failure recovery latency and unresolved incident age by workflow group.
github-actions-cache-hardening-audit
Audit GitHub Actions workflow cache usage for poisoning, keying, and secret-path risks.
render-env-guard
Preflight-check Render service environment variables before deploys; catches missing keys and placeholder/template values that commonly break production rollouts.
github-actions-trigger-health-audit
Audit GitHub Actions run health by trigger event and workflow so flaky or noisy automation sources are easy to prioritize.
github-actions-run-gap-audit
Detect GitHub Actions workflow groups that stopped running on their normal cadence using median run intervals and current inactivity gap.