review-agentic-workflows
Skill5.3k starsChanged 6 months agoMITView on GitHub
Review agentic workflow changes for correctness, security posture, and optimization opportunities with compile, validation, and audit evidence.
Trending
Quiet since March.thin dataabout the whole repository
Who's talking about github/gh-aw
- A Hacker News story“GitHub Agentic Workflows”Hacker News · Feb 11, 2026 · 2 points
- @kcieslak.io“We see that a lot in our OSSed AW repository which uses fully agentic development - github.com/github/gh-aw …”Bluesky · Mar 24, 2026 · 1 likes
- @github-trending.bsky.social“🚀 Skyrocketing! 🚀 (200+ new stars) 📦 github / gh-aw ⭐ 2,482 (+213) 🗒 Go GitHub Agentic Workflows”Bluesky · Feb 15, 2026
The biggest 3 of 3 mentions linking to the repository that our crawl found. Each line is their own headline.
In this repository108 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/src/content/docs/engines/claude.mdCLAUDE.md
- pkg/workflow/data/engines/claude.mdCLAUDE.md
- .squad/templates/copilot-instructions.mdCopilot instructions
- playwright-cliSkill
- agentic-workflowsSkill
- awf-release-integratorSkill
- checkout-credential-reviewSkill
- console-renderingSkill
- copilot-reviewSkill
- create-canvasSkill
- custom-agentsSkill
- custom-engine-implementationSkill
- debugging-workflowsSkill
- developer-code-organizationSkill
- developer-internalsSkill
- developer-releaseSkill
- developer-securitySkill
- developerSkill
- documentationSkill
- error-messagesSkill
- error-pattern-safetySkill
- error-recovery-patternsSkill
- gh-agent-sessionSkill
- gh-agent-taskSkill
- github-copilot-agent-tips-and-tricksSkill
- github-discussion-querySkill
- github-issue-querySkill
- github-labels-querySkill
- github-mcp-serverSkill
- github-pr-querySkill
- github-scriptSkill
- github-workflows-querySkill
- go-codemodSkill
- go-lintersSkill
- http-mcp-headersSkill
- javascript-refactoringSkill
- jqschemaSkill
- messagesSkill
- npmSkill
- open-pull-requestSkill
- operational-value-designerSkill
- optimize-agentic-workflowSkill
- otel-queriesSkill
- pr-finisherSkill
- prompt-token-efficiencySkill
- pr-to-go-linterSkill
- reportingSkill
- resolve-merge-conflictsSkill
- restricted-tool-triageSkill
- security-advisory-compat-enforcerSkill
- sergo-examplesSkill
- skillz-integrationSkill
- ssl-skill-normalizerSkill
- temporary-id-safe-outputSkill
- workflow-step-summariesSkill
- GitHub Agentic WorkflowsSkill
- {skill-name}Skill
- agent-collaborationSkill
- agent-conductSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 7 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use this skill when asked to review .github/workflows/*.md agentic workflows or their generated .lock.yml outputs.
- Very specific: line 16
Use run history (logs/audit) when available to find optimization opportunities.
- Distinctive: line 22
Run from the repository root:
- Distinctive: line 44
Run this scope check in the review step:
- Very specific: line 55
If source .md files changed, treat generated .lock.yml drift as part of the review.
- Very specific: line 65
If gh aw extension is unavailable but local binary exists:
- Distinctive: line 81
no broadening of network/tool access without justification
- Very specific: line 82
no integrity downgrades (for example lower min-integrity)
- Distinctive: line 86
Treat these as suspicious until proven safe:
- Distinctive: line 95
Use targeted diffs and call out before/after impact.
- Distinctive: line 99
If workflow run IDs/URLs are available, audit them:
- Distinctive: line 106
Look for optimization opportunities:
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Review Agentic Workflows
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
Goals
- Produce a security-first review of workflow changes.
- Compile workflows with validation and security scanners.
- Flag suspicious changes that weaken protections.
- Use run history (
logs/audit) when available to find optimization opportunities.
Self-contained setup (do not assume environment is ready)
Step 0) Verify CLI availability
Run from the repository root:
if 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
fiReview workflow
1) Scope the review
Run this scope check in the review step:
BASE_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/
fiIf source .md files changed, treat generated .lock.yml drift as part of the review.
2) Compile with validation + security tools
For changed workflows, run strict compilation with validators:
gh aw compile --strict --actionlint --zizmor --poutine --runner-guard --yamllint --shellcheckIf gh aw extension is unavailable but local binary exists:
./gh-aw compile --strict --actionlint --zizmor --poutine --runner-guard --yamllint --shellcheckFail review on compilation errors or High/Critical security findings unless explicitly justified.
3) Enforce security best practices
Require and verify:
- least-privilege
permissions:(nowrite-allwithout explicit rationale) - pinned third-party actions by full commit SHA
- safe handling of untrusted GitHub event data (no direct template injection into shell)
- explicit
safe-outputslimits (max, constrained event/action sets) - no broadening of network/tool access without justification
- no integrity downgrades (for example lower
min-integrity)
4) Detect suspicious weakening changes
Treat these as suspicious until proven safe:
- permission expansion (especially new
writescopes or global writes) - relaxed security controls (
strict: false, reduced guardrails, disabled scans) - larger write blast radius (
safe-outputslimits removed or sharply increased) - reduced provenance controls (unpinning actions, mutable refs)
- wider external access (new unrestricted network domains/ecosystems)
- prompt or script edits that reintroduce command/template injection risk
Use targeted diffs and call out before/after impact.
5) Audit history and optimize (when run data exists)
If workflow run IDs/URLs are available, audit them:
gh aw audit <run-id-or-url>
gh aw logs --start-date -14d --workflow-name <workflow-name>Look for optimization opportunities:
- high token/cost usage
- repeated retries/tool failures
- long-running steps or bottleneck jobs
- unnecessary MCP/tool invocations
- firewall denials causing retries or wasted turns
Recommend minimal, safe optimizations that keep or improve security posture.
Review output contract
Return findings in three sections:
- Security regressions (must-fix) — high-confidence weakening changes.
- Validation/scanner results — compile and tool outcomes.
- Optimization opportunities — optional improvements backed by logs/audit evidence.
Each finding should include severity, file(s), rationale, and a concrete remediation direction.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

