grafana-loki-knowledge-patch

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

A technical reference for Grafana Loki, a system for collecting and searching application logs. It covers upgrades, log ingestion, storage, retention, LogQL queries, APIs, Helm and operational troubleshooting.

In plain words
What is it for?
Use it when upgrading Loki, configuring log collection and storage, writing LogQL searches, deploying with Helm or an Operator, or diagnosing ingestion and query issues.
Why use it?
It helps prevent lost logs, invalid queries and deployment or storage problems when Loki or its surrounding infrastructure changes.

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 Loki, configuring log collection and storage, writing LogQL searches, deploying with Helm or an Operator, or diagnosing ingestion and query issues.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/nevaberry/nevaberry-plugins/grafana-loki-knowledge-patch/github.svg)](https://agentmods.dev/skills/nevaberry/nevaberry-plugins/grafana-loki-knowledge-patch)
Your own site
<a href="https://agentmods.dev/skills/nevaberry/nevaberry-plugins/grafana-loki-knowledge-patch"><img src="https://agentmods.dev/badge/skills/nevaberry/nevaberry-plugins/grafana-loki-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 grafana-loki-knowledge-patch

Your own site · 80×15
<a href="https://agentmods.dev/skills/nevaberry/nevaberry-plugins/grafana-loki-knowledge-patch"><img src="https://agentmods.dev/badge/skills/nevaberry/nevaberry-plugins/grafana-loki-knowledge-patch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,524 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00012 $0.02524
Opus 5.5 $0.00005 $0.01010
Sonnet 5.5 $0.00002 $0.00505
Haiku 4.5 $0.00001 $0.00252

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

Security

Grade A, and why

grafana-loki-knowledge-patch 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 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- The Promtail image dropped `wget`; update health checks and scripts that use it.
plugins/knowledge-patch/patches-claude/grafana-loki-knowledge-patch/SKILL.md · 224 lines

How it starts

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

Grafana Loki

Load this skill for Loki upgrades, Helm or Operator deployment changes, ingestion and storage configuration, LogQL and API behavior, or client and operational troubleshooting. Use the topic references for complete guidance, examples, and source links.

Reference index

Reference Topics
Upgrades and deprecations Chart migration, images, workload identity, removed settings, storage migration, bloom formats, caches, metrics
Ingestion and metadata Time sharding, structured metadata, OTLP, policies, ingestion limits, push responses
Storage, deletion, and Kafka Object-store clients, cache writeback, compactor workers, retention, Kafka, ingest-limits
Queries, APIs, and patterns LogQL, v2 engine, API validation, scheduling, Logs Drilldown, Query-tee, Goldfish
Helm and Operator Templates, storage, volumes, scheduling, probes, sidecars, networking, Operator configuration
Clients, observability, and operations Collectors, CLI tools, Docker logging, tracing, TLS, networking, WAL, shutdown

Upgrade and deprecation checks

Chart distribution and image changes

Use the community chart repository for Loki Helm chart updates. Follow the dedicated migration instructions when moving from the 6.x chart to the 18.x community chart.

  • Move telemetry collection and monitoring mixins from the meta-monitoring chart to the Kubernetes Monitoring Helm chart.
  • The Loki image drops BusyBox and its shell. Use a separate debug container for interactive troubleshooting and update scripts that invoke that shell.
  • The Promtail image dropped wget; update health checks and scripts that use it.
  • Lambda-promtail is outside the scope of the Promtail deprecation.

Read the full file on GitHub · 224 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 224 lines · 12 tokens per session scan A 40178a5fdf82

Subscribe to this mod's changes

grafana-loki-knowledge-patch is a skill published in the GitHub repository Nevaberry/nevaberry-plugins (25 stars, last pushed yesterday), licensed MIT. It adds 12 tokens to every session and 2,524 once invoked, about $0.0000 per session on Opus 5.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-12-02.

Related

grafana-loki-knowledge-patch compared with skills from other repositories

grafana-loki-knowledge-patch next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
grafana-loki-knowledge-patchNevaberry/nevaberry-pluginsSkill25yesterdayMITA12Claude 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