detection-rule-management

detection-rule-management is a skill for Claude Code, Codex from elastic/example-mcp-app-security. It costs 76 tokens per session (590 once invoked), scanned A, original, no licence file.

A workflow for creating and maintaining Elastic Security detection rules, which identify suspicious activity.

In plain words
What is it for?
Creating rules, tuning noisy rules, adding exceptions, and enabling or disabling detection rules.
Why use it?
It helps reduce false positives, or alerts caused by harmless activity, and improve threat coverage.

Skill for Claude CodeCodex ✓ vendor

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Creating rules, tuning noisy rules, adding exceptions, and enabling or disabling detection rules.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/elastic/example-mcp-app-security/detection-rule-management
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 elastic/example-mcp-app-security --skill detection-rule-management
Clone the repo
git clone --depth 1 https://github.com/elastic/example-mcp-app-security

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 detection-rule-management

README.md
[![agentmods](https://agentmods.dev/badge/skills/elastic/example-mcp-app-security/detection-rule-management/github.svg)](https://agentmods.dev/skills/elastic/example-mcp-app-security/detection-rule-management)
Your own site
<a href="https://agentmods.dev/skills/elastic/example-mcp-app-security/detection-rule-management"><img src="https://agentmods.dev/badge/skills/elastic/example-mcp-app-security/detection-rule-management/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 detection-rule-management

Your own site · 80×15
<a href="https://agentmods.dev/skills/elastic/example-mcp-app-security/detection-rule-management"><img src="https://agentmods.dev/badge/skills/elastic/example-mcp-app-security/detection-rule-management.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 590 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 unknown 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.00076 $0.00590
Opus 5.5 $0.00030 $0.00236
Sonnet 5.5 $0.00015 $0.00118
Haiku 4.5 $0.00008 $0.00059

Measured 1mo ago against content hash 6edb00fe3e1a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

detection-rule-management 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 1mo 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/detection-rule-management/SKILL.md · 61 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

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. 1mo ago First seen · 61 lines · 76 tokens per session scan A 6edb00fe3e1a

Subscribe to this mod's changes

detection-rule-management is a skill published in the GitHub repository elastic/example-mcp-app-security (25 stars, last pushed 9d ago), with no licence file. It adds 76 tokens to every session and 590 once invoked, about $0.0003 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-08-30.

Related

Other skills, from other repositories

21st-ui

Find, install, and generate UI with 21st.dev. Use when the user asks for a UI component (pricing table, hero, navbar, dashboard, form, etc.), wants design inspiration, needs a brand logo as an SVG component, or wants to generate new UI from a prompt.

21st-dev/magic-mcp · 63 tokens

webmcp-nexus

A coding guide for adding WebMCP tools to JavaScript or TypeScript projects. WebMCP lets AI agents call selected application functions through a standard interface.

alibaba/webmcp-nexus · 159 tokens

testrail-qa

Work with TestRail through the TestRail MCP Server — find where cases live, write schema-valid test cases, build targeted test runs, triage failures, and report results by case ID. Use when the user mentions TestRail, test cases (C123), test runs, test results, regression suites, or QA coverage.

uarlouski/testrail-mcp-server · 70 tokens

design

Design and critique any visible UI, before and after building. Trigger on UI work: "improve the UI", "redesign", "polish", "make it look better", "visual upgrade", "design review", "design audit", "layout fix", "UX improvement", or any task whose deliverable is a page, screen, or component that renders. Shapes a…

getpapi/papi · 121 tokens

usage-reporter

Report the token usage of a build to PAPI from your AI client's own local transcript. Optional. Use when completing a build and you want tokens recorded, or when asked what a task or stage cost in tokens. Reads only numeric usage, never prompts or responses.

getpapi/papi · 57 tokens

repo-context

Use repo-context-mcp tools to map, search, and pack repository context before large edits or PR review.

nduc99911/repo-context-mcp · 25 tokens