Agent skill · data analytics · openai

sentry

Use when the user asks to inspect Sentry issues or events, summarize recent production errors, or pull basic Sentry health data via the Sentry CLI; perform read-only queries using the `sentry` command.

Why this skill is useful

Provides specific commands and patterns for querying Sentry issues and events that the AI wouldn't reliably generate on its own.

What it needs

Requires sentry installed locally. About 2k tokens when loaded. Last updated 2026-07-14. 24,594 stars on the source repository.

What this skill does

Sentry (Read-only Observability) Quick start If not already authenticated, ask the user to run sentry auth login or set SENTRYAUTHTOKEN as an env var. The CLI auto-detects org/project from DSNs in .env files, source code, config defaults, and directory names. Only specify <org>/<project> if auto-detection fails or picks the wrong target. Defaults: time range 24h, environment production, limit 20. Always use --json when processing output programmatically. Use --json --fields to select specific fields and reduce output size. Use sentry schema <resource> to discover API endpoints quickly. If the CLI is not installed, give the user these steps: 1. Install the Sentry CLI: curl https://cli.sentry.dev/install -fsS bash 2. Authenticate: sentry auth login 3. Confirm authentication: sentry auth status Never ask the user to paste the full token in chat. Ask them to set it locally and confirm when ready. Core tasks (use Sentry CLI) Use the sentry CLI for all queries. It handles authentication, org/project detection, pagination, and retries automatically. Use --json for machine-readable output. 1) List issues (ordered by most recent) If auto-detection doesn't resolve org/project, pass them explicitly: 2) Resolve an issue short ID to issue detail Use the short ID format (e.g., ABC-123), not the numeric ID. 3) Issue detail 4) Issue events 5) Event detail 6) AI-powered root cause analysis 7) AI-powered fix plan Fallback: arbitrary API access For endpoints not covered by dedicated CLI commands, use sentry api: Use sentry schema to discover available API endpoints: Inputs and defaults orgslug, projectslug: auto-detected by the CLI from DSNs, env vars, and directory names. Override with positional {your-org}/{your-project} if auto-detection fails. timerange: default 24h (pass as --period 24h). environment: default prod (pass as part of --query, e.g., environment:production). limit: default 20 (pass as --limit). …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills openai/sentry

View the source on GitHub

Browse the @skills marketplace