kibana-alerting-rules

kibana-alerting-rules is a skill for Claude Code, Codex from aspectrr/deer. It costs 48 tokens per session (1,750 once invoked), scanned A, original, MIT.

A tool for creating and managing Kibana alerting rules through the REST API or Terraform. Kibana is Elasticsearch's interface for exploring data and operating dashboards; a rule checks conditions on a schedule and runs actions when they are met.

In plain words
What is it for?
Use it to create, find, update, enable, disable, mute, unmute, or delete Kibana rules, including rules managed through Terraform.
Why use it?
It gives developers a documented way to manage alert rules and their lifecycle instead of changing them manually. It also supports rules-as-code workflows for repeatable configuration.

Skill for Claude CodeCodex

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

Good fit Use it to create, find, update, enable, disable, mute, unmute, or delete Kibana rules, including rules managed through Terraform.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aspectrr/deer/kibana-alerting-rules
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 aspectrr/deer --skill kibana-alerting-rules
Clone the repo
git clone --depth 1 https://github.com/aspectrr/deer

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/aspectrr/deer/kibana-alerting-rules/github.svg)](https://agentmods.dev/skills/aspectrr/deer/kibana-alerting-rules)
Your own site
<a href="https://agentmods.dev/skills/aspectrr/deer/kibana-alerting-rules"><img src="https://agentmods.dev/badge/skills/aspectrr/deer/kibana-alerting-rules/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 kibana-alerting-rules

Your own site · 80×15
<a href="https://agentmods.dev/skills/aspectrr/deer/kibana-alerting-rules"><img src="https://agentmods.dev/badge/skills/aspectrr/deer/kibana-alerting-rules.svg" alt="Reviewed on agentmods" width="80" 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 1,750 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00048 $0.01750
Opus 5 $0.00024 $0.00875
Sonnet 5 $0.00010 $0.00350
Haiku 4.5 $0.00005 $0.00175

Measured 9d ago against content hash 5f6fe4050ee4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 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.

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" \
deer-cli/internal/skill/defaults/kibana-alerting-rules/SKILL.md · 167 lines

How it starts

The opening of the file, as written. The whole thing — 167 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

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

Creating a Rule

Required Fields

Field Type Description
name string Display name (does not need to be unique)
rule_type_id string The rule type (e.g., .es-query, .index-threshold)
consumer string Owning app: alerts, apm, discover, infrastructure, logs, metrics, ml, monitoring, securitySolution, siem, stackAlerts, uptime
params object Rule-type-specific parameters
schedule object Check interval, e.g., {"interval": "5m"}

Read the full file on GitHub · 167 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 · 167 lines · 48 tokens per session scan A 5f6fe4050ee4

Subscribe to this mod's changes

kibana-alerting-rules is a skill published in the GitHub repository aspectrr/deer (404 stars, last pushed 4mo ago), licensed MIT. It adds 48 tokens to every session and 1,750 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). 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