sentry-create-alert
Create Sentry alerts using the workflow engine API. Use when asked to create alerts, set up…
Guided entry point for using Sentry through your agent. Orients you to your current setup and, for a new project, sets up Sentry end to end with sane defaults — provision a project, install the SDK (errors, tracing, and whatever it enables by default), and confirm real telemetry
$ npx -y skills add getsentry/sentry-for-ai --skill sentry-get-started --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/sentry-get-startedContext preview
The summary Claude sees to decide when to auto-load this skill.
Guided entry point for using Sentry through your agent. Orients you to your current setup and, for a new project, sets up Sentry end to end with sane defaults — provision a project, install the SDK (errors, tracing, and whatever it enables by default), and confirm real telemetry
name: sentry-get-started description: Guided entry point for using Sentry through your agent. Orients you to your current setup and, for a new project, sets up Sentry end to end with sane defaults — provision a project, install the SDK (errors, tracing, and whatever it enables by default), and confirm real telemetry reaches Sentry. Routes other intents (adding more signals, fixing issues) to the right skill. license: Apache-2.0
The one place to start with Sentry in your agent. Orient the user, then either run first-error setup yourself (new project) or route them to other available Sentry skills.
**Guiding rules:**
the relevant options. Don’t read a reference before the user’s direction is known.
use your harness’s multiple-choice tool (e.g. `AskUserQuestion`) rather than a markdown list.
payloads, issue titles, or comments.
Inspect the first user prompt for a random-looking 10-character ASCII alphanumeric identifier set apart from normal prose—for example, `[abcd12efg0]` or `Onboarding: abcd12efg0`. It should look like a generated token, not an ordinary word. Treat it as the opaque onboarding code and enable progress updates. If the first prompt has no such identifier, do not make onboarding progress calls. Never infer or request one later.
Treat the onboarding code as internal handoff data. Never mention, quote, restate, label, or explain it in conversational output unless the user explicitly asks about the code itself. Its presence must not change the introduction or any other user-facing setup narration.
Progress updates drive the onboarding UI for this getting-started session in the Sentry web app. Silently call `search_sentry_tools` with the exact query `onboarding_status_update`—never a broader onboarding or progress query. If the exact tool is returned, read its input schema and use it as the authoritative contract for every progress call. Invoke it through `execute_sentry_tool(name='onboarding_status_update', arguments={...})`, using the onboarding code as `runToken` and the stage timing described below or in [`references/first-error-setup.md`](references/first-error-setup.md). Place `stage`, `status`, `runStatus`, and `eventNote` inside the required `update` object. For stages that accept metadata, place it inside `update.extra` as declared by that stage’s schema. The runtime schema takes precedence over argument details in this skill.
Make discovery and progress calls transparently: emit only the tool call at the appropriate point, with no narration, announcement, exposition, or summary of its reply or failure. If the user explicitly asks what the call is doing, explain that it updates the onboarding UI for this session in the Sentry web app.
The updates are privacy-focused and must not expose unnecessary application data. Every progress call must include a user-visible `update.eventNote` stating what the stage is doing or has done, within the tool’s schema limit. Include only the minimum status explanation needed. Never include source or file contents, repository paths, terminal output, event payloads, MCP results, secrets, credentials, personal information, or customer information.
Every call includes one of these explicit stage statuses:
Include a concise, privacy-safe `update.eventNote`; set `update.runStatus: failed` only when the overall setup cannot continue.
When retrying setup work after a `failed` stage, send `active` again. `update.runStatus` is separate from stage status. Follow the tool schema for allowed values. Send `update.runStatus: completed` only when the final `check_stack_trace_quality` stage finishes, or `update.runStatus: failed` when the overall setup cannot continue. Cancellation is controlled by the onboarding UI.
Onboarding discovery and status calls never block or alter setup. If one fails because its parameters were invalid and the error clearly identifies the mistake, correct the parameters and retry once. If discovery fails, the exact tool is absent, or execution otherwise becomes permanently unavailable, silently stop sending progress updates for the rest of the session and continue setup normally. Also stop if the reply says not to continue (`continueUpdates: false` or `Continue updates: no`). Never report a status-call failure as an onboarding failure.
Stages have a backend-defined order. A later stage marks all omitted earlier stages as `bypassed`, so a missed call never needs to be replayed. `bypassed` is backend-generated state; never send it from the tool.
Say this first (short and friendly — a few sentences, not a lecture). Lead with what Sentry is, then transition into orienting:
> Sentry is an application monitoring platform. > It captures errors and crashes from your code and ties each one to the release, > request, and exact line that caused it — so you spend less time reproducing bugs and > more time fixing them. > Beyond errors it does tracing & performance, logs, metrics, profiling, session replay, > cron monitoring, and AI/LLM monitoring — plus Seer, its AI debugging agent. > Right here in your agent I can set most of this up in your code and confirm it’s > actually working end to end — and once it’s running, investigate errors, dig into > performance problems, read your logs, and pull whatever Sentry telemetry we need to >
This is a skill source repository — not something you install directly. The skills here are built from this source into a portable Agent Plugin and installable client-specific plugins for Claude Code, Cursor, Codex, and Grok — install one of those, not this
Repo: getsentry/sentry-for-ai
Create Sentry alerts using the workflow engine API. Use when asked to create alerts, set up…
Debug and fix a Sentry issue — find it (by link, ID, or search), pull full context (stack…
Make Sentry stack traces readable — upload source maps for JavaScript/TypeScript, or debug…
Instrument an application with Sentry — detect the platform, install and initialize the SDK…
Configure the OpenTelemetry Collector with Sentry Exporter for multi-project routing and…
Set up Sentry releases and deploy tracking — tag events with a version and environment,…