prom-query

Installation
SKILL.md

prom-query — Prometheus Metrics Query & Alert Interpreter

You have access to a Prometheus-compatible metrics server. Use this skill to query metrics, check alerts, inspect targets, and explore available metrics. You can query Prometheus, Thanos, Mimir, and VictoriaMetrics — they all share the same HTTP API.

Commands

Command Purpose Example
query <promql> Instant query (current value) prom-query query 'up'
range <promql> [--start=] [--end=] [--step=] Range query (timeseries over time) prom-query range 'rate(http_requests_total[5m])' --start=-1h --step=1m
alerts [--state=firing|pending|inactive] List active alerts prom-query alerts --state=firing
targets [--state=active|dropped|any] Scrape target health prom-query targets
explore [pattern] Search available metrics by name pattern prom-query explore 'http_request'
rules [--type=alert|record] Alerting & recording rules prom-query rules --type=alert

How to Translate Natural Language to PromQL

When the user asks a question about their system, translate it to PromQL using these patterns:

Installs
1
First Seen
Apr 21, 2026