security-response
Skill2 starsChanged 5 days agoMITView on GitHub
Run a maintainer's response to private draft security advisories as a Security Response Run, a private local board that tracks and resumes the work; reconcile the run against GitHub and git, prioritize next work, run triage, and coordinate guarded remediation when explicitly authorized.
In this repository11 other files it gives its agents.
- AGENTS.mdAGENTS.md
- address-pr-reviewSkill
- code-reviewSkill
- explainerSkill
- instruction-drift-auditSkill
- manual-qaSkill
- orchestrateSkill
- plain-proseSkill
- qa-planSkill
- security-auditSkill
- security-finding-triageSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 3 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
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 39
Before the first write of a run, pass the ignore gate in RUN.md: if tmp/security-response/ is not ignored, offer the .gitignore line and …
- Distinctive: line 51
After each call, the run reads the advisory back and moves the board only on what it shows (RUN.md).
- Distinctive: line 57
Never expose advisory bodies, exploit steps, or secrets publicly.
- Very specific: line 58
Prefer concept-id over report-local F<n> identifiers.
- Very specific: line 64
Never publish, close, or request a CVE for an advisory without record approve for that action, and never past its gate.
- Distinctive: line 72
If authorized and reproducible, implement a minimal root-cause fix and validate it.
- Very specific: line 73
Update the board, log the change in activity.md, and report with public-safe wording.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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 response
Drives the backlog and remediation of security findings as a Security Response Run: one pass of the maintainer's response to every open draft security advisory, kept in a private local board with one row per concept id.
This skill is portable and does not include product-specific playbooks, threat packs, or ledgers. Consumers provide those assets.
Requires the security-finding-triage skill, installed alongside this one: triage mode runs it.
The run folder, the board and the states: RUN.md. Load it before any mode.
Modes
A <target> is a concept id or a GHSA:F<n>; fix also takes next.
status: prints the board (RUN.md) in the local terminalnext: recommend one prioritized next action. Once every row and every advisory is final, it recommendsclose(RUN.md), and nothing closes on its owntriage <target>: run evidence-first triage for one finding with thesecurity-finding-triageskill, and land its outcome on the board (RUN.md)fix <target>: only with explicit authorization; implement and validate fix. Opening the fix pull request on the private fork (or, for abelow-floorrow, an ordinary public pull request on the repository) moves the row tofix PR open, with the PR number in its Record (RUN.md). A row found in triage and confirmed at Medium or above needs a draft advisory first (RUN.md)reconcile: reconcile only (RUN.md): check the run against GitHub and git, and do nothing elserecord <what>: land a human step from a closed set, and verify whatever the run can (RUN.md); afterrecord approve, publish, close or request a CVE for an advisory throughgh api(Advisory actions)close: once every row and every advisory is final, write the findings ledger through one public pull request the human merges, and close the run (RUN.md)
The run
Every mode starts by opening or resuming the Security Response Run, as RUN.md says: an open run is resumed; with none open and draft advisories present, a run is opened; with no drafts and no open run, the skill reports "nothing to respond to" and writes nothing. There are no open or resume modes.
Reconcile is step one of every mode: once the run is opened or resumed, check it against GitHub and git, as RUN.md says, before the mode does its own work.
Before the first write of a run, pass the ignore gate in RUN.md: if tmp/security-response/ is not ignored, offer the .gitignore line and write nothing without a yes.
This skill is the only writer of the run folder. Each change to the board is logged in activity.md.
Advisory actions
The run publishes, closes, or requests a CVE for an advisory only after record approve for that action, and only once the advisory passes its gate in RUN.md. Each is one gh api call, made with the human's own gh login (the repo scope, or a fine-grained token with "Repository security advisories" write); there is no gh advisory command:
- Publish:
gh api --method PATCH repos/<owner>/<repo>/security-advisories/<GHSA-id> -f state=published - Close:
gh api --method PATCH repos/<owner>/<repo>/security-advisories/<GHSA-id> -f state=closed - Request a CVE:
gh api --method POST repos/<owner>/<repo>/security-advisories/<GHSA-id>/cve
After each call, the run reads the advisory back and moves the board only on what it shows (RUN.md).
record approve close takes a list of GHSAs, each named, with no wildcard: the human names every draft the run closes. A draft with no findings (a clean run, a format mismatch, a failed run, or another draft with no F<n>) is one advisories line with Rows 0 (<kind>), and its only final state is closed (RUN.md).
Guardrails
- Never expose advisory bodies, exploit steps, or secrets publicly. Nothing in the run folder leaves the machine.
- Prefer
concept-idover report-localF<n>identifiers. status/next/triagedo not authorize code fixes by default.- The findings ledger is not edited before close:
triagelands its outcome on the board, and triage's Proposed ledger row waits intriage/<concept-id>.md. closewrites the findings ledger through one ledger PR the human merges: the ledger is never pushed to the default branch directly, and nothing private is copied into it.fixstill requires safe reproducible evidence before implementation.- Save each advisory to the run's
originals/before any PATCH that rewrites it publicly. - Never publish, close, or request a CVE for an advisory without
record approvefor that action, and never past its gate.
Flow
- Open or resume the run (The run), and check the default branch's tip for the board header.
- Reconcile the run against GitHub and git (RUN.md).
- Prioritize based on evidence, impact, exposure, and blast radius.
- Triage to confirm or reject before fixing.
- If authorized and reproducible, implement a minimal root-cause fix and validate it.
- Update the board, log the change in
activity.md, and report with public-safe wording.
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.

