技能详情(站内镜像,无评论)
作者:Daniel Lummis @daniellummis
许可证:MIT-0
MIT-0 ·免费使用、修改和重新分发。无需归因。
版本:v1.0.0
统计:⭐ 0 · 169 · 0 current installs · 0 all-time installs
⭐ 0
安装量(当前) 0
🛡 VirusTotal :良性 · OpenClaw :良性
Package:daniellummis/github-actions-retry-recovery-audit
安全扫描(ClawHub)
- VirusTotal :良性
- OpenClaw :良性
OpenClaw 评估
The skill's code and instructions match its stated purpose (analyzing local GitHub Actions JSON exports) and do not request unexplained credentials or network access; one minor inconsistency is the SKILL.md's use of the 'gh' CLI without listing it as a required binary.
目的
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.
说明范围
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.
安装机制
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.
证书
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.
持久
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.
综合结论
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 …
安装(复制给龙虾 AI)
将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。
请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「GitHub Actions Retry Recovery Audit」。简介:Audit GitHub Actions runs for fail-then-success retry recovery patterns to quan…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/daniellummis/github-actions-retry-recovery-audit/SKILL.md
(来源:yingzhi8.cn 技能库)
SKILL.md
---
name: github-actions-retry-recovery-audit
description: Audit GitHub Actions runs for fail-then-success retry recovery patterns to quantify flaky rerun waste.
version: 1.0.0
metadata: {"openclaw":{"requires":{"bins":["bash","python3"]}}}
---
# 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
```bash
gh run view <run-id> --json databaseId,workflowName,headBranch,headSha,conclusion,createdAt,updatedAt,url,repository
> artifacts/github-actions/run-<run-id>.json
```
## Run
Text report:
```bash
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:
```bash
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`