grafana

Pyroscope Skills — Data skill for Claude Code

Data community

Claude Code plugin providing profilecli-powered performance analysis skills for Pyroscope profiling data.

How to install Pyroscope Skills

This entry records only its repository, not the path inside it, so there is no exact command to give. Open grafana/pyroscope-skills and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Pyroscope Skills does

Claude Code plugin providing profilecli-powered performance analysis skills for Pyroscope profiling data.

Alternatives in Data

  • AgriQuant AI — AI-powered weather intelligence for agricultural commodity futures 707 ★
  • Core Data Agent Skill — An Agent Skill focused on Apple’s Core Data framework, helping with data modeling, fetch requests, performance 301 ★
  • Content Pipeline — AI-powered content production pipeline for creators 213 ★

README

pyroscope-skills

A [Claude Code](https://docs.anthropic.com/en/docs/claude-code) plugin that queries a remote [Pyroscope](https://github.com/grafana/pyroscope) server to analyze profiling data and correlate hot functions with source code in your repository.

Installation

/plugin marketplace add https://github.com/grafana/pyroscope-skills
/plugin install profilecli-plugin@pyroscope-skills

Prerequisites

  • profilecli on your PATH — the skill will prompt you to download it from Pyroscope releases if not found
  • pprof on your PATH, or go tool pprof as a fallback

Setup

The skill requires a connection to a Pyroscope-compatible server.

Local Pyroscope

For a local instance, only `PROFILECLI_URL` is needed (defaults to `http://localhost:4040`):

export PROFILECLI_URL="http://localhost:4040"

Grafana Cloud

Set the following environment variables:

# Data source proxy URL
export PROFILECLI_URL="https://my-grafana.example.com/api/datasources/proxy/uid/"

# Service account token (format: glsa_...)
export PROFILECLI_TOKEN="glsa_your_service_account_token"

# Optional: tenant ID for multi-tenant setups
export PROFILECLI_TENANT_ID="your-tenant-id"

Create a service account token at **Grafana > Administration > Service Accounts > Add token** with the `Viewer` role.

Usage

The `profilecli-insights` skill lets you ask free-form questions about service performance. Answers are backed by real profiling data and correlated with your source code.

/profilecli-insights Why is the distributor slow?
/profilecli-insights What's using the most memory in the ingester?
/profilecli-insights Show me CPU hot paths for the query-frontend

How it works

  1. Discovers services — queries available services and profile types from your Pyroscope instance, correlating them with the current repository via service_repository labels
  2. **Fetches