Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/desplega-ai/agent-swarmWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/desplega-ai/agent-swarm/investigate-sentry-issue)<a href="https://agentmods.dev/commands/desplega-ai/agent-swarm/investigate-sentry-issue"><img src="https://agentmods.dev/badge/commands/desplega-ai/agent-swarm/investigate-sentry-issue/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/desplega-ai/agent-swarm/investigate-sentry-issue"><img src="https://agentmods.dev/badge/commands/desplega-ai/agent-swarm/investigate-sentry-issue.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00010 | $0.00596 |
| Opus 5 | $0.00005 | $0.00298 |
| Sonnet 5 | $0.00002 | $0.00119 |
| Haiku 4.5 | $0.00001 | $0.00060 |
Grade A, and why
investigate-sentry-issue scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 76 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Investigate Sentry Issue
Investigate a Sentry issue to understand the error, gather context, and prepare for fixing or triaging.
Prerequisites
SENTRY_AUTH_TOKEN and SENTRY_ORG must be set. Verify with sentry-cli info.
Arguments
sentry-issue-url-or-id: A Sentry issue URL or just the issue ID (e.g.,123456)
Workflow
1. Parse the Input
If given a URL (https://sentry.io/organizations/{org}/issues/{issue_id}/), extract the issue ID.
2. Get Issue Overview
sentry-cli issues list --id <issue-id>
3. Get Detailed Info via REST API
Use https://sentry.io/api/0/organizations/${SENTRY_ORG}/issues/<issue-id>/ for metadata (first/last seen, event count, user impact, status).
4. Get Full Stacktrace
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 data
5. Analyze and Report
- Identify the failing file and line number
- Understand the error type and message
- Review breadcrumbs for the sequence of events
- Check tags for environment-specific issues
6. Take Action (if appropriate)
sentry-cli issues resolve <issue-id> # Resolve
sentry-cli issues mute <issue-id> # Mute
sentry-cli issues unresolve <issue-id> # Unresolve
Search Query Syntax
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 |
Tips
- Always get the recommended event first — it's curated for debugging
- Check breadcrumbs to understand user actions before the error
- If investigating from a Slack alert, the issue URL is in the alert message
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 13d ago First seen · 76 lines · 10 tokens per session scan A fc4915e26f8b
investigate-sentry-issue is a command published in the GitHub repository desplega-ai/agent-swarm (762 stars, last pushed today), licensed MIT. It adds 10 tokens to every session and 596 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
toh-fix
Evidence-first debugging — find the root cause with proof before touching code.
self-healing
Automatically detect and recover from errors without interrupting your flow.
hatch3r-codebase-map
Reverse-engineer a brownfield codebase into current-state module boundaries, integration-point inventory, tech-debt register, and dependency graph via static analysis.
hatch3r-bug-plan
Diagnose a complex incident -- reproduce the symptom, rank root-cause hypotheses, design the fix path, and emit regression coverage items as a board-ready investigation.
hatch3r-diagnose
Troubleshoot a hatch3r framework issue (setup, config, adapter wiring, drift). Gathers state, delegates root-cause analysis to hatch3r-researcher, proposes a fix, and applies it via hatch3r-fixer after one confirmation gate.
distill
Distill repository files into the RLM Summary Ledger using agentic intelligence (fast) or Swarm Workers (offline batch).