containment-playbooks

containment-playbooks is a skill for Claude Code from gensecaihq/Wazuh-Autopilot. It costs 46 tokens per session (1,420 once invoked), scanned A, original, MIT.

A reference for planning Wazuh containment actions such as blocking an IP address, denying a host, or isolating a computer. It describes required details, checks for the result, and ways to undo each action.

In plain words
What is it for?
Use it when proposing, reviewing, or checking a response to a suspected attack, including the verification and rollback steps for that response.
Why use it?
It helps responders choose an appropriate action and avoid proposing an action with missing or incorrect details. It also separates planning from execution, which requires platform policy and approval.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it when proposing, reviewing, or checking a response to a suspected attack, including the verification and rollback steps for that response.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gensecaihq/wazuh-autopilot/containment-playbooks
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add gensecaihq/Wazuh-Autopilot --skill containment-playbooks
Clone the repo
git clone --depth 1 https://github.com/gensecaihq/Wazuh-Autopilot

Made for: Claude Code.

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 containment-playbooks

README.md
[![agentmods](https://agentmods.dev/badge/skills/gensecaihq/wazuh-autopilot/containment-playbooks/github.svg)](https://agentmods.dev/skills/gensecaihq/wazuh-autopilot/containment-playbooks)
Your own site
<a href="https://agentmods.dev/skills/gensecaihq/wazuh-autopilot/containment-playbooks"><img src="https://agentmods.dev/badge/skills/gensecaihq/wazuh-autopilot/containment-playbooks/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 containment-playbooks

Your own site · 80×15
<a href="https://agentmods.dev/skills/gensecaihq/wazuh-autopilot/containment-playbooks"><img src="https://agentmods.dev/badge/skills/gensecaihq/wazuh-autopilot/containment-playbooks.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,420 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00046 $0.01420
Opus 5.5 $0.00018 $0.00568
Sonnet 5 $0.00009 $0.00284
Haiku 4.5 $0.00005 $0.00142

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

Security

Grade A, and why

containment-playbooks scanned grade A with 0 findings 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.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

backend/app/skills/containment-playbooks/SKILL.md · 94 lines

How it starts

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

Containment Playbooks

The response-planner proposes these actions with propose_action. Any other agent holding this skill (e.g. responder) hands off to response-planner instead. The platform executor runs the Wazuh MCP tool only after policy and approval. No agent can call the executor tools listed below. Parameters must match what the executor expects or execution fails. Load wazuh-active-response for how Wazuh AR scripts, timeouts and agent-side requirements work.

Action reference

Type Executor tool (not callable by agents) params for propose_action Verify (read-only) Rollback D3FEND
block_ip wazuh_block_ip ip_address + (agent_id, or none for fleet-wide) wazuh_check_blocked_ip wazuh_firewall_allow (per agent only) D3-ITF Inbound Traffic Filtering
firewall_drop wazuh_firewall_drop ip_address (sent as src_ip), agent_id wazuh_check_blocked_ip wazuh_firewall_allow D3-ITF Inbound Traffic Filtering
host_deny wazuh_host_deny ip_address (sent as src_ip), agent_id wazuh_check_blocked_ip wazuh_host_allow D3-ITF Inbound Traffic Filtering
isolate_host wazuh_isolate_host agent_id wazuh_check_agent_isolation wazuh_unisolate_host D3-NI Network Isolation
kill_process wazuh_kill_process agent_id + process_id (a PID; names are not accepted) wazuh_check_process none (process gone) D3-PT Process Termination
disable_user wazuh_disable_user agent_id, username wazuh_check_user_status wazuh_enable_user D3-AL Account Locking
quarantine_file wazuh_quarantine_file agent_id, file_path wazuh_check_file_quarantine wazuh_restore_file D3-FEV File Eviction
active_response wazuh_active_response agent_id, command (+ parameters) depends on command depends on command none
restart_wazuh wazuh_restart agent_id, or target: "manager" check_agent_health none none

Before proposing, check the current state with the read-only tools: is the IP already blocked (wazuh_check_blocked_ip)? Is the agent connected (check_agent_health)? A disconnected agent can't run AR, so propose nothing it can't execute. Say so and escalate.

Read the full file on GitHub · 94 lines

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 First seen · 94 lines · 46 tokens per session scan A d8a4c7671785

Subscribe to this mod's changes

containment-playbooks is a skill published in the GitHub repository gensecaihq/Wazuh-Autopilot (57 stars, last pushed 2d ago), licensed MIT. It adds 46 tokens to every session and 1,420 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-25.