Skip to content
Back to skills

Minimal

ASecurity

```promql rate(http_requests_total[5m]) ``` - rate(): Extracts per-second value - [5m]: 5-minute window

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 10, 2026
tools

Security analysis

A100/100

Scanned September 10, 2026

npx -y skills add snoodleboot-io/prompticorn --skill minimal --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Minimal?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Minimal
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/snoodleboot-io-minimal-a120691c/badge)](https://www.skillsdirectory.com/skills/snoodleboot-io-minimal-a120691c)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# Prometheus Query Patterns (Minimal)

## Core Queries

### Request Rate (per second)
```promql
rate(http_requests_total[5m])
```
- rate(): Extracts per-second value
- [5m]: 5-minute window

### Error Rate
```promql
rate(http_requests_total{status=~"5.."}[5m]) / 
rate(http_requests_total[5m])
```

### Latency (P95)
```promql
histogram_quantile(0.95, 
  rate(http_request_duration_seconds_bucket[5m])
)
```

### Availability
```promql
sum(rate(http_requests_total{status="200"}[1h])) /
sum(rate(http_requests_total[1h]))
```

## Common Functions

| Function | Purpose | Example |
|----------|---------|---------|
| rate() | Per-second rate | rate(counter[5m]) |
| increase() | Total increase | increase(counter[1h]) |
| histogram_quantile() | Percentile | histogram_quantile(0.99, histogram) |
| sum() | Add series | sum(metric) |
| avg() | Average series | avg(metric) |

## Alerts

```promql
# Error rate alert
rate(errors_total[5m]) > 0.01  # >1% error rate

# Latency alert
histogram_quantile(0.95, latency) > 0.5  # >500ms
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.