Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Review agentic workflow changes for correctness, security posture, and optimization opportunities with compile, validation, and audit evidence.
.claude/skills/github-review-agentic-workflows/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-07 | ✗→✓ | ▲ Improved | 83% | 0% |
| case-08 | ✗→✓ | ▲ Improved | -21% | 0% |
| case-09 | ✗→✓ | ▲ Improved | -55% | 0% |
| case-10 | ✗→✓ | ▲ Improved | 14% | 0% |
| case-14 | ✗→✓ | ▲ Improved | 31% | 0% |
Use this skill when asked to review .github/workflows/*.md agentic workflows or their generated .lock.yml outputs. Reference workflow authoring skill guidance at: https://raw.githubusercontent.com/github/gh-aw/main/.github/skills/agentic-workflows/SKILL.md
logs/audit) when available to find optimization opportunities.Run from the repository root:
bashif gh aw --help >/dev/null 2>&1; then echo "gh aw is installed" else if [ -f ./install-gh-aw.sh ]; then echo "gh aw is missing. Run the install step before continuing:" echo " bash ./install-gh-aw.sh" echo "Then verify:" echo " gh aw --help" else echo "gh aw is missing and ./install-gh-aw.sh is not present in this checkout." fi return 1 2>/dev/null || exit 1 fi
Run this scope check in the review step:
bashBASE_REF="${BASE_REF:-origin/main}" if git rev-parse --verify "$BASE_REF" >/dev/null 2>&1; then git diff --name-only "$BASE_REF...HEAD" -- .github/workflows/ else git diff --name-only -- .github/workflows/ fi
If source .md files changed, treat generated .lock.yml drift as part of the review.
For changed workflows, run strict compilation with validators:
bashgh aw compile --strict --actionlint --zizmor --poutine --runner-guard --yamllint --shellcheck
If gh aw extension is unavailable but local binary exists:
bash./gh-aw compile --strict --actionlint --zizmor --poutine --runner-guard --yamllint --shellcheck
Fail review on compilation errors or High/Critical security findings unless explicitly justified.
Require and verify:
permissions: (no write-all without explicit rationale)safe-outputs limits (max, constrained event/action sets)min-integrity)Treat these as suspicious until proven safe:
write scopes or global writes)strict: false, reduced guardrails, disabled scans)safe-outputs limits removed or sharply increased)Use targeted diffs and call out before/after impact.
If workflow run IDs/URLs are available, audit them:
bashgh aw audit <run-id-or-url> gh aw logs --start-date -14d --workflow-name <workflow-name>
Look for optimization opportunities:
Recommend minimal, safe optimizations that keep or improve security posture.
Return findings in three sections:
Each finding should include severity, file(s), rationale, and a concrete remediation direction.
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→fail | 31,797 | 31,876 | +0% | 1 | 1 | 0% | 1,773 | 1,316 | -26% | 0 | 0 | — |
case-02 | fail→fail | 24,092 | 20,810 | -14% | 1 | 1 | 0% | 2,832 | 1,371 | -52% | 0 | 0 | — |
case-03 | fail→fail | 16,207 | 67,909 | +319% | 1 | 1 | 0% | 1,208 | 6,621 | +448% | 0 | 0 | — |
case-04 | fail→fail | 15,496 | 8,486 | -45% | 1 | 1 | 0% | 2,393 | 1,302 | -46% | 0 | 0 | — |
case-05 | pass→fail | 3,224 | 5,474 | +70% | 1 | 1 | 0% | 293 | 1,184 | +304% | 0 | 0 | — |
case-06 | pass→pass | 13,499 | 24,972 | +85% | 1 | 1 | 0% | 2,771 | 4,039 | +46% | 0 | 0 | — |
case-07 | fail→pass | 13,567 | 5,938 | -56% | 1 | 1 | 0% | 1,120 | 2,050 | +83% | 0 | 0 | — |
case-08 | fail→pass | 11,758 | 8,533 | -27% | 1 | 1 | 0% | 2,053 | 1,621 | -21% | 0 | 0 | — |
case-09 | fail→pass | 49,997 | 4,700 | -91% | 1 | 1 | 0% | 3,423 | 1,533 | -55% | 0 | 0 | — |
case-10 | fail→pass | 11,335 | 6,530 | -42% | 1 | 1 | 0% | 1,800 | 2,061 | +14% | 0 | 0 | — |
case-11 | pass→pass | 17,196 | 10,263 | -40% | 1 | 1 | 0% | 2,730 | 2,853 | +5% | 0 | 0 | — |
case-12 | pass→pass | 7,836 | 6,339 | -19% | 1 | 1 | 0% | 1,252 | 1,923 | +54% | 0 | 0 | — |
case-13 | pass→pass | 11,742 | 7,599 | -35% | 1 | 1 | 0% | 1,653 | 2,134 | +29% | 0 | 0 | — |
case-14 | fail→pass | 11,527 | 7,329 | -36% | 1 | 1 | 0% | 1,636 | 2,151 | +31% | 0 | 0 | — |
case-15 | fail→pass | 6,269 | 3,318 | -47% | 1 | 1 | 0% | 937 | 1,532 | +64% | 0 | 0 | — |
case-16 | fail→pass | 18,609 | 3,912 | -79% | 1 | 1 | 0% | 3,038 | 1,391 | -54% | 0 | 0 | — |
case-17 | pass→pass | 12,333 | 8,871 | -28% | 1 | 1 | 0% | 1,895 | 2,466 | +30% | 0 | 0 | — |
case-18 | pass→pass | 13,789 | 8,410 | -39% | 1 | 1 | 0% | 1,277 | 1,763 | +38% | 0 | 0 | — |
case-19 | pass→pass | 13,416 | 7,581 | -43% | 1 | 1 | 0% | 1,876 | 2,242 | +20% | 0 | 0 | — |
case-20 | pass→pass | 8,696 | 7,587 | -13% | 1 | 1 | 0% | 1,414 | 2,056 | +45% | 0 | 0 | — |
case-21 | pass→pass | 8,275 | 9,220 | +11% | 1 | 1 | 0% | 1,366 | 2,336 | +71% | 0 | 0 | — |
case-22 | fail→pass | 10,197 | 7,088 | -30% | 1 | 1 | 0% | 1,587 | 1,961 | +24% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted, and 17 counted toward the lift figure. The other 5 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of +32 percentage points is the difference between those two pass rates over the 17 comparable cases. 2 cases got worse with the skill loaded, and they are included in that figure.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.