gcx
Grafana's gcx CLI brings Grafana into your terminal and agentic coding environment, with skills for querying data, investigating alerts, managing SLOs and dashboards, and extending the codebase. Works with Grafana Cloud, Enterprise, and OSS.
Public skills for working with Grafana, Prometheus, Loki, Tempo, Pyroscope, k6, and the broader LGTM observability stack. Compatible with Claude Code, Cursor, Codex, and any tool supporting the Agent Skills open standard.
Claude Code
> /plugin marketplace add grafana/skills
Codex
$ npx skills add grafana/skills --skill admission-control app-sdk-concepts cue-kind-definition reconciler-logic adaptive-metrics admin app-observability assistant-mcp cloud-integrations cost-management database-observability dpm-finder fleet-management frontend-session-rca infrastructure loki-label-analyzer ml-ai oncall-irm private-connectivity prometheus-cardinality-troubleshooter prometheus-label-strategy send-data synthetic-monitoring-checks testing alerting-irm alloy beyla dashboarding grafana-oss opentelemetry promql skill-authoring datasources-provisioning k6-browser-test k6-cloud-investigate-test k6-docs k6-manage k6-perf-test-website k6-test-maintenance k6-trend-analysis k6 loki mimir performance-rca profilecli-insights prometheus pyroscope tempo audit-and-reduce-dependencies check-npm grafana-scenes plugin-bundle-size react-19-plugin-migration -a codex
Cursor
$ npx skills add grafana/skills --skill admission-control app-sdk-concepts cue-kind-definition reconciler-logic adaptive-metrics admin app-observability assistant-mcp cloud-integrations cost-management database-observability dpm-finder fleet-management frontend-session-rca infrastructure loki-label-analyzer ml-ai oncall-irm private-connectivity prometheus-cardinality-troubleshooter prometheus-label-strategy send-data synthetic-monitoring-checks testing alerting-irm alloy beyla dashboarding grafana-oss opentelemetry promql skill-authoring datasources-provisioning k6-browser-test k6-cloud-investigate-test k6-docs k6-manage k6-perf-test-website k6-test-maintenance k6-trend-analysis k6 loki mimir performance-rca profilecli-insights prometheus pyroscope tempo audit-and-reduce-dependencies check-npm grafana-scenes plugin-bundle-size react-19-plugin-migration -a cursor
Gemini CLI
$ npx skills add grafana/skills --skill admission-control app-sdk-concepts cue-kind-definition reconciler-logic adaptive-metrics admin app-observability assistant-mcp cloud-integrations cost-management database-observability dpm-finder fleet-management frontend-session-rca infrastructure loki-label-analyzer ml-ai oncall-irm private-connectivity prometheus-cardinality-troubleshooter prometheus-label-strategy send-data synthetic-monitoring-checks testing alerting-irm alloy beyla dashboarding grafana-oss opentelemetry promql skill-authoring datasources-provisioning k6-browser-test k6-cloud-investigate-test k6-docs k6-manage k6-perf-test-website k6-test-maintenance k6-trend-analysis k6 loki mimir performance-rca profilecli-insights prometheus pyroscope tempo audit-and-reduce-dependencies check-npm grafana-scenes plugin-bundle-size react-19-plugin-migration -a gemini-cli
GitHub Copilot
$ npx skills add grafana/skills --skill admission-control app-sdk-concepts cue-kind-definition reconciler-logic adaptive-metrics admin app-observability assistant-mcp cloud-integrations cost-management database-observability dpm-finder fleet-management frontend-session-rca infrastructure loki-label-analyzer ml-ai oncall-irm private-connectivity prometheus-cardinality-troubleshooter prometheus-label-strategy send-data synthetic-monitoring-checks testing alerting-irm alloy beyla dashboarding grafana-oss opentelemetry promql skill-authoring datasources-provisioning k6-browser-test k6-cloud-investigate-test k6-docs k6-manage k6-perf-test-website k6-test-maintenance k6-trend-analysis k6 loki mimir performance-rca profilecli-insights prometheus pyroscope tempo audit-and-reduce-dependencies check-npm grafana-scenes plugin-bundle-size react-19-plugin-migration -a github-copilot
OpenCode
$ npx skills add grafana/skills --skill admission-control app-sdk-concepts cue-kind-definition reconciler-logic adaptive-metrics admin app-observability assistant-mcp cloud-integrations cost-management database-observability dpm-finder fleet-management frontend-session-rca infrastructure loki-label-analyzer ml-ai oncall-irm private-connectivity prometheus-cardinality-troubleshooter prometheus-label-strategy send-data synthetic-monitoring-checks testing alerting-irm alloy beyla dashboarding grafana-oss opentelemetry promql skill-authoring datasources-provisioning k6-browser-test k6-cloud-investigate-test k6-docs k6-manage k6-perf-test-website k6-test-maintenance k6-trend-analysis k6 loki mimir performance-rca profilecli-insights prometheus pyroscope tempo audit-and-reduce-dependencies check-npm grafana-scenes plugin-bundle-size react-19-plugin-migration -a opencode
Windsurf
$ npx skills add grafana/skills --skill admission-control app-sdk-concepts cue-kind-definition reconciler-logic adaptive-metrics admin app-observability assistant-mcp cloud-integrations cost-management database-observability dpm-finder fleet-management frontend-session-rca infrastructure loki-label-analyzer ml-ai oncall-irm private-connectivity prometheus-cardinality-troubleshooter prometheus-label-strategy send-data synthetic-monitoring-checks testing alerting-irm alloy beyla dashboarding grafana-oss opentelemetry promql skill-authoring datasources-provisioning k6-browser-test k6-cloud-investigate-test k6-docs k6-manage k6-perf-test-website k6-test-maintenance k6-trend-analysis k6 loki mimir performance-rca profilecli-insights prometheus pyroscope tempo audit-and-reduce-dependencies check-npm grafana-scenes plugin-bundle-size react-19-plugin-migration -a windsurf
Public skills for working with Grafana, Prometheus, Loki, Tempo, Pyroscope, k6, and the broader LGTM observability stack. Compatible with Claude Code, Cursor, Codex, and any tool supporting the Agent Skills open standard.
Any tool following the Agent Skills standard can install directly:
npx skills add grafana/skills
# Add this marketplace
claude plugin marketplace add grafana/skills
# Install the plugin(s) you want
claude plugin install grafana-plugins@grafana-skills
claude plugin install grafana-core@grafana-skills
claude plugin install grafana-cloud@grafana-skills
claude plugin install grafana-lgtm@grafana-skills
claude plugin install grafana-app-sdk@grafana-skills
claude plugin install grafana-k6@grafana-skills
claude plugin install grafana-datasources@grafana-skills
Install via the npx skills command shown above:
npx skills add grafana/skills
This writes skills into .cursor/skills/ in your project so Cursor's agent can load them.
To install only the Frontend Observability session skill:
npx skills add grafana/skills --skill frontend-session-rca
Cursor's built-in Add Rule → Remote Rule (GitHub) flow is not compatible with this repository. That importer only accepts Cursor Project Rules (
.mdcfiles under.cursor/rules/), and the Grafana Skills repo follows the Agent Skills standard instead (SKILL.mdfiles underskills/).
Skills are discovered automatically via the .agents-plugin/marketplace.json manifest. No manual setup needed — Codex loads matching skills based on your task context.
To install manually into a repo's .agents/skills/ directory:
npx skills add grafana/skills
Skills are organized into plugin groups. All skill files live under skills/<plugin-name>/.
Core Grafana concepts — dashboards, visualization, PromQL, alerting, and telemetry collection.
| Skill | Description |
|---|---|
| grafana-oss | Grafana OSS core — dashboards, data sources, provisioning, RBAC, and server configuration |
| dashboarding | Create and organise Grafana dashboards — panels, variables, transformations, and thresholds |
| promql | Write, validate, and optimise PromQL queries for Prometheus and Grafana Cloud Metrics |
| alerting-irm | Grafana Alerting, Incident Response Management, and SLOs — rules, contact points, and on-call |
| alloy | Grafana Alloy OpenTelemetry collector — config language, components, and telemetry pipelines |
| beyla | Grafana Beyla eBPF auto-instrumentation for zero-code application observability |
| opentelemetry | OpenTelemetry with the Grafana stack — SDK instrumentation, OTLP, and collectors |
Grafana Cloud — fleet management, cloud integrations, cost optimization, and AI agent connectivity.
| Skill | Description |
|---|---|
| admin | Grafana Cloud account management — organizations, stacks, RBAC, SSO, and service accounts |
| send-data | Send telemetry to Grafana Cloud — metrics, logs, traces, and profiles via Alloy or SDKs |
| fleet-management | Manage Grafana Alloy collector fleets with remote configuration and OpAMP |
| cloud-integrations | Connect AWS, Azure, and other cloud providers to Grafana Cloud |
| infrastructure | Infrastructure monitoring — Kubernetes, host/container metrics, and cloud integrations |
| app-observability | Application Observability (APM), Frontend Observability (Faro), and AI Observability |
| frontend-session-rca | Diagnose a Frontend Observability session from a gcx dump — health, ranked problems, cause, and fixes |
| database-observability | Query-level performance insights for MySQL and PostgreSQL |
| adaptive-metrics | Reduce metrics cost with Adaptive Metrics aggregation rules and cardinality management |
| cost-management | Grafana Cloud cost monitoring, attribution, usage alerts, and optimization |
| dpm-finder | Identify Prometheus metrics driving high Data Points per Minute (DPM) |
| loki-label-analyzer | Evaluate and improve Loki label strategy using cardinality, query patterns, and label hygiene |
| prometheus-label-strategy | Audit and design Prometheus label schemas — cardinality, histograms, source-side prevention |
| prometheus-cardinality-troubleshooter | Diagnose live Prometheus cardinality issues — slow queries, OOMs, high Active Series bills |
| oncall-irm | Grafana OnCall and IRM — alert routing, escalation chains, and incident lifecycle |
| ml-ai | AI/ML features — Grafana Assistant, Dynamic Alerting, Sift, Knowledge Graph, and LLM Plugin |
| assistant-mcp | Connect AI coding agents (Claude Code, Cursor, Codex) to Grafana Cloud via MCP |
| private-connectivity | Private network connectivity — AWS PrivateLink, Azure Private Link, GCP Private Service Connect |
| testing | Synthetic Monitoring, k6 Cloud load testing, and Frontend Observability |
| synthetic-monitoring-checks | Author Synthetic Monitoring checks — k6 scripted and browser check deep dive, check-type selection, API/Terraform |
Open-source LGTM observability stack — Loki, Tempo, Prometheus/Mimir, and Pyroscope.
| Skill | Description |
|---|---|
| loki | Log aggregation with Grafana Loki — LogQL queries, pipelines, and architecture |
| tempo | Distributed tracing with Grafana Tempo — TraceQL, service graphs, and correlations |
| prometheus | Metrics with Prometheus — PromQL, alerting, recording rules, and Mimir |
| mimir | Scalable long-term metrics storage with Grafana Mimir — architecture and operations |
| pyroscope | Continuous profiling with Grafana Pyroscope — flame graphs, diff views, and language support |
| profilecli-insights | Query live Pyroscope profiles with profilecli and correlate hot functions with checked-out source code |
| performance-rca | Root-cause CPU, memory, and contention problems with Pyroscope profiles via gcx, qualified against a baseline |
Skills for building Grafana plugins — bundle optimisation, code splitting, React 19 migration, dependency audits, and the @grafana/scenes framework.
| Skill | Description |
|---|---|
| plugin-bundle-size | Optimise Grafana app plugin bundle size using React.lazy, Suspense, and webpack code splitting |
| react-19-plugin-migration | Migrate a Grafana plugin to React 19 compatibility ahead of Grafana 13 |
| grafana-scenes | Build Grafana plugin pages using the @grafana/scenes framework |
| check-npm | Audit npm, yarn, or pnpm package manager configuration for supply-chain hardening |
| audit-and-reduce-dependencies | Reduce pnpm dependency footprint — unused deps, deduplication, transitive closure triage |
Skills for building apps on the Grafana App Platform using grafana-app-sdk.
| Skill | Description |
|---|---|
| app-sdk-concepts | Project init, deployment modes (standalone operator, grafana/apps, frontend-only), and workflow |
| cue-kind-definition | Author CUE kind definitions — schemas, versioning, spec vs status, codegen config |
| reconciler-logic | Implement async reconciler and watcher business logic |
| admission-control | Write validation and mutation admission handlers |
Skills for working with k6 open-source load testing.
| Skill | Description |
|---|---|
| k6 | Generate, validate, and review k6 test scripts — load/stress/spike/soak/breakpoint, functional, protocol, and browser — using runnable examples and a generate → validate → review workflow |
| k6-docs | Write or review k6 documentation across TypeScript types, user docs, and release notes |
| k6-perf-test-website | Performance-test a public website end-to-end with k6. Produces a hybrid protocol+browser test suite, SLO-backed thresholds, a load-generator monitor sidecar, and a Grafana-side investigation playbook |
| k6-manage | Operate Grafana Cloud k6 (GCk6) via the gcx CLI or direct curl — manage tests, runs, scripts, schedules, and env vars; fetch logs, metrics, traces, screenshots, and Cloud Insights |
| k6-cloud-investigate-test | Investigate a specific Grafana Cloud k6 test or run — describe the script, list run history, pull metrics and logs, and identify pass/fail root cause |
| k6-trend-analysis | Analyze Grafana Cloud k6 test-run trends over time — detect metric drift, compute threshold headroom, and recommend when to tighten thresholds |
| k6-test-maintenance | Maintain and improve existing k6 scripts — threshold tightening, version migration, service-change fixes, refactoring, and best-practice audits |
| k6-browser-test | Generate a k6/browser test from a plain-language user journey — explores the live site to resolve real selectors (getByRole/getByLabel/getByText), then writes a functional or load test with expect() assertions, screenshots, and Core Web Vitals thresholds |
Skills for working with Grafana data source plugins.
| Skill | Description |
|---|---|
| datasources-provisioning | Authoring and schema discovery of Grafana data source plugin's configuration |
Grafana's gcx CLI brings Grafana into your terminal and agentic coding environment, with skills for querying data, investigating alerts, managing SLOs and dashboards, and extending the codebase. Works with Grafana Cloud, Enterprise, and OSS.
The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
Adds frontend observability to a browser app with the Grafana Faro Web SDK, covering error tracking, Web Vitals, session monitoring and distributed tracing. Telemetry can be sent to Grafana Alloy, Grafana Cloud or a custom receiver.
A Claude Code plugin from ruvnet for WiFi-based sensing, using channel state information to detect presence and vital signs for smart home and edge machine learning work. It adds skills for AgentDB vector search, memory patterns, optimization, and reinforcement learning agents.
Gives Claude Code users network observability for Kubernetes clusters, with skills for installing Kubeshark, writing its filter language, root cause analysis of past incidents, and security audits, backed by an MCP server for AI agents.
Scans a project and grades its structure from A to F across several dimensions such as coupling, cycles, cohesion, dead code, and test coverage. Useful when you want to check code quality and architectural health.
Lets Claude Code call your phone when a task finishes, gets stuck, or needs a decision, so you can start a task and step away. Works with a phone or watch.
Public skills for working with Grafana, Prometheus, Loki, Tempo, Pyroscope, k6, and the broader LGTM observability stack. Compatible with Claude Code, Cursor, Codex, and any tool supporting the Agent Skills open standard. Install it with the command on its page. It includes admission-control, app-sdk-concepts, cue-kind-definition. Its skills do not fire on their own yet. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it