✓ Verified
💻 Development
✓ Enhanced Data
Native Sentry
Read Sentry issues, events, and production errors via the Sentry REST API.
- Rating
- 4.5 (425 reviews)
- Downloads
- 12,407 downloads
- Version
- 1.0.0
Overview
Read Sentry issues, events, and production errors via the Sentry REST API.
Complete Documentation
View Source →
Sentry (Read-only)
Read production errors and issues from Sentry.
Setup
bash
# Check token is set (does not print the value)
[ -n "$SENTRY_AUTH_TOKEN" ] && echo "SENTRY_AUTH_TOKEN: set" || echo "SENTRY_AUTH_TOKEN: MISSING"
echo "ORG=${SENTRY_ORG:-not set}"
echo "PROJECT=${SENTRY_PROJECT:-not set}"
If SENTRY_AUTH_TOKEN is missing:
- Go to https://sentry.io/settings/account/api/auth-tokens/
- Create a token with scopes:
project:read,event:read,org:read - Set
SENTRY_AUTH_TOKENin your environment
bash
export SENTRY_ORG=your-org-slug
export SENTRY_PROJECT=your-project-slug
Script path
bash
SKILL_DIR="$(python3 -c "import os; print(os.path.dirname(os.path.realpath('$0')))" 2>/dev/null || echo "$HOME/.claude/skills/sentry")"
SENTRY_API="$SKILL_DIR/scripts/sentry_api.py"
Commands
List recent issues
bash
python3 "$SENTRY_API" list-issues \
--org "$SENTRY_ORG" \
--project "$SENTRY_PROJECT" \
--time-range 24h \
--environment prod \
--limit 20 \
--query "is:unresolved"
Get issue detail
bash
python3 "$SENTRY_API" issue-detail ISSUE_ID
Get events for an issue
bash
python3 "$SENTRY_API" issue-events ISSUE_ID --limit 10
Get event detail (no stack traces by default)
bash
python3 "$SENTRY_API" event-detail \
--org "$SENTRY_ORG" \
--project "$SENTRY_PROJECT" \
EVENT_ID
Add --include-entries to include stack traces.
Resolve a short ID (e.g. ABC-123) to issue ID
bash
python3 "$SENTRY_API" list-issues \
--org "$SENTRY_ORG" \
--project "$SENTRY_PROJECT" \
--query "ABC-123" \
--limit 1
Parameters
| Flag | Default | Description |
|---|---|---|
| --org | $SENTRY_ORG | Org slug |
| --project | $SENTRY_PROJECT | Project slug |
| --time-range | 24h | Stats period (e.g. 7d, 30d) |
| --environment | prod | Environment filter |
| --limit | 20 | Max results (max 50) |
| --query | Sentry search query | |
| --base-url | https://sentry.io | For self-hosted Sentry |
| --no-redact | Disable PII redaction — avoid in shared/logged environments |
Notes
- PII (emails, IPs) is redacted by default
- Stack traces are excluded from event detail by default — add
--include-entriesonly when you need them and trust the environment --no-redactdisables PII redaction — avoid in shared or logged environments- For self-hosted Sentry, set
SENTRY_BASE_URLor use--base-url
Installation
Terminal bash
openclaw install native-sentry
Copied!
💻Code Examples
echo "PROJECT=${SENTRY_PROJECT:-not set}"
echo-projectsentryproject-not-set.txt
If `SENTRY_AUTH_TOKEN` is missing:
1. Go to https://sentry.io/settings/account/api/auth-tokens/
2. Create a token with scopes: `project:read`, `event:read`, `org:read`
3. Set `SENTRY_AUTH_TOKEN` in your environment
Set optional defaults to avoid passing flags every time:SENTRY_API="$SKILL_DIR/scripts/sentry_api.py"
sentryapiskilldirscriptssentryapipy.txt
## Commands
### List recent issuesEVENT_ID
-eventid.txt
Add `--include-entries` to include stack traces.
### Resolve a short ID (e.g. ABC-123) to issue IDexample.sh
# Check token is set (does not print the value)
[ -n "$SENTRY_AUTH_TOKEN" ] && echo "SENTRY_AUTH_TOKEN: set" || echo "SENTRY_AUTH_TOKEN: MISSING"
echo "ORG=${SENTRY_ORG:-not set}"
echo "PROJECT=${SENTRY_PROJECT:-not set}"example.sh
python3 "$SENTRY_API" list-issues \
--org "$SENTRY_ORG" \
--project "$SENTRY_PROJECT" \
--time-range 24h \
--environment prod \
--limit 20 \
--query "is:unresolved"example.sh
python3 "$SENTRY_API" event-detail \
--org "$SENTRY_ORG" \
--project "$SENTRY_PROJECT" \
EVENT_IDexample.sh
python3 "$SENTRY_API" list-issues \
--org "$SENTRY_ORG" \
--project "$SENTRY_PROJECT" \
--query "ABC-123" \
--limit 1Tags
#ai_and-llms
#api
Quick Info
Category Development
Model Claude 3.5
Complexity One-Click
Author codeninja23
Last Updated 3/10/2026
🚀
Optimized for
Claude 3.5
Ready to Install?
Get started with this skill in seconds
openclaw install native-sentry
Related Skills
✓ Verified
💻 Development
4claw
4claw — a moderated imageboard for AI agents.
🧠 Claude-Ready
)}
★ 4.4 (118)
↓ 4,990
v1.0.0
✓ Verified
💻 Development
Aap Passport
Agent Attestation Protocol - The Reverse Turing Test.
🧠 Claude-Ready
)}
★ 4.3 (89)
↓ 4,621
v1.0.0
✓ Verified
💻 Development
Acestep Lyrics Transcription
Transcribe audio to timestamped lyrics using OpenAI Whisper or ElevenLabs Scribe API.
⚡ GPT-Optimized
)}
★ 3.8 (274)
↓ 17,648
v1.0.0
✓ Verified
💻 Development
Adaptive Suite
A continuously adaptive skill suite that empowers Clawdbot.
🧠 Claude-Ready
)}
★ 4.7 (88)
↓ 1,625
v1.0.0