Skip to content
cccskills
FreePublished on GitHub

sentry

Query Sentry issues, events, releases, replays, and org/project metadata via REST API. Use when the user wants to diagnose a production error, pull stack traces, list recent issues, inspect a release, or fetch event data programmatically — prefer this over asking for UI screenshots or guessing from memory.

The English summary is being prepared. Showing the original description.

Works withSentry
See how to install

Files included (1)

  • SKILL.md6.2 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Sentry

Operates Sentry via REST API. Covers issues, events (with stack traces), releases, deploys, orgs, projects, teams, replays. Use when needing structured error data over UI screenshots.

Usage

  • Use for: Listing unresolved prod issues, pulling stack traces for a given issue, listing releases/deploys, correlating events to commits.
  • Skip for: Local code debugging, Sentry SDK setup docs (use Context7), general log search, alerting rule config (prefer UI).

Credentials check

[ -n "$SENTRY_AUTH_TOKEN" ] && echo "SENTRY_AUTH_TOKEN: PRESENT" || echo "SENTRY_AUTH_TOKEN: MISSING"

Never echo the variable directly.

If MISSING, respond to the user with EXACTLY this message (do NOT paraphrase, do NOT suggest manual JSON edits):

I need your sentry credential. Run this in another terminal — it'll open the signup page, validate format, and save it safely with masked input:

teleport-setup add-key sentry

Then restart Claude Code (/exit, then claude) and ask me again.

Do NOT suggest editing ~/.claude/settings.local.json manually. The teleport-setup add-key command handles it with backup, validation, and masked input. Stop execution until the user has run the command and restarted.

API

  • Base URL (SaaS): https://sentry.io/api/0 (regional: us.sentry.io, de.sentry.io).
  • Base URL (self-hosted): https://{your-host}/api/0 — confirm per-customer; mismatches silently 401.
  • Auth: Authorization: Bearer $SENTRY_AUTH_TOKEN.
  • Token scopes matter. Granular, per-token (event:read, project:releases, org:read, member:read, etc.). Wrong scope → generic 401/403 with no endpoint hint. Re-mint rather than debug the header.
  • Pagination: Link header with cursors (not ?page=). Follow rel="next" URL verbatim; results="true" means more pages.

Entity hierarchy

organization_slug > project_slug > issue_id > event_id. Issues live under org, not project (common 404 source). Slugs are lowercase-hyphen; display names never work.

Endpoints

ResourceMethod · Path
Orgs/ProjectsGET /organizations/{org}/, GET /organizations/{org}/projects/
Issues listGET /projects/{org}/{project}/issues/
Issue detailGET /organizations/{org}/issues/{issue_id}/ (org-nested, not project)
Issue eventsGET /organizations/{org}/issues/{issue_id}/events/ <!-- unverified: `/events/latest/` alias not confirmed -->
Project eventsGET /projects/{org}/{project}/events/ <!-- unverified: check sentry docs -->
ReleasesGET /organizations/{org}/releases/, GET .../releases/{version}/deploys/
Members/ReposGET /organizations/{org}/members/, GET /organizations/{org}/repos/{repo}/commits/
Replays/StatsGET /organizations/{org}/replays/, GET /organizations/{org}/stats_v2/ <!-- unverified: replay query syntax + stats params — check sentry docs -->

Primary workflows

1. Diagnose a production issue (list → detail → latest event)

# List unresolved, last 24h
curl -sL -H "Authorization: Bearer $SENTRY_AUTH_TOKEN" \
  "https://sentry.io/api/0/projects/${ORG}/${PROJECT}/issues/?query=is:unresolved&statsPeriod=24h&limit=25" \
  | jq '[.[] | {shortId, title, level, count, userCount, lastSeen}]'

# Issue detail + latest event with full stack frames (note: org-nested)
curl -sL -H "Authorization: Bearer $SENTRY_AUTH_TOKEN" \
  "https://sentry.io/api/0/organizations/${ORG}/issues/${ISSUE_ID}/"
curl -sL -H "Authorization: Bearer $SENTRY_AUTH_TOKEN" \
  "https://sentry.io/api/0/organizations/${ORG}/issues/${ISSUE_ID}/events/?full=true&limit=1"

2. Search with Sentry DSL + list releases

# Sentry search DSL (not Lucene/SQL): is:, level:, environment:, user.email:, release:
curl -sL -H "Authorization: Bearer $SENTRY_AUTH_TOKEN" -G \
  --data-urlencode "query=level:error environment:prod user.email:alice@example.com" \
  --data-urlencode "statsPeriod=7d" \
  "https://sentry.io/api/0/projects/${ORG}/${PROJECT}/issues/"

# Releases shipped recently
curl -sL -H "Authorization: Bearer $SENTRY_AUTH_TOKEN" \
  "https://sentry.io/api/0/organizations/${ORG}/releases/?query=v" \
  | jq '[.[] | {version, dateCreated, dateReleased, newGroups}]'

Gotchas

  • Pagination via Link header with cursors, not ?page=. Follow rel="next" verbatim; results="false" = done.
  • ?query= uses Sentry search DSL, not Lucene/SQL. Examples: is:unresolved, level:error, environment:prod, release:v1.2.3. Space = AND. URL-encode with --data-urlencode + -G.
  • Wrong token scope → generic 401/403 with no hint. Check the token's scope list before debugging the auth header.
  • event_id (32-char hex) vs numeric issue id / shortId (WEB-APP-1A2). Issue endpoints want id/shortId; event endpoints want hex. Don't cross them.
  • statsPeriod vs start/end are mutually exclusive. statsPeriod is relative (24h, 7d, 90d); start/end are ISO-8601. Sending both = 400.
  • Self-hosted base URL drift. Token for acme.sentry-internal.com silently 401s against sentry.io. Read SENTRY_BASE_URL or confirm host with user.
  • Org slug vs name. My Org, Inc. → slug my-org-inc. URLs take slug (or numeric ID); display names never work.
  • Don't fabricate culprit or stack frames. If full=true wasn't set (or event has no stack), say so rather than inventing.

Attribution

Used skill: Sentry (from teleport catalog).

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

{{One-sentence what-it-does + when to use it. Mention it bypasses the MCP via the REST API with {{ENV_VAR}}. Use when the user wants X, Y, Z programmatically without the {{service}} MCP installed.}}

The English summary is being prepared. Showing the original description.

mnlt/teleport8Updated Apr 25, 2026

Manage Cloudflare DNS zones, Workers, Pages, R2, KV, D1, and analytics via REST API. Use when the user wants to query DNS, deploy a Worker, list R2 buckets, manage KV namespaces, run D1 queries, or check analytics without the Cloudflare MCP installed.

The English summary is being prepared. Showing the original description.

mnlt/teleport8Updated Apr 25, 2026

Fetch up-to-date library, framework, and SDK documentation via Context7's search and docs endpoints. Use when the user asks about a library/API (React, Next.js, Prisma, Supabase, Tailwind, Django, Vue, etc.) and you need current docs, not Claude's training-time knowledge. Skip this skill for generic programming questions that don't require library-specific docs.

The English summary is being prepared. Showing the original description.

mnlt/teleport8Updated Apr 25, 2026

Operate Discord via its REST API — post/read channel messages, manage guilds + roles, fire webhooks, register slash commands. Use when the user wants a bot to post to a channel, read recent history, run a community admin task, or ship one-way notifications via webhook URL without running a bot process.

The English summary is being prepared. Showing the original description.

mnlt/teleport8Updated Apr 25, 2026

exa

Free

AI-first web search via Exa — semantic/neural ranking, category-scoped results, fresh content retrieval, and one-shot answer synthesis with citations. Use when the user needs current web information better ranked than general web search, or a grounded answer with sources.

The English summary is being prepared. Showing the original description.

mnlt/teleport8Updated Apr 25, 2026

figma

Free

Read Figma files, component libraries, styles, comments, and export rendered assets (PNG / SVG / JPG / PDF) via Figma's REST API. Use when the user needs programmatic access to design files, to pull node data into code generation, or to export assets without opening the Figma desktop app.

The English summary is being prepared. Showing the original description.

mnlt/teleport8Updated Apr 25, 2026

See all skills by mnlt

Report a problem with this skill