← Back to Skills Marketplace
daniellummis

GitHub Actions Retry Recovery Audit

by Daniel Lummis · GitHub ↗ · v1.0.0
cross-platform ✓ Security Clean
289
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install github-actions-retry-recovery-audit
Description
Audit GitHub Actions runs for fail-then-success retry recovery patterns to quantify flaky rerun waste.
README (SKILL.md)

GitHub Actions Retry Recovery Audit

Use this skill to find workflow/job slices that repeatedly fail before eventually succeeding, so teams can target flaky reruns with the biggest minute waste.

What this skill does

  • Reads one or more GitHub Actions workflow run JSON exports
  • Groups attempts by repository/workflow/branch/commit (headSha)
  • Detects recovery sequences where one or more failure-like attempts are followed by success
  • Calculates wasted minutes consumed before first success in each sequence
  • Emits text or JSON output for triage dashboards and CI fail gates

Inputs

Optional:

  • RUN_GLOB (default: artifacts/github-actions/*.json)
  • TOP_N (default: 20)
  • OUTPUT_FORMAT (text or json, default: text)
  • WARN_WASTE_MINUTES (default: 20)
  • CRITICAL_WASTE_MINUTES (default: 60)
  • FAIL_ON_CRITICAL (0 or 1, default: 0)
  • WORKFLOW_MATCH, WORKFLOW_EXCLUDE (regex, optional)
  • BRANCH_MATCH, BRANCH_EXCLUDE (regex, optional)
  • REPO_MATCH, REPO_EXCLUDE (regex, optional)

Collect run JSON

gh run view \x3Crun-id> --json databaseId,workflowName,headBranch,headSha,conclusion,createdAt,updatedAt,url,repository \
  > artifacts/github-actions/run-\x3Crun-id>.json

Run

Text report:

RUN_GLOB='artifacts/github-actions/*.json' \
WARN_WASTE_MINUTES=20 \
CRITICAL_WASTE_MINUTES=60 \
bash skills/github-actions-retry-recovery-audit/scripts/retry-recovery-audit.sh

JSON output + fail gate:

RUN_GLOB='artifacts/github-actions/*.json' \
OUTPUT_FORMAT=json \
FAIL_ON_CRITICAL=1 \
bash skills/github-actions-retry-recovery-audit/scripts/retry-recovery-audit.sh

Output contract

  • Exit 0 in report mode
  • Exit 1 when FAIL_ON_CRITICAL=1 and critical recoveries are present
  • Text output includes summary plus top recovery groups ranked by wasted minutes
  • JSON output includes summary, ranked recoveries, and critical_recoveries
Usage Guidance
This skill appears to do exactly what it says: read local GitHub Actions JSON exports and report retry->success recovery waste. Before running it: 1) ensure your artifacts directory (default artifacts/github-actions/*.json) contains only the files you intend to analyze (no sensitive secrets baked into JSON). 2) Install and authenticate the GitHub CLI if you plan to use the SKILL.md's gh run view commands (the script itself does not require gh but examples assume it). 3) Review the output (it prints run URLs and IDs) before sharing externally. 4) Use FAIL_ON_CRITICAL cautiously in automation, since it causes a non-zero exit when critical waste is found.
Capability Analysis
Type: OpenClaw Skill Name: github-actions-retry-recovery-audit Version: 1.0.0 The skill is a legitimate auditing tool designed to identify flaky GitHub Actions runs by analyzing local JSON exports. It calculates 'wasted minutes' from sequences where failures are followed by a success for the same commit. The logic in `scripts/retry-recovery-audit.sh` and its embedded Python script is transparent, focuses on data processing and reporting, and lacks any indicators of malicious intent, data exfiltration, or unauthorized execution.
Capability Assessment
Purpose & Capability
Name/description align with the included script: it parses GitHub Actions run JSON files and computes wasted minutes. Required binaries (bash, python3) are appropriate. SKILL.md examples show using the 'gh' CLI to export runs, but 'gh' is not listed in the declared required binaries — this is a minor mismatch the user should be aware of.
Instruction Scope
Runtime instructions and the script operate on local JSON files (RUN_GLOB), apply regex filters, compute metrics, and emit text or JSON. The instructions do not instruct the agent to read unrelated system files, environment secrets, or to transmit data to external endpoints.
Install Mechanism
No install spec — code is shipped as a script and the Python snippet is embedded. That minimizes install risk; there are no downloads or archive extraction steps. The script runs in-process via bash/python3 here-doc.
Credentials
The skill declares no environment variables or credentials and the script only reads environment variables documented as optional inputs (RUN_GLOB, TOP_N, etc.). It does not require tokens or other secrets. Note: running 'gh run view' (suggested to collect JSON) requires the user to have GitHub CLI and authenticated credentials locally, but those are not required by the skill itself.
Persistence & Privilege
always is false and the skill does not request persistent presence or modify other skill/system configs. It simply reads local artifact files and writes to stdout/exit codes.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install github-actions-retry-recovery-audit
  3. After installation, invoke the skill by name or use /github-actions-retry-recovery-audit
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of github-actions-retry-recovery-audit. - Audits GitHub Actions workflow run JSON exports for fail-then-success retry patterns. - Groups runs by repository, workflow, branch, and commit. - Calculates wasted minutes from retries before a success. - Configurable reporting (text or JSON), filters, and fail gates based on waste thresholds. - Provides output suitable for dashboards and CI enforcement.
Metadata
Slug github-actions-retry-recovery-audit
Version 1.0.0
License
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is GitHub Actions Retry Recovery Audit?

Audit GitHub Actions runs for fail-then-success retry recovery patterns to quantify flaky rerun waste. It is an AI Agent Skill for Claude Code / OpenClaw, with 289 downloads so far.

How do I install GitHub Actions Retry Recovery Audit?

Run "/install github-actions-retry-recovery-audit" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is GitHub Actions Retry Recovery Audit free?

Yes, GitHub Actions Retry Recovery Audit is completely free (open-source). You can download, install and use it at no cost.

Which platforms does GitHub Actions Retry Recovery Audit support?

GitHub Actions Retry Recovery Audit is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created GitHub Actions Retry Recovery Audit?

It is built and maintained by Daniel Lummis (@daniellummis); the current version is v1.0.0.

💬 Comments