grafana-cloud-investigation

grafana-cloud-investigation is a skill for Claude Code, Codex from aws/tools-for-devops-agent. It costs 110 tokens per session (1,053 once invoked), scanned A, original, Apache-2.0.

A guide for investigating incidents using Grafana Cloud, a hosted system for dashboards, alerts, logs, traces, metrics, and related data. It covers choosing read or write access, querying telemetry, and confirming changes with an operator.

In plain words
What is it for?
It is for examining Prometheus metrics, Loki logs, Tempo traces, dashboards, alerts, incidents, and other Grafana Cloud data.
Why use it?
It helps keep investigations focused and prevents accidental changes while working with production monitoring data.

Skill for Claude CodeCodex

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

Good fit It is for examining Prometheus metrics, Loki logs, Tempo traces, dashboards, alerts, incidents, and other Grafana Cloud data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aws/tools-for-devops-agent/grafana-cloud-investigation
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 aws/tools-for-devops-agent --skill grafana-cloud-investigation
Clone the repo
git clone --depth 1 https://github.com/aws/tools-for-devops-agent

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-cloud-investigation

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/aws/tools-for-devops-agent/grafana-cloud-investigation"><img src="https://agentmods.dev/badge/skills/aws/tools-for-devops-agent/grafana-cloud-investigation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 110 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,053 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.00110 $0.01053
Opus 5.5 $0.00044 $0.00421
Sonnet 5.5 $0.00022 $0.00211
Haiku 4.5 $0.00011 $0.00105

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

Security

Grade A, and why

grafana-cloud-investigation 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 26d 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/grafana-cloud-investigation/SKILL.md · 59 lines

How it starts

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

Grafana Cloud investigations

The Grafana Cloud connector reaches the customer's Grafana Cloud stack through Grafana's hosted MCP server. It acts as the person who connected it, so it can see and do only what their Grafana roles allow.

Choosing tools

The server's tools change as Grafana adds capabilities, so this skill doesn't list them. Rely on the server instead:

  • Read the server's instructions and each tool's description. They're kept current with the server and say what each tool does and when to use it.
  • Pick tools by what you need. There are tools for dashboards, data sources, Prometheus, Loki, Tempo and Pyroscope queries, SQL data sources, alerting, incidents, on-call, annotations, Grafana Assistant investigations, deep links and panel rendering.
  • When no dedicated tool covers a task, the server describes fallbacks: a Grafana CLI tool and a raw Grafana API tool. Use them only to read: GET requests with the API tool, and only commands that read with the CLI tool. Never use them to create, change or delete anything.
  • The SQL query tools run a query exactly as written. Only run SELECT queries; treat any other statement as a write.
  • If a tool you expect isn't available, the connection may not have been granted that access level, or the feature may not be enabled on the stack. Say so in your findings rather than guessing.

A typical investigation

  1. Find the relevant data sources and dashboards for the affected service before querying anything.
  2. Check firing alerts, open incidents and recent annotations (deploys, config changes) in the incident's time window.
  3. Query metrics for the service's error rate, latency and saturation around the incident start, then narrow to the components that moved.
  4. Query logs for the same components and window, and pull traces for slow or failing requests.
  5. Include deep links to the dashboards, Explore queries or traces that support each finding, so an operator can check them.

Grafana Assistant

  • Investigate with the read tools first. Grafana Assistant can plan its own investigation across metrics, logs and traces, but asking it a question or starting an Assistant investigation is a write: it needs a connection with Write access and counts toward the stack's Grafana Assistant usage.
  • Use Grafana Assistant only when an operator asks for it, or when you recommend it and the operator approves. Follow the rules for writes below, showing the exact question you'll send.
  • On a connection without Write access, the Assistant tools aren't available. Use the read tools and say in your findings that Assistant wasn't used.
  • Reading existing Assistant investigations, their reports and their evidence is a read, and is fine at any time.

Read the full file on GitHub · 59 lines

Files

What ships with it

3 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. 26d ago First seen · 59 lines · 110 tokens per session scan A ffb6dc547fb6

Subscribe to this mod's changes

grafana-cloud-investigation is a skill published in the GitHub repository aws/tools-for-devops-agent (153 stars, last pushed yesterday), licensed Apache-2.0. It adds 110 tokens to every session and 1,053 once invoked, about $0.0004 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-11-04.

Related

grafana-cloud-investigation compared with skills from other repositories

grafana-cloud-investigation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
grafana-cloud-investigationaws/tools-for-devops-agentSkill153yesterdayApache-2.0A110Claude Code, Codex
aws-step-functionsawslabs/agent-pluginsSkill953todayApache-2.0A57Claude Code
hyperpod-version-checkerawslabs/agent-pluginsSkill953todayApache-2.0A120Claude Code
dsqlawslabs/agent-pluginsSkill953todayApache-2.0A247Claude Code
aws-lambdaawslabs/agent-pluginsSkill953todayApache-2.0A74Claude Code
notionArvo-AI/auroraSkill470todayApache-2.0A23Claude Code
datadogArvo-AI/auroraSkill470todayApache-2.0A28Claude Code