GitHub Actions Cancel Waste Audit for Openclaw

Audit and quantify wasted GitHub Actions runtime from cancelled or timed-out runs to eliminate flaky workflow churn and save CI budget.

daniellummis
v1.0.0
Mar 6, 2026
0
825
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install github-actions-cancel-waste-audit

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install github-actions-cancel-waste-audit using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is GitHub Actions Cancel Waste Audit?

The GitHub Actions Cancel Waste Audit is a powerful utility within the Openclaw Skills ecosystem designed to help DevOps teams and developers identify financial leaks in their CI/CD pipelines. By analyzing GitHub Actions run data, the skill surfaces specific workflows that are consuming resources without providing value, such as those that frequently time out or are manually cancelled due to flakiness.

This skill bridges the gap between raw API data and actionable engineering insights. It allows teams to prioritize workflow refactoring by highlighting the exact repositories and branches where CI minutes are being wasted, ensuring that development resources are focused on productive tasks rather than infrastructure overhead.

GitHub Actions Cancel Waste Audit Use Cases

  • Identifying flaky test suites that consistently exceed timeout limits and burn CI credits.
  • Auditing multi-repo environments to find the top 20 most expensive workflow failures.
  • Monitoring CI usage patterns across specific feature branches or release candidates.
  • Preventing budget overruns by flagging critical waste levels in automated reporting dashboards.

How GitHub Actions Cancel Waste Audit Works

  1. The skill ingests JSON exports of GitHub Actions runs, typically generated using the GitHub CLI paginate command.
  2. It parses the run metadata to calculate the delta between the start time and the final update timestamp for incomplete runs.
  3. The data is filtered through user-defined regex patterns to include or exclude specific repositories, workflows, branches, or actors.
  4. It groups the calculated waste by repository and workflow to provide a high-level overview of resource hotspots.
  5. The skill evaluates the waste against configurable minute thresholds to assign a status of warning or critical.
  6. Finally, it outputs a detailed report in text for terminal review or JSON for programmatic integration into other Openclaw Skills workflows.

GitHub Actions Cancel Waste Audit Setup

To integrate this skill into your workflow, first ensure you have exported your GitHub Actions run data:

gh api repos/<owner>/<repo>/actions/runs --paginate > artifacts/github-actions-runs/audit-data.json

Then, execute the audit script using the following command structure:

RUN_GLOB='artifacts/github-actions-runs/*.json' \
WARN_WASTED_MINUTES=15 \
CRITICAL_WASTED_MINUTES=45 \
bash skills/github-actions-cancel-waste-audit/scripts/cancel-waste-audit.sh

GitHub Actions Cancel Waste Audit Data Schema & Taxonomy

The skill organizes audit data using a structured taxonomy to facilitate easy identification of waste sources. The metadata is processed into the following schema:

Field Description
Repository The owner and name of the repository being audited.
Workflow The specific YAML definition responsible for the run.
Wasted Minutes Estimated duration from creation/start until the run was halted.
Conclusion The failure state, specifically filtering for cancelled or timed_out.
Critical Flag A boolean indicator triggered if waste exceeds the CRITICAL_WASTED_MINUTES threshold.

GitHub Actions Cancel Waste Audit Advanced Features

  • Support for complex regex filtering to isolate specific teams (actors) or workflow families.
  • Automation-ready JSON output mode for feeding data into external monitoring systems.
  • Exit code management with FAIL_ON_CRITICAL to break CI builds when waste exceeds defined limits.
  • Multi-file globbing support to audit entire organizations by processing multiple JSON exports simultaneously.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Requires
Bins bashpython3
Github Stars: 0
forks: 0

Featured*