with one click
prometheus-metrics-analyzer
Analyze metrics to debug alerts or incidents
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Analyze metrics to debug alerts or incidents
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Detect code-improvement catalog violations in recent PR files and guide small stacked commits/branches.
Mentor for Exercism exercises: hints while solving, code review and improvement suggestions when asked. Use when solving Exercism challenges, mentions exercism-mode or exercism-mentor, or asks for help on https://exercism.org/tracks/typescript or any Exercism track.
Review pull requests using the tools available in the current environment. Works with GitHub or Bitbucket, MCP tools or CLI tools, and local git diffs. Produces actionable review findings, optional human-inspection callouts, and optional PR comments including both an overall review comment and inline file/line comments when posting is requested.
Create a concise, visual technical HTML walkthrough for a pull request by combining PR code changes with Specs/OpenSpec/design artifacts. Use when the user asks to explain what changed in a PR, generate a PR walkthrough, produce architecture/design documentation for a PR, summarize a spec-backed implementation, or create visual delta docs with Mermaid diagrams. Prefer this skill over a normal PR review when the user wants understanding, onboarding, or design explanation rather than defect findings.
Launch parallel agent sessions in the current cmux workspace from a list of input items. Use when the user wants to script cmux, keep the current pane on the left, create a right-side vertical stack with one pane per item, run Codex, Claude Code, Cursor Agent, or Rovo Dev over a list, trigger a custom skill or prompt for each item, or monitor parallel agent runs in cmux. If the user has not clearly specified an agent, ask which agent to use before spawning panes.
Break a feature definition markdown file into independently-grabbable OpenSpec changes organized by feature capability, then scaffold each one via OpenSpec Propose. Use when the user wants to convert a feature file into OpenSpec changes, create spec-driven change proposals from a feature definition, or split a medium/small feature into sequenced OpenSpec work items. Assume the feature file is passed as input; if it is not provided, ask the user for the feature file before proceeding.
| name | prometheus-metrics-analyzer |
| description | Analyze metrics to debug alerts or incidents |
| Tool | Purpose |
|---|---|
mcp__prometheus__prometheus_list_metrics | List all available metrics |
mcp__prometheus__prometheus_metric_metadata | Get metadata (type, description) for a metric |
mcp__prometheus__prometheus_list_labels | List label names for filtering |
mcp__prometheus__prometheus_label_values | Get values for a label (e.g. service names) |
mcp__prometheus__prometheus_query | Run an instant PromQL query |
mcp__prometheus__prometheus_query_range | Run a range query (use for last 30 mins) |
Find relevant metrics — Use prometheus_list_metrics to browse available metrics, then prometheus_metric_metadata to confirm type and description. Select up to 5 metrics most relevant to the issue. You don't have to always select 5 metrics if fewer metrics are enough to debug the issue
Query each metric for the last 30 mins — Use prometheus_query_range with start = now-30m, end = now, step = 60s.
Find error patterns — Look for spikes, drops, elevated rates, or flatlines. For counters, query the rate. For histograms, query the p99 latency or error ratio.
Explain the issue — Summarize what each metric shows, correlate patterns across metrics, and state the likely root cause.
error, failure, timeout, latency, or saturati in the name when debugging incidents.prometheus_label_values to scope queries to a specific service or namespace if known.