sentry
Read Sentry issues, events, and production errors via the Sentry REST API. Use when the user wants to inspect errors, list recent issues, get stack traces, or summarize production health. Requires SENTRY_AUTH_TOKEN with read-only scopes.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/codeninja23/native-sentrySentry (Read-only)
Read production errors and issues from Sentry.
Setup
# 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
Set optional defaults to avoid passing flags every time:
export SENTRY_ORG=your-org-slug
export SENTRY_PROJECT=your-project-slug
Script path
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
python3 "$SENTRY_API" list-issues \
--org "$SENTRY_ORG" \
--project "$SENTRY_PROJECT" \
--time-range 24h \
--environment prod \
--limit 20 \
--query "is:unresolved"
Get issue detail
python3 "$SENTRY_API" issue-detail ISSUE_ID
Get events for an issue
python3 "$SENTRY_API" issue-events ISSUE_ID --limit 10
Get event detail (no stack traces by default)
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
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
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-codeninja23-native-sentry": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
linear
Query and manage Linear issues, projects, cycles, and teams via the Linear GraphQL API. Use when you need to list or create issues, check cycle status, manage projects, or search across your workspace. Calls api.linear.app directly with no third-party proxy.
hubspot
Query and manage HubSpot CRM data via the HubSpot API. Use when you need to search or manage contacts, companies, deals, tickets, or pipelines. Supports creating, updating, and associating CRM objects. Calls api.hubapi.com directly with no third-party proxy.
clawpod
Read any website or search Google, even when sites block bots or are geo-restricted. Handles CAPTCHAs, JavaScript rendering, and anti-bot protection server-side via residential proxies. Returns HTML or structured JSON.
stripe
Query and manage Stripe data via the Stripe API. Use when you need to list charges, customers, invoices, subscriptions, payment intents, refunds, products, or prices. Supports filtering, pagination, and creating/updating customers and refunds. Calls api.stripe.com directly with no third-party proxy.
google-analytics
Query Google Analytics 4 (GA4) data directly via the Analytics Data API. Use when you need website analytics like top pages, traffic sources, sessions, users, conversions, bounce rate, or any GA4 metrics and dimensions. Supports custom date ranges, filtering, and multi-metric queries. Calls analyticsdata.googleapis.com directly with no third-party proxy.