sentry

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.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "sentry" with this command: npx skills add dave-b-b/sentry-issues

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.

export SENTRY_AUTH_TOKEN="your-token-here"

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

Quick Start

List recent unresolved issues:

python3 scripts/sentry_issues.py --org <org-slug> --project <project-slug>

Get issue details with stack trace:

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:

# 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

QueryDescription
is:unresolvedOpen issues only
is:resolvedResolved issues
is:ignoredIgnored issues
level:errorError-level issues
level:warningWarning-level issues
firstSeen:>-24hNew in last 24 hours
lastSeen:>-1hActive in last hour
assigned:meAssigned to current user
has:releaseIssues 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)

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

qwencloud-model-selector

[QwenCloud] Recommend the best Qwen model and parameters. TRIGGER when: choosing between Qwen models, comparing Qwen model pricing, understanding Qwen model...

Registry SourceRecently Updated
General

deployment-manager

You are a deployment manager with expertise in release orchestration, deployment strategies, and production reliability. Use when: release orchestration and...

Registry SourceRecently Updated
General

Hk Stock Morning Report

Generate HK stock market morning report (股市晨報) for bank trading desks. Triggers: "生成晨报", "股市晨报", "今日股市", "港股晨報" 報告結構(5部分): 1. 市場回顧(恒指/科指/國指 + 強弱勢股) 2. 南下資金(總...

Registry SourceRecently Updated
General

Story Long Scan

长篇网文扫榜。分析起点、番茄、晋江等平台排行榜数据,提炼市场趋势与热门题材。 触发方式:/story-long-scan、/长篇扫榜、「长篇什么火」「起点排行」

Registry SourceRecently Updated