GitHub Actions Rerun Effectiveness Audit for Openclaw

A performance auditing tool to measure the effectiveness of GitHub Actions reruns and identify wasted CI resources.

daniellummis
v1.0.0
Mar 8, 2026
0
884
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install github-actions-rerun-effectiveness-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-rerun-effectiveness-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 Rerun Effectiveness Audit?

The GitHub Actions Rerun Effectiveness Audit is a specialized utility within the Openclaw Skills ecosystem designed to analyze the efficiency of your CI/CD pipelines. By processing exported JSON data from GitHub workflow runs, it identifies patterns where reruns are frequently required, calculates the success rate of those reruns, and estimates the total developer time and compute resources wasted on failed or redundant attempts. This tool is essential for teams aiming to reduce flakiness and optimize infrastructure costs.

By integrating this skill into your workflow, you can move beyond simple pass/fail metrics and gain deep visibility into the reliability of your automated testing. This specific implementation of Openclaw Skills allows teams to implement automated CI policy gates based on actual rerun performance data, ensuring that flaky workflows are addressed before they impact delivery timelines.

GitHub Actions Rerun Effectiveness Audit Use Cases

  • Identifying flaky test suites that require multiple manual or automatic reruns to achieve a success state.
  • Auditing CI resource consumption to justify infrastructure budget adjustments or optimization sprints.
  • Implementing a quality gate that triggers a failure when rerun rates exceed a specific reliability threshold.
  • Comparing the reliability and stability of different workflow branches or specific event triggers like pull requests versus scheduled tasks.

How GitHub Actions Rerun Effectiveness Audit Works

  1. The skill ingests GitHub Actions run data exported in JSON format, typically gathered using the GitHub CLI.
  2. It analyzes the relationship between workflow run IDs and their attempt history to track specific rerun episodes.
  3. The auditing logic calculates key performance indicators including the rerun success rate and total minutes wasted on failed attempts.
  4. It assigns a severity level such as ok, warn, or critical based on your configured threshold parameters.
  5. It generates a detailed text or JSON report that ranks workflow groups by their inefficiency, providing actionable data for your engineering team.

GitHub Actions Rerun Effectiveness Audit Setup

To start using this tool with Openclaw Skills, first collect the necessary workflow run data using the GitHub CLI:

gh run view <run-id> --attempt <attempt> \
  --json databaseId,runAttempt,workflowName,event,headBranch,headSha,conclusion,createdAt,updatedAt,runStartedAt,url,repository,actor,triggeringActor \
  > artifacts/github-actions/run-<run-id>-attempt-<attempt>.json

Next, execute the audit script to analyze the collected artifacts:

RUN_GLOB='artifacts/github-actions/*.json' \
bash skills/github-actions-rerun-effectiveness-audit/scripts/rerun-effectiveness-audit.sh

GitHub Actions Rerun Effectiveness Audit Data Schema & Taxonomy

The skill organizes its analysis based on the following metadata taxonomy and performance metrics:

Metric Description
Rerun Rate The percentage of unique workflow runs that required more than one attempt.
Rerun Success Rate The percentage of reruns that successfully recovered a failure.
Wasted Minutes The estimated total duration spent on attempts that did not result in a final success.
Severity Status (ok, warn, critical) determined by comparison against Openclaw Skills configuration thresholds.

GitHub Actions Rerun Effectiveness Audit Advanced Features

  • Support for regex-based matching or exclusion for specific workflows, branches, repositories, and actors.
  • Customizable failure and success conclusions to accommodate complex CI environments and custom statuses.
  • Fail-on-critical mode which allows the script to exit with a non-zero status for easy integration into deployment pipelines.
  • Flexible grouping logic to aggregate data either by workflow name or by the unique combination of workflow and branch.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Requires
Bins bashpython3
Github Stars: 0
forks: 0

Featured*