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

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

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.

agentmods
npx agentmods add skills/elastic/example-mcp-app-security/detection-rule-management
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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00038 $0.00295
Sonnet 5 $0.00015 $0.00118
Haiku 4.5 $0.00008 $0.00059

Measured 6d ago against content hash 6edb00fe3e1a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, 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 6d 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. 6d 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 (24 stars, last pushed 2d ago), with no licence file. It adds 76 tokens to every session and 590 once invoked, about $0.0004 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-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

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

social-scrape

Collect public posts and discussion from X, LinkedIn and Hacker News through a local signed-out browser, then report them in chat or write them to a document. Use when the user wants to scrape, monitor or research specific accounts, topics, hashtags or discussions on social platforms.

alijancb/subio-mcp · 60 tokens

papi-verify

Use when the user says "verify", "health check", "check papi", "verify cycle", or after completing all cycle tasks before release. Runs a structured health check on the current PAPI cycle state: plan validity, build state, review coverage, branch hygiene, and data consistency.

getpapi/papi · 63 tokens

webmcp-nexus

当接入 webmcp-nexus-sdk 的项目中需要新增 WebMCP 工具函数、将现有业务方法改造为 WebMCP 工具函数,或配置 vite-plugin-webmcp-nexus / webpack-plugin-webmcp-nexus 时使用本技能。本技能约束工具函数的签名、JSDoc、TS 类型写法,并提供零风险的改造流程(仅改签名与注释,不动原方法业务逻辑)。触发示例:"新增一个 WebMCP 工具"、"把这个函数改造成能被 AI Agent 调用的工具"、"让 xxx 函数接入 WebMCP"、"配置 webmcp 构建插件"。.

alibaba/webmcp-nexus · 159 tokens

MCP Integration Assistant

Helps design and implement Model Context Protocol (MCP) server integrations for AI agents.

Notysoty/openagentskills · 23 tokens