Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Fetch and analyze Sentry issues, events, transactions, and logs. Helps agents debug errors, find root causes, and understand what happened at specific times.
.claude/skills/dicklesworthstone-sentry/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-04 | ✗→✓ | ▲ Improved | 7% | 0% |
| case-05 | ✗→✓ | ▲ Improved | 16% | 0% |
| case-07 | ✗→✓ | ▲ Improved | -13% | 0% |
| case-08 | ✗→✓ | ▲ Improved | 109% | 0% |
| case-11 | ✗→✓ | ▲ Improved | 159% | 0% |
Access Sentry data via the API for debugging and investigation. Uses auth token from ~/.sentryclirc.
| Task | Command | |------|---------| | Find errors on a date | search-events.js --org X --start 2025-12-23T15:00:00 --level error | | List open issues | list-issues.js --org X --status unresolved | | Get issue details | fetch-issue.js <issue-id-or-url> --latest | | Get event details | fetch-event.js <event-id> --org X --project Y | | Search logs | search-logs.js --org X --project Y "level:error" |
Find events around a specific timestamp:
bash# Find all events in a 2-hour window ./scripts/search-events.js --org myorg --project backend \ --start 2025-12-23T15:00:00 --end 2025-12-23T17:00:00 # Filter to just errors ./scripts/search-events.js --org myorg --start 2025-12-23T15:00:00 \ --level error # Find a specific transaction type ./scripts/search-events.js --org myorg --start 2025-12-23T15:00:00 \ --transaction process-incoming-email
bash# List unresolved errors from last 24 hours ./scripts/list-issues.js --org myorg --status unresolved --level error --period 24h # Find high-frequency issues ./scripts/list-issues.js --org myorg --query "times_seen:>50" --sort freq # Issues affecting users ./scripts/list-issues.js --org myorg --query "is:unresolved has:user" --sort user
bash# Get issue with latest stack trace ./scripts/fetch-issue.js 5765604106 --latest ./scripts/fetch-issue.js https://sentry.io/organizations/myorg/issues/123/ --latest ./scripts/fetch-issue.js MYPROJ-123 --org myorg --latest # Get specific event with all breadcrumbs ./scripts/fetch-event.js abc123def456 --org myorg --project backend --breadcrumbs
bash# Find by custom tag (e.g., thread_id, user_id) ./scripts/search-events.js --org myorg --tag thread_id:th_abc123 # Find by user email ./scripts/search-events.js --org myorg --query "user.email:*@example.com"
bash./scripts/fetch-issue.js <issue-id-or-url> [options]
Get details about a specific issue (grouped error).
Accepts:
5765604106https://sentry.io/organizations/sentry/issues/5765604106/https://myorg.sentry.io/issues/5765604106/JAVASCRIPT-ABC (requires --org flag)Options:
--latest - Include the latest event with full stack trace--org <org> - Organization slug (for short IDs)--json - Output raw JSONOutput includes:
--latest: stack trace, request details, breadcrumbs, runtime contextbash./scripts/fetch-event.js <event-id> --org <org> --project <project> [options]
Get full details of a specific event by its ID.
Options:
--org, -o <org> - Organization slug (required)--project, -p <project> - Project slug (required)--breadcrumbs, -b - Show all breadcrumbs (default: last 30)--spans - Show span tree for transactions--json - Output raw JSONOutput includes:
--spans)bash./scripts/search-events.js [options]
Search for events (transactions, errors) using Sentry Discover.
Time Range Options:
--period, -t <period> - Relative time (24h, 7d, 14d)--start <datetime> - Start time (ISO 8601: 2025-12-23T15:00:00)--end <datetime> - End time (ISO 8601)Filter Options:
--org, -o <org> - Organization slug (required)--project, -p <project> - Project slug or ID--query, -q <query> - Discover search query--transaction <name> - Transaction name filter--tag <key:value> - Tag filter (repeatable)--level <level> - Level filter (error, warning, info)--limit, -n <n> - Max results (default: 25, max: 100)--fields <fields> - Comma-separated fields to includeQuery Syntax:
transaction:process-* Wildcard transaction match
level:error Filter by level
user.email:foo@bar.com Filter by user
environment:production Filter by environment
has:stack.filename Has stack tracebash./scripts/list-issues.js [options]
List and search issues (grouped errors) in a project.
Options:
--org, -o <org> - Organization slug (required)--project, -p <project> - Project slug (repeatable)--query, -q <query> - Issue search query--status <status> - unresolved, resolved, ignored--level <level> - error, warning, info, fatal--period, -t <period> - Time period (default: 14d)--limit, -n <n> - Max results (default: 25)--sort <sort> - date, new, priority, freq, user--json - Output raw JSONQuery Syntax:
is:unresolved Status filter
is:assigned Has assignee
assigned:me Assigned to current user
level:error Level filter
firstSeen:+7d First seen > 7 days ago
lastSeen:-24h Last seen within 24h
times_seen:>100 Event count filter
has:user Has user context
error.handled:0 Unhandled errors onlybash./scripts/search-logs.js [query|url] [options]
Search for logs in Sentry's Logs Explorer.
Options:
--org, -o <org> - Organization slug (required unless URL provided)--project, -p <project> - Filter by project slug or ID--period, -t <period> - Time period (default: 24h)--limit, -n <n> - Max results (default: 100, max: 1000)--json - Output raw JSONQuery Syntax:
level:error Filter by level (trace, debug, info, warn, error, fatal)
message:*timeout* Search message text with wildcards
trace:abc123 Filter by trace ID
project:my-project Filter by project slugAccepts Sentry URLs:
bash./scripts/search-logs.js "https://myorg.sentry.io/explore/logs/?project=123&statsPeriod=7d"
search-events.js with a time range first, then drill into specific events--breadcrumbs flag on fetch-event.js shows the full history of what happened before an errorlist-issues.js --sort freq to find frequently occurring problemsthread_id, user_id, request_id help correlate events| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→fail | 10,664 | 9,767 | -8% | 1 | 1 | 0% | 1,615 | 2,433 | +51% | 0 | 0 | — |
case-02 | fail→fail | 10,538 | 6,658 | -37% | 1 | 1 | 0% | 1,056 | 2,564 | +143% | 0 | 0 | — |
case-03 | fail→fail | 12,047 | 13,405 | +11% | 1 | 1 | 0% | 908 | 2,798 | +208% | 0 | 0 | — |
case-04 | fail→pass | 13,739 | 2,648 | -81% | 1 | 1 | 0% | 2,455 | 2,623 | +7% | 0 | 0 | — |
case-05 | fail→pass | 13,097 | 3,145 | -76% | 1 | 1 | 0% | 2,430 | 2,825 | +16% | 0 | 0 | — |
case-06 | fail→fail | 15,794 | 7,554 | -52% | 1 | 1 | 0% | 2,321 | 2,640 | +14% | 0 | 0 | — |
case-07 | fail→pass | 18,108 | 3,175 | -82% | 1 | 1 | 0% | 3,147 | 2,733 | -13% | 0 | 0 | — |
case-08 | fail→pass | 7,789 | 8,047 | +3% | 1 | 1 | 0% | 1,338 | 2,793 | +109% | 0 | 0 | — |
case-09 | fail→fail | 6,790 | 6,498 | -4% | 1 | 1 | 0% | 991 | 2,476 | +150% | 0 | 0 | — |
case-10 | fail→fail | 12,097 | 6,604 | -45% | 1 | 1 | 0% | 1,961 | 2,709 | +38% | 0 | 0 | — |
case-11 | fail→pass | 6,736 | 8,179 | +21% | 1 | 1 | 0% | 1,164 | 3,020 | +159% | 0 | 0 | — |
case-12 | fail→pass | 10,173 | 4,410 | -57% | 1 | 1 | 0% | 1,745 | 2,983 | +71% | 0 | 0 | — |
case-13 | fail→pass | 37,785 | 4,983 | -87% | 1 | 1 | 0% | 1,427 | 3,008 | +111% | 0 | 0 | — |
case-14 | fail→fail | 7,982 | 8,480 | +6% | 1 | 1 | 0% | 1,344 | 2,678 | +99% | 0 | 0 | — |
case-15 | fail→fail | 6,201 | 9,776 | +58% | 1 | 1 | 0% | 939 | 2,457 | +162% | 0 | 0 | — |
case-16 | fail→pass | 7,444 | 6,698 | -10% | 1 | 1 | 0% | 1,515 | 3,179 | +110% | 0 | 0 | — |
case-17 | fail→fail | 8,648 | 5,880 | -32% | 1 | 1 | 0% | 756 | 2,511 | +232% | 0 | 0 | — |
case-18 | fail→pass | 11,719 | 4,016 | -66% | 1 | 1 | 0% | 2,082 | 2,785 | +34% | 0 | 0 | — |
case-19 | fail→fail | 7,204 | 6,919 | -4% | 1 | 1 | 0% | 1,233 | 2,426 | +97% | 0 | 0 | — |
case-20 | pass→fail | 10,869 | 8,662 | -20% | 1 | 1 | 0% | 1,877 | 3,526 | +88% | 0 | 0 | — |
case-21 | pass→pass | 13,342 | 14,369 | +8% | 1 | 1 | 0% | 2,437 | 4,582 | +88% | 0 | 0 | — |
case-22 | pass→pass | 6,951 | 7,111 | +2% | 1 | 1 | 0% | 1,489 | 3,594 | +141% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted, and 12 counted toward the lift figure. The other 10 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of +36 percentage points is the difference between those two pass rates over the 12 comparable cases. 3 cases got worse with the skill loaded, and they are included in that figure.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.