prometheus

prometheus is a skill for Claude Code, Codex from CloudChef/atlasclaw-providers. It costs 39 tokens per session (6,535 once invoked), scanned A, original, Apache-2.0.

A monitoring and alerting setup based on Prometheus, an open-source system that collects time-stamped measurements from applications and infrastructure. It can store metrics such as request counts, errors, memory use, and response times.

In plain words
What is it for?
Use it to collect metrics, write PromQL queries, configure alert rules, discover monitored services, create recording rules, and manage scrape configuration.
Why use it?
It gives teams a way to observe running services and identify problems through queries and alerts. It also helps organize measurements from applications, exporters, and cloud-native systems.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/cloudchef/atlasclaw-providers/prometheus
Any agent
npx skills add CloudChef/atlasclaw-providers --skill prometheus
Clone the repo
git clone --depth 1 https://github.com/CloudChef/atlasclaw-providers

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 prometheus

README.md
[![agentmods](https://agentmods.dev/badge/skills/cloudchef/atlasclaw-providers/prometheus.svg)](https://agentmods.dev/skills/cloudchef/atlasclaw-providers/prometheus)
Your own site
<a href="https://agentmods.dev/skills/cloudchef/atlasclaw-providers/prometheus"><img src="https://agentmods.dev/badge/skills/cloudchef/atlasclaw-providers/prometheus.svg" alt="Measured on agentmods" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,535 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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 $0.00039 $0.06535
Opus 5 $0.00019 $0.03268
Sonnet 5 $0.00008 $0.01307
Haiku 4.5 $0.00004 $0.00654

Measured 5d ago against content hash 7ce0d70d3203, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

prometheus 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 5d 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 http://localhost:9090/api/v1/targets
skills/prometheus/SKILL.md · 998 lines

How it starts

The opening of the file, as written. The whole thing — 998 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Prometheus Monitoring and Alerting

Overview

Prometheus is a powerful open-source monitoring and alerting system designed for reliability and scalability in cloud-native environments.

Architecture Components

  • Prometheus Server: Core component that scrapes and stores time-series data
  • Alertmanager: Handles alerts, deduplication, grouping, routing, and notifications
  • Pushgateway: Allows ephemeral jobs to push metrics (use sparingly)
  • Exporters: Convert metrics from third-party systems to Prometheus format
  • Client Libraries: Instrument application code (Go, Java, Python, etc.)
  • Prometheus Operator: Kubernetes-native deployment and management

Data Model

  • Metrics: Time-series data identified by metric name and key-value labels
  • Metric Types:
    • Counter: Monotonically increasing value (requests, errors)
    • Gauge: Value that can go up/down (temperature, memory usage)
    • Histogram: Observations in configurable buckets (latency, request size)
    • Summary: Similar to histogram but calculates quantiles client-side

Setup and Configuration

Basic Prometheus Server Configuration

# prometheus.yml
global:
  scrape_interval: 15s
  scrape_timeout: 10s
  evaluation_interval: 15s
  external_labels:
    cluster: "production"
    region: "us-east-1"

# Alertmanager configuration
alerting:
  alertmanagers:
    - static_configs:
        - targets:
            - alertmanager:9093

# Load rules files
rule_files:
  - "alerts/*.yml"
  - "rules/*.yml"

# Scrape configurations
scrape_configs:
  # Prometheus itself
  - job_name: "prometheus"
    static_configs:
      - targets: ["localhost:9090"]

  # Application services
  - job_name: "application"
    metrics_path: "/metrics"
    static_configs:
      - targets:
          - "app-1:8080"
          - "app-2:8080"
        labels:
          env: "production"
          team: "backend"

  # Kubernetes service discovery
  - job_name: "kubernetes-pods"
    kubernetes_sd_configs:
      - role: pod
    relabel_configs:
      # Only scrape pods with prometheus.io/scrape annotation
      - source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scrape]
        action: keep
        regex: true
      # Use custom metrics path if specified
      - source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_path]
        action: replace
        target_label: __metrics_path__
        regex: (.+)
      # Use custom port if specified
      - source_labels:
          [__address__, __meta_kubernetes_pod_annotation_prometheus_io_port]
        action: replace
        regex: ([^:]+)(?::\d+)?;(\d+)
        replacement: $1:$2
        target_label: __address__
      # Add namespace label
      - source_labels: [__meta_kubernetes_namespace]
        action: replace
        target_label: kubernetes_namespace
      # Add pod name label
      - source_labels: [__meta_kubernetes_pod_name]
        action: replace
        target_label: kubernetes_pod_name
      # Add service name label
      - source_labels: [__meta_kubernetes_pod_label_app]
        action: replace
        target_label: app

  # Node Exporter for host metrics
  - job_name: "node-exporter"
    static_configs:
      - targets:
          - "node-exporter:9100"

Read the full file on GitHub · 998 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. 5d ago First seen · 998 lines · 39 tokens per session scan A 7ce0d70d3203

Subscribe to this mod's changes

prometheus is a skill published in the GitHub repository CloudChef/atlasclaw-providers (15 stars, last pushed 2d ago), licensed Apache-2.0. It adds 39 tokens to every session and 6,535 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.