plugin/pi-skills/investigate-sentry-issue/SKILL.md
Investigate and triage a Sentry error issue
npx skillsauth add desplega-ai/agent-swarm investigate-sentry-issueInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Investigate a Sentry issue to understand the error, gather context, and prepare for fixing or triaging.
SENTRY_AUTH_TOKEN and SENTRY_ORG must be set. Verify with sentry-cli info.
sentry-issue-url-or-id: A Sentry issue URL or just the issue ID (e.g., 123456)If given a URL (https://sentry.io/organizations/{org}/issues/{issue_id}/), extract the issue ID.
sentry-cli issues list --id <issue-id>
Use https://sentry.io/api/0/organizations/${SENTRY_ORG}/issues/<issue-id>/ for metadata (first/last seen, event count, user impact, status).
Use the recommended event endpoint: .../issues/<issue-id>/events/recommended/
Key jq paths for the response:
.entries[] | select(.type == "exception") — exception with stacktrace.entries[] | select(.type == "exception") | .data.values[].stacktrace.frames — stack frames.entries[] | select(.type == "breadcrumbs") — actions leading to the error.tags — environment, browser, OS info.context — custom context datasentry-cli issues resolve <issue-id> # Resolve
sentry-cli issues mute <issue-id> # Mute
sentry-cli issues unresolve <issue-id> # Unresolve
Use these filters with sentry-cli issues list --query:
| Filter | Example | Description |
|--------|---------|-------------|
| is: | is:unresolved | Issue status |
| lastSeen: | lastSeen:-2d | Seen within time range |
| message: | message:undefined | Match error message |
| issue.category: | issue.category:error | Error category |
tools
# Artifacts — Serving Interactive Web Content ## Quick Start ### Static content ```bash # Create your content in a persisted directory mkdir -p /workspace/personal/artifacts/my-report echo '<h1>My Report</h1>' > /workspace/personal/artifacts/my-report/index.html # Serve it (auto-assigns a free port, creates tunnel) artifact serve /workspace/personal/artifacts/my-report --name "my-report" # -> https://{agentId}-my-report.lt.desplega.ai ``` ### Programmatic (custom Hono server) ```typescript i
testing
Work on a specific task assigned to you in the agent swarm
business
How to manage the user registry — creating users for new Slack/GitHub/GitLab identities, managing aliases, resolving users across platforms. Use when a new human interacts with the swarm or when user identity needs updating.
data-ai
Handle the agent personal todos.md file