Install the "sentry-react-router-framework-sdk" agent skill from https://github.com/getsentry/sentry-for-ai/tree/main/skills-legacy/sentry-react-router-framework-sdk into .claude/skills/sentry-react-router-framework-sdk/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sentry-react-router-framework-sdk", then confirm the skill loads.
Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Type this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
skills CLI
$ npx skills add getsentry/sentry-for-ai --skill sentry-react-router-framework-sdk -a codex
Project install goes to .agents/skills/; add -g for ~/.codex/skills/.
Install the "sentry-react-router-framework-sdk" agent skill from https://github.com/getsentry/sentry-for-ai/tree/main/skills-legacy/sentry-react-router-framework-sdk into .agents/skills/sentry-react-router-framework-sdk/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sentry-react-router-framework-sdk", then confirm the skill loads.
Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
skills CLI
$ npx skills add getsentry/sentry-for-ai --skill sentry-react-router-framework-sdk -a cursor
Project install goes to .agents/skills/; add -g for ~/.cursor/skills/.
Install the "sentry-react-router-framework-sdk" agent skill from https://github.com/getsentry/sentry-for-ai/tree/main/skills-legacy/sentry-react-router-framework-sdk into .cursor/skills/sentry-react-router-framework-sdk/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sentry-react-router-framework-sdk", then confirm the skill loads.
Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
skills CLI
$ npx skills add getsentry/sentry-for-ai --skill sentry-react-router-framework-sdk -a gemini-cli
Project install goes to .agents/skills/; add -g for ~/.gemini/skills/.
Install the "sentry-react-router-framework-sdk" agent skill from https://github.com/getsentry/sentry-for-ai/tree/main/skills-legacy/sentry-react-router-framework-sdk into .gemini/skills/sentry-react-router-framework-sdk/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sentry-react-router-framework-sdk", then confirm the skill loads.
Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Installs for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
skills CLI
$ npx skills add getsentry/sentry-for-ai --skill sentry-react-router-framework-sdk -a github-copilot
Project install goes to .agents/skills/; add -g for ~/.copilot/skills/.
Install the "sentry-react-router-framework-sdk" agent skill from https://github.com/getsentry/sentry-for-ai/tree/main/skills-legacy/sentry-react-router-framework-sdk into .github/skills/sentry-react-router-framework-sdk/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sentry-react-router-framework-sdk", then confirm the skill loads.
GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
skills CLI
$ npx skills add getsentry/sentry-for-ai --skill sentry-react-router-framework-sdk -a opencode
OpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
Install the "sentry-react-router-framework-sdk" agent skill from https://github.com/getsentry/sentry-for-ai/tree/main/skills-legacy/sentry-react-router-framework-sdk into .opencode/skills/sentry-react-router-framework-sdk/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sentry-react-router-framework-sdk", then confirm the skill loads.
OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Facts
Skill name
sentry-react-router-framework-sdk
GitHub stars
268
Token cost
~3.8k tokens
SKILL.md length
960 words
Files
8 (incl. references)
Skills in repo
32
Repo updated
First seen
Licence
Apache-2.0
At a glance
Full Sentry SDK setup for React Router Framework mode. An agent skill from getsentry/sentry-for-ai.
Works in 4 steps: Detect → Recommend → Guide → …
Asked to add Sentry to React Router Framework
SKILL.md covers Invoke This Skill When, Phase 1: Detect, Phase 2: Recommend and Phase 3: Guide, plus 4 more sections
Calls npx and npm; reaches docs.sentry.io; needs SENTRY_AUTH_TOKEN
What it does
Sentry React Router Framework SDK is an agent skill from getsentry/sentry-for-ai, published by the product's own GitHub organization. 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.
Its SKILL.md is about 3.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 8 other files, including reference files (for example `references/error-monitoring.md`, `references/logging.md` and `references/profiling.md`).
It works with Sentry, React Router 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 to React Router Framework
Install @sentry/react-router
Configure error monitoring
User feedback for a React Router v7 framework app
Example prompts
“add Sentry to React Router Framework”
“install @sentry/react-router”
“/sentry-react-router-framework-sdk”
Requirements
Node.js
A credential in SENTRY_AUTH_TOKEN
Workflow steps
4 steps, taken from the step headings in SKILL.md.
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
Shell commands in SKILL.md call:
npx
npm
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:
docs.sentry.io
From URLs in SKILL.md, links to its own repository left out.
Credentials
Names these keys or tokens, usually read from environment variables:
SENTRY_AUTH_TOKEN
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Context cost
Sentry React Router Framework SDK loads about 3.8k tokens when it runs, and up to ~7.3k if it reads all its reference files. Until then it costs about 76 tokens; SKILL.md has 960 words of instructions outside code blocks.
Always· name and description, kept in context so the agent knows when to use it
~76
When it runs· the whole SKILL.md, loaded when a task matches
~3.8k
With references· SKILL.md plus every file in references/, read only if the agent opens them
~7.3k
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: notes
The automated check noted patterns worth knowing about, such as sudo or a known installer.
NoteMentions a .env fileSKILL.md:415
config | Load env vars in config or use `.env.sentry-build-plugin` |
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.
Download SKILL.mdSave it as .claude/skills/sentry-react-router-framework-sdk/SKILL.md (or your agent's skills folder). This skill also uses 7 other files; get the full folder from GitHub.
name
sentry-react-router-framework-sdk
description
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.
Opinionated wizard that scans your React Router Framework project and guides you through complete Sentry setup across client and server entry points.
Invoke This Skill When
User asks to "add Sentry to React Router Framework" or "set up Sentry in React Router v7 framework mode"
User wants to install or configure @sentry/react-router
User uses React Router framework entry files (entry.client.tsx, entry.server.tsx) and wants tracing/error capture
User asks about reactRouterTracingIntegration, sentryOnError, createSentryHandleRequest, or React Router wizard setup
Important: This SDK is currently beta.
For React Router non-framework/data/declarative mode (v5/v6/v7), use sentry-react-sdk with @sentry/react integrations instead.
Phase 1: Detect
Run these commands to understand the project before making any recommendations:
bash
# Detect React Router Framework indicators and versions
cat package.json | grep -E '"react-router"|"@react-router/"|"react-router-dev"|"react-router-serve"'
# Detect Sentry package choice
cat package.json | grep -E '"@sentry/react-router"|"@sentry/react"|"@sentry/profiling-node"'
# Check entry point visibility and server instrumentation files
ls entry.client.tsx entry.server.tsx instrument.server.mjs react-router.config.ts vite.config.ts 2>/dev/null
# Check if React Router files are still hidden (framework mode helper command available)
cat package.json | grep -E '"reveal"|react-router'
# Detect runtime startup scripts and import strategy
cat package.json | grep -E '"dev"|"start"|NODE_OPTIONS|--import'
# Detect optional logging/profile-related dependencies
cat package.json | grep -E '"pino"|"winston"|"@sentry/profiling-node"'
# Detect companion backend 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
@sentry/react-router already installed?
Skip install and move to feature setup
Framework entry files exposed?
Need npx react-router reveal before manual config
Using @sentry/react instead?
This is likely non-framework routing; redirect to sentry-react-sdk
react-router.config.ts + Vite config present?
Source map upload and build-end hook setup path
NODE_OPTIONS --import available?
Preferred server instrumentation startup path
@sentry/profiling-node desired/available?
Enable server profiling integration
Backend directory found?
Trigger Phase 4 cross-link suggestion
Phase 2: Recommend
Present a concrete recommendation based on what you found. Do not ask open-ended questions — lead with a proposal:
Recommended (core coverage):
✅ Error Monitoring — always; captures client and server errors with framework hooks
✅ Tracing — recommended baseline in framework apps with client/server request flow
✅ Session Replay — recommended for user-facing applications
Optional (enhanced observability):
⚡ Profiling — server-side profiling with @sentry/profiling-node
⚡ Logs — structured Sentry.logger.* ingestion and correlation
⚡ User Feedback — in-app feedback widget/reporting flows
Recommendation logic:
Feature
Recommend when...
Error Monitoring
Always — non-negotiable baseline
Tracing
Usually yes in framework apps; route and request timing is high-value
Session Replay
User-facing product or difficult UX debugging
Profiling
Server performance investigations needed; Node runtime compatibility verified
Logs
Team wants log-search and trace correlation in Sentry
User Feedback
Product/support teams need direct in-app issue reports
Propose: "I recommend Error Monitoring + Tracing + Session Replay first. Want me to also enable Profiling, Logs, and User Feedback?"
Phase 3: Guide
Option 1: Wizard (Recommended)
You need to run this yourself — the wizard is interactive and may require browser login:
If the user skips wizard setup, continue with manual setup below.
Option 2: Manual Setup
Install packages
bash
npm install @sentry/react-router --save
If profiling is needed:
bash
npm install @sentry/profiling-node --save
Expose framework entry files
bash
npx react-router reveal
Configure client in entry.client.tsx
tsx
import * as Sentry from "@sentry/react-router";
import { startTransition, StrictMode } from "react";
import { hydrateRoot } from "react-dom/client";
import { HydratedRouter } from "react-router/dom";
Sentry.init({
dsn: "___PUBLIC_DSN___",
dataCollection: {
// To disable sending user data and HTTP bodies, uncomment the lines below. For more info visit:
// https://docs.sentry.io/platforms/javascript/guides/react-router/configuration/options/#dataCollection
// userInfo: false,
// httpBodies: [],
},
integrations: [
Sentry.reactRouterTracingIntegration(),
Sentry.replayIntegration(),
Sentry.feedbackIntegration({ colorScheme: "system" }),
],
enableLogs: true,
tracesSampleRate: 1.0,
tracePropagationTargets: [/^\//, /^https:\/\/yourserver\.io\/api/],
replaysSessionSampleRate: 0.1,
replaysOnErrorSampleRate: 1.0,
});
startTransition(() => {
hydrateRoot(
document,
<StrictMode>
<HydratedRouter onError={Sentry.sentryOnError} />
</StrictMode>,
);
});
Configure server in instrument.server.mjs
javascript
import * as Sentry from "@sentry/react-router";
import { nodeProfilingIntegration } from "@sentry/profiling-node";
Sentry.init({
dsn: "___PUBLIC_DSN___",
dataCollection: {
// To disable sending user data and HTTP bodies, uncomment the lines below. For more info visit:
// https://docs.sentry.io/platforms/javascript/guides/react-router/configuration/options/#dataCollection
// userInfo: false,
// httpBodies: [],
},
enableLogs: true,
integrations: [nodeProfilingIntegration()],
tracesSampleRate: 1.0,
profileSessionSampleRate: 1.0,
});
Wrap server handlers in entry.server.tsx
tsx
import * as Sentry from "@sentry/react-router";
import { createReadableStreamFromReadable } from "@react-router/node";
import { renderToPipeableStream } from "react-dom/server";
import { ServerRouter } from "react-router";
const handleRequest = Sentry.createSentryHandleRequest({
ServerRouter,
renderToPipeableStream,
createReadableStreamFromReadable,
});
export default handleRequest;
export const handleError = Sentry.createSentryHandleError({
logErrors: false,
});
For custom server logic, use wrapSentryHandleRequest, getMetaTagTransformer, and manual Sentry.captureException in your custom handleError.
Fraction of transactions profiled (server profiling)
tunnel
string
—
Optional ad-blocker bypass endpoint
debug
boolean
false
Verbose SDK diagnostics
Framework-specific APIs
API
Purpose
reactRouterTracingIntegration()
Client-side tracing integration for framework mode
sentryOnError
Hooks into React Router HydratedRouter error reporting
createSentryHandleRequest(...)
Server request wrapper for framework entry server
createSentryHandleError(...)
Server error handler wrapper
wrapServerLoader(...) / wrapServerAction(...)
Manual wrapping for server loaders/actions
sentryReactRouter(...)
Vite plugin for source maps/build integration
sentryOnBuildEnd(...)
React Router build-end hook for source map processing
Verification
Wizard-generated path
If wizard examples were generated, open /sentry-example-page and trigger test actions.
Manual error test
tsx
export async function loader() {
throw new Error("My first Sentry error!");
}
Manual tracing test
tsx
import * as Sentry from "@sentry/react-router";
export async function loader() {
return Sentry.startSpan(
{ op: "test", name: "My First Test Transaction" },
() => {
throw new Error("My first Sentry error!");
},
);
}
Sentry React Router Framework SDK 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 React Router Framework SDK compared with similar skills
Skill
Stars
Used in
Tokens
Auto-check
Licence
Repo updated
Sentry React Router Framework SDK this skillgetsentry/sentry-for-ai
Guides work on React Router apps by first identifying whether the app uses Framework, Data or Declarative mode, then loading the matching reference and the installed package docs.
A skill your agent uses when the user is implementing, embedding, or debugging a WorkOS Widget — specifically the User Management, User Profile, Admin Portal SSO Connection, or Admin Portal Domain…
Full Sentry SDK setup for React Router Framework mode. An agent skill from getsentry/sentry-for-ai. Sentry React Router Framework SDK is an agent skill from getsentry/sentry-for-ai, published by the product's own GitHub organization. Full Sentry SDK setup for React Router Framework mode.
When should I use Sentry React Router Framework SDK?
Sentry React Router Framework SDK fits situations like: asked to add Sentry to React Router Framework; install @sentry/react-router; configure error monitoring; user feedback for a React Router v7 framework app.
How do I install Sentry React Router Framework SDK in Claude Code?
Run `npx skills add getsentry/sentry-for-ai --skill sentry-react-router-framework-sdk -a claude-code`. Or copy the skill folder (skills-legacy/sentry-react-router-framework-sdk in getsentry/sentry-for-ai) into .claude/skills/sentry-react-router-framework-sdk in your project. Claude Code loads it when a task matches its description.
How do I install Sentry React Router Framework SDK in Codex?
Run `npx skills add getsentry/sentry-for-ai --skill sentry-react-router-framework-sdk -a codex`. Or copy the skill folder (skills-legacy/sentry-react-router-framework-sdk in getsentry/sentry-for-ai) into .agents/skills/sentry-react-router-framework-sdk in your project. Codex loads it when a task matches its description.
Can I use Sentry React Router Framework SDK 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-react-router-framework-sdk -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-react-router-framework-sdk, .gemini/skills/sentry-react-router-framework-sdk, .github/skills/sentry-react-router-framework-sdk and .opencode/skills/sentry-react-router-framework-sdk in your project.
What does Sentry React Router Framework SDK need to run?
Going by SKILL.md and its folder, Sentry React Router Framework SDK needs the command-line tools its instructions call (npx and npm) and credentials named SENTRY_AUTH_TOKEN. Our summary lists: Node.js; A credential in SENTRY_AUTH_TOKEN.
Does Sentry React Router Framework SDK access the network?
SKILL.md names 1 domain. In commands or code: docs.sentry.io; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.
Is Sentry React Router Framework SDK safe to install?
Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
What licence does Sentry React Router Framework SDK use?
Sentry React Router Framework SDK 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 React Router Framework SDK use?
About 3.8k tokens (SKILL.md is roughly 15k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.5k tokens, read only when the agent opens those files.
What are the alternatives to Sentry React Router Framework SDK?
Skills that share tags, products or a category with Sentry React Router Framework SDK: React Router Development (remix-run/react-router, 57k stars), React Router Declarative Mode (halo-dev/upage, 555 stars), Safe Element Comparison (seasonedcc/remix-forms, 514 stars) and Clerk React Patterns (geekskai/blog, 103 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Who maintains Sentry React Router Framework SDK?
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.