sentry-sdk-setup

sentry-sdk-setup is a skill for Claude Code, Codex from getsentry/sentry-for-ai. It costs 49 tokens per session (1,931 once invoked), scanned A, original, MIT.

A starting point for adding Sentry error monitoring to an application in any supported language or framework. It first identifies the project platform and then points to the matching setup guide.

In plain words
What is it for?
Use it when you want to add Sentry, install its software package, or configure error monitoring and need help choosing the appropriate platform-specific guide.
Why use it?
It prevents using instructions for the wrong programming language or framework when adding an error-monitoring package.

Skill for Claude CodeCodex

Install

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.

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

Made for: Claude Code, Codex.

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-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/getsentry/sentry-for-ai/sentry-sdk-setup.svg)](https://agentmods.dev/skills/getsentry/sentry-for-ai/sentry-sdk-setup)
Your own site
<a href="https://agentmods.dev/skills/getsentry/sentry-for-ai/sentry-sdk-setup"><img src="https://agentmods.dev/badge/skills/getsentry/sentry-for-ai/sentry-sdk-setup.svg" alt="Measured on agentmods" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,931 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00049 $0.01931
Opus 5 $0.00024 $0.00966
Sonnet 5 $0.00010 $0.00386
Haiku 4.5 $0.00005 $0.00193

Measured 4d ago against content hash a87cd36ef5dc, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

sentry-sdk-setup 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 4d 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-setup/SKILL.md · 117 lines

How it starts

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

All Skills

Sentry SDK Setup

Set up Sentry error monitoring, tracing, and session replay in any language or framework. This page helps you find the right SDK skill for your project.

Start Here — Read This Before Doing Anything

Do not skip this section. Do not assume which SDK the user needs based on their project files. Do not start installing packages or creating config files until you have confirmed the user's intent.

  1. Detect the platform from project files (package.json, go.mod, requirements.txt, Gemfile, *.csproj, build.gradle, etc.).
  2. Tell the user what you found and which SDK you recommend.
  3. Wait for confirmation before reading the skill and proceeding.

Each SDK skill contains its own detection logic, prerequisites, and step-by-step configuration. Trust the skill — read it carefully and follow it. Do not improvise or take shortcuts.


SDK Skills

Platform Skill
Android sentry-android-sdk
browser JavaScript sentry-browser-sdk
Cloudflare Workers and Pages sentry-cloudflare-sdk
Apple platforms (iOS, macOS, tvOS, watchOS, visionOS) sentry-cocoa-sdk
.NET sentry-dotnet-sdk
Elixir sentry-elixir-sdk
Go sentry-go-sdk
NestJS sentry-nestjs-sdk
Next.js sentry-nextjs-sdk
Node.js, Bun, and Deno sentry-node-sdk
PHP sentry-php-sdk
Python sentry-python-sdk
Flutter and Dart sentry-flutter-sdk
React Native and Expo sentry-react-native-sdk
React sentry-react-sdk
React Router Framework sentry-react-router-framework-sdk
TanStack Start React sentry-tanstack-start-sdk
Ruby sentry-ruby-sdk
Svelte and SvelteKit sentry-svelte-sdk

Read the full file on GitHub · 117 lines

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. 4d ago First seen · 117 lines · 49 tokens per session scan A a87cd36ef5dc

Subscribe to this mod's changes

sentry-sdk-setup is a skill published in the GitHub repository getsentry/sentry-for-ai (257 stars, last pushed today), licensed MIT. It adds 49 tokens to every session and 1,931 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

claude-settings-audit

Analyze a repository to generate recommended Claude Code settings.json permissions. Use when setting up a new project, auditing existing settings, or determining which read-only bash commands to allow. Detects tech stack, build tools, and monorepo structure.

getsentry/skills · 54 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

security-review

Security code review for vulnerabilities. Use when asked to "security review", "find vulnerabilities", "check for security issues", "audit security", "OWASP review", or review code for injection, XSS, authentication, authorization, cryptography issues. Provides systematic review with confidence-based reporting.

getsentry/skills · 61 tokens

django-access-review

Django access control and IDOR security review. Use when reviewing Django views, DRF viewsets, ORM queries, or any Python/Django code handling user authorization. Trigger keywords: "IDOR", "access control", "authorization", "Django permissions", "object permissions", "tenant isolation", "broken access".

getsentry/skills · 69 tokens

gha-security-review

GitHub Actions security review for workflow exploitation vulnerabilities. Use when asked to "review GitHub Actions", "audit workflows", "check CI security", "GHA security", "workflow security review", or review .github/workflows/ for pwn requests, expression injection, credential theft, and supply chain attacks.…

getsentry/skills · 76 tokens

presentation-creator

Create data-driven presentation slides using React, Vite, and Recharts with Sentry branding. Use when asked to "create a presentation", "build slides", "make a deck", "create a data presentation", "build a Sentry presentation". Scaffolds a complete slide-based app with charts, animations, and single-file HTML output.

getsentry/skills · 73 tokens