Sentry
Query Sentry errors, triage issues, and check release health via REST API. Use when debugging exceptions, investigating crash reports, triaging error issues, checking release stability, or any error monitoring and issue tracking task. Also triggers on mentions of Sentry, errors, exceptions, crashes, stack traces, or error rates.From its SKILL.md
npx -y skills add addxai/enterprise-harness-engineering --skill sentryAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- reads credentialsReads from 1 credential source: `SENTRY_AUTH_TOKEN`.
- fetches URLsInstructs the agent to fetch 1 URL, including /api/0/organizations/sentry/releases/?per_page=20&sort=date.
SKILL.md
4.5 KB, ~1.0k tokens by cl100k_base, as published. Nobody here has run it
sentry
Query errors, investigate exceptions, track issues, and monitor release health via the Sentry REST API. API usage is referenced through Context7 MCP; only company-specific rules are documented here.
Description
Applicable scenarios: production error investigation, issue triage, release health checks, crash analysis.
- Internal URL:
https://sentry-us.example.com(self-hosted Sentry, API base path/api/0/) - Organization slug:
sentry
| Variable | Description | Required |
|---|---|---|
SENTRY_AUTH_TOKEN | Organization Token (Settings -> Organization Tokens -> Create) | Yes |
Authentication: -H "Authorization: Bearer $SENTRY_AUTH_TOKEN"
The current Organization Token only has Release-related permissions by default. To query Issues/Events, create an Internal Integration in Developer Settings and enable
Issue & Event: Read,Project: Read,Organization: Read.
Rules
Project Structure (7 projects)
| Project slug | Product | Platform | Description |
|---|---|---|---|
app-android | Main App | Android | Primary consumer app (most frequent releases) |
app-ios | Main App | iOS | Primary consumer app |
backend-service | Backend | Java | Backend service (shares releases with consumer-service) |
consumer-service | Backend | Java | Backend consumer service |
app2-android | Sub-brand App | Android | Sub-brand app |
app2-ios | Sub-brand App | iOS | Sub-brand app |
app3-ios | Security App | iOS | Security app |
Release Version Naming Convention
Three formats, distinguished by platform:
| Platform | Format | Example |
|---|---|---|
| Android | {major}.{minor}.{patch}({commit_hash}) | 2.85.0(b4f16c) |
| iOS | {bundle_id}@{version}+{build_number} | [email protected]+30713 |
| Backend | {YYYYMMDD}@{COMMIT_HASH} | 20260212@3A5AE26 |
iOS Bundle ID Reference:
| Bundle ID | Product |
|---|---|
com.example.app | Main App |
com.example.guard | Guard App |
com.example.app2 | Sub-brand App |
com.example.app3 | Security App |
Release Frequency
- app-android: Multiple builds per day (CI auto-reports)
- app-ios: Several times per week
- backend-service / consumer-service: Approximately daily deployments, version numbers include date (
YYYYMMDD@HASH), both projects share the same release - app2-*: Lower frequency
Hard Rules
- Look before you act: Write operations (resolve / ignore / assign) must be preceded by reviewing the stack trace and impact scope
- PII protection: Error context may contain user data; never share raw stack traces externally or expose user information
Common Workflows
- Investigate production errors: Query unresolved issues for a project -> sort by time -> view latest event stack trace -> locate code line -> provide fix suggestions
- Post-deployment health check: Query latest release -> check for new issues -> confirm Crash Free Rate -> continue monitoring for 30min
- Batch triage: Filter by project + environment -> review stack traces one by one -> resolve / ignore / assign
- Release tracking:
/api/0/organizations/sentry/releases/?per_page=20&sort=date-> check latest releases
Examples
Bad
# Resolving without investigation
User: Help me handle the errors on Sentry
AI: I've resolved all unresolved issues for you. <- Did not review stack traces and impact scope
# PII leakage
AI: The stack trace shows user email [email protected] triggered the exception... <- Should not expose user information
Good
# Post-deployment check
User: Backend just released a new version, check if there are new errors on Sentry
AI: Querying latest Release...
1. Found 20260303@A1B2C3D, linked to backend-service and consumer-service
2. Checking issues associated with this Release...
3. No new issues found, recommend continuing to monitor for 30min
# Client crash investigation
User: app-android latest version 2.85.0 has user reports of crashes
AI: Querying app-android project Release 2.85.0 related issues...
1. Found latest build 2.85.0(b4f16c)
2. Viewing unresolved issues, sorted by affected user count
3. Viewing top issue stack trace -> locating code
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.
Gives 0 of the 12 instructions most log analysis skills give in ~1.0k tokens
Counted across 325 of the 341 authors here whose files we hold, read 2026-09-06
- Use structured JSON loggingin 32 of 325, across 30 files
- Link every alert to a runbookin 15 of 325, across 13 files
- Alert on symptoms, not causesin 11 of 325, across 10 files
- Include correlation IDs in every log linein 10 of 325
- Propagate trace context across service boundariesin 9 of 325, across 8 files
- Include request IDs for correlationin 8 of 325, across 6 files
- Include trace_id in every structured log entryin 8 of 325, across 7 files
- Include request and user context in every log entryin 8 of 325
- Correlate logs and traces with shared trace IDin 7 of 325, across 6 files
- Record exceptions and set span status on errorsin 7 of 325
- Confirm connection is ACTIVE before running workflowsin 6 of 325, across 3 files
- Call RUBE_SEARCH_TOOLS first for current schemasin 6 of 325, across 3 files
Said here and by no other author read
- Review stack traces and impact scope before write operations
- Query unresolved issues for the project sorted by time
- View the latest event stack trace to locate the code
- Provide fix suggestions after locating the error
- Check the latest release for new issues after deployment
- Confirm the Crash Free Rate on each release
Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.