sentry-react-sdk

sentry-react-sdk is a skill for Claude Code from is-bo/fullstack-forge-skill. It costs 76 tokens per session (4,797 once invoked), scanned A, a copy of sentry-react-sdk, Apache-2.0.

A setup guide for adding Sentry error monitoring to React applications. React is a JavaScript library for building user interfaces, and the guide also covers common routers, Redux, Vite, and webpack.

In plain words
What is it for?
Use it to install and configure @sentry/react and monitor errors, navigation, performance, sessions, profiles, logs, and Redux state.
Why use it?
It helps configure monitoring around React components, navigation, and application state so problems can be investigated after they happen.

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) > [SDK Setup](../sentry-sdk-setup/SKILL.md) > React SDK.

Good fit Use it to install and configure @sentry/react and monitor errors, navigation, performance, sessions, profiles, logs, and Redux state.

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/is-bo/fullstack-forge-skill
agentmods
npx agentmods add skills/is-bo/fullstack-forge-skill/sentry-react-sdk

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-react-sdk

README.md
[![agentmods](https://agentmods.dev/badge/skills/is-bo/fullstack-forge-skill/sentry-react-sdk/github.svg)](https://agentmods.dev/skills/is-bo/fullstack-forge-skill/sentry-react-sdk)
Your own site
<a href="https://agentmods.dev/skills/is-bo/fullstack-forge-skill/sentry-react-sdk"><img src="https://agentmods.dev/badge/skills/is-bo/fullstack-forge-skill/sentry-react-sdk/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.

agentmods 80×15 button for sentry-react-sdk

Your own site · 80×15
<a href="https://agentmods.dev/skills/is-bo/fullstack-forge-skill/sentry-react-sdk"><img src="https://agentmods.dev/badge/skills/is-bo/fullstack-forge-skill/sentry-react-sdk.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,797 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.
Origin 100% copy Near-identical to another mod 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.00076 $0.04797
Opus 5.5 $0.00030 $0.01919
Sonnet 5.5 $0.00015 $0.00959
Haiku 4.5 $0.00008 $0.00480

Measured 1mo ago against content hash 6f275429138a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sentry-react-sdk 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 1mo 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.

Origin

This is a copy

100% identical to sentry-react-sdk — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

third_party/agent-skills/sentry-agent-skills/content/skills-legacy/sentry-react-sdk/SKILL.md · 485 lines

How it starts

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

All Skills > SDK Setup > React SDK

Sentry React SDK

Opinionated wizard that scans your React project and guides you through complete Sentry setup.

Invoke This Skill When

  • User asks to "add Sentry to React" or "set up Sentry" in a React app
  • User wants error monitoring, tracing, session replay, profiling, or logging in React
  • User mentions @sentry/react, React Sentry SDK, or Sentry error boundaries
  • User wants to monitor React Router v5/v6/v7 non-framework navigation, Redux state, or component performance

If project is React Router Framework mode using @sentry/react-router, use sentry-react-router-framework-sdk instead of this skill.

Note: SDK versions and APIs below reflect current Sentry docs at time of writing (@sentry/react ≥8.0.0). Always verify against docs.sentry.io/platforms/javascript/guides/react/ before implementing.


Phase 1: Detect

Run these commands to understand the project before making any recommendations:

# Detect React version
cat package.json | grep -E '"react"|"react-dom"'

# Check for existing Sentry
cat package.json | grep '"@sentry/'

# Detect router and framework mode hints
cat package.json | grep -E '"react-router-dom"|"react-router"|"@react-router/"|"@tanstack/react-router"|"@sentry/react-router"'

# Detect state management
cat package.json | grep -E '"redux"|"@reduxjs/toolkit"'

# Detect build tool
ls vite.config.ts vite.config.js webpack.config.js craco.config.js 2>/dev/null
cat package.json | grep -E '"vite"|"react-scripts"|"webpack"'

# Detect logging libraries
cat package.json | grep -E '"pino"|"winston"|"loglevel"'

# Check for companion backend in adjacent directories
ls ../backend ../server ../api 2>/dev/null
cat ../go.mod ../requirements.txt ../Gemfile ../pom.xml 2>/dev/null | head -3

What to determine:

Question Impact
React 19+? Use reactErrorHandler() hook pattern
React <19? Use Sentry.ErrorBoundary
@sentry/react already present? Skip install, go straight to feature config
React Router Framework mode indicators (@sentry/react-router, @react-router/*)? Use sentry-react-router-framework-sdk
react-router-dom v5 / v6 / v7? Determines which router integration to use
@tanstack/react-router? Use tanstackRouterBrowserTracingIntegration()
Redux in use? Recommend createReduxEnhancer()
Vite detected? Source maps via sentryVitePlugin
CRA (react-scripts)? Source maps via @sentry/webpack-plugin in CRACO
Backend directory found? Trigger Phase 4 cross-link suggestion

Read the full file on GitHub · 485 lines

Files

What ships with it

6 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. 1mo ago First seen · 485 lines · 76 tokens per session scan A 6f275429138a

Subscribe to this mod's changes

sentry-react-sdk is a skill published in the GitHub repository is-bo/fullstack-forge-skill (2 stars, last pushed 2d ago), licensed Apache-2.0. It adds 76 tokens to every session and 4,797 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to sentry-react-sdk, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

api-integration-architect

Design, implement, debug, and optimize API integrations with expert-level patterns for REST, GraphQL, webhooks, and authentication flows.

sickn33/agentic-awesome-skills · 33 tokens

sentry-react-router-framework-sdk

Full Sentry SDK setup for React Router Framework mode. Use when asked to "add Sentry to React Router Framework", "install @sentry/react-router", or configure error monitoring, tracing, profiling, session replay, logs, or user feedback for a React Router v7 framework app.

getsentry/sentry-for-ai · 65 tokens

sentry-tanstack-start-sdk

Full Sentry SDK setup for TanStack Start React. Use when asked to "add Sentry to TanStack Start", "install @sentry/tanstackstart-react", or configure error monitoring, tracing, session replay, logs, or user feedback in a TanStack Start React app.

getsentry/sentry-for-ai · 66 tokens

react18-batching-patterns

Provides exact patterns for diagnosing and fixing automatic batching regressions in React 18 class components. Use this skill whenever a class component has multiple setState calls in an async method, inside setTimeout, inside a Promise .then() or .catch(), or in a native event handler. Use it before writing any…

FluxonLab/Skillry · 104 tokens

react-component-performance

Diagnose slow React components and suggest targeted performance fixes.

beel-collab/presets.dev · 11 tokens

agent-qa-result-triage

Triage failed Agent QA runs with MCP evidence, artifacts, logs, fixed failure categories, confidence, and actionable next steps.

sickn33/agentic-awesome-skills · 33 tokens