Sentry skill for Claude
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.
Sentry SKILL.md
A preview of the skill file from openai/skills.
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" \
How to install Sentry
Claude Code
Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):
npx degit openai/skills/skills/.curated/sentry#main ~/.claude/skills/sentryCodex
npx degit openai/skills/skills/.curated/sentry#main ~/.codex/skills/sentryClaude.ai and Claude Desktop
Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.
Frequently asked questions
+What does the Sentry skill do?
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.
+How do I install Sentry in Claude Code?
Copy the skill folder into ~/.claude/skills/sentry, for example with "npx degit openai/skills/skills/.curated/sentry#main ~/.claude/skills/sentry". Claude Code loads it automatically and uses it when a task matches.
+Does Sentry work with ChatGPT or Codex?
Yes. Sentry uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/sentry. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.
+Is Sentry free?
Sentry is published on GitHub by openai. The repository does not declare a license, so check with the author before reusing it.