← 返回 Skills 市场
daniellummis

GitHub Actions Retry Recovery Audit

作者 Daniel Lummis · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
289
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install github-actions-retry-recovery-audit
功能描述
Audit GitHub Actions runs for fail-then-success retry recovery patterns to quantify flaky rerun waste.
使用说明 (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
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install github-actions-retry-recovery-audit
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /github-actions-retry-recovery-audit 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
Slug github-actions-retry-recovery-audit
版本 1.0.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

GitHub Actions Retry Recovery Audit 是什么?

Audit GitHub Actions runs for fail-then-success retry recovery patterns to quantify flaky rerun waste. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 289 次。

如何安装 GitHub Actions Retry Recovery Audit?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install github-actions-retry-recovery-audit」即可一键安装,无需额外配置。

GitHub Actions Retry Recovery Audit 是免费的吗?

是的,GitHub Actions Retry Recovery Audit 完全免费(开源免费),可自由下载、安装和使用。

GitHub Actions Retry Recovery Audit 支持哪些平台?

GitHub Actions Retry Recovery Audit 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 GitHub Actions Retry Recovery Audit?

由 Daniel Lummis(@daniellummis)开发并维护,当前版本 v1.0.0。

💬 留言讨论