Agent skill

Respond Malware

by dandye in dandye/ai-runbooks

Respond to a malware incident following PICERL methodology. An agent skill from dandye/ai-runbooks.

Apache-2.0Auto-check passedDevOps & Cloud

Install Respond Malware

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

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

GitHub CLI
$ gh skill install dandye/ai-runbooks respond-malware --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-malware .claude/skills/respond-malware && 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-malware
GitHub stars
127
Token cost
~1.5k tokens
SKILL.md length
539 words
Files
1
Skills in repo
27
Repo updated
First seen
Licence
Apache-2.0

At a glance

Respond to a malware incident following PICERL methodology. An agent skill from dandye/ai-runbooks.

  • Works in 5 steps: Identification → Containment → Eradication → …
  • Malware is detected on endpoints
  • 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 Malware is an agent skill from dandye/ai-runbooks. Respond to a malware incident following PICERL methodology. Use when malware is detected on endpoints. Orchestrates triage, containment, eradication, and recovery. Works with triage-malware skill for analysis.

Its SKILL.md is about 1.5k 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 DevOps & Cloud. The licence is Apache-2.0.

When your agent uses it

  • Malware is detected on endpoints

Example prompts

  • “/respond-malware”

Workflow steps

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

  1. Identification
  2. Containment
  3. Eradication
  4. Recovery
  5. 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 Malware loads about 1.5k tokens when it runs. Until then it costs about 56 tokens; SKILL.md has 539 words of instructions outside code blocks.

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

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). 539 words, ~1,454 tokens.

Download SKILL.mdSave it as .claude/skills/respond-malware/SKILL.md (or your agent's skills folder).
name
respond-malware
description
Respond to a malware incident following PICERL methodology. Use when malware is detected on endpoints. Orchestrates triage, containment, eradication, and recovery. Works with triage-malware skill for analysis.
type
Skill
required_roles.chronicle
roles/chronicle.admin
required_roles.soar
roles/chronicle.soarAdmin
required_roles.gti
GTI Enterprise
required_roles.scc
roles/securitycenter.findingsEditor
personas
incident-responder
generated.by
human:dandye
generated.at
2026-02-04T06:10:49-05:00

Malware Incident Response Skill

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

Inputs

  • CASE_ID - SOAR case ID for the incident
  • ALERT_GROUP_IDENTIFIERS - Alert group identifiers from SOAR
  • INITIAL_INDICATORS - Details from initial alerts:
    • File hashes
    • IPs/domains
    • Affected hosts
    • Affected users

Required Outputs

After completing each phase, you MUST report these outputs:

Identification Phase
OutputDescription
AFFECTED_HOSTSHosts with confirmed malware
MALWARE_SAMPLESFile hashes requiring triage/analysis
MALWARE_IOCSNetwork indicators (IPs, domains, URLs)
AFFECTED_USERSUsers who executed/accessed malware
Containment Phase
OutputDescription
ISOLATED_HOSTSHosts successfully isolated from network
BLOCKED_IOCSIOCs blocked at firewall/proxy
Eradication Phase
OutputDescription
CLEANED_HOSTSHosts with malware removed
REMOVED_PERSISTENCEPersistence mechanisms removed
Recovery Phase
OutputDescription
RESTORED_HOSTSHosts restored to operational state
VALIDATION_STATUSPost-recovery scan results

PICERL Phases

Phase 2: Identification

Step 2.1: Initial Triage

Use /triage-alert with CASE_ID for initial assessment.

secops-soar.get_case_full_details(case_id=CASE_ID)

Use /check-duplicates.

Step 2.2: Malware Triage

If file hash is primary indicator:

Use /triage-malware:

/triage-malware FILE_HASH=abc123 CASE_ID=1234

This provides:

  • GTI classification
  • Behavioral indicators
  • Network IOCs
  • Affected hosts/users

Step 2.3: IOC Enrichment

For other key IOCs (IPs, domains, URLs):

Use /enrich-ioc for each.

Step 2.4: Initial Scope Assessment

Compile:

  • AFFECTED_ENDPOINTS - Hosts with malware
  • AFFECTED_USERS - Users who executed/accessed
  • MALICIOUS_IOCs - Network indicators

Use /document-in-case with findings.


Phase 3: Containment

Step 3.1: Endpoint Isolation

For each endpoint in AFFECTED_ENDPOINTS:

Use /confirm-action:

"Isolate endpoint [HOSTNAME] from network?"

If confirmed, execute isolation via EDR.

Step 3.2: Network IOC Containment

For each IOC in MALICIOUS_IOCs:

Use /confirm-action:

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

If confirmed, implement blocks.

Step 3.3: User Account Containment

If compromised user involved:

Trigger /respond-compromised-account

Step 3.4: Verify Containment

Monitor for continued activity:

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

Use /document-in-case with containment status.


Phase 4: Eradication

Step 4.1: Identify Persistence

From /triage-malware results and GTI behavior summary, identify:

  • Scheduled tasks
  • Services installed
  • Registry modifications
  • Dropped files
  • WMI subscriptions

Step 4.2: Remove Malware & Persistence

(Requires EDR/endpoint tools)

Execute removal plan:

  1. Terminate malicious processes
  2. Delete malware files
  3. Remove persistence mechanisms
  4. Clear malicious registry keys

Step 4.3: Scan for Residual Infection

(Requires EDR/AV tools)

Perform thorough scans post-eradication.

Use /document-in-case with eradication results.


Show full SKILL.md (202 more words)Show less
Phase 5: Recovery

Step 5.1: Determine Recovery Strategy

Based on severity and admin rights involved:

FactorRebuildClean
Admin rights compromised✅❌
Unknown malware✅❌
Known commodity malwareConsider✅
High confidence eradicationConsider✅

Step 5.2: Execute Recovery

(Involves IT Ops/System Admins)

  • Rebuild from known-good image OR clean existing
  • Apply all patches before reconnecting
  • Perform vulnerability scan
  • Restore data from clean backups if needed

Step 5.3: Monitor Recovered Systems

Closely monitor for 24-72 hours post-recovery:

  • Watch for re-infection indicators
  • Monitor for unusual behavior
  • Verify normal operations

Step 5.4: Lift Containment

Gradually remove isolation once confidence is high.

Use /document-in-case with recovery status.


Phase 6: Lessons Learned

Use /generate-report with:

  • Malware classification
  • Entry vector
  • Spread/impact
  • Response timeline
  • Recovery actions
  • Recommendations

Conduct review:

  • How did malware enter?
  • Was detection timely?
  • Were containment actions effective?
  • What detections should be added?

Critical Warnings

  • DO NOT skip endpoint isolation for confirmed infections
  • MUST identify malware strain/behavior
  • DO NOT restore without verifying eradication
  • ALWAYS verify scan results before reconnecting

Malware Response Quick Reference

PhaseKey QuestionAction
IdentificationWhat is it?/triage-malware
IdentificationWhere is it?SIEM search
ContainmentStop the spreadIsolate endpoints
ContainmentBlock C2Block network IOCs
EradicationRemove itEDR remediation
RecoveryRestore opsRebuild or clean

© 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-malware of dandye/ai-runbooks.

Open the folder on GitHubat commit 72a6863

Compare with similar skills

Respond Malware 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 Malware compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Respond Malware this skilldandye/ai-runbooks127—~1.5kAutomated safety check: PassApache-2.0
Iron Proxy Gateway for NanoClawnanocoai/nanoclaw31k—~4.6kAutomated safety check: NotesMIT
GitHub Actions Supply Chain Pinningasyncapi/generator1.1k—~1.9kAutomated safety check: PassApache-2.0
AWS Cloud Advisortech-leads-club/agent-skills7k—~2.1kAutomated safety check: PassCC-BY-4.0
KubeShark for KubernetesLukasNiessen/kubernetes-skill444—~1.2kAutomated safety check: PassMIT
Alibabacloud Ecs Sec Userspacealiyun/alibabacloud-ecs-troubleshoot-skills1481 repos~2.6kAutomated safety check: NotesApache-2.0

Similar skills

  • Installs or refreshes Iron Proxy and its Iron Control web console for NanoClaw, with a local Docker setup, database, credentials and a human approval bridge.

    31k GitHub stars~4.6k tokensUpdated 2 days ago
    DevOps & CloudAuto-check: notes
  • A skill your agent uses when editing, adding, or reviewing any file under .github/workflows/, or when a CI step installs a CLI tool (npm i -g, npx, pipx, uses: /setup-).

    1.1k GitHub stars~1.9k tokensUpdated 3 days ago
    DevOps & CloudAuto-check passed
  • AWS Cloud Advisor

    tech-leads-club/agent-skills

    Answers AWS architecture, security and service-selection questions by searching AWS documentation through MCP tools first, then adapting advice to your stack and team.

    7k GitHub stars~2.1k tokensUpdated 18 days ago
    DevOps & CloudAuto-check passed
  • KubeShark for Kubernetes

    LukasNiessen/kubernetes-skill

    Keeps Kubernetes manifests, Helm charts and policies grounded by diagnosing six failure modes, such as insecure defaults and API drift, and loading only matching references.

    444 GitHub stars~1.2k tokensUpdated 25 days ago
    DevOps & CloudAuto-check passed
  • Alibabacloud Ecs Sec Userspace

    aliyun/alibabacloud-ecs-troubleshoot-skills

    Linux 用户态安全入侵检测与取证工具,专为 AI Agent 设计。自动判断服务器是否被入侵, 提供完整证据链和可执行修复建议。51 个安全分析器覆盖进程/网络/认证/持久化/Rootkit/ 恶意软件/内存取证/容器逃逸等 12 类检测维度,10 个数据采集器全面采集系统状态, 映射 103+ MITRE ATT&CK 技术,支持 standalone/docker/k8s 三种部署模式。

    148 GitHub starsUsed in 1 repo~2.6k tokens
    DevOps & CloudAuto-check: notes
  • Censorship Audit

    hedioum/Hedioum-Pool-Tunnel

    Audit and harden the Hedioum Pool Tunnel against nation-state DPI and censorship, as a filtering/anti-censorship expert would.

    139 GitHub stars~4.9k tokensUpdated 1 mo ago
    DevOps & CloudAuto-check passed

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 Malware

What does Respond Malware do?

Respond to a malware incident following PICERL methodology. An agent skill from dandye/ai-runbooks. Respond Malware is an agent skill from dandye/ai-runbooks. Respond to a malware incident following PICERL methodology.

When should I use Respond Malware?

Respond Malware fits situations like: malware is detected on endpoints.

How do I install Respond Malware in Claude Code?

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

How do I install Respond Malware in Codex?

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

Can I use Respond Malware 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-malware -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-malware, .gemini/skills/respond-malware, .github/skills/respond-malware and .opencode/skills/respond-malware in your project.

What does Respond Malware need to run?

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

Does Respond Malware 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 Malware 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 Malware use?

Respond Malware 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 Malware use?

About 1.5k tokens (SKILL.md is roughly 5.8k 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 Malware?

Skills that share tags, products or a category with Respond Malware: Iron Proxy Gateway for NanoClaw (nanocoai/nanoclaw, 31k stars), GitHub Actions Supply Chain Pinning (asyncapi/generator, 1.1k stars), AWS Cloud Advisor (tech-leads-club/agent-skills, 7k stars) and KubeShark for Kubernetes (LukasNiessen/kubernetes-skill, 444 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Respond Malware?

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.