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.
npx skills add aiocean/claude-plugins --skill aio-grafana-diagramgit clone --depth 1 https://github.com/aiocean/claude-pluginsWrote 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.
[](https://agentmods.dev/skills/aiocean/claude-plugins/aio-grafana-diagram)<a href="https://agentmods.dev/skills/aiocean/claude-plugins/aio-grafana-diagram"><img src="https://agentmods.dev/badge/skills/aiocean/claude-plugins/aio-grafana-diagram/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.
<a href="https://agentmods.dev/skills/aiocean/claude-plugins/aio-grafana-diagram"><img src="https://agentmods.dev/badge/skills/aiocean/claude-plugins/aio-grafana-diagram.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00082 | $0.03179 |
| Opus 5.5 | $0.00033 | $0.01272 |
| Sonnet 5.5 | $0.00016 | $0.00636 |
| Haiku 4.5 | $0.00008 | $0.00318 |
Grade A, and why
aio-grafana-diagram 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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 493 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Grafana Dashboard Diagram Generator
Environment
- grafana-cli: !
which grafana-cli 2>/dev/null || echo "NOT INSTALLED"
Objective Workflow
Phase 1: DISCOVER — Analyze Codebase Architecture
Scan the project to identify system components:
- Services: Find service entry points, main files, Dockerfiles, docker-compose services
- APIs: Identify HTTP routes, gRPC definitions, GraphQL schemas
- Data flows: Trace database connections, message queues, cache layers, external API calls
- Infrastructure: Load balancers, CDNs, monitoring endpoints from config/infra files
# Example discovery commands
ls docker-compose*.yml Dockerfile* k8s/ infra/ 2>/dev/null
# Look for service definitions, route handlers, DB connection strings
Output a component inventory: [service_name, type, connections[], metrics_available[]]
Phase 2: GENERATE — Create Mermaid Diagram Code
Based on discovered components, generate Mermaid syntax:
- Choose diagram type:
graph LR(service flow),graph TB(layered arch),sequenceDiagram(request flow) - Create nodes with meaningful IDs matching metric naming conventions (underscores, no special chars)
- Use subgraphs to group related services (Frontend, Backend, Data, Infrastructure)
- Add edge labels for protocol/relationship types (HTTP, gRPC, TCP, pub/sub)
- Keep to 10-15 nodes max for readability
Phase 3: BIND — Map Metrics to Diagram Nodes
For each node, identify and bind a relevant metric:
- Match node IDs to available Prometheus/datasource metric aliases
- Generate query targets with
format: "time_series"(required for diagram binding) - Ensure every query includes a
timefield — nodes without time series will not update - Set thresholds: Green (healthy), Yellow (degraded), Red (critical)
- Use metric composites when a node health depends on multiple signals
Phase 4: OUTPUT — Generate Importable Grafana Panel JSON
Produce a complete panel JSON block ready to paste into a Grafana dashboard:
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.
- 3mo ago First seen · 493 lines · 82 tokens per session scan A c7d740cc1113
aio-grafana-diagram is a skill published in the GitHub repository aiocean/claude-plugins (4 stars, last pushed 4d ago), licensed MIT. It adds 82 tokens to every session and 3,179 once invoked, about $0.0003 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-31.
aio-grafana-diagram compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| aio-grafana-diagramaiocean/claude-plugins | Skill | 4 | 4d ago | MIT | A | 82 | Claude Code |
| eval-hooksFlorianBruniaux/claude-code-ultimate-guide | Skill | 7.5k | today | CC-BY-SA-4.0 | A | 115 | Claude Code |
| design-patternsFlorianBruniaux/claude-code-ultimate-guide | Skill | 7.5k | today | CC-BY-SA-4.0 | A | 59 | Claude Code |
| eval-skillsFlorianBruniaux/claude-code-ultimate-guide | Skill | 7.5k | today | CC-BY-SA-4.0 | A | 60 | Claude Code |
| smart-exploreFlorianBruniaux/claude-code-ultimate-guide | Skill | 7.5k | today | CC-BY-SA-4.0 | A | 75 | Claude Code |
| source-command-audit-whitepapersFlorianBruniaux/claude-code-ultimate-guide | Skill | 7.5k | today | CC-BY-SA-4.0 | A | 26 | Claude Code, Codex |
| audit-agents-skillsFlorianBruniaux/claude-code-ultimate-guide | Skill | 7.5k | today | CC-BY-SA-4.0 | A | 41 | Claude Code |