sentry-sdk-upgrade

sentry-sdk-upgrade is a skill for Claude Code from getsentry/sentry-for-ai. It costs 48 tokens per session (2,327 once invoked), scanned A, original, MIT.

A migration guide for upgrading Sentry's JavaScript software package between major versions. Major upgrades can change APIs and remove older ways of doing things.

In plain words
What is it for?
Use it to plan upgrades such as Sentry version 7 to 8 or 8 to 9, check the current framework and package versions, and fix errors caused by deprecated APIs.
Why use it?
It helps identify breaking changes and replace outdated Sentry code after updating the package.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is [All Skills](../../SKILL_TREE.md) > [Workflow](../sentry-workflow/SKILL.md) > SDK Upgrade.

not rated 260repo +1 3d ago A scan Socket: passSnyk: passSkillSpector: warn 48 tokens original MIT

Good fit Use it to plan upgrades such as Sentry version 7 to 8 or 8 to 9, check the current framework and package versions, and fix errors caused by deprecated APIs.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/getsentry/sentry-for-ai
agentmods
npx agentmods add skills/getsentry/sentry-for-ai/sentry-sdk-upgrade

Made for: Claude Code.

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 sentry-sdk-upgrade

README.md
[![agentmods](https://agentmods.dev/badge/skills/getsentry/sentry-for-ai/sentry-sdk-upgrade.svg)](https://agentmods.dev/skills/getsentry/sentry-for-ai/sentry-sdk-upgrade)
Your own site
<a href="https://agentmods.dev/skills/getsentry/sentry-for-ai/sentry-sdk-upgrade"><img src="https://agentmods.dev/badge/skills/getsentry/sentry-for-ai/sentry-sdk-upgrade.svg" alt="Measured on agentmods" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,327 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 20 Mar 2026
  • Snyk pass 20 Mar 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 128
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 187
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
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.00048 $0.02327
Opus 5 $0.00024 $0.01163
Sonnet 5 $0.00010 $0.00465
Haiku 4.5 $0.00005 $0.00233

Measured 8d ago against content hash 3573b864d6a5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

sentry-sdk-upgrade 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 8d 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.

skills-legacy/sentry-sdk-upgrade/SKILL.md · 239 lines

How it starts

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

All Skills > Workflow > SDK Upgrade

Sentry JavaScript SDK Upgrade

Upgrade the Sentry JavaScript SDK across major versions with AI-guided migration.

Invoke This Skill When

  • User asks to "upgrade Sentry" or "migrate Sentry SDK"
  • User mentions deprecated Sentry APIs or breaking changes after a version bump
  • User wants to move from v7 to v8, v8 to v9, or any major version jump
  • User encounters errors after updating @sentry/* package versions
  • User asks about Sentry migration guides or changelogs

Phase 1: Detect

Identify the current Sentry SDK version, target version, and framework.

1.1 Read package.json

cat package.json | grep -E '"@sentry/' | head -20

Extract:

  • All @sentry/* packages and their current versions
  • The current major version (e.g., 7.x, 8.x, 9.x)

1.2 Detect Framework

Check package.json dependencies for framework indicators:

Dependency Framework Sentry Package
next Next.js @sentry/nextjs
nuxt or @nuxt/kit Nuxt @sentry/nuxt
@sveltejs/kit SvelteKit @sentry/sveltekit
@remix-run/node Remix @sentry/remix
react (no Next/Remix) React SPA @sentry/react
@angular/core Angular @sentry/angular
vue (no Nuxt) Vue @sentry/vue
express Express @sentry/node
@nestjs/core NestJS @sentry/nestjs
@solidjs/start SolidStart @sentry/solidstart
astro Astro @sentry/astro
bun types or runtime Bun @sentry/bun
@cloudflare/workers-types Cloudflare @sentry/cloudflare
None of above (Node.js) Node.js @sentry/node

1.3 Find Sentry Config Files

grep -rn "from '@sentry/\|require('@sentry/" --include="*.ts" --include="*.js" --include="*.tsx" --include="*.jsx" --include="*.mjs" --include="*.cjs" -l
find . -name "sentry.*" -o -name "*.sentry.*" -o -name "instrumentation.*" | grep -v node_modules | grep -v .next | grep -v .nuxt

Read the full file on GitHub · 239 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 8d ago First seen · 239 lines · 48 tokens per session scan A 3573b864d6a5

Subscribe to this mod's changes

sentry-sdk-upgrade is a skill published in the GitHub repository getsentry/sentry-for-ai (260 stars, last pushed 3d ago), licensed MIT. It adds 48 tokens to every session and 2,327 once invoked, about $0.0002 per session on Opus 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

Other skills, from other repositories

sentry-fix-issues

Find and fix issues from Sentry using MCP. Use when asked to fix Sentry errors, debug production issues, investigate exceptions, or resolve bugs reported in Sentry. Methodically analyzes stack traces, breadcrumbs, traces, and context to identify root causes.

openclaw/clawhub · 58 tokens

audit

Run technical quality checks across accessibility, performance, theming, responsive design, and anti-patterns. Generates a scored report with P0-P3 severity ratings and actionable plan. Use when the user wants an accessibility check, performance audit, or technical quality review.

fengshao1227/ccg-workflow · 54 tokens

debugging-executions

Debug failed or wrong-output workflow executions using executions tools. Load when the user reports execution failures, unexpected node output, empty parameter values after a successful run, or a node showing a red or failed expression error.

n8n-io/n8n · 48 tokens

n8n-docs-assistant

Answers n8n product, setup, credential, node, hosting, API, and usage questions from current n8n docs. Load n8n-docs via loadtool before calling it (search "n8n docs" if not visible). Use when the user asks how to configure, set up, troubleshoot, or understand n8n behavior, especially credential setup questions opened…

n8n-io/n8n · 89 tokens

django-perf-review

Django performance code review. Use when asked to "review Django performance", "find N+1 queries", "optimize Django", "check queryset performance", "database performance", "Django ORM issues", or audit Django code for performance problems.

getsentry/skills · 55 tokens

triage-frontend-issues

Triage new issues in the Sentry javascript project by archiving non-actionable noise. Use when asked to "triage issues", "triage the javascript project", "archive non-actionable issues", "triage new frontend issues", or "clean up the sentry/javascript queue". Operates only on the sentry/javascript project, only…

getsentry/skills · 93 tokens