skills: Instructions file for Claude Code

AGENTS.md

skills AGENTS.md is an instructions file for Claude Code, Codex, OpenCode from grafana/skills. It costs 1,346 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for Grafana’s public collection of coding-agent skills for observability tools such as Prometheus, Loki, Tempo, and k6.

In plain words
What is it for?
Use them when creating, organizing, or linting skills and updating marketplace manifests.
Why use it?
They explain the repository layout and validation process, reducing mistakes when adding or checking skills and marketplace files.

Instructions file for Claude CodeCodexOpenCode ✓ vendor

Written for Claude Code and Codex and OpenCode: ${CLAUDE_PLUGIN_ROOT} variable, but also the file is AGENTS.md. Also seen: mentions .claude-plugin; mentions subagents; mentions Claude Code.

This is grafana/skills's own configuration. It tells Claude Code, Codex and OpenCode how to work on skills itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything skills configures →

Runs only inside a plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else, and the catalogue could not identify which plugin ships it.

About the project

Grafana Skills is a collection of agent skills for working with Grafana, Prometheus, Loki, Tempo, Pyroscope, k6, and the broader LGTM observability stack. Developers and operators use the skills with coding agents that support the Agent Skills standard. The catalogue entries are the repository’s own skills, plugins, and instructions for using these observability tools.

grafana/skills · 304 stars · on GitHub

Reuse

Borrowing it

Nothing to install: this file belongs to grafana/skills. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/grafana/skills/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/grafana/skills

Made for: Claude Code, Codex, OpenCode.

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 skills AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/grafana/skills/agents-md"><img src="https://agentmods.dev/badge/instructions/grafana/skills/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,346 This file is loaded in full into every session.
When invoked 1,346 The same file — it is already loaded in full.
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.01346 $0.01346
Opus 5.5 $0.00538 $0.00538
Sonnet 5.5 $0.00269 $0.00269
Haiku 4.5 $0.00135 $0.00135

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

Security

Grade A, and why

skills AGENTS.md 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.

AGENTS.md · 139 lines

How it starts

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

AGENTS.md

Instructions for AI agents working with this repository.

Repository Purpose

This is the Grafana public skills repository — a plugin marketplace providing AI-assisted development skills for Claude Code, Cursor, and other tools supporting the Agent Skills standard.

Skills cover Grafana, Prometheus, Loki, Tempo, Pyroscope, k6, and the broader LGTM observability stack.

Structure Overview

.claude-plugin/marketplace.json    # Claude Code marketplace manifest
.cursor-plugin/marketplace.json    # Cursor marketplace manifest (identical content)
.agents-plugin/marketplace.json    # Codex marketplace manifest (identical content)
skills/                            # All skills, grouped by plugin
  <plugin-name>/
    <skill-name>/
      SKILL.md                     # Required: skill definition
      scripts/                     # Optional: executable helper scripts
      references/                  # Optional: reference docs loaded on demand
      assets/                      # Optional: templates, schemas, data files
template/SKILL.md                  # Starter template for contributors
scripts/lint-skills.sh             # Validates SKILL.md files

Key architecture:

  • Single source of truth in skills/ — Claude Code, Cursor, and Codex all reference the same content
  • Three marketplace manifests (.claude-plugin/, .cursor-plugin/, .agents-plugin/) with identical content
  • skills/ is the conventional directory used by all major agent tools

How Skills Work

Skills are folders of instructions, scripts, and resources that agents load dynamically when relevant.

  1. The agent reads the skill's description frontmatter
  2. When the context matches, the agent loads the full SKILL.md
  3. Supporting files in scripts/ and references/ are loaded on demand

Invocation Modes

Two frontmatter fields control who can invoke a skill:

disable-model-invocation (default: false):

  • false: Agent may auto-load when context matches
  • true: Agent will never auto-load; only runs when user types /skill-name

Read the full file on GitHub · 139 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 First seen · 139 lines · 1,346 tokens per session scan A aaea5dfabf19

Subscribe to this mod's changes

skills AGENTS.md is an instructions file published in the GitHub repository grafana/skills (304 stars, last pushed yesterday), licensed Apache-2.0. It adds 1,346 tokens to every session, about $0.0054 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

skills AGENTS.md compared with instructions from other repositories

skills AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
skills AGENTS.mdgrafana/skillsInstructions file304yesterdayApache-2.0A1,346Claude Code, Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file275k2d agoMITA4,313Codex, OpenCode