security-advisory-compat-enforcer
Skill5.3k starsChanged 6 months agoMITView on GitHub
Review a GitHub security advisory and safely update .github/aw/compat.json with evidence-backed version enforcement.
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
- review-agentic-workflowsSkill
- 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
8 rules. About 0 are common, 4 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use this skill to translate a GitHub repository security advisory into the smallest safe update to .github/aw/compat.json.
- Very specific: line 21
If authentication is unavailable or access fails, try the public global advisory endpoint: gh api advisories/GHSA-ID (or its equivalent …
- Distinctive: line 27
Verify the proposed patched version independently.
- Distinctive: line 55
Use exact bounded ranges and do not broaden the advisory's claims.
- Distinctive: line 71
Do not invent commands, CVE identifiers, affected configurations, mitigations, or timelines.
- Very specific: line 84
When changing blockedVersions, update .github/aw/compat.md in the same change.
- Very specific: line 94
Run the repository's Validate compat.json structure and version formats task from .github/workflows/cgo.yml.
- Distinctive: line 107
Do not claim validation that was not run.
≈ “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
Security Advisory Compatibility Enforcer
Use this skill to translate a GitHub repository security advisory into the
smallest safe update to .github/aw/compat.json.
Required inputs
Record the repository, GHSA identifier, requested enforcement policy, and any patched version supplied by the user. Treat a user-supplied version as a target to verify, not as evidence for advisory details.
Evidence retrieval
- Attempt authenticated retrieval first:
gh api repos/OWNER/REPO/security-advisories/GHSA-ID. - If authentication is unavailable or access fails, try the public global
advisory endpoint:
gh api advisories/GHSA-ID(or its equivalent REST URL). - Record the endpoint and outcome of each attempt. If both sources are inaccessible, state that explicitly. Never infer or invent the affected package, vulnerable range, severity, CVE, publication state, or patched version.
- Verify the proposed patched version independently. Prefer a published repository release or tag, then package-registry metadata when applicable. Cite the exact URL or command result. Do not update compatibility policy if the target cannot be verified, unless the user explicitly directs use of a supplied target despite inaccessible advisory metadata; document that limitation without converting it into fabricated advisory evidence.
Choose the correct policy field
minimumVersionis a hard floor: activation fails for every compiler version below it. Change it only when the requested remediation is a universal minimum-version enforcement.blockedVersionsrejects listed versions exactly. Change it only when evidence or explicit instructions identify exact versions to deny and a continuous minimum floor would be inaccurate.minRecommendedVersiononly warns below the value. Change it only for an explicitly requested recommendation, never as a substitute for enforcement.- Agent rows under
agent-compat-v1select compatible agent versions; they are unrelated to compiler security enforcement unless separate evidence requires an agent compatibility change.
Write remediation guidance
Provide concise, actionable remediation in .github/aw/compat.md and the final
report. Follow established security-advisory terminology:
- Identify the affected product or component, GHSA identifier, CVE identifier when assigned, affected versions, and first fixed or unaffected version. Use exact bounded ranges and do not broaden the advisory's claims.
- State the permanent remediation in imperative language. Give exact, copyable upgrade and regeneration commands verified against official documentation. For compiler advisories, explain whether existing generated workflows must be recompiled and redeployed; blocking a vulnerable version prevents execution but does not repair generated artifacts.
- Separate remediation from mitigations and workarounds. Include a temporary measure only when the advisory documents it. If the retrieved advisory does not identify one, say so without claiming that no workaround exists.
- Include a verification step that checks the installed version and any regenerated artifacts. Do not treat a successful install alone as proof that deployed workflows were remediated.
- Link the advisory, fixed release, and authoritative upgrade documentation. Mention severity, CVSS, known exploitation, CISA KEV status, deadlines, or urgency only when verified from authoritative evidence.
Do not invent commands, CVE identifiers, affected configurations, mitigations, or timelines. If remediation details cannot be verified, identify the missing evidence and leave the instructions explicitly incomplete.
Safe edit procedure
- Parse the current JSON and record all four policy areas above.
- Compare semantic versions numerically. A minimum is monotonic: never lower a
non-empty
minimumVersionorminRecommendedVersion. Stop and report a requested downgrade rather than applying it. - Make the narrowest evidence-backed edit. Preserve
blockedVersions,minRecommendedVersion, everyagent-compat-v1row, key ordering, and formatting unless the selected policy specifically requires changing them. - When changing
blockedVersions, update.github/aw/compat.mdin the same change. Account for every blocked version, state why each version or contiguous range is blocked, link to the corresponding advisory, and provide the remediation and verification steps defined above. - Review the final diff and reject unrelated changes.
Required validation
Before reporting completion:
- Run the repository's
Validate compat.json structure and version formatstask from.github/workflows/cgo.yml. - Validate
.github/aw/compat.jsonagainst.github/aw/compat.schema.jsonwith a JSON Schema Draft 7 validator. JSON parsing or ad hoc field checks are not substitutes for schema validation. - Confirm
.github/aw/compat.mdaccounts for everyblockedVersionsentry and that each documented range links to its advisory. - Exercise the runtime policy semantics with versions immediately below, at, and above the changed boundary; confirm only the intended hard-fail, warning, or exact-block behavior changed.
- Confirm semantic-version monotonicity and byte-for-byte preservation of unrelated policy fields and agent rows.
Do not claim validation that was not run. If repository constraints prohibit a required check, report it as outstanding.
Report
Cite advisory retrieval attempts and patched-version verification. State which field changed, old and new values, why that policy is correct, which fields were preserved, and the compatibility task, schema, documentation, and runtime validation results. Include the remediation, any advisory-supported temporary mitigation, and verification steps. Clearly separate verified facts, user-provided inputs, and unavailable advisory details.
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.

