grafana

grafana is a skill for Claude Code, Codex from G1Joshi/Agent-Skills. It costs 46 tokens per session (1,102 once invoked), scanned A, original, MIT.

A web interface for turning metrics, logs, and traces into charts and dashboards. It connects to sources such as Prometheus, InfluxDB, CloudWatch, SQL databases, Loki, and Tempo.

In plain words
What is it for?
Use it to build service and infrastructure dashboards, explore monitoring data, combine metrics with logs and traces, and configure alerts.
Why use it?
It gives teams one place to understand system health instead of checking separate monitoring tools. It also provides alerts when collected data meets defined conditions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to build service and infrastructure dashboards, explore monitoring data, combine metrics with logs and traces, and configure alerts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/g1joshi/agent-skills/grafana
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 G1Joshi/Agent-Skills --skill grafana
Clone the repo
git clone --depth 1 https://github.com/G1Joshi/Agent-Skills

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 grafana

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/g1joshi/agent-skills/grafana"><img src="https://agentmods.dev/badge/skills/g1joshi/agent-skills/grafana.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,102 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.00046 $0.01102
Opus 5.5 $0.00018 $0.00441
Sonnet 5.5 $0.00009 $0.00220
Haiku 4.5 $0.00005 $0.00110

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

Security

Grade A, and why

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/devops/grafana/SKILL.md · 138 lines

How it starts

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

Grafana

Grafana is an open-source analytics and interactive visualization web application, providing flexible dashboarding, Scenes composability, and unified correlation across metrics, logs, and distributed traces.

When to Use

  • Unified Observability Dashboards: Visualizing time-series metrics from Prometheus, Datadog, CloudWatch, and InfluxDB.
  • Log Exploration with Grafana Loki: Querying streaming logs using LogQL with zero-indexing overhead.
  • Distributed Trace Visualization with Grafana Tempo: Inspecting traces, span latencies, and service dependency graphs.
  • Alerting & Incident Management: Routing alerts via Grafana Alerting to PagerDuty, Slack, OpsGenie, and Webhooks.

Quick Start

Run via Docker: docker run -d -p 3000:3000 grafana/grafana

Or Provision as Code (YAML):

apiVersion: 1
providers:
  - name: "default"
    folder: ""
    type: file
    options:
      path: /var/lib/grafana/dashboards

Core Concepts

Prometheus Metrics Visualization with PromQL

Configuring time-series queries for dashboard panels:

# Rate of HTTP 5xx errors per second across microservices
sum(rate(http_requests_total{status=~"5.."}[5m])) by (service)

# 99th percentile request latency in seconds
histogram_quantile(0.99, sum(rate(http_request_duration_seconds_bucket[5m])) by (le, service))

# CPU Utilization percentage per container
sum(rate(container_cpu_usage_seconds_total{container!=""}[5m])) by (pod) * 100

Log Exploration with LogQL (Grafana Loki)

Filtering and parsing streaming application logs:

# Filter production API logs for errors and extract JSON fields
{env="production", service="billing"}
  |= "error"
  | json
  | latency_ms > 500
  | line_format "[{{.status}}] {{.error_message}} ({{.latency_ms}}ms)"

Declarative Dashboard as Code (JSON Model)

Managing dashboard definitions in Git for automated provisioning:

{
  "title": "Platform Health KPI",
  "panels": [
    {
      "id": 1,
      "title": "API Request Rate (req/s)",
      "type": "timeseries",
      "datasource": { "type": "prometheus", "uid": "prom-primary" },
      "targets": [
        {
          "expr": "sum(rate(http_requests_total[2m]))",
          "legendFormat": "Total Requests"
        }
      ],
      "fieldConfig": {
        "defaults": {
          "unit": "reqps",
          "color": { "mode": "palette-classic" }
        }
      }
    }
  ]
}

Read the full file on GitHub · 138 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 · +5 lines 89becd55ace1
  2. 2mo ago Changed · +71 lines · +30 tokens per session 0917b41f4f3f
  3. 3mo ago First seen · 62 lines · 16 tokens per session scan A 31c3a4744a5b

Subscribe to this mod's changes

grafana is a skill published in the GitHub repository G1Joshi/Agent-Skills (16 stars, last pushed 2mo ago), licensed MIT. It adds 46 tokens to every session and 1,102 once invoked, about $0.0002 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-09-03.

Related

grafana compared with skills from other repositories

grafana next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
grafanaG1Joshi/Agent-SkillsSkill162mo agoMITA46Claude Code, Codex
using-agent-skillsaddyosmani/agent-skillsSkill122k9d agoMITA54Claude Code
spec-driven-developmentaddyosmani/agent-skillsSkill122k9d agoMITA117Claude Code
context-engineeringaddyosmani/agent-skillsSkill122k9d agoMITA43Claude Code
doubt-driven-developmentaddyosmani/agent-skillsSkill122k9d agoMITA96Claude Code
git-workflow-and-versioningaddyosmani/agent-skillsSkill122k9d agoMITA131Claude Code
observability-and-instrumentationaddyosmani/agent-skillsSkill122k9d agoMITA66Claude Code