Official agent skill

Sentry SDK Setup

by getsentry in getsentry/sentry-for-ai

Set up Sentry in any language or framework. An agent skill from getsentry/sentry-for-ai.

OfficialApache-2.0Auto-check passedMobile

Install Sentry SDK Setup

skills CLI
$ npx skills add getsentry/sentry-for-ai --skill sentry-sdk-setup -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install getsentry/sentry-for-ai sentry-sdk-setup --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/getsentry/sentry-for-ai.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills-legacy/sentry-sdk-setup .claude/skills/sentry-sdk-setup && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
sentry-sdk-setup
GitHub stars
268
Token cost
~1.7k tokens
SKILL.md length
521 words
Files
1
Skills in repo
32
Repo updated
First seen
Licence
Apache-2.0

At a glance

Set up Sentry in any language or framework. An agent skill from getsentry/sentry-for-ai.

  • Works in 3 steps: Detect the platform from project files… → Tell the user what you found and which… → Wait for confirmation before reading the…
  • Asked to add Sentry
  • SKILL.md covers Start Here — Read This Before…, SDK Skills, Quick Lookup and Finding the DSN
  • Reaches sentry.io

What it does

Sentry SDK Setup is an agent skill from getsentry/sentry-for-ai, published by the product's own GitHub organization. Set up Sentry in any language or framework. Detects the user's platform and loads the right SDK skill. Use when asked to add Sentry, install an SDK, or set up error monitoring in a project.

Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Mobile, covering Cross-platform mobile apps. It works with Sentry, Next.js, Android and React. The repository describes itself as: Teach your AI coding assistant how to use Sentry - setup, debugging, alerts, and more. The licence is Apache-2.0.

When your agent uses it

  • Asked to add Sentry
  • Set up error monitoring in a project

Example prompts

  • “/sentry-sdk-setup”

Requirements

  • Python 3
  • Node.js

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  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.

What it can do on your machine

Read from SKILL.md and the folder at commit d8fd106. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • sentry.io

    Also links to:

    • docs.sentry.io

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Sentry SDK Setup loads about 1.7k tokens when it runs. Until then it costs about 52 tokens; SKILL.md has 521 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~52
When it runs · the whole SKILL.md, loaded when a task matches
~1.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from getsentry/sentry-for-ai at commit d8fd106, republished under its Apache-2.0 licence (© getsentry). 521 words, ~1,683 tokens.

Download SKILL.mdSave it as .claude/skills/sentry-sdk-setup/SKILL.md (or your agent's skills folder).
name
sentry-sdk-setup
description
Set up Sentry in any language or framework. Detects the user's platform and loads the right SDK skill. Use when asked to add Sentry, install an SDK, or set up error monitoring in a project.
license
Apache-2.0
role
router

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

PlatformSkill
Androidsentry-android-sdk
browser JavaScriptsentry-browser-sdk
Cloudflare Workers and Pagessentry-cloudflare-sdk
Apple platforms (iOS, macOS, tvOS, watchOS, visionOS)sentry-cocoa-sdk
.NETsentry-dotnet-sdk
Elixirsentry-elixir-sdk
Gosentry-go-sdk
NestJSsentry-nestjs-sdk
Next.jssentry-nextjs-sdk
Node.js, Bun, and Denosentry-node-sdk
PHPsentry-php-sdk
Pythonsentry-python-sdk
Flutter and Dartsentry-flutter-sdk
React Native and Exposentry-react-native-sdk
Reactsentry-react-sdk
React Router Frameworksentry-react-router-framework-sdk
TanStack Start Reactsentry-tanstack-start-sdk
Rubysentry-ruby-sdk
Svelte and SvelteKitsentry-svelte-sdk
Platform Detection Priority

When multiple SDKs could match, prefer the more specific one:

  • Android (build.gradle with android plugin) → sentry-android-sdk
  • Cloudflare (wrangler.toml or wrangler.jsonc) → sentry-cloudflare-sdk over sentry-node-sdk
  • NestJS (@nestjs/core) → sentry-nestjs-sdk over sentry-node-sdk
  • Next.js → sentry-nextjs-sdk over sentry-react-sdk or sentry-node-sdk
  • React Router Framework (@sentry/react-router or @react-router/*) → sentry-react-router-framework-sdk over sentry-react-sdk
  • TanStack Start React (@tanstack/react-start) → sentry-tanstack-start-sdk over sentry-react-sdk
  • Flutter (pubspec.yaml with flutter: dependency or sentry_flutter) → sentry-flutter-sdk
  • React Native → sentry-react-native-sdk over sentry-react-sdk
  • PHP with Laravel or Symfony → sentry-php-sdk
  • Elixir (mix.exs detected) → sentry-elixir-sdk
  • Node.js / Bun / Deno without a specific framework → sentry-node-sdk
  • Browser JS (vanilla, jQuery, static sites) → sentry-browser-sdk
  • No match → direct user to Sentry Docs
Show full SKILL.md (222 more words)Show less

Quick Lookup

Match your project to a skill by keywords.

KeywordsSkill
android, kotlin, java, jetpack composesentry-android-sdk
browser, vanilla js, javascript, jquery, cdn, wordpress, static sitesentry-browser-sdk
cloudflare, cloudflare workers, cloudflare pages, wrangler, durable objects, d1sentry-cloudflare-sdk
ios, macos, swift, cocoa, tvos, watchos, visionos, swiftui, uikitsentry-cocoa-sdk
.net, csharp, c#, asp.net, maui, wpf, winforms, blazor, azure functionssentry-dotnet-sdk
go, golang, gin, echo, fibersentry-go-sdk
elixir, phoenix, plug, obansentry-elixir-sdk
nestjs, nestsentry-nestjs-sdk
nextjs, next.js, nextsentry-nextjs-sdk
node, nodejs, node.js, bun, deno, express, fastify, koa, hapisentry-node-sdk
php, laravel, symfonysentry-php-sdk
python, django, flask, fastapi, celery, starlettesentry-python-sdk
flutter, dart, pubspecsentry-flutter-sdk
react native, exposentry-react-native-sdk
react, react router, tanstack, redux, vitesentry-react-sdk
react-router framework, @sentry/react-router, @react-router/dev, react-router revealsentry-react-router-framework-sdk
tanstack start, tanstack react start, @tanstack/react-start, tanstackstart-reactsentry-tanstack-start-sdk
ruby, rails, sinatra, sidekiq, racksentry-ruby-sdk
svelte, sveltekitsentry-svelte-sdk

Finding the DSN

If the user doesn't have their DSN, guide them to find it:

  1. Open the Sentry project settings page: https://sentry.io/settings/projects/
  2. Select the project
  3. Click "Client Keys (DSN)" in the left sidebar
  4. Copy the DSN

You can help the user open the page directly:

bash
open https://sentry.io/settings/projects/        # macOS
xdg-open https://sentry.io/settings/projects/    # Linux
start https://sentry.io/settings/projects/        # Windows

Note: The DSN is public and safe to include in source code. It is not a secret — it only identifies where to send events.


Looking for workflows or feature configuration instead? See the full Skill Tree.

© getsentry, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills-legacy/sentry-sdk-setup of getsentry/sentry-for-ai.

Open the folder on GitHubat commit d8fd106

Compare with similar skills

Sentry SDK Setup next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Sentry SDK Setup compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Sentry SDK Setup this skillgetsentry/sentry-for-ai268—~1.7kAutomated safety check: PassApache-2.0
Add Error Trackinggotempsh/temps822—~4.2kAutomated safety check: NotesApache-2.0
Stream Docsadrianhajdin/react-native-lingua150—~6.6kAutomated safety check: PassNone
Streamadrianhajdin/react-native-lingua150—~1.9kAutomated safety check: PassNone
Expoericrisco/rsc-harness156—~2.9kAutomated safety check: NotesMIT
React Nativeericrisco/rsc-harness156—~3kAutomated safety check: PassMIT

Similar skills

  • Add Error Tracking

    gotempsh/temps

    Add Temps error tracking to applications using the Sentry-compatible SDK.

    822 GitHub stars~4.2k tokensUpdated today
    MobileAuto-check: notes
  • Stream Docs

    adrianhajdin/react-native-lingua

    Search live Stream SDK documentation for Chat, Video, Feeds, and Moderation.

    150 GitHub stars~6.6k tokensUpdated 4 mo ago
    MobileAuto-check passed
  • Stream

    adrianhajdin/react-native-lingua

    Stream router for Chat, Video, Feeds, and Moderation. An agent skill from adrianhajdin/react-native-lingua.

    150 GitHub stars~1.9k tokensUpdated 4 mo ago
    MobileAuto-check passed
  • Expo

    ericrisco/rsc-harness

    A skill your agent uses when shipping a React Native app with Expo — EAS Build/Submit/Update, eas.json profiles and channels, config plugins, prebuild/CNG, runtime-version policy, OTA updates that…

    156 GitHub stars~2.9k tokensUpdated today
    MobileAuto-check: notes
  • React Native

    ericrisco/rsc-harness

    A skill your agent uses when writing the JS/TS inside a React Native or Expo app — screens, Expo Router navigation, lists, Reanimated gestures, platform forks, offline state, native modules — or…

    156 GitHub stars~3k tokensUpdated today
    MobileAuto-check passed
  • Cometchat

    cometchat/cometchat-skills

    Entry point for any CometChat task on any platform. An agent skill from cometchat/cometchat-skills.

    129 GitHub stars~2.9k tokensUpdated 2 days ago
    MobileAuto-check passed

More from getsentry/sentry-for-ai

All 32 skills in this repo
  • Sentry Elixir SDK

    getsentry/sentry-for-ai

    Official

    Full Sentry SDK setup for Elixir. An agent skill from getsentry/sentry-for-ai.

    268 GitHub stars~3.5k tokensUpdated today
    Auto-check passed
  • Sentry Go SDK

    getsentry/sentry-for-ai

    Official

    Full Sentry SDK setup for Go. An agent skill from getsentry/sentry-for-ai.

    268 GitHub stars~3.2k tokensUpdated today
    Auto-check passed
  • Sentry Nextjs SDK

    getsentry/sentry-for-ai

    Official

    Full Sentry SDK setup for Next.js. An agent skill from getsentry/sentry-for-ai.

    268 GitHub stars~4.7k tokensUpdated today
    Auto-check: notes
  • Sentry Php SDK

    getsentry/sentry-for-ai

    Official

    Full Sentry SDK setup for PHP. An agent skill from getsentry/sentry-for-ai.

    268 GitHub stars~3.7k tokensUpdated today
    Auto-check: notes
  • Sentry Python SDK

    getsentry/sentry-for-ai

    Official

    Full Sentry SDK setup for Python. An agent skill from getsentry/sentry-for-ai.

    268 GitHub stars~4.1k tokensUpdated today
    Auto-check passed
  • Sentry React Router Framework SDK

    getsentry/sentry-for-ai

    Official

    Full Sentry SDK setup for React Router Framework mode. An agent skill from getsentry/sentry-for-ai.

    268 GitHub stars~3.8k tokensUpdated today
    Auto-check: notes

Categories

Questions about Sentry SDK Setup

What does Sentry SDK Setup do?

Set up Sentry in any language or framework. An agent skill from getsentry/sentry-for-ai. Sentry SDK Setup is an agent skill from getsentry/sentry-for-ai, published by the product's own GitHub organization. Set up Sentry in any language or framework.

When should I use Sentry SDK Setup?

Sentry SDK Setup fits situations like: asked to add Sentry; set up error monitoring in a project.

How do I install Sentry SDK Setup in Claude Code?

Run `npx skills add getsentry/sentry-for-ai --skill sentry-sdk-setup -a claude-code`. Or copy the skill folder (skills-legacy/sentry-sdk-setup in getsentry/sentry-for-ai) into .claude/skills/sentry-sdk-setup in your project. Claude Code loads it when a task matches its description.

How do I install Sentry SDK Setup in Codex?

Run `npx skills add getsentry/sentry-for-ai --skill sentry-sdk-setup -a codex`. Or copy the skill folder (skills-legacy/sentry-sdk-setup in getsentry/sentry-for-ai) into .agents/skills/sentry-sdk-setup in your project. Codex loads it when a task matches its description.

Can I use Sentry SDK Setup in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add getsentry/sentry-for-ai --skill sentry-sdk-setup -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/sentry-sdk-setup, .gemini/skills/sentry-sdk-setup, .github/skills/sentry-sdk-setup and .opencode/skills/sentry-sdk-setup in your project.

What does Sentry SDK Setup need to run?

SKILL.md names no scripts, command-line tools or credentials: Sentry SDK Setup is instructions for the agent only. Our summary lists: Python 3; Node.js.

Does Sentry SDK Setup access the network?

SKILL.md names 2 domains. In commands or code: sentry.io; the agent is likely to contact it when it follows the instructions. As links in the text: docs.sentry.io. This is read from the text; nothing was executed.

Is Sentry SDK Setup safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Sentry SDK Setup use?

Sentry SDK Setup is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Sentry SDK Setup use?

About 1.7k tokens (SKILL.md is roughly 6.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Sentry SDK Setup?

Skills that share tags, products or a category with Sentry SDK Setup: Add Error Tracking (gotempsh/temps, 822 stars), Stream Docs (adrianhajdin/react-native-lingua, 150 stars), Stream (adrianhajdin/react-native-lingua, 150 stars) and Expo (ericrisco/rsc-harness, 156 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Sentry SDK Setup?

getsentry (a GitHub organization, an official publisher) maintains it in getsentry/sentry-for-ai, which has 268 GitHub stars. The repository holds 32 skills in this directory. The repository was last updated on October 7, 2026.

Source: getsentry/sentry-for-ai on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.