Atlas / Skills / builderio / Sentry

SentryCAUTION

skills/builderio/sentry

A framework for building agentic apps

Verdict
CAUTION
Grade
B
Trust score
89 /100
Version
—
Hosts
—
License
—
Stars
7,191
01

Overview

A framework for building agentic apps

Read from source at commit d31edd75948aOBSERVED · 2026-10-14
Advertisement
02

What it tells the agent

The instruction file, verbatim from the audited commit — this is the text the model reads, and the surface the audit's instruction layer examines. Quoted here so you can judge it without cloning anything.

---
name: sentry
description: >
  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.
---

# Sentry Integration

## Connection

- **Base URL**: `https://sentry.io/api/0`
- **Org slug**: discovered from the token's accessible organizations by default. Configure `SENTRY_ORG_SLUG` or pass `orgSlug` to the `sentry` action 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 to `SENTRY_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)
- `getOrganizationStats` uses `stats_v2` endpoint with `field=sum(quantity)`, `groupBy=outcome`, default category `error`
- If the default org is wrong, pass `orgSlug` explicitly in the action call.
03

Trust audit

CAUTIONgrade B · trust 89/100 Install with care. The audit found things worth knowing before you trust its output.

LayerWhat it checksResult
L0Provenance & inventoryWARN
L1Static analysis of the codeNA
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
none-observed
Shell
none-observed
Dependencies
pinned
Secrets in source
none-found

Findings (5)

MEDIUMInventory / provenance · inv.symlink · CWE-1104
.agents/skills/an
.agents/skills/an
Why it matters. link not followed
MEDIUMInventory / provenance · inv.symlink · CWE-1104
.agents/skills/content-product-development
.agents/skills/content-product-development
Why it matters. link not followed
MEDIUMInventory / provenance · inv.symlink · CWE-1104
.agents/skills/design-exploration
.agents/skills/design-exploration
Why it matters. link not followed
MEDIUMInventory / provenance · inv.symlink · CWE-1104
.agents/skills/turn-into-app
.agents/skills/turn-into-app
Why it matters. link not followed
MEDIUMInventory / provenance · inv.symlink · CWE-1104
.agents/skills/visual-edit
.agents/skills/visual-edit
Why it matters. link not followed

Gates applied: no_behavioural_pass.

Audited 2026-10-14 · audit v0.4.1 · source sha d31edd75948afull audit observations/trust-audit/skill/builderio__sentry.json · Report an issue / request a re-scan
04

Audit history

Every audit this skill has had.

DateSourceVerdictGradeScoreChange
2026-10-14d31edd75948aCAUTIONB89first audit
05

Questions

What does the Sentry skill do?

A framework for building agentic apps

Is Sentry safe to install?

With care. The audit graded it B (89/100) and found 5 things worth knowing before you trust this skill, listed below with the exact line each was found on.

What can Sentry access on my machine?

The audit observed no filesystem, network or shell use at all in its source.

How current is this page?

The grade is for one exact copy of the source (d31edd75948a), read on 2026-10-14. The repository is watched, and a new audit runs when it changes — this is the first audit.

Add this badge to your README

Shows this page's audit result and links back to it. It updates when the audit does.

ModelsAtlas audit badge

Markdown
[![ModelsAtlas audit: Sentry](https://modelsatlas.com/skills/builderio/sentry/badge.svg)](https://modelsatlas.com/skills/builderio/sentry/)

Not your listing, or something out of date? Claim or update your listing.

Advertisement