kibana-alerting-rules

kibana-alerting-rules is a skill for Claude Code, Codex from elastic/cursor-plugins. It costs 48 tokens per session (4,208 once invoked), scanned A, a copy of kibana-alerting-rules, Apache-2.0.

A toolset for creating and managing Kibana alerting rules. Kibana is a web interface for searching and monitoring data, and an alerting rule checks conditions on a schedule and triggers actions when they match.

In plain words
What is it for?
Use it to create, update, find, enable, disable, mute, snooze, or delete Kibana rules, and to manage rules as code.
Why use it?
It avoids managing alert rules manually in Kibana by supporting REST API and Terraform workflows, including changes to their lifecycle.

Skill for Claude CodeCodex

About the project

elastic/cursor-plugins is a collection of Cursor plugins that give AI assistants access to Elastic documentation and guidance for Elastic Cloud, Elasticsearch, Kibana, Observability, and Security. Developers use it when working with Elastic products and related technologies. The catalogue lists these plugins' skills and documentation MCP tools.

elastic/cursor-plugins · 31 stars · on GitHub

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/cursor-plugins/kibana-alerting-rules
Any agent
npx skills add elastic/cursor-plugins --skill kibana-alerting-rules
Clone the repo
git clone --depth 1 https://github.com/elastic/cursor-plugins

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 kibana-alerting-rules

README.md
[![agentmods](https://agentmods.dev/badge/skills/elastic/cursor-plugins/kibana-alerting-rules.svg)](https://agentmods.dev/skills/elastic/cursor-plugins/kibana-alerting-rules)
Your own site
<a href="https://agentmods.dev/skills/elastic/cursor-plugins/kibana-alerting-rules"><img src="https://agentmods.dev/badge/skills/elastic/cursor-plugins/kibana-alerting-rules.svg" alt="Measured on agentmods" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,208 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin 100% copy Near-identical to another mod 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 $0.00048 $0.04208
Opus 5 $0.00024 $0.02104
Sonnet 5 $0.00010 $0.00842
Haiku 4.5 $0.00005 $0.00421

Measured 5d ago against content hash 30b43e468de9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

kibana-alerting-rules scanned grade A with 1 finding 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 5d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -X POST "https://my-kibana:5601/api/alerting/rule/my-rule-id" \
Origin

This is a copy

100% identical to kibana-alerting-rules — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

elastic/skills/kibana/kibana-alerting-rules/SKILL.md · 363 lines

How it starts

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

Kibana Alerting Rules

Core Concepts

A rule has three parts: conditions (what to detect), schedule (how often to check), and actions (what happens when conditions are met). When conditions are met, the rule creates alerts, which trigger actions via connectors.

Authentication

All alerting API calls require either API key auth or Basic auth. Every mutating request must include the kbn-xsrf header.

kbn-xsrf: true

Required Privileges

  • all privileges for the appropriate Kibana feature (e.g., Stack Rules, Observability, Security)
  • read privileges for Actions and Connectors (to attach actions to rules)

API Reference

Base path: <kibana_url>/api/alerting (or /s/<space_id>/api/alerting for non-default spaces).

Operation Method Endpoint
Create rule POST /api/alerting/rule/{id}
Update rule PUT /api/alerting/rule/{id}
Get rule GET /api/alerting/rule/{id}
Delete rule DELETE /api/alerting/rule/{id}
Find rules GET /api/alerting/rules/_find
List rule types GET /api/alerting/rule_types
Enable rule POST /api/alerting/rule/{id}/_enable
Disable rule POST /api/alerting/rule/{id}/_disable
Mute all alerts POST /api/alerting/rule/{id}/_mute_all
Unmute all alerts POST /api/alerting/rule/{id}/_unmute_all
Mute alert POST /api/alerting/rule/{rule_id}/alert/{alert_id}/_mute
Unmute alert POST /api/alerting/rule/{rule_id}/alert/{alert_id}/_unmute
Update API key POST /api/alerting/rule/{id}/_update_api_key
Create snooze POST /api/alerting/rule/{id}/snooze_schedule
Delete snooze DELETE /api/alerting/rule/{ruleId}/snooze_schedule/{scheduleId}
Health check GET /api/alerting/_health

Read the full file on GitHub · 363 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. 5d ago First seen · 363 lines · 48 tokens per session scan A 30b43e468de9

Subscribe to this mod's changes

kibana-alerting-rules is a skill published in the GitHub repository elastic/cursor-plugins (31 stars, last pushed yesterday), licensed Apache-2.0. It adds 48 tokens to every session and 4,208 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). It is 100% identical to kibana-alerting-rules, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 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

imagegen

Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…

openai/codex · 113 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens