Skip to content
Skill

Sh incident response

Guides an analyst through scoping, timelining and planning response to a security incident

Sh incident response is an open-source agent skill for security. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
44
Last commit
License
MIT
Listing updated

Similar skills

About Sh incident response

This skill supports a SOC analyst or on-call engineer through an active security incident. It scopes the affected hosts, accounts and data from an alert or report, builds a UTC timeline with each event marked as fact or inference, and extracts and sweeps indicators of compromise through the indra CLI. It then lays out containment, eradication and recovery actions ordered by risk, each with its reason, blast radius, approver and rollback.

The skill is deliberately read-only and advisory. It correlates logs and writes documents such as a timeline, an indicator list, a report and stakeholder status drafts, but it never isolates hosts, blocks traffic, disables accounts, rotates credentials or deletes anything. It also tells the human what to preserve first, such as memory, short-retention logs and cloud audit trails, and what not to do yet, like rebooting before capture. A second mode writes or reviews a response playbook for named scenarios like a leaked cloud key or a web shell, with decision points that name a required approver.

It expects a SIEM reachable through the indra command line for scoping, though it can work from text alone. Output goes to incident folders and playbook files, and log or ticket content is treated as untrusted data.

When your agent uses it

Incident response support for a SOC analyst or on-call engineer: scope an incident from an alert or report, build an evidence-backed UTC timeline, extract and sweep indicators, plan containment, eradication and recovery ordered by risk, note what evidence to preserve, draft stakeholder status updates, and run a post-incident review. Also writes or reviews a response playbook for a named scenario (leaked cloud key, compromised CI token, ransomware, phished account, web shell). Use when the user asks about an incident, a suspected compromise, containment or recovery advice, an incident timeline or report, a post-incident review, or a response playbook. Read-only and advisory: it never contains, isolates, blocks, disables accounts, rotates credentials or deletes anything.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (6 KB) on GitHub on 5 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the indra plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add dmdhrumilmistry/indra
/plugin install indra@indra

Or copy only this skill to ~/.claude/skills/sh-incident-response:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/sh-incident-response &&
cp -R "$tmp/plugins/indra/skills/sh-incident-response" ~/.claude/skills/sh-incident-response &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/sh-incident-response inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/sh-incident-response to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/sh-incident-response &&
cp -R "$tmp/plugins/indra/skills/sh-incident-response" ~/.agents/skills/sh-incident-response &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/sh-incident-response inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/sh-incident-response to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/sh-incident-response &&
cp -R "$tmp/plugins/indra/skills/sh-incident-response" ~/.cursor/skills/sh-incident-response &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/sh-incident-response inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/dmdhrumilmistry/indra.git --path plugins/indra/skills/sh-incident-response

Or copy the folder to ~/.gemini/skills/sh-incident-response yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/sh-incident-response:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/sh-incident-response &&
cp -R "$tmp/plugins/indra/skills/sh-incident-response" ~/.copilot/skills/sh-incident-response &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/sh-incident-response inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git

Then copy indra/plugins/indra/skills/sh-incident-response into your agent's skills folder as sh-incident-response. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Incident scoping
Determines affected hosts, accounts, data and services, the earliest evidence and what remains unknown.
UTC event timeline
Builds a timeline of events with source, confidence and separation between facts and inferences.
Indicator extraction and sweep
Pulls indicators from notes and sweeps them across recent logs to find additional affected systems.
Risk-ordered response plan
Lists containment, eradication and recovery actions with approvals, blast radius and rollback steps.
Evidence preservation checklist
Identifies volatile and short-retention evidence to capture first without modifying it.
Playbook writing and review
Drafts or reviews response playbooks for scenarios such as leaked keys, ransomware and web shells.
Post-incident review
Covers root cause, missed detections, hardening gaps and lessons with named owners.

Good for

  • Scope a suspected compromise from a SIEM alert
  • Build a UTC timeline for an ongoing incident
  • Plan containment steps ordered by risk with rollback notes
  • Draft stakeholder status updates during an incident
  • Write a playbook for a leaked cloud access key
  • Run a post-incident review after a phishing compromise

Sh incident response FAQ

Does the skill take containment actions itself?

No. It is read-only and advisory. It never isolates, blocks, disables accounts, rotates credentials or deletes anything. It recommends each action for a human to approve and carry out.

What does Sh incident response need to run?

It uses the indra command line for SIEM scoping and indicator sweeps when a source is available. Without a SIEM source it works from the text it is given.

What files does Sh incident response produce?

For an incident it writes a timeline, a report and an indicator file in an incidents folder. For a playbook it writes a markdown file under playbooks.

Which scenarios does Sh incident response cover in playbook mode?

The examples given are leaked cloud keys, compromised CI tokens, ransomware, phished accounts and web shells, and it can also handle other scenarios the user names.

How do I install Sh incident response in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/sh-incident-response to use it in all your projects, or to .claude/skills/sh-incident-response in one project. Or install the indra plugin, which includes it: /plugin marketplace add dmdhrumilmistry/indra, then /plugin install indra@indra.

Does Sh incident response run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Sh incident response?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Sh incident response?

The closest alternatives to Sh incident response are Incident response runbook, Sh log triage, Soc investigator, Sh detection rules and Sh purple team.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from dmdhrumilmistry/indra

  1. Lets an agent triage SIEM alerts and logs, sweep indicators and build evidenced timelines

    • Open source
    • 44 GitHub stars
    • Security
  2. Gives a security review agent persistent Markdown memory of past findings and learnings

    • Open source
    • 44 GitHub stars
    • Knowledge and memory
  3. Security-reviews a GitHub pull request and reports findings as inline comments

    • Open source
    • 44 GitHub stars
    • Developer tools
  4. Publishes security review findings as de-duplicated Jira, GitHub, Confluence or Notion

    • Open source
    • 44 GitHub stars
    • Knowledge and memory
  5. Plans and runs approved purple-team tests to check whether SIEM detections fire

    • Open source
    • 44 GitHub stars
    • Security
  6. Re-checks one earlier security finding against current code or recorded traffic

    • Open source
    • 44 GitHub stars
    • Security