sentinel-detection-engineering

sentinel-detection-engineering is a skill for Claude Code, Codex from vinayaklatthe/microsoft-security-skills. It costs 239 tokens per session (2,266 once invoked), scanned A, original, MIT.

Guidance for building and maintaining security detections in Microsoft Sentinel, Microsoft's cloud service for collecting security logs and investigating threats. It covers analytics rules, hunting queries, and automated response workflows.

In plain words
What is it for?
Use it to write KQL queries, choose Sentinel content, test and deploy analytics rules, and connect detections to automated response playbooks.
Why use it?
It helps teams create detections that produce useful alerts, map them to the MITRE ATT&CK threat framework, and keep them tested and versioned over time.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to write KQL queries, choose Sentinel content, test and deploy analytics rules, and connect detections to automated response playbooks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vinayaklatthe/microsoft-security-skills/sentinel-detection-engineering
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 vinayaklatthe/microsoft-security-skills --skill sentinel-detection-engineering
Clone the repo
git clone --depth 1 https://github.com/vinayaklatthe/microsoft-security-skills

Made for: Claude Code, Codex.

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 sentinel-detection-engineering

README.md
[![agentmods](https://agentmods.dev/badge/skills/vinayaklatthe/microsoft-security-skills/sentinel-detection-engineering/github.svg)](https://agentmods.dev/skills/vinayaklatthe/microsoft-security-skills/sentinel-detection-engineering)
Your own site
<a href="https://agentmods.dev/skills/vinayaklatthe/microsoft-security-skills/sentinel-detection-engineering"><img src="https://agentmods.dev/badge/skills/vinayaklatthe/microsoft-security-skills/sentinel-detection-engineering/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 sentinel-detection-engineering

Your own site · 80×15
<a href="https://agentmods.dev/skills/vinayaklatthe/microsoft-security-skills/sentinel-detection-engineering"><img src="https://agentmods.dev/badge/skills/vinayaklatthe/microsoft-security-skills/sentinel-detection-engineering.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 239 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,266 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.00239 $0.02266
Opus 5 $0.00120 $0.01133
Sonnet 5 $0.00048 $0.00453
Haiku 4.5 $0.00024 $0.00227

Measured 9d ago against content hash 031d1af4b1cb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

sentinel-detection-engineering 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 9d 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.

skills/sentinel-detection-engineering/SKILL.md · 163 lines

How it starts

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

Sentinel Detection Engineering

Sentinel detection engineering is the discipline of building high-fidelity, well-tuned, maintainable detections and response automation. This skill covers the lifecycle — content sourcing, authoring, validating, automating, and versioning detections — not the broader SIEM architecture.

When to use

Authoring or maturing analytics rules, hunting queries, automation rules, and playbooks in Microsoft Sentinel. Use for KQL detection patterns, MITRE alignment, content-hub vs custom choices, and detection-as-code rollout.

Do not use this skill for Sentinel onboarding/architecture (sentinel), Defender XDR custom detections in isolation (defender-xdr), or generic KQL learning unrelated to detection.

Sources of content (use in this order)

  1. Content Hub solutions — Microsoft- and partner-published, versioned bundles of data connectors, analytics rules, hunting queries, workbooks, playbooks. Always start here. Install the solution; enable rules in Active.

  2. Microsoft Sentinel GitHub — community-contributed queries that haven't (yet) made it into a solution. Vet, then promote into your repo.

  3. Custom detections — domain-specific, authored against your own data sources or specific business logic.

Rule of thumb: If a Microsoft solution covers 80% of the use case, install the solution and override the 20% in your repo — don't fork from scratch.

Choose the analytics rule type

Rule type When to use Latency
Scheduled Most cases; KQL window-based 5 min – 24 h
Near-real-time (NRT) High-priority, single-event detections (e.g., privileged role assignment) <1 min
Microsoft Security (legacy) Forward Defender alerts as Sentinel incidents Immediate
Fusion Multi-stage attack correlation (built-in ML) Variable
Anomalies Behavior baselines (built-in ML) Hourly
Threat Intelligence TI-indicator → log match Schedule

Read the full file on GitHub · 163 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. 9d ago First seen · 163 lines · 239 tokens per session scan A 031d1af4b1cb

Subscribe to this mod's changes

sentinel-detection-engineering is a skill published in the GitHub repository vinayaklatthe/microsoft-security-skills (173 stars, last pushed 2mo ago), licensed MIT. It adds 239 tokens to every session and 2,266 once invoked, about $0.0012 per session on Opus 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.

Related

Other skills, from other repositories

power-automate

Use when operating Microsoft Power Automate cloud flows from code — create, enable, update, list or delete via the Dataverse Web API (workflow table, category 5) with Entra ID OAuth2, plus run-history debugging. NOT designing the flow definition (that is automation-flows), NOT picking a platform by billing model (that…

ericrisco/rsc-harness · 82 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

generate-run-commands

Generate or modify run commands for the current session. Use when the user wants to set up or update run commands that appear in the session's Run button.

microsoft/vscode · 36 tokens

html-ppt-hermes-cyber-terminal

OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.

nexu-io/open-design · 53 tokens

skill-writing-plans

Create zero-context implementation plans with bite-sized tasks — use for multi-step feature planning.

nyldn/claude-octopus · 21 tokens

bf-to-agents-sdk-dotnet-migration

Use when migrating a Bot Framework .NET SDK bot to Microsoft 365 Agents SDK. Triggered by projects that depend on packages: Microsoft.Bot.Builder or Microsoft.Bot.Builder.Integration.AspNet.Core that want to migrate to Agents SDK.

microsoft/Agents · 56 tokens