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.
git clone --depth 1 https://github.com/getsentry/sentry-for-ainpx agentmods add skills/getsentry/sentry-for-ai/sentry-sdk-setupWrote 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.
[](https://agentmods.dev/skills/getsentry/sentry-for-ai/sentry-sdk-setup)<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/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<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="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk pass
- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00049 | $0.01931 |
| Opus 5.5 | $0.00020 | $0.00772 |
| Sonnet 5.5 | $0.00010 | $0.00386 |
| Haiku 4.5 | $0.00005 | $0.00193 |
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 3mo 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.
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.
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.
- Detect the platform from project files (
package.json,go.mod,requirements.txt,Gemfile,*.csproj,build.gradle, etc.). - Tell the user what you found and which SDK you recommend.
- 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 |
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.
- 3mo ago First seen · 117 lines · 49 tokens per session scan A a87cd36ef5dc
sentry-sdk-setup is a skill published in the GitHub repository getsentry/sentry-for-ai (283 stars, last pushed 5d ago), licensed MIT. It adds 49 tokens to every session and 1,931 once invoked, about $0.0002 per session on Opus 5.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.
sentry-sdk-setup compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| sentry-sdk-setupgetsentry/sentry-for-ai | Skill | 283 | 5d ago | MIT | A | 49 | Claude Code, Codex |
| security-modelgetsentry/skills | Skill | 1.2k | 16d ago | Apache-2.0 | A | 113 | Claude Code, Codex |
| django-perf-reviewgetsentry/skills | Skill | 1.2k | 16d ago | Apache-2.0 | A | 55 | Claude Code |
| gha-security-reviewgetsentry/skills | Skill | 1.2k | 16d ago | Apache-2.0 | A | 76 | Claude Code |
| presentation-creatorgetsentry/skills | Skill | 1.2k | 16d ago | Apache-2.0 | A | 73 | Claude Code |
| triage-frontend-issuesgetsentry/skills | Skill | 1.2k | 16d ago | Apache-2.0 | A | 93 | Claude Code |
| sred-project-organizergetsentry/skills | Skill | 1.2k | 16d ago | Apache-2.0 | A | 27 | Claude Code |