siem-setup

siem-setup is a command for Claude Code from HermeticOrmus/LibreSecOps-Claude-Code. It costs 26 tokens per session (1,103 once invoked), scanned A, original, MIT.

A planning command for designing a SIEM, a system that collects and analyzes security logs from many sources.

In plain words
What is it for?
Use it when deploying, migrating, or redesigning a SIEM, or when checking whether an environment is ready for one.
Why use it?
It helps identify which logs to collect, how long to keep them, and which detections to build first.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the siem-log-management plugin — 2 skills, 2 commands, 2 agents shipped together

Good fit Use it when deploying, migrating, or redesigning a SIEM, or when checking whether an environment is ready for one.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/hermeticormus/libresecops-claude-code/siem-setup
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.

Clone the repo
git clone --depth 1 https://github.com/HermeticOrmus/LibreSecOps-Claude-Code

Made for: Claude Code.

Or install siem-log-management, the plugin that ships this one along with the rest of its 2 skills, 2 commands, 2 agents.

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 siem-setup

README.md
[![agentmods](https://agentmods.dev/badge/commands/hermeticormus/libresecops-claude-code/siem-setup/github.svg)](https://agentmods.dev/commands/hermeticormus/libresecops-claude-code/siem-setup)
Your own site
<a href="https://agentmods.dev/commands/hermeticormus/libresecops-claude-code/siem-setup"><img src="https://agentmods.dev/badge/commands/hermeticormus/libresecops-claude-code/siem-setup/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 siem-setup

Your own site · 80×15
<a href="https://agentmods.dev/commands/hermeticormus/libresecops-claude-code/siem-setup"><img src="https://agentmods.dev/badge/commands/hermeticormus/libresecops-claude-code/siem-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,103 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.00026 $0.01103
Opus 5.5 $0.00010 $0.00441
Sonnet 5.5 $0.00005 $0.00221
Haiku 4.5 $0.00003 $0.00110

Measured 12d ago against content hash 778bfa7a883d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

siem-setup 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 12d ago.

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.

plugins/siem-log-management/commands/siem-setup.md · 109 lines

How it starts

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

/siem-setup

Design a SIEM architecture including log source prioritization, collection strategy, retention policies, and initial detection rule set.

Trigger

Use when deploying a new SIEM, migrating between SIEM platforms, or redesigning an existing SIEM architecture. Also useful for evaluating SIEM readiness and identifying critical gaps in current deployments.

Input

  • Environment: Cloud (AWS/Azure/GCP), on-premises, hybrid, multi-cloud
  • Scale: Number of endpoints, users, servers, cloud workloads
  • Operating systems: Windows, Linux, macOS distribution
  • Key applications: Active Directory, Office 365, AWS services, custom applications
  • Current state: Existing log collection, current SIEM (if any), known gaps
  • Compliance requirements: Regulatory frameworks requiring specific log retention or monitoring
  • Budget context: License model preference (per-GB, per-EPS, open-source), operational budget range
  • Team size: SOC analysts, detection engineers, SIEM administrators available

Process

  1. Platform recommendation -- Based on environment, budget, and team:

    • Splunk: Best query language, highest cost, strong ecosystem
    • Elastic Security: Open-source core, strong endpoint integration, good for technical teams
    • Microsoft Sentinel: Best for Azure/O365-heavy environments, consumption-based pricing
    • For smaller teams/budgets: Wazuh (open-source), Graylog, Security Onion
  2. Log source prioritization -- Ranked by detection value:

    Tier 1 (Deploy first -- highest detection value):

    • Windows Security Event Logs (Event IDs: 4624, 4625, 4648, 4672, 4688, 4698, 4720, 7045)
    • Sysmon (process creation, network connections, file creation, registry, DNS)
    • EDR telemetry (CrowdStrike, Defender for Endpoint, SentinelOne)
    • DNS query logs (internal resolver)
    • Authentication platform logs (Active Directory, Okta, Azure AD)

    Tier 2 (Deploy second -- critical context):

    • Cloud audit logs (CloudTrail, Azure Activity Log, GCP Audit Log)
    • Proxy/web gateway logs
    • Email gateway logs (for phishing detection)
    • Firewall connection logs
    • VPN authentication logs

Read the full file on GitHub · 109 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. 12d ago Changed · +5 lines · +26 tokens per session 778bfa7a883d
  2. 1mo ago First seen · 104 lines · 0 tokens per session scan A d78f70068f40

Subscribe to this mod's changes

siem-setup is a command published in the GitHub repository HermeticOrmus/LibreSecOps-Claude-Code (4 stars, last pushed 9d ago), licensed MIT. It adds 26 tokens to every session and 1,103 once invoked, about $0.0001 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-03.