Sentry Perf logo

Sentry Perf

Community
jpoehnelt
sentry-perf

Find and fix performance regressions from Sentry spans, transactions, dashboards, and web vitals. Use when asked for a performance dashboard summary, slow routes, week-over-week regressions, comparable measurement windows, or a perf fix PR. Use sentry-bugfix for errors and gh-ci-triage for CI.

Overview

Publisherjpoehnelt
Repositoryskills
Skill namesentry-perf
Stars
23
Forks
1
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by jpoehnelt on GitHub. Read the source before you install it.

Installation

Install the Sentry Perf AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/jpoehnelt/skills/tree/main/sentry-perf
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jpoehnelt/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/sentry-perf .claude/skills/sentry-perf
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Sentry Perf in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Sentry Perf on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Sentry Perf is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Sentry performance analysis

Repo facts (read from AGENTS.md or CLAUDE.md; verify in Sentry): Sentry organization, region, and project; environment names and hosts; where tracing and sample rates are configured; custom span.op names; where dashboards and alerts are defined (UI or infrastructure as code); and the repo's check and PR commands.

Use eng-benchmark-checklist before reporting a number or choosing a fix. Discover the callable Sentry tools and confirm coordinates as in sentry-bugfix.

Read live measurements

  1. Fix the project, environment, host or runtime, release, and window. If several deployments share an environment tag, confirm the host before attributing traffic.
  2. For a supplied dashboard, read its widget definitions, then run each relevant widget's conditions as a live query with an explicit environment. Saved definitions are not data.
  3. Query the spans dataset. Transactions are spans with is_transaction:true. Discover emitted span.op values from data and source; do not assume another app's names.
  4. Keep field lists lean and limits small; wide queries time out.
  5. Record sample counts beside p50, p95, and total duration. Compare equivalent windows with the same query, cohort, sampling, and release context.
  6. Open representative traces to find the dominant database, auth, network, AI provider, rendering, or queue delay.

Useful query shapes (put the environment in the query string):

QuestionQueryFields and sort
Slowest transactionsenvironment:<env> is_transaction:truetransaction, p50(span.duration), p95(span.duration), count(); sort -p95(span.duration)
Total-time sinkssamesort -sum(span.duration)
Subsystem costenvironment:<env>span.op, count(), p95(span.duration), sum(span.duration)
Slow queries in one subsystemenvironment:<env> span.op:<op>span.description, p95(span.duration), count()
Web vitalsenvironment:<env> has:measurements.lcptransaction, p75(measurements.lcp), p75(measurements.cls), count()

Regression check: run the same query over a recent window (24h) and a baseline (7d, or the prior week), and flag transactions whose p95 rose more than about 30% at non-trivial volume. Sparse percentiles do not establish a regression.

Thresholds

  • Web vitals at p75: LCP good under 2.5s, poor over 4.0s; INP good under 200ms, poor over 500ms; CLS good under 0.1, poor over 0.25; TTFB good under 800ms, poor over 1.8s.
  • API p95 over 1s is notable, over 3s is bad. SSR p95 over 3s is slow.
  • A p95 pinned at a round number near a configured deadline (for example 30000ms) is a timeout ceiling, so those are failures, not slow successes.

Traps

  • Sampling. Read the configured sample rates from source; they often differ by route or method. Do not extrapolate counts by a fixed multiplier, and treat a sampling change between windows as a confound.
  • Noise. Exclude bot and scanner paths (/wp-login.php, apple-touch-icon*, probes). A p95 of 0 usually means static, cached, or redirect paths.
  • By design. Streaming, long-polling, and subscriptions are long on purpose; do not report them as slow interactive work.
  • Runtime clocks. On Cloudflare Workers the clock does not advance during synchronous CPU work, so span durations there measure I/O wait, not compute.
  • Cold starts and deploys inflate a short window; check release boundaries.

Choose and verify the fix

  1. Classify each finding: regression, chronic slow path, poor UX, by design, noise, or insufficient evidence. Name the affected user operation and the dominant span.op.
  2. Confirm the fix targets that span at real user volume, not a bystander.
  3. Reproduce the path locally and measure it. Use the repo's verification skill for the user-visible result (agents-create-verification-skill if none exists).
  4. Target the measured cause: run independent I/O with bounded concurrency, batch repeated reads, add an index or limit, stream or defer heavy payloads. Preserve ordering, authorization, and resource bounds. Hold architectural, sampling, or infrastructure changes for human review.
  5. Run the repo's affected checks. Open a perf(scope): ... PR with the before numbers and their queries, then follow gh-pr-feedback-loop.
  6. After the separately authorized rollout, rerun the same query over a comparable window and report the change with its uncertainty.

With several independent findings and authorization to delegate, fan out one triage agent per finding with an adversarial verifier, implement only confirmed low-risk fixes in disjoint files, and return escalations for human decision (agents-swarm). Without that authorization, work the findings yourself in sequence.

Review checklist

  • Every reported number has a query, window, environment, cohort, release context, and sample count.
  • Sampling, bots, cold starts, and by-design long requests are accounted for.
  • The fix targets the dominant span and preserves behavior.
  • Local evidence and deployed observations are reported separately.

Frequently asked questions

What does the Sentry Perf AI skill do?

Find and fix performance regressions from Sentry spans, transactions, dashboards, and web vitals. Use when asked for a performance dashboard summary, slow routes, week-over-week regressions, comparable measurement windows, or a perf fix PR. Use sentry-bugfix for errors and gh-ci-triage for CI.

Why use Sentry Perf on TypingMind?

Because you install it once and use it with any model. Sentry Perf is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Sentry Perf in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/jpoehnelt/skills/tree/main/sentry-perf. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Sentry Perf?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Sentry Perf?

As many as you like. As long as a model supports skills, you can use Sentry Perf with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Sentry Perf AI skill free?

Yes. It is published on GitHub by jpoehnelt under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇