Instrument an application with Sentry — detect the platform, install and initialize the SDK if needed, and wire up any signal — error monitoring, tracing/performance, logging, metrics, profiling, session replay, user feedback, cron check-ins, uptime monitors for the deployed app, and AI/LLM monitoring (agent runs, token cost, and conversations for OpenAI, Anthropic, Vercel AI, LangChain, Google…
Install
npx skills add getsentry/sentry-for-ai --skill sentry-instrumentnpx skills add getsentry/sentry-for-ai --skill sentry-instrument -a claude-code -gnpx skills add getsentry/sentry-for-ai --skill sentry-instrument -a codex -ggemini skills install https://github.com/getsentry/sentry-for-ai.git --path src/skills/sentry-instrumentgh skill install getsentry/sentry-for-ai sentry-instrumentgit clone --depth 1 https://github.com/getsentry/sentry-for-ai /tmp/getsentry__sentry-for-ai
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/getsentry__sentry-for-ai/src/skills/sentry-instrument ~/.claude/skills/sentry-instrument # Claude Code
cp -R /tmp/getsentry__sentry-for-ai/src/skills/sentry-instrument ~/.agents/skills/sentry-instrument # Codex, Cursor, Gemini CLI, Copilot, OpenCode