prometheus-knowledge-patch

prometheus-knowledge-patch is a skill for Claude Code from Nevaberry/nevaberry-plugins. It costs 9 tokens per session (2,804 once invoked), scanned A, original, MIT.

A reference guide for Prometheus, a system that collects time-stamped measurements from software and infrastructure. It covers data collection, PromQL queries, alert rules, service discovery, remote storage, and its HTTP APIs.

In plain words
What is it for?
Use it when upgrading Prometheus, configuring data collection or alerts, writing PromQL, connecting remote storage or OTLP, or investigating monitoring problems.
Why use it?
It helps prevent configuration and query errors when Prometheus changes, and explains migration issues across releases. It also supports diagnosing changed monitoring behavior.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the knowledge-patch plugin — 197 skills, 1 hook shipped together

Good fit Use it when upgrading Prometheus, configuring data collection or alerts, writing PromQL, connecting remote storage or OTLP, or investigating monitoring problems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nevaberry/nevaberry-plugins/prometheus-knowledge-patch
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.

Any agent
npx skills add Nevaberry/nevaberry-plugins --skill prometheus-knowledge-patch
Clone the repo
git clone --depth 1 https://github.com/Nevaberry/nevaberry-plugins

Made for: Claude Code.

Or install knowledge-patch, the plugin that ships this one along with the rest of its 197 skills, 1 hook.

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-knowledge-patch

README.md
[![agentmods](https://agentmods.dev/badge/skills/nevaberry/nevaberry-plugins/prometheus-knowledge-patch/github.svg)](https://agentmods.dev/skills/nevaberry/nevaberry-plugins/prometheus-knowledge-patch)
Your own site
<a href="https://agentmods.dev/skills/nevaberry/nevaberry-plugins/prometheus-knowledge-patch"><img src="https://agentmods.dev/badge/skills/nevaberry/nevaberry-plugins/prometheus-knowledge-patch/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for prometheus-knowledge-patch

Your own site · 80×15
<a href="https://agentmods.dev/skills/nevaberry/nevaberry-plugins/prometheus-knowledge-patch"><img src="https://agentmods.dev/badge/skills/nevaberry/nevaberry-plugins/prometheus-knowledge-patch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 9 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,804 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00009 $0.02804
Opus 5.5 $0.00004 $0.01122
Sonnet 5.5 $0.00002 $0.00561
Haiku 4.5 $0.00001 $0.00280

Measured today against content hash 26c21510c2a4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

prometheus-knowledge-patch scanned grade A with 0 findings 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 today.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/knowledge-patch/patches-claude/prometheus-knowledge-patch/SKILL.md · 203 lines

How it starts

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

Prometheus Knowledge Patch

Load this skill when upgrading Prometheus, adapting scrape or rule configuration, writing PromQL, integrating remote storage or OTLP, or diagnosing changed behavior. Use the topic references for complete configuration, API, and compatibility details.

Reference index

Reference Topics
Migration, security, and deployment Removed flags, resource settings, logs, images, authentication, security fixes
Scraping, configuration, and rules Protocol negotiation, UTF-8, histogram settings, reloads, rules, Alertmanager
Service discovery Kubernetes, AWS, Azure, Consul, Hetzner, Scaleway, Docker, other providers
PromQL Ranges, duration expressions, extended selectors, start timestamps, labels, histograms
Histograms, TSDB, and start timestamps Encoding, synthesis, ingestion, retention, compaction, replay, exemplars
Remote storage and OTLP Transport, metadata, authentication, translation, temporality, federation
HTTP APIs and observability Search, statistics, limits, metrics, dashboards, profiling
Promtool, UI, and feature flags Validation, rule tests, data tools, query editor, administration

Breaking changes and deprecations

  • Remove --storage.tsdb.allow-overlapping-blocks, --alertmanager.timeout, and --storage.tsdb.retention when upgrading.
  • Replace --enable-feature=agent with --agent, and --enable-feature=remote-write-receiver with --web.enable-remote-write-receiver.
  • Remove promql-at-modifier, promql-negative-offset, and expand-external-labels from --enable-feature; their behaviors are enabled by default in Prometheus 3.
  • External labels expand $VAR and ${VAR}; undefined variables become empty strings, and $$ produces a literal dollar sign.
  • Prometheus preserves supplied target ports. Remove no-default-scrape-port and check selectors matching instance labels with an implicit :80 or :443.
  • Prometheus 3 requires Alertmanager 0.16.0 or later and its v2 API. Change explicit alerting.alertmanagers settings from api_version: v1 to api_version: v2.
  • Replace scrape-job scrape_classic_histograms with always_scrape_classic_histograms.
  • Scrapes fail on a missing, malformed, or unsupported Content-Type unless the job sets fallback_scrape_protocol.
  • Classic histogram le and summary quantile labels are normalized on ingestion; update exact selectors such as le="1" to le="1.0". The scraping reference contains relabel rules that preserve old nonnegative integers.
  • Remote write defaults HTTP/2 off in Prometheus 3; set enable_http2: true to retain it.
  • Update log consumers to read time and source instead of ts and caller and expect uppercase levels such as INFO; timestamps can have a numeric timezone offset, and source can contain a full file path and line number.
  • Cross-host redirects strip Authorization credentials and configured headers. Configure the destination URL directly when that destination needs authentication.

Read the full file on GitHub · 203 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. today First seen · 203 lines · 9 tokens per session scan A 26c21510c2a4

Subscribe to this mod's changes

prometheus-knowledge-patch is a skill published in the GitHub repository Nevaberry/nevaberry-plugins (25 stars, last pushed yesterday), licensed MIT. It adds 9 tokens to every session and 2,804 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-02.

Related

prometheus-knowledge-patch compared with skills from other repositories

prometheus-knowledge-patch next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
prometheus-knowledge-patchNevaberry/nevaberry-pluginsSkill25yesterdayMITA9Claude Code
api-workerscyanheads/obsidian-mcp-serverSkill72221d agoApache-2.0A51Claude Code
gws-scriptfakoli/fakoli-pluginsSkill43d agoMITA21Claude Code
infrastructure-planninglukaskellerstein/claude-my-marketplaceSkill313d agononeA64Claude Code
istiolukaskellerstein/claude-my-marketplaceSkill313d agononeA0Claude Code
kuberneteslukaskellerstein/claude-my-marketplaceSkill313d agononeA0Claude Code
authlukaskellerstein/claude-my-marketplaceSkill313d agononeA48Claude Code