# Sentry (Read-only) (sentry)

> Uses the sentry CLI to read Sentry issues and events, summarize recent production errors and pull basic health data, read-only.

- Category: [Monitoring & Ops](https://www.myskills.tools/en/categories/monitoring-ops/)
- Source: Official · OpenAI
- Repository: https://github.com/openai/skills/tree/main/skills/.curated/sentry (commit d4a9df5)
- SKILL.md: https://github.com/openai/skills/blob/main/skills/.curated/sentry/SKILL.md
- Install command: `npx skills add openai/skills --skill sentry`
- License: Apache-2.0
- Compatible with: Codex
- Permissions: read-repo ✓, write-files ✗, shell ✓, network ✓
- Status: Scan passed
- A rule scan cannot catch every risk. Read this skill's SKILL.md and check its permissions before installing.
- ⚠ Requires Sentry credentials (sentry auth login or SENTRY_AUTH_TOKEN) and an installed sentry CLI.

## Core rule

Perform read-only queries only, never echo auth tokens, and never ask the user to paste a token into chat.

## Execution Phases

1. **Check auth** — If not authenticated, ask the user to run sentry auth login or set SENTRY_AUTH_TOKEN locally; give install steps if the CLI is missing.
2. **Query issues** — By default list 20 unresolved production issues from the last 24h with --json, letting the CLI auto-detect org and project.
3. **Drill into details** — View issue details and events by short ID, use issue explain or issue plan for analysis, and sentry api for other endpoints.
4. **Format the output** — List title, short ID, status, counts and more by recency, redacting emails and IPs, omitting raw stack traces, and stating when nothing is found.

## Permissions (summarised from SKILL.md)

| Capability | Needed | Details |
|---|---|---|
| File writes | Not required | A read-only skill; it does not create or modify files. |
| Command execution | Limited | Runs only sentry CLI query commands such as issue list, issue view, event view, schema and GET api calls. |
| Network outbound | Limited | Accesses only the Sentry API through the sentry CLI. |

## SKILL.md frontmatter (YAML)

```yaml
---
name: "sentry"
description: "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."
---
```

Home: https://www.myskills.tools/en/ · URL: https://www.myskills.tools/en/skills/sentry/
