Sentry Integration
SkillDatabases & dataLets your agent check Sentry error reports and trends to explain what's breaking in your apps.
Use Sentry Integration in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add Sentry Integration and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use the Sentry Integration skill
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; ahel provides instructions and does not run this skill.
No other account needed.
Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
About this skill
Track external Sentry errors and issues, and route first-party captured errors to Agent-Native Analytics. Use this skill when the user asks about errors, exceptions, error trends, or application health.
What this skill tells your AI
The instructions your AI receives, as published by builderio/agent-native in templates/analytics/.builder/skills/sentry/SKILL.md and read by ahel’s review.
Connection
- Base URL:
https://sentry.io/api/0 - Org slug: discovered from the token's accessible organizations by default. Configure
SENTRY_ORG_SLUGor passorgSlugto thesentryaction when a user needs a specific Sentry organization. - Auth:
Authorization: Bearer $SENTRY_SERVER_TOKEN(internal integration token, NOT user auth token or DSN) - Env vars:
SENTRY_SERVER_TOKEN(falls back toSENTRY_AUTH_TOKEN) - Caching: 5-minute in-memory cache, max 100 entries
- Scopes needed:
alerts:read,event:read,org:read,project:distribution,project:read,team:read
Server Lib & API Routes
- File:
server/lib/sentry.ts
Exported Functions
| Function | Description |
|---|---|
listProjects() | List all projects in the org |
listIssues(projectSlug?, query?, statsPeriod?) | List issues (project-scoped or org-wide) |
getIssueEvents(issueId) | Events for a specific issue |
getOrganizationStats(statsPeriod?, category?) | Org-level error stats over time |
Agent Action
Use sentry for all agent-facing Sentry work. Do not call /api/sentry/*
directly from the agent.
| Mode | Args | Description |
|---|---|---|
organizations | List organizations visible to the token | |
issues | statsPeriod, project, query, orgSlug | Frequent issues, sorted by frequency |
projects | orgSlug | List projects |
issue-events | issueId, orgSlug | Events for a specific issue |
stats | statsPeriod, category, orgSlug | Org-level stats |
API Routes
| Route | Description |
|---|---|
GET /api/sentry/projects | List projects |
GET /api/sentry/issues | List issues |
GET /api/sentry/issue-events | Events for an issue |
GET /api/sentry/stats | Org error stats |
Dashboard
/adhoc/sentry— Sentry Error Health dashboard
First-party Agent-Native Analytics errors
Agent-Native Analytics has its own Sentry-style error store, separate from the
external Sentry connection. Browser configureTracking() and server
captureError() can both emit $exception events when their Analytics keys are
configured; Analytics groups them under Monitoring -> Errors without an
external Sentry credential.
Use these authenticated actions for first-party issues:
| Action | Purpose |
|---|---|
list-error-issues | Find grouped captured issues, filtered by status or search. |
get-error-issue | Read occurrences, stacks, tags, breadcrumbs, and replay links. |
resolve-error-issue | Resolve, ignore, or reopen an issue after triage. |
Use query-agent-native-analytics only for bounded analytics_events or
$ai_generation correlation; it does not expose the error_issues or
error_events tables.
Key Patterns & Gotchas
- Token type: This is a custom/internal integration token from Sentry's integration settings TOKEN table (not the Client Secret)
getOrganizationStatsusesstats_v2endpoint withfield=sum(quantity),groupBy=outcome, default categoryerror- If the default org is wrong, pass
orgSlugexplicitly in the action call.
Signals
- GitHub stars
- 7k
- Forks
- 635
- Last commit
- Oct 2026
Advanced
- Item type
- skill
- Key
sentry-builderio- Source
- github.com/builderio/agent-native
github.com/builderio/agent-native
More in Databases & data
Skill · supabase
More in Databases & dataconnect
Skill · composiohq
More in Databases & dataanalytics
Skill · coreyhaines31
More in Databases & dataazure-kusto
Skill · microsoft
More in Databases & dataagentic-os
Skill · affaan-m
More in Databases & dataai-regression-testing
Skill · affaan-m
More in Databases & data