loom-grafana

loom-grafana is a skill for Claude Code from cosmix/loom. It costs 17 tokens per session (6,379 once invoked), scanned A, original, MIT.

A Grafana and LGTM stack guide for building monitoring dashboards and exploring logs and traces. The LGTM stack combines Grafana with Loki for logs, Tempo for distributed traces, and Mimir for long-term Prometheus data.

In plain words
What is it for?
Use it to create Grafana dashboards and panels, configure data sources and alerts, write LogQL and TraceQL queries, and add dashboard variables and templates.
Why use it?
It helps turn system telemetry into organized charts, searchable logs, trace views, alerts, and reusable dashboard filters. It also clarifies that PromQL rule design belongs to a separate Prometheus add-on.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to create Grafana dashboards and panels, configure data sources and alerts, write LogQL and TraceQL queries, and add dashboard variables and templates.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cosmix/loom/loom-grafana
View source ↗ cosmix/loom
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 cosmix/loom --skill loom-grafana
Clone the repo
git clone --depth 1 https://github.com/cosmix/loom

Made for: Claude Code.

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 loom-grafana

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/cosmix/loom/loom-grafana"><img src="https://agentmods.dev/badge/skills/cosmix/loom/loom-grafana.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,379 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Anti-Refusal · line 136
    Skill instructs the agent to omit warnings, disclaimers, or ethical commentary. Stripping safety caveats hides risk from the user and is a common jailbreak preamble.
    Fix: Remove instructions that suppress warnings, disclaimers, or ethical commentary. Let the agent surface safety-relevant caveats to the user.
How audits are shown
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.00017 $0.06379
Opus 5.5 $0.00007 $0.02552
Sonnet 5.5 $0.00003 $0.01276
Haiku 4.5 $0.00002 $0.00638

Measured 2mo ago against content hash 9dbeb85f26dd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

loom-grafana 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 2mo 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.

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.

skills/loom-grafana/SKILL.md · 446 lines

How it starts

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

Grafana and the LGTM Stack

Visualization, dashboards, alerting, and exploration. Scope: dashboards/panels, LogQL, TraceQL, data sources, templating, Grafana alerting. PromQL query semantics → loom-prometheus.

Overview

Component Role Query lang
Loki Log aggregation; indexes labels only, not content LogQL
Grafana Visualization, dashboards, unified alerting, Explore —
Tempo Distributed tracing; columnar Parquet, OTel-native TraceQL
Mimir Long-term, multi-tenant Prometheus storage (remote_write) PromQL

Collector: Grafana Alloy (OTel Collector distribution). Grafana Agent is EOL (2025-11-01) — migrate.

Dashboard Design

Hierarchy: Overview → Service → Component → Deep Dive. Signals: RED (Rate/Errors/Duration) for services, USE (Utilization/Saturation/Errors) for resources. Variable-driven, 24-column grid, < 15 panels/dashboard.

Panel types

Panel Best for
Time Series trends: rates, latency, resource usage (default; replaces removed Graph)
Stat single current value / sparkline
Gauge / Bar Gauge progress toward a limit / Top-N comparison
Table structured rows: service lists, error details
Heatmap distribution over time (latency buckets); renders native histograms
Pie proportions (use sparingly)
Logs / Traces Loki streams / Tempo trace view

Panel config

  • Titles include the unit + dimension ("P95 Latency (s) by Endpoint", not "Latency"); add a description tooltip.
  • Units: always set fieldConfig.defaults.unit (s, bytes, reqps, percentunit for 0–1 ratios, percent for 0–100). Wrong unit is the most common panel bug.
  • Legends: {{label}} templating; hide for single series; sort by value for Top-N.
  • Thresholds: green (normal) / yellow (warning) / red (critical); drive Stat/Gauge color and Time Series bands.
  • Data links: drill Overview→Service→Component; link to logs/traces/runbooks.

Read the full file on GitHub · 446 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. 2mo ago Changed · -41 tokens per session 9dbeb85f26dd
  2. 3mo ago First seen · 446 lines · 58 tokens per session scan A ab0ab7d6a9a2

Subscribe to this mod's changes

loom-grafana is a skill published in the GitHub repository cosmix/loom (66 stars, last pushed today), licensed MIT. It adds 17 tokens to every session and 6,379 once invoked, about $0.0001 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-08-30.

Related

loom-grafana compared with skills from other repositories

loom-grafana next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
loom-grafanacosmix/loomSkill66todayMITA17Claude Code
idiomatic-goTypeFox/agent-skillsSkill51mo agoMITA137Claude Code
eclipse-license-checkTypeFox/agent-skillsSkill51mo agoMITA110Claude Code
go-documentationTypeFox/agent-skillsSkill51mo agoMITA98Claude Code
publish-vscode-extensionTypeFox/agent-skillsSkill51mo agoMITA107Claude Code
domainmodel-dslTypeFox/agent-skillsSkill51mo agoMITA68Claude Code
statemachine-dslTypeFox/agent-skillsSkill51mo agoMITA63Claude Code