Agent skill

Respond Ransomware

by dandye in dandye/ai-runbooks

Respond to a ransomware incident following PICERL methodology.

Apache-2.0Auto-check passedSecurity

Install Respond Ransomware

skills CLI
$ npx skills add dandye/ai-runbooks --skill respond-ransomware -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install dandye/ai-runbooks respond-ransomware --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/dandye/ai-runbooks.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/respond-ransomware .claude/skills/respond-ransomware && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
respond-ransomware
GitHub stars
127
Token cost
~1.7k tokens
SKILL.md length
586 words
Files
1
Skills in repo
27
Repo updated
First seen
Licence
Apache-2.0

At a glance

Respond to a ransomware incident following PICERL methodology.

  • Works in 6 steps: Preparation (Ongoing) → Identification → Containment → …
  • Ransomware is detected
  • SKILL.md covers Inputs, Required Outputs, PICERL Phases and Critical Warnings, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Respond Ransomware is an agent skill from dandye/ai-runbooks. Respond to a ransomware incident following PICERL methodology. Use when ransomware is detected or suspected. Orchestrates identification, containment, eradication, and recovery phases. Requires CASEID and initial indicators.

Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Security, covering Security operations. The licence is Apache-2.0.

When your agent uses it

  • Ransomware is detected
  • Tasks that involve Security operations

Example prompts

  • “/respond-ransomware”

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Preparation (Ongoing)
  2. Identification
  3. Containment
  4. Eradication
  5. Recovery
  6. Lessons Learned

What it can do on your machine

Read from SKILL.md and the folder at commit 72a6863. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Respond Ransomware loads about 1.7k tokens when it runs. Until then it costs about 61 tokens; SKILL.md has 586 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~61
When it runs · the whole SKILL.md, loaded when a task matches
~1.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from dandye/ai-runbooks at commit 72a6863, republished under its Apache-2.0 licence (© dandye). 586 words, ~1,654 tokens.

Download SKILL.mdSave it as .claude/skills/respond-ransomware/SKILL.md (or your agent's skills folder).
name
respond-ransomware
description
Respond to a ransomware incident following PICERL methodology. Use when ransomware is detected or suspected. Orchestrates identification, containment, eradication, and recovery phases. Requires CASE_ID and initial indicators.
type
Skill
required_roles.chronicle
roles/chronicle.admin
required_roles.soar
roles/chronicle.soarAdmin
required_roles.gti
GTI Enterprise
required_roles.scc
roles/securitycenter.adminEditor
personas
incident-responder
generated.by
human:dandye
generated.at
2026-02-04T06:10:49-05:00

Ransomware Incident Response Skill

Structured workflow for responding to suspected ransomware incidents using the PICERL model.

Inputs

  • CASE_ID - SOAR case ID for the incident
  • ALERT_GROUP_IDENTIFIERS - Alert group identifiers from SOAR
  • INITIAL_INDICATORS - Initial detection info:
    • Affected endpoint(s)
    • File hashes observed
    • Ransom note details (handle carefully)
    • Suspicious network connections

Required Outputs

After completing each phase, you MUST report these outputs:

Identification Phase
OutputDescription
AFFECTED_SYSTEMSSystems confirmed infected with ransomware
RANSOMWARE_VARIANTRansomware family/variant identified
ENCRYPTION_STATUSCurrent encryption state of affected systems
RANSOMWARE_IOCSFile hashes, ransom note patterns, malicious files
Containment Phase
OutputDescription
ISOLATED_SYSTEMSSystems successfully isolated from network
BLOCKED_IOCSIOCs blocked at firewall/proxy
C2_INDICATORSC2 domains/IPs discovered during containment
Eradication Phase
OutputDescription
CLEANED_SYSTEMSSystems with malware/persistence removed
REMOVED_PERSISTENCEPersistence mechanisms identified and removed
Recovery Phase
OutputDescription
RESTORED_SYSTEMSSystems restored to operational state
VALIDATION_STATUSPost-recovery validation results

PICERL Phases

Phase 1: Preparation (Ongoing)

Prerequisites - verify before proceeding:

  • Tool connectivity (SIEM, SOAR, GTI, EDR)
  • Backup availability and status
  • Communication/escalation plans

Phase 2: Identification

Step 2.1: Get Context

secops-soar.get_case_full_details(case_id=CASE_ID)

Use /check-duplicates to verify this isn't already under investigation.

Step 2.2: Identify Ransomware Strain

If file hash available:

gti-mcp.get_file_report(hash=FILE_HASH)

If name/family known:

gti-mcp.search_threats(query="LockBit ransomware", collection_type="malware-family")

Document: IDENTIFIED_STRAIN

Step 2.3: Investigate Initial Access & Lateral Movement

Search SIEM for activity BEFORE encryption:

secops-mcp.search_security_events(
    text="Suspicious logins, RDP, exploit attempts for affected endpoints",
    hours_back=168
)

Look for:

  • Suspicious logins to affected endpoints
  • Lateral movement tools (PsExec, Cobalt Strike)
  • Credential dumping activity
  • Network connections from affected endpoints

Identify: INITIAL_ACCESS_VECTOR, POTENTIAL_ADDITIONAL_SYSTEMS

Step 2.4: Initial Scope Assessment

Compile:

  • AFFECTED_ENDPOINTS - Confirmed infected systems
  • MALICIOUS_IOCs - Network IOCs (C2 domains/IPs)

Step 2.5: Check Related Cases

Use /find-relevant-case with affected entities.

Step 2.6: Document

Use /document-in-case with identification findings.


Phase 3: Containment

CRITICAL: Speed is essential. Contain first, investigate deeper later.

Step 3.1: Isolate Affected Endpoints

For each endpoint in AFFECTED_ENDPOINTS and POTENTIAL_ADDITIONAL_SYSTEMS:

Use /confirm-action:

"Isolate endpoint [HOSTNAME] from network?"

If confirmed, trigger endpoint isolation (via EDR or network).

Step 3.2: Block Network IOCs

For each IOC in MALICIOUS_IOCs:

Use /confirm-action:

"Block IOC [VALUE] at firewall/proxy?"

If confirmed, implement blocks.

Step 3.3: Contain User Accounts

If compromised user identified: → Trigger /respond-compromised-account

Step 3.4: Verify Containment

Monitor SIEM for continued activity:

secops-mcp.search_security_events(
    text="Activity from contained systems or IOCs",
    hours_back=1
)

Use /document-in-case with containment status.


Show full SKILL.md (241 more words)Show less
Phase 4: Eradication

Step 4.1: Identify Persistence

Review GTI reports for known persistence TTPs of IDENTIFIED_STRAIN.

Common mechanisms:

  • Scheduled tasks
  • Services
  • Registry run keys
  • WMI subscriptions

Step 4.2: Remove Malware & Persistence

(Requires EDR/endpoint tools)

  • Remove ransomware executables
  • Delete persistence mechanisms
  • Note: Re-imaging often preferred over cleaning

Step 4.3: Scan Systems

Perform thorough AV/EDR scans on affected systems.

Use /document-in-case with eradication actions.


Phase 5: Recovery

Step 5.1: Check Decryptor Availability

Based on IDENTIFIED_STRAIN, check:

  • NoMoreRansom.org
  • Security vendor decryptor tools

Step 5.2: Determine Recovery Strategy

Options:

  1. Restore from clean backups (most common)
  2. Use decryptor if available
  3. Rebuild systems from scratch

Step 5.3: Execute Recovery

(Involves IT Ops/System Admins)

  • Rebuild/restore systems
  • Verify backup integrity before restore
  • Patch and harden before reconnecting
  • Restore data from clean backups

Step 5.4: Monitor & Lift Containment

  • Monitor recovered systems closely
  • Gradually remove isolation measures
  • Watch for signs of residual infection

Use /document-in-case with recovery status.


Phase 6: Lessons Learned

Use /generate-report with comprehensive incident report.

Conduct post-incident review:

  • Initial access vector analysis
  • Detection timeline review
  • Response effectiveness
  • Recovery success
  • Recommendations for prevention

Critical Warnings

  • DO NOT delay containment to perform deep analysis
  • DO NOT restore without verifying backups/cleaning
  • DO check for lateral movement before closing
  • ALWAYS confirm isolation actions with analyst

Quick Reference

PhaseKey ActionsSkills Used
IdentificationStrain ID, scope/check-duplicates, /find-relevant-case
ContainmentIsolate, block/confirm-action, /document-in-case
EradicationRemove persistenceEDR tools
RecoveryRestore systemsIT Ops coordination
Lessons LearnedReport, review/generate-report

© dandye, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/respond-ransomware of dandye/ai-runbooks.

Open the folder on GitHubat commit 72a6863

Compare with similar skills

Respond Ransomware next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Respond Ransomware compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Respond Ransomware this skilldandye/ai-runbooks127—~1.7kAutomated safety check: PassApache-2.0
Kubernetes Network Security Auditkubeshark/kubeshark12k—~7.3kAutomated safety check: NotesApache-2.0
DefectDojo Vulnerability ManagementAgentSecOps/SecOpsAgentKit220—~2.3kAutomated safety check: PassCustom licence
Ecs Operation Reviewaws/tools-for-devops-agent103—~4.8kAutomated safety check: PassApache-2.0
Deploying Osquery For Endpoint Monitoringmukul975/Anthropic-Cybersecurity-Skills34k—~1.8kAutomated safety check: PassApache-2.0
Hunting For Webshell Activitymukul975/Anthropic-Cybersecurity-Skills34k—~904Automated safety check: PassApache-2.0

Similar skills

  • Hunts for compromised workloads and malicious traffic in a Kubernetes cluster by sweeping network data through Kubeshark MCP, mapped to MITRE ATT&CK.

    12k GitHub stars~7.3k tokensUpdated yesterday
    SecurityAuto-check: notes
  • DefectDojo Vulnerability Management

    AgentSecOps/SecOpsAgentKit

    Aggregates scanner results into DefectDojo, deduplicates findings, tracks remediation SLAs and prepares compliance reports across products and pipelines.

    220 GitHub stars~2.3k tokensUpdated 5 mo ago
    SecurityAuto-check passed
  • Ecs Operation Review

    aws/tools-for-devops-agent

    Official

    Performs a comprehensive Amazon ECS operations review across the 6 review pillars (Resiliency & HA, Observability, Security, Operations, Performance, Additional Analysis) using read-only AWS APIs…

    103 GitHub stars~4.8k tokensUpdated yesterday
    SecurityAuto-check passed
  • Deploying Osquery For Endpoint Monitoring

    mukul975/Anthropic-Cybersecurity-Skills

    Deploys and configures osquery for real-time endpoint monitoring using SQL-based queries to inspect running processes, open ports, installed software, and system configuration.

    34k GitHub stars~1.8k tokensUpdated 1 mo ago
    SecurityAuto-check passed
  • Hunting For Webshell Activity

    mukul975/Anthropic-Cybersecurity-Skills

    Runs a hypothesis-driven threat hunt for web shell deployment (T1505.003) on internet-facing servers by analyzing file creation in web directories, suspicious child-process spawning from web server…

    34k GitHub stars~904 tokensUpdated 1 mo ago
    SecurityAuto-check passed
  • Detecting Network Anomalies With Zeek

    mukul975/Anthropic-Cybersecurity-Skills

    Deploy and configure Zeek (formerly Bro) to passively analyze network traffic, generate structured connection/DNS/HTTP/SSL/file logs, detect anomalous behavior, and write custom scripts for…

    34k GitHub stars~3.6k tokensUpdated 1 mo ago
    SecurityAuto-check: notes

More from dandye/ai-runbooks

All 27 skills in this repo
  • Close Case Artifact

    dandye/ai-runbooks

    Close a case or alert with proper reason and documentation. An agent skill from dandye/ai-runbooks.

    127 GitHub stars~615 tokensUpdated 1 mo ago
    Auto-check passed
  • Correlate Ioc

    dandye/ai-runbooks

    Check for existing SIEM alerts and case management entries related to IOCs.

    127 GitHub stars~624 tokensUpdated 1 mo ago
    Auto-check passed
  • Deep Dive Ioc

    dandye/ai-runbooks

    Perform exhaustive analysis of a critical IOC. An agent skill from dandye/ai-runbooks.

    127 GitHub stars~1.1k tokensUpdated 1 mo ago
    Auto-check passed
  • Enrich Ioc

    dandye/ai-runbooks

    Enrich an IOC (IP, domain, hash, URL) with threat intelligence.

    127 GitHub stars~702 tokensUpdated 1 mo ago
    Auto-check passed
  • Find Relevant Case

    dandye/ai-runbooks

    Search for existing cases related to specific indicators or entities.

    127 GitHub stars~562 tokensUpdated 1 mo ago
    Auto-check passed
  • Full Alert Triage

    dandye/ai-runbooks

    Complete Tier 1 triage workflow. An agent skill from dandye/ai-runbooks.

    127 GitHub stars~1.8k tokensUpdated 1 mo ago
    Auto-check passed

Questions about Respond Ransomware

What does Respond Ransomware do?

Respond to a ransomware incident following PICERL methodology. Respond Ransomware is an agent skill from dandye/ai-runbooks. Respond to a ransomware incident following PICERL methodology.

When should I use Respond Ransomware?

Respond Ransomware fits situations like: ransomware is detected; tasks that involve Security operations.

How do I install Respond Ransomware in Claude Code?

Run `npx skills add dandye/ai-runbooks --skill respond-ransomware -a claude-code`. Or copy the skill folder (skills/respond-ransomware in dandye/ai-runbooks) into .claude/skills/respond-ransomware in your project. Claude Code loads it when a task matches its description.

How do I install Respond Ransomware in Codex?

Run `npx skills add dandye/ai-runbooks --skill respond-ransomware -a codex`. Or copy the skill folder (skills/respond-ransomware in dandye/ai-runbooks) into .agents/skills/respond-ransomware in your project. Codex loads it when a task matches its description.

Can I use Respond Ransomware in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add dandye/ai-runbooks --skill respond-ransomware -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/respond-ransomware, .gemini/skills/respond-ransomware, .github/skills/respond-ransomware and .opencode/skills/respond-ransomware in your project.

What does Respond Ransomware need to run?

SKILL.md names no scripts, command-line tools or credentials: Respond Ransomware is instructions for the agent only.

Does Respond Ransomware access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Respond Ransomware safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Respond Ransomware use?

Respond Ransomware is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Respond Ransomware use?

About 1.7k tokens (SKILL.md is roughly 6.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Respond Ransomware?

Skills that share tags, products or a category with Respond Ransomware: Kubernetes Network Security Audit (kubeshark/kubeshark, 12k stars), DefectDojo Vulnerability Management (AgentSecOps/SecOpsAgentKit, 220 stars), Ecs Operation Review (aws/tools-for-devops-agent, 103 stars) and Deploying Osquery For Endpoint Monitoring (mukul975/Anthropic-Cybersecurity-Skills, 34k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Respond Ransomware?

dandye (a GitHub user) maintains it in dandye/ai-runbooks, which has 127 GitHub stars. The repository holds 27 skills in this directory. The repository was last updated on August 14, 2026.

Source: dandye/ai-runbooks on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.