agentsclimarketplace

Monitoring

Skill pvnarp/agent-skills/skills/monitoring

Skills I use with Claude Code across my projects. Architecture, code review, testing, security, deployment, and more.

Install
npx -y skills add pvnarp/agent-skills --skill monitoring

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Designs monitoring and alerting systems. Covers metric selection, dashboard design, alert rules, SLOs/SLIs, on-call runbooks, and observability architecture. Use when setting up monitoring, defining SLOs, creating dashboards, or improving alerting.

SKILL.md

5.9 KB, ~1.3k tokens by cl100k_base, as published. Nobody here has run it

Monitoring & Alerting

Monitor for user impact, not system internals. A server at 95% CPU is fine if users are happy. A server at 20% CPU is broken if requests are timing out.

The Four Golden Signals

Monitor these for every service:

SignalWhat It MeasuresExample Metric
LatencyHow long requests takep50, p95, p99 response time
TrafficHow much demandRequests per second, concurrent users
ErrorsHow often things failError rate (%), 5xx count
SaturationHow full the system isCPU, memory, disk, queue depth, connection pool

If you can only monitor four things, monitor these.

SLOs, SLIs, SLAs

SLI (Service Level Indicator)

A metric that measures a user-facing behavior.

SLI: Percentage of HTTP requests completing in < 500ms
Current: 99.2%

SLO (Service Level Objective)

A target for an SLI. Internal commitment.

SLO: 99.5% of requests complete in < 500ms, measured monthly
Error budget: 0.5% = ~3.6 hours of allowed degradation per month

SLA (Service Level Agreement)

An SLO with consequences. External contract.

SLA: 99.9% uptime. Credits issued below this threshold.

Define SLOs before building dashboards. They tell you what to measure and when to alert.

Dashboard Design

Layout

┌─────────────────────────────────────────────┐
│              Service Health Summary          │
│  ✅ API  ✅ Database  ⚠️ Worker  ✅ Cache    │
├──────────────────────┬──────────────────────┤
│   Request Rate       │   Error Rate         │
│   📈 (last 6h)      │   📈 (last 6h)      │
├──────────────────────┼──────────────────────┤
│   Latency (p50/p95)  │   Saturation         │
│   📈 (last 6h)      │   📈 (last 6h)      │
├──────────────────────┴──────────────────────┤
│              Recent Deployments              │
│  ▼ deploy markers on all graphs above       │
└─────────────────────────────────────────────┘

Principles

  • Top-level dashboard: Red/yellow/green health for each service. Glanceable.
  • Service dashboard: The four golden signals for one service. Drill-down.
  • Investigation dashboard: Detailed metrics for debugging. On-demand.
  • Deploy markers on every graph (most issues correlate with deploys)
  • Default time range: last 6 hours (most investigations start here)
  • Include "what's normal" baselines (yesterday, last week)

Alert Design

When to Alert

  • SLO error budget is burning faster than expected
  • Service is down or unreachable
  • Error rate exceeds baseline by 3x+
  • Latency p95 exceeds SLO threshold for > 5 minutes

When NOT to Alert

  • CPU/memory/disk at a threshold (alert on user impact, not system state)
  • A single transient error (wait for pattern)
  • Something that can wait until business hours (use a ticket instead)
  • A dashbaord already shows it (redundant noise)

Alert Template

ALERT: [clear, specific name]
SEVERITY: critical / warning / info
CONDITION: [metric] [operator] [threshold] for [duration]
IMPACT: [what users experience]
RUNBOOK: [link to resolution steps]
ESCALATION: [who to contact if not resolved in X minutes]

Alert Rules

  1. Every alert must be actionable. If the response is "wait and see," it's not an alert.
  2. Every alert needs a runbook. No one remembers what to do at 3 AM.
  3. Review alerts monthly. Delete alerts that fire but require no action (noise).
  4. Page on symptoms, ticket on causes. "Requests failing" is a page. "Disk at 80%" is a ticket.

Metric Naming Convention

<service>.<subsystem>.<metric>.<unit>

# Examples
api.http.request_duration.milliseconds
api.http.requests.total
api.database.query_duration.milliseconds
api.database.connections.active
worker.jobs.processed.total
worker.jobs.failed.total
worker.queue.depth.count

Common Monitoring Stack

NeedTools
MetricsPrometheus, Datadog, CloudWatch, Grafana
LogsLoki, ELK, CloudWatch Logs, Datadog Logs
TracesJaeger, Zipkin, Datadog APM, Honeycomb
AlertsPagerDuty, OpsGenie, Grafana Alerting
UptimePingdom, UptimeRobot, Checkly
DashboardsGrafana, Datadog, CloudWatch

Reference: reference/alerting-patterns.md - golden signals by service type, severity levels, alert fatigue prevention, SLO/SLI templates, dashboard layouts, PromQL patterns, escalation decision tree.

Monitoring Maturity Checklist

Level 1: Basic

  • Health check endpoint exists and is monitored
  • Error rate tracked and alerted on
  • Basic uptime monitoring (is it responding?)

Level 2: Operational

  • Four golden signals dashboarded per service
  • Alerts have runbooks
  • Deploy markers on graphs
  • Log aggregation searchable

Level 3: SLO-Driven

  • SLOs defined for user-facing services
  • Error budget tracking and burn rate alerts
  • Distributed tracing for request flow
  • Alert noise reviewed and reduced monthly

Level 4: Proactive

  • Anomaly detection on key metrics
  • Capacity planning based on traffic trends
  • Chaos testing validates monitoring coverage
  • On-call load balanced and sustainable

Gives 1 of the 12 instructions most monitoring observability skills give in ~1.3k tokens

Counted across 481 of the 483 authors here whose files we hold, read 2026-08-06

  • link every alert to a runbookhere, and in 43 of 481, across 35 files
  • use structured json loggingin 36 of 481, across 31 files
  • alert on user-facing symptomsin 20 of 481, across 15 files
  • emit structured JSON logs with stable event namesin 18 of 481, across 13 files
  • propagate trace context across boundariesin 16 of 481
  • use histograms for latency trackingin 14 of 481, across 9 files
  • use OpenTelemetry for distributed tracingin 13 of 481, across 8 files
  • include a correlation ID on every log linein 13 of 481, across 8 files
  • Define service level objectivesin 10 of 481, across 7 files
  • Call useAzureMonitor before importing other modulesin 9 of 481, across 2 files
  • stop and ask for clarification if inputs are missingin 9 of 481, across 2 files
  • define on-call questions before adding telemetryin 9 of 481, across 4 files

Said here and by no other author read

  • monitor for user impact not system internals
  • alert when SLO error budget burns too fast
  • review alerts monthly to delete noise
  • page on symptoms and ticket on causes
  • put health summaries on top-level dashboards

Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.