技能详情(站内镜像,无评论)
作者:Daniel Lummis @daniellummis
许可证:MIT-0
MIT-0 ·免费使用、修改和重新分发。无需归因。
版本:v1.0.0
统计:⭐ 0 · 148 · 0 current installs · 0 all-time installs
⭐ 0
安装量(当前) 0
🛡 VirusTotal :良性 · OpenClaw :良性
Package:daniellummis/github-actions-runtime-regression-audit
安全扫描(ClawHub)
- VirusTotal :良性
- OpenClaw :良性
OpenClaw 评估
The skill's code and instructions are consistent with its stated purpose (comparing GitHub Actions run JSON exports); it reads local run-export files, computes statistics, and emits text/JSON with no network exfiltration or extra credentials requested — but the shipped script was truncated in the provided listing, so full review is incomplete.
目的
Name/description ask to compare baseline vs current GH Actions run exports. The skill only requires bash and python3 and operates on user-supplied JSON run exports (BASELINE_GLOB, CURRENT_GLOB). Those requirements are proportionate and expected for this task.
说明范围
SKILL.md instructs the user to capture GH run JSONs (gh run view) and run the included script with globs; the script parses those files, computes averages/p95 and flags regressions. This is within scope. Note: the script will read any files matched by the supplied globs, so a careless glob could cause it to parse unrelated JSON files — expected behavior but something to be cautious about.
安装机制
No install spec (instruction-only plus a shipped script). No downloads or package installs. Lowest-risk install surface.
证书
No required credentials or config paths. The script uses only environment variables that control glob patterns and thresholds (declared in SKILL.md). No secrets are requested or used.
持久
always:false and no install hooks. The skill does not request persistent/privileged presence or modify other skills or system-wide configs.
综合结论
This skill appears to do exactly what it claims: parse local GitHub Actions run JSON exports and report runtime regressions. Before running: (1) inspect the full runtime-regression-audit.sh file locally (the provided listing was truncated here, so verify the file's tail and final output/exit logic), (2) run it first against the bundled fixtures to confirm behavior, (3) avoid overly-broad globs (they can make the script parse unrelated JSON fil…
安装(复制给龙虾 AI)
将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。
请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「GitHub Actions Runtime Regression Audit」。简介:Compare baseline vs current GitHub Actions run exports to catch workflow/job ru…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/daniellummis/github-actions-runtime-regression-audit/SKILL.md
(来源:yingzhi8.cn 技能库)
SKILL.md
---
name: github-actions-runtime-regression-audit
description: Compare baseline vs current GitHub Actions run exports to catch workflow/job runtime regressions before CI costs and lead time spike.
version: 1.0.0
metadata: {"openclaw":{"requires":{"bins":["bash","python3"]}}}
---
# GitHub Actions Runtime Regression Audit
Use this skill to detect runtime regressions between historical baseline runs and current runs.
## What this skill does
- Reads baseline and current GitHub Actions run JSON exports (`gh run view --json ...`)
- Calculates average and p95 runtime per repository + workflow + job
- Compares current metrics against baseline and ranks largest regressions
- Flags warn/critical regressions by absolute seconds and percent delta
- Emits text summary for humans or JSON for automation
## Inputs
Required:
- `BASELINE_GLOB` (glob for baseline run JSON files)
- `CURRENT_GLOB` (glob for current run JSON files)
Optional:
- `TOP_N` (default: `20`)
- `OUTPUT_FORMAT` (`text` or `json`, default: `text`)
- `WARN_DELTA_SECONDS` (default: `30`)
- `CRITICAL_DELTA_SECONDS` (default: `90`)
- `WARN_DELTA_PERCENT` (default: `15`)
- `CRITICAL_DELTA_PERCENT` (default: `35`)
- `FAIL_ON_CRITICAL` (`0` or `1`, default: `0`)
- `WORKFLOW_MATCH` (regex, optional)
- `WORKFLOW_EXCLUDE` (regex, optional)
- `JOB_MATCH` (regex, optional)
- `JOB_EXCLUDE` (regex, optional)
- `REPO_MATCH` (regex, optional)
- `REPO_EXCLUDE` (regex, optional)
## Collect run JSON
```bash
gh run view <run-id> --json databaseId,workflowName,headBranch,headSha,url,repository,jobs
> artifacts/github-actions/run-<run-id>.json
```
Capture a stable baseline window (for example previous 2 weeks), then current runs from latest commits.
## Run
Text report:
```bash
BASELINE_GLOB='artifacts/github-actions/baseline/*.json'
CURRENT_GLOB='artifacts/github-actions/current/*.json'
TOP_N=15
WARN_DELTA_SECONDS=45
CRITICAL_DELTA_SECONDS=120
bash skills/github-actions-runtime-regression-audit/scripts/runtime-regression-audit.sh
```
JSON output with CI gate:
```bash
BASELINE_GLOB='artifacts/github-actions/baseline/*.json'
CURRENT_GLOB='artifacts/github-actions/current/*.json'
OUTPUT_FORMAT=json
FAIL_ON_CRITICAL=1
bash skills/github-actions-runtime-regression-audit/scripts/runtime-regression-audit.sh
```
Run with bundled fixtures:
```bash
BASELINE_GLOB='skills/github-actions-runtime-regression-audit/fixtures/baseline-*.json'
CURRENT_GLOB='skills/github-actions-runtime-regression-audit/fixtures/current-*.json'
bash skills/github-actions-runtime-regression-audit/scripts/runtime-regression-audit.sh
```
## Output contract
- Exit `0` in reporting mode (default)
- Exit `1` when `FAIL_ON_CRITICAL=1` and at least one job crosses critical regression thresholds
- `text` mode prints summary + top regressions + new jobs without baseline
- `json` mode outputs summary, ranked regressions, and newly observed jobs