Incident Response & Digital Forensics

Incident Response & Digital Forensics is a skill for Claude Code from Masriyan/Claude-Code-CyberSecurity-Skill. It costs 43 tokens per session (3,723 once invoked), scanned B, original, MIT.

An incident-response and digital-forensics assistant for handling security incidents and examining evidence. Digital forensics is the process of collecting and analysing records from computers, networks, and memory to understand what happened.

In plain words
What is it for?
Use it to create ransomware or phishing playbooks, collect evidence with chain of custody, build forensic timelines, interpret Volatility memory-forensics output, and write incident reports.
Why use it?
It helps organise urgent response work and preserve evidence in a traceable way. It also provides a consistent structure for timelines, containment, root-cause analysis, and post-incident reports.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python scripts/timeline_builder.py --logs ./collected_logs/ --output timeline.csv.

Part of the cybersecurity plugin — 20 skills shipped together

Good fit Use it to create ransomware or phishing playbooks, collect evidence with chain of custody, build forensic timelines, interpret Volatility memory-forensics output, and write incident reports.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/Masriyan/Claude-Code-CyberSecurity-Skill
agentmods
npx agentmods add skills/masriyan/claude-code-cybersecurity-skill/07-incident-response

Made for: Claude Code.

Or install cybersecurity, the plugin that ships this one along with the rest of its 20 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Incident Response & Digital Forensics

README.md
[![agentmods](https://agentmods.dev/badge/skills/masriyan/claude-code-cybersecurity-skill/07-incident-response/github.svg)](https://agentmods.dev/skills/masriyan/claude-code-cybersecurity-skill/07-incident-response)
Your own site
<a href="https://agentmods.dev/skills/masriyan/claude-code-cybersecurity-skill/07-incident-response"><img src="https://agentmods.dev/badge/skills/masriyan/claude-code-cybersecurity-skill/07-incident-response/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for Incident Response & Digital Forensics

Your own site · 80×15
<a href="https://agentmods.dev/skills/masriyan/claude-code-cybersecurity-skill/07-incident-response"><img src="https://agentmods.dev/badge/skills/masriyan/claude-code-cybersecurity-skill/07-incident-response.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,723 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Privilege Escalation · line 179
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
  • medium Rogue Agent · line 184
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00043 $0.03723
Opus 5 $0.00022 $0.01861
Sonnet 5 $0.00009 $0.00745
Haiku 4.5 $0.00004 $0.00372

Measured yesterday against content hash eb88d2dbe376, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade B, and why

Incident Response & Digital Forensics scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/evidence_collector.py, scripts/timeline_builder.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo avml /tmp/memory.lime # Memory dump (avml)
skills/07-incident-response/SKILL.md · 402 lines

How it starts

The opening of the file, as written. The whole thing — 402 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Incident Response & Digital Forensics

Purpose

Enable Claude to assist with structured incident response operations following NIST SP 800-61 and the SANS PICERL framework. Claude generates IR playbooks, guides evidence collection with chain of custody, constructs forensic timelines, interprets memory forensics output, and produces post-incident reports.


Activation Triggers

This skill activates when the user asks about:

  • Creating an incident response playbook (ransomware, phishing, breach, etc.)
  • Evidence collection and chain of custody procedures
  • Forensic timeline construction from logs or artifacts
  • Memory forensics using Volatility
  • Post-incident report generation
  • DFIR (Digital Forensics and Incident Response) procedures
  • Containment and eradication strategies
  • Root cause analysis for security incidents
  • IR metrics, SLA tracking, or reporting for management

Prerequisites

pip install pyyaml jinja2 pandas python-dateutil

Recommended DFIR tools:

  • Volatility 3 — Memory forensics framework
  • Autopsy / Sleuth Kit — Disk forensics
  • plaso / log2timeline — Supertimeline generation
  • KAPE — Evidence collection (Windows)
  • Velociraptor — Enterprise-scale endpoint forensics
  • FTK Imager — Forensic imaging (Windows)
  • dd / dcfldd / dc3dd — Disk imaging (Linux)

PICERL Framework Overview

Every IR engagement follows the PICERL lifecycle:

Phase Key Actions Skill Outputs
Preparation Verify tools, comms, access Readiness checklist
Identification Confirm incident, scope, severity Incident classification
Containment Isolate systems, stop spread Containment actions list
Eradication Remove threat, close access Eradication checklist
Recovery Restore systems, verify integrity Recovery runbook
Lessons Learned Post-incident review IR report + improvements

Core Capabilities

1. IR Playbook Creation

Read the full file on GitHub · 402 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday Changed eb88d2dbe376
  2. 10d ago First seen · 402 lines · 43 tokens per session scan B 0b297faa2bca

Subscribe to this mod's changes

Incident Response & Digital Forensics is a skill published in the GitHub repository Masriyan/Claude-Code-CyberSecurity-Skill (403 stars, last pushed 2d ago), licensed MIT. It adds 43 tokens to every session and 3,723 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

performing-cloud-forensics-with-aws-cloudtrail

Perform forensic investigation of AWS environments using CloudTrail logs to reconstruct attacker activity, identify compromised credentials, and analyze API call patterns.

xalgorix/xalgorix · 36 tokens

collecting-volatile-evidence-from-compromised-host

Collect volatile forensic evidence from a compromised system following order of volatility, preserving memory, network connections, processes, and system state before they are lost.

26zl/cybersec-toolkit · 41 tokens

incident-response-expert

Expert in security incident response, NIST framework, digital forensics, containment strategies, and recovery procedures. Use when the user mentions forensics, NIST, containment, recovery, or cybersecurity, or when the task involves NIST Incident Response Lifecycle, Incident Classification, Incident Response Workflow…

personamanagmentlayer/pcl · 67 tokens

windows-prefetch-analysis

Analyze Windows prefetch files (.pf) to determine evidence of program execution. This skill details how to extract execution times, run counts, and the paths of files accessed by a program, which is critical for incident response and malware timeline reconstruction.

akashrpatil/awesome-offensive-security-skills · 55 tokens

analyzing-email-headers-for-phishing-investigation

Parse and analyze email headers (Received chain, Return-Path, Message-ID) to trace the true origin of a phishing email and validate SPF, DKIM, and DMARC results to confirm or rule out sender spoofing. Use when triaging a suspicious or reported email, investigating a phishing incident, or verifying whether a message's…

mukul975/Anthropic-Cybersecurity-Skills · 84 tokens

analyzing-linux-system-artifacts

Examine Linux system artifacts (auth logs, cron/systemd persistence, shell history, SSH keys, and system configuration) to uncover evidence of compromise, detect rootkits or backdoors, and reconstruct user/attacker activity. Use when investigating a compromised Linux server or workstation, hunting for persistence…

mukul975/Anthropic-Cybersecurity-Skills · 79 tokens