wazuh-mcp-querying

wazuh-mcp-querying is a skill for Claude Code from gensecaihq/Wazuh-Autopilot. It costs 60 tokens per session (1,608 once invoked), scanned A, original, MIT.

A reference for querying Wazuh through its MCP Server, a service that lets an AI agent call Wazuh data tools. It maps common questions to the appropriate query and explains filters, result limits and errors.

In plain words
What is it for?
Use it before a Wazuh query to find alerts, search events, summarise alert volume, inspect recurring patterns or check agent status and health.
Why use it?
It reduces incorrect queries, truncated results and wasted context when searching security events. It also clarifies when a requested operation is not available through the tools being used.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it before a Wazuh query to find alerts, search events, summarise alert volume, inspect recurring patterns or check agent status and health.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gensecaihq/wazuh-autopilot/wazuh-mcp-querying
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 wazuh-mcp-querying
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 wazuh-mcp-querying

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/gensecaihq/wazuh-autopilot/wazuh-mcp-querying"><img src="https://agentmods.dev/badge/skills/gensecaihq/wazuh-autopilot/wazuh-mcp-querying.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,608 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.00060 $0.01608
Opus 5.5 $0.00024 $0.00643
Sonnet 5 $0.00012 $0.00322
Haiku 4.5 $0.00006 $0.00161

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

Security

Grade A, and why

wazuh-mcp-querying 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/wazuh-mcp-querying/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.

Wazuh MCP Querying

Every agent reads Wazuh only through the Wazuh MCP Server (gensecaihq/Wazuh-MCP-Server v4.3.0). You hold a subset of its tools — the ones in your tool list. This skill is reference knowledge: use the tools you hold; for anything else, hand off to the agent that owns it.

Which tool answers which question

Question Tool Notes
Show me the alerts matching X get_wazuh_alerts Filters: rule_id, level, agent_id, rule_groups, timestamp_start/_end, limit, compact
Free-text / IP-centric search search_security_events query, srcip, dstip, rule_id, agent_id, level, time_range (enum)
What is noisy / what dominates? get_alerts_aggregated Top rules and top agents for a window — start here, then drill down
Recurring patterns analyze_alert_patterns time_range enum, min_frequency
Volume by level / rule / group / agent get_wazuh_alert_summary group_by: rule.level, rule.id, rule.groups, agent.id, agent.name
Which agents exist / their status get_wazuh_agents status: active, disconnected, never_connected, pending
Is this agent healthy? check_agent_health Connection state, last keepalive, version
What runs / listens on a host get_agent_processes, get_agent_ports Syscollector inventory (periodic, not live)
Agent config (FIM paths, log sources) get_agent_configuration Confirms what is actually monitored
Vulnerabilities get_wazuh_vulnerabilities, get_wazuh_critical_vulnerabilities, get_wazuh_vulnerability_summary severity enum, limit max 500
Hardening state get_sca_policy_checks Per agent and SCA policy
Compliance posture run_compliance_check, ISO 27001 tools framework enum
Platform health get_wazuh_statistics, get_wazuh_cluster_health, get_wazuh_remoted_stats, get_wazuh_log_collector_stats, manager log tools Owned by platform-engineer
Current endpoint state after an action wazuh_check_* Read-only verification tools

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 · 60 tokens per session scan A 488c86c36ba0

Subscribe to this mod's changes

wazuh-mcp-querying is a skill published in the GitHub repository gensecaihq/Wazuh-Autopilot (57 stars, last pushed 2d ago), licensed MIT. It adds 60 tokens to every session and 1,608 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.