Skill
Incident response
Runs a security incident from detection to closure — triage, containment, investigation, communication, and the review afterward.
- Security
- incident-response
- version 1.1.0
- MIT license
- 3 outside sources
When it loads
Your assistant reads this description and loads the skill when a request matches it. Nothing else is in context until then.
Runs a security incident from detection to closure — triage, containment, investigation, communication, and the review afterward. Use this when a compromise is suspected or confirmed, when preparing an incident response plan or running an exercise, when deciding whether something is an incident, or when a breach may trigger notification obligations.
Add it to your assistant
This skill ships in the Security department, with 7 others.
Claude Code
/plugin marketplace add cbrock84/headcount
/plugin install security@headcount
ChatGPT and Codex
This department is packaged for the ChatGPT plugin directory and not listed there yet. Until it is, add this repository as a plugin marketplace, or copy plugins/security/skills/ into .agents/skills/ in your own project.
GitHub Copilot CLI
copilot plugin marketplace add cbrock84/headcount
copilot plugin install security@headcount
Cursor
The repository is a Cursor plugin marketplace. On a Teams or Enterprise plan, import it under Dashboard, Plugins & MCPs, New marketplace, Import from a repository. To try this department on one machine, copy plugins/security into ~/.cursor/plugins/local/ and reload the window.
Gemini CLI
Gemini CLI installs one skill at a time:
gemini skills install https://github.com/cbrock84/headcount.git --path plugins/security/skills/incident-response
The skill is identical in every tool. The Copilot, Cursor and Gemini steps follow each tool's published format and have not been run end to end here.
What the skill tells the assistant
The full text, as it installs. View the source on GitHub.
Breach notification runs on statutory clocks, measured in hours in several regimes. Involve Legal & Risk and qualified counsel as soon as personal data may be involved — not after the technical work is done.
Decide it is an incident, and say so
The most expensive delay is the hour spent debating whether this is really an incident. Declare early; standing down a declared incident is cheap, and discovering an hour late that it was real is not.
Name an incident commander immediately. One person, coordinating, not doing the technical work. Everyone else has a defined job. Incidents fail on coordination far more than on technical capability.
Order of operations
1. Contain before investigating. Stop the bleeding: isolate the host, revoke the credential, disable the account, block the path. It is tempting to watch the attacker to learn more — do that only with a deliberate decision, not by default.
2. Preserve evidence while containing. Snapshot before you rebuild. Capture volatile state — memory, connections, running processes — before powering anything off. Rebuilding a compromised host destroys the only record of how they got in, and you will need it.
3. Establish scope. What was accessed, what was taken, when it started, and whether it is still happening. Assume the initial scope is understated; it usually is. Look for persistence and lateral movement before declaring containment.
4. Eradicate and recover. Remove the access, close the path, then restore. Rebuild from known good rather than cleaning in place — you cannot prove a cleaned host is clean.
Rotate every credential the attacker could have reached, not only the ones you know they used.
5. Watch after recovery. Re-entry is common. Monitor specifically for the path they used and its neighbors.
Communication
Keep one timeline as the single source of truth, updated as facts are established, with each entry timestamped and attributed. Incidents generate contradictory information at speed, and the timeline is what stops the same question being answered three ways.
Say what is known, what is not yet known, and when the next update comes. Never speculate on cause or scope externally before it is established — a retracted statement extends the story and damages credibility more than the incident did.
Afterward
Blameless review, focused on the system rather than the person. The useful questions: how could this have been detected sooner, what made containment slow, what did we not have that we needed, and what made this possible in the first place.
Output actions with owners and dates. A review producing no committed changes is theater, and the same incident recurs.
Preparation
The plan matters less than having run it. Exercise once a year at minimum: a tabletop against a realistic scenario finds the gaps — who has authority out of hours, where the credentials are, who calls counsel — at a time when finding them is free.
Sources
references/sources.md in this skill lists the outside authorities that settle the questions here — what each one is authoritative for, and what you may do with it. Check them before answering on anything they cover, and cite what you used. Most are free to read and not free to reproduce; the use note on each is binding.
Never
- Rebuild or wipe a compromised host before evidence is captured.
- Let the person running the technical response also own external communication.
- Close an incident before you can say how entry happened and that the path is shut.
- Speculate about cause or attribution outside the response channel while the incident is open.
Company context
Before answering, look for the company profile: the file .headcount/company.md in the working folder, or a document titled "Headcount company profile" in the conversation, the project's instructions or files, or saved memory. Where there is one, answer for that company and do not ask for anything it already states. Where it conflicts with what the person says now, the person is right, and say that the profile looks out of date. Where there is none, carry on: ask only for the facts this question turns on, and mention once that executive:company-onboarding records them so they are not asked again.
Other departments
A skill written as department:skill belongs to another department, and each department installs separately. If the one a question belongs to is not installed, name the department that owns it and how to add it, and do not improvise its work. references/departments.md in this skill lists each department this skill names, with the install step for Claude Code and for ChatGPT.
Files it ships with
Loaded only when the skill calls for them.
Sources it checks against
Where a question has an outside authority, the skill points the assistant at it instead of answering from memory.
- NIST SP 800-61: Incident Response Recommendations and Considerations NIST
What an incident response capability must contain and what evidence must be captured at each stage. The current revision is a substantial rewrite that drops the older four-phase framing, so do not mix guidance across revisions.
- CISA Known Exploited Vulnerabilities Catalog CISA
Which vulnerabilities are being exploited in the wild right now — the only list that reliably separates patch-this-week from patch-this-quarter.
- MITRE ATT&CK The MITRE Corporation
The shared vocabulary for adversary tactics and techniques — what to name a behavior so a detection, a threat model and an incident report refer to the same thing.
More in Security
- Access and identity
Designs and audits who can reach what — authentication, authorization models, privileged access, service credentials, and joiner-mover-leaver process.
- Chief Information Security Officer
Owns the security posture of the organization — architecture, program strategy, risk acceptance, incident command, and the authority to stop work that creates unacceptable exposure.
- Data protection and encryption
Protects data itself rather than the systems around it — classifying what you hold, encrypting in transit and at rest and understanding what each actually defends against, managin…
- Detection and monitoring
Builds the capability to notice an attack in progress — deciding what to log and retain, centralizing it somewhere tamper-resistant, writing detections that fire on attacker behav…
- Security architecture review
Reviews a design or change for security before it ships — authentication and authorization, data handling, secrets, dependencies, and the secure-development practices around it.
- Threat modeling
Identifies what could go wrong in a system before it is built or changed — the assets worth attacking, the entry points, the trust boundaries, and the controls that actually addre…
- Vulnerability management
Runs the loop from discovering a weakness to confirming it is fixed — scanning, triage, prioritization by real exploitability, remediation tracking, and patch policy.