Skip to content
Back to skills

Sentry Issues

ASecurity

Fetch and analyze issues from Sentry error tracking. Use when asked to check Sentry errors, pull issues, investigate exceptions, review error trends, or get crash reports from a Sentry project.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
researchpythonbashapi

Works with

  • api

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned November 11, 2026

npx -y skills add johnalbertini14-glitch/openclaw-skills --skill sentry-issues --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sentry Issues?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Sentry Issues
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/johnalbertini14-glitch-sentry-issues/badge)](https://www.skillsdirectory.com/skills/johnalbertini14-glitch-sentry-issues)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: sentry
description: Fetch and analyze issues from Sentry error tracking. Use when asked to check Sentry errors, pull issues, investigate exceptions, review error trends, or get crash reports from a Sentry project.
version: 1.0.0
---

# Sentry Issue Tracker

Fetch and analyze issues from Sentry using the Sentry API.

## Prerequisites

- Sentry API token with `project:read` and `event:read` scopes
- Organization slug and project slug

## Authentication

Set the `SENTRY_AUTH_TOKEN` environment variable, or pass `--token` to the script.

```bash
export SENTRY_AUTH_TOKEN="your-token-here"
```

To create a token: Sentry → Settings → Auth Tokens → Create New Token

## Quick Start

List recent unresolved issues:
```bash
python3 scripts/sentry_issues.py --org <org-slug> --project <project-slug>
```

Get issue details with stack trace:
```bash
python3 scripts/sentry_issues.py --org <org-slug> --project <project-slug> --issue <issue-id> --details
```

## Script Reference

### `scripts/sentry_issues.py`

Fetches issues from Sentry API.

**Arguments:**
- `--org` (required): Sentry organization slug
- `--project` (required): Project slug  
- `--token`: Auth token (defaults to `SENTRY_AUTH_TOKEN` env var)
- `--issue`: Specific issue ID to fetch details
- `--details`: Include stack trace and event details
- `--query`: Filter query (e.g., `is:unresolved`, `level:error`)
- `--limit`: Max issues to return (default: 25)
- `--sort`: Sort by `date`, `new`, `priority`, `freq`, or `user` (default: date)

**Examples:**
```bash
# List 10 most recent unresolved errors
python3 scripts/sentry_issues.py --org myorg --project myproject --query "is:unresolved level:error" --limit 10

# Get details for specific issue
python3 scripts/sentry_issues.py --org myorg --project myproject --issue 12345 --details

# Sort by most users affected
python3 scripts/sentry_issues.py --org myorg --project myproject --sort user --limit 5
```

## Common Queries

| Query | Description |
|-------|-------------|
| `is:unresolved` | Open issues only |
| `is:resolved` | Resolved issues |
| `is:ignored` | Ignored issues |
| `level:error` | Error-level issues |
| `level:warning` | Warning-level issues |
| `firstSeen:>-24h` | New in last 24 hours |
| `lastSeen:>-1h` | Active in last hour |
| `assigned:me` | Assigned to current user |
| `has:release` | Issues with release info |

Combine queries: `is:unresolved level:error firstSeen:>-24h`

## Output Format

Issues are returned as JSON with key fields:
- `id`: Issue ID for fetching details
- `title`: Error message/title
- `culprit`: Source location
- `count`: Number of events
- `userCount`: Affected users
- `firstSeen` / `lastSeen`: Timestamps
- `level`: error/warning/info
- `status`: unresolved/resolved/ignored

When `--details` is used, includes:
- Full stack trace
- Latest event context
- Tags and metadata
- Browser/OS info (if available)

Files in this skill

  • SKILL.md2.8 KB
  • _meta.json280 B
  • scripts/sentry_issues.py6.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in research →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.