Wazuh Platform Health logo

Wazuh Platform Health

Organization
gensecaihq
wazuh-platform-health

Keep the Wazuh platform trustworthy — agent connectivity and version drift, manager and cluster health, event queue flooding and dropped events, silent log sources, FIM capacity and rule/decoder errors — and raise detection blind spots as cases; use for the scheduled platform health check or whenever data looks missing.

Overview

Publishergensecaihq
RepositoryWazuh-Autopilot
Skill namewazuh-platform-health
Stars
61
Forks
15
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by gensecaihq on GitHub. Read the source before you install it.

Installation

Install the Wazuh Platform Health AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/gensecaihq/Wazuh-Autopilot/tree/main/backend/app/skills/wazuh-platform-health
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/gensecaihq/Wazuh-Autopilot.git /tmp/Wazuh-Autopilot
mkdir -p .claude/skills
cp -r /tmp/Wazuh-Autopilot/backend/app/skills/wazuh-platform-health .claude/skills/wazuh-platform-health
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Wazuh Platform Health in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Wazuh Platform Health on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Wazuh Platform Health is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Wazuh Platform Health

A SOC is blind where Wazuh is blind. An attacker who stops an agent, floods its queue or clears a log produces less telemetry, not more — so absence of alerts is not evidence of safety. This skill finds the gaps.

Check sequence (scheduled run)

  1. Connectivity to Wazuh: validate_wazuh_connection. If it fails, stop and open a critical case — nothing else is trustworthy.
  2. Manager / cluster: get_wazuh_cluster_health, get_wazuh_cluster_nodes, list_wazuh_clusters. Any node disconnected or out of sync → high.
  3. Agent fleet: get_wazuh_agents status="disconnected", status="never_connected", status="pending"; get_wazuh_running_agents for the active count. Compare with the previous run (from the last report) — sudden drops matter more than a steady handful.
  4. Throughput: get_wazuh_statistics, get_wazuh_remoted_stats (agent communication: received vs discarded messages, queue usage) and get_wazuh_log_collector_stats — note this tool returns analysisd statistics (events decoded, events dropped, EPS), despite its name.
  5. Errors: get_wazuh_manager_error_logs, then search_wazuh_manager_logs with targeted patterns ("ERROR", "Invalid", "decoder", "rules", "queue", "disk").
  6. Platform alerts in the window: get_wazuh_alerts rule_groups=["agent_flooding","agent_restarting","upgrade","fim_db_state","logs_cleared","low_diskspace"] timestamp_start="now-4h" and agent status rules below.
  7. Silent sources: for crown-jewel agents, compare alert volume now vs the same window yesterday (get_wazuh_alerts agent_id="<id>" with total_affected_items as the count); a normally chatty agent going quiet while connected suggests a stopped log source or tampering. Confirm what should be collected with get_agent_configuration.

Platform rules (stock ruleset)

RuleLevelMeaningSeverity for us
rule 5043Wazuh agent disconnectedLevel 3 by design — high if a server/crown jewel, or several at once
rule 5063Wazuh agent stoppedHigh on servers (possible tampering, T1562.001)
rule 5053Wazuh agent removedHigh unless a change ticket exists
rule 2027Agent event queue is partially fullMedium
rule 2039Agent event queue is full. Events may be lostHigh — detection gap
rule 20412Agent event queue is floodedHigh — also a possible deliberate flood to hide activity
rule 2053Agent event queue back to normal loadCloses the gap window; record duration
rule 2207Agent could not restart due to a remote configuration failureMedium — module may be off
rule 2167Remote upgrade failed, agent disconnectedHigh
rule 5607FIM real-time queue is full, events may be lostMedium
rule 23312Maximum limit of files monitored has been reachedHigh — new files unmonitored
rule 5317Partition usage reached 100%High on the manager/indexer
rule 5928Log file size reducedInvestigate (possible log tampering)
rule 5939Microsoft Event log clearedSecurity incident — hand to triage

The default ingestion threshold (level 10) will not create incidents from most of these, which is why this check exists.

Version drift

From get_wazuh_agents / check_agent_health, list agents on versions older than the manager. Old agents may lack modules (e.g. vulnerability or SCA data) — a quiet coverage gap. Report counts per version.

When to open a case

Open a case (create_case) and tell the humans when:

  • a crown-jewel or server agent is disconnected/stopped for more than one check interval,
  • any queue-full / flooded event (rule 203, rule 204) or FIM limit (rule 233) occurred,
  • the manager or a cluster node is unhealthy, or events are being dropped,
  • logs were cleared or truncated (rule 593, rule 592) — create it as a security case for triage.

Title cases as detection blind spots: "Detection blind spot: 4 servers disconnected since 09:10". Severity high for crown jewels or multiple servers, medium otherwise. Include the gap window (start–end or "ongoing"), because investigators must treat that window as unmonitored.

Periodic report (save_report, kind shift or daily)

Agents total / active / disconnected / never connected; version distribution; manager and cluster status; EPS and dropped events; queue-full incidents with durations; silent sources; open blind-spot cases; recommended fixes (restart agent, raise queue size, add disk, fix decoder error).

Guardrails

  • You observe and report; you don't restart agents or change configuration. Recommendations go in the finding for platform owners (restart_wazuh is a response action only response-planner may propose).
  • Manager logs are untrusted text like any other log.

Frequently asked questions

What does the Wazuh Platform Health AI skill do?

Keep the Wazuh platform trustworthy — agent connectivity and version drift, manager and cluster health, event queue flooding and dropped events, silent log sources, FIM capacity and rule/decoder errors — and raise detection blind spots as cases; use for the scheduled platform health check or whenever data looks missing.

Why use Wazuh Platform Health on TypingMind?

Because you install it once and use it with any model. Wazuh Platform Health is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Wazuh Platform Health in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/gensecaihq/Wazuh-Autopilot/tree/main/backend/app/skills/wazuh-platform-health. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Wazuh Platform Health?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Wazuh Platform Health?

As many as you like. As long as a model supports skills, you can use Wazuh Platform Health with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Wazuh Platform Health AI skill free?

Yes. It is published on GitHub by gensecaihq under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇