sentry
What it does
This skill lets an agent query your Sentry account using the Sentry CLI, without changing anything. It is for developers who want to see recent errors and issue summaries quickly.
When to use it
- ✓When you want a summary of recent production errors from Sentry.
- ✓When you need to look up a specific Sentry issue or event.
- ✓When you want basic Sentry health data without making any changes.
Skill link
https://github.com/openai/skills/blob/main/skills/.curated/sentry/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“What are the most common unresolved production errors in Sentry from the last 24 hours?”
5 new skills a week. 1 minute to read.
How it works
The agent runs read-only Sentry CLI queries, which handle sign-in and project detection automatically, and then summarizes the results.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Sentry (Read-only Observability)
Quick start
- If not already authenticated, ask the user to run
sentry auth loginor setSENTRY_AUTH_TOKENas an env var. - The CLI auto-detects org/project from DSNs in
.envfiles, source code, config defaults, and directory names. Only specify<org>/<project>if auto-detection fails or picks the wrong target. - Defaults: time range
24h, environmentproduction, limit 20. - Always use
--jsonwhen processing output programmatically. Use--json --fieldsto 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:
- Install the Sentry CLI:
curl https://cli.sentry.dev/install -fsS | bash - Authenticate:
sentry auth login - 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)
sentry issue list \
--query "is:unresolved environment:production" \
--period 24h \
--limit 20 \
--json --fields shortId,title,priority,level,status
If auto-detection doesn't resolve org/project, pass them explicitly:
sentry issue list {your-org}/{your-project} \
--query "is:unresolved environment:production" \
--period 24h \
--limit 20 \
--json
2) Resolve an issue short ID to issue detail
sentry issue view {ABC-123} --json
Use the short ID format (e.g., ABC-123), not the numeric ID.
3) Issue detail
sentry issue view {ABC-123}
4) Issue events
sentry issue events {ABC-123} --limit 20 --json
5) Event detail
sentry event view {your-org}/{your-project}/{event_id} --json
6) AI-powered root cause analysis
sentry issue explain {ABC-123}
7) AI-powered fix plan
sentry issue plan {ABC-123}
Fallback: arbitrary API access
For endpoints not covered by dedicated CLI commands, use sentry api:
sentry api /api/0/organizations/{your-org}/ --method GET
Use sentry schema to discover available API endpoints:
sentry schema issues
Inputs and defaults
org_slug,project_slug: auto-detected by the CLI from DSNs, env vars, and directory names. Override with positional{your-org}/{your-project}if auto-detection fails.time_range: default24h(pass as--period 24h).environment: defaultprod(pass as part of--query, e.g.,environment:production).limit: default 20 (pass as--limit).search_query: optional--queryparameter, uses Sentry search syntax (e.g.,is:unresolved,assigned:me).issue_short_id: use directly withsentry issue view.
Output formatting rules
- Issue list: show title, short_id, status, first_seen, last_seen, count, environments, top_tags; order by most recent.
- Event detail: include culprit, timestamp, environment, release, url.
- If no results, state explicitly.
- Redact PII in output (emails, IPs). Do not print raw stack traces.
- Never echo auth tokens.
Golden test inputs
- Org:
{your-org} - Project:
{your-project} - Issue short ID:
{ABC-123}
Example prompt: "List the top 10 open issues for prod in the last 24h." Expected: ordered list with titles, short IDs, counts, last seen.
FAQ
Can it change or resolve issues in Sentry?
No. The skill is read-only and only runs queries.
What do I need to set up?
You need the Sentry CLI installed and signed in, or a SENTRY_AUTH_TOKEN set locally.
What defaults does it use?
It defaults to a 24-hour time range, the production environment and up to 20 results.
Details
Original description by the author
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.
repo: openai/skills
Popularity
- GitHub stars
- 28k
- Ranking position
- #9861
- License
- —
- Updated
- 10/28/2026
Comments
- …
More skills from this repository
aspnet-core
28kHelps your agent build, review or upgrade ASP.NET Core web apps, choosing the right app type and following current Microsoft guidance for .NET.
chatgpt-apps
28kHelps your agent build a ChatGPT app that pairs an MCP server with a widget UI, covering tool design, UI resources, metadata and local setup.
cli-creator
28kHelps your agent turn API docs, a spec or existing scripts into a reusable command-line tool that runs from any folder and returns stable JSON.
define-goal
28kHelps your agent turn a vague intention into a clear, measurable goal with success criteria, scope and a stop condition before work begins.
Similar skills
openclaw-update
394kHelps your agent update an existing OpenClaw Gateway, choosing the update method that fits how it was installed and keeping your session working.
diagnose-gateway
394kHelps your agent find out why your OpenClaw Gateway is failing by checking settings, channels, and ports without changing anything.
crabbox-apps
394kHelps your agent open and run an app on a temporary cloud machine, then show its view in your chat side panel.