# Sentry

> Inspect Sentry issues or events, summarize recent production errors, or pull basic Sentry health data via the Sentry API. Perform read-only queries with the bundled script. Requires SENTRY_AUTH_TOKEN. Use when investigating production errors, checking Sentry issues, or reviewing error trends.

- **Type:** Skill
- **Install:** `agentstack add skill-greedychipmunk-agent-skills-sentry`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [greedychipmunk](https://agentstack.voostack.com/s/greedychipmunk)
- **Installs:** 0
- **Category:** [Developer Tools](https://agentstack.voostack.com/c/developer-tools)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [greedychipmunk](https://github.com/greedychipmunk)
- **Source:** https://github.com/greedychipmunk/agent-skills/tree/main/sentry

## Install

```sh
agentstack add skill-greedychipmunk-agent-skills-sentry
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Sentry Skill

Inspect Sentry issues and events, summarize production errors, and pull health data via the Sentry API. Read-only access using the bundled Python script.

## When to Use

- Investigating production errors or exceptions
- Summarizing recent error trends
- Checking issue details, stack traces, and event counts
- Reviewing release health and adoption
- Pulling project or organization-level Sentry data

## Prerequisites

```bash
# Required environment variable
export SENTRY_AUTH_TOKEN="your-auth-token"

# Set script path (adjust to your installation)
export SENTRY_API="scripts/sentry_api.py"
```

## Usage

```bash
# List recent issues
python3 $SENTRY_API issues list --org my-org --project my-project

# Get issue details
python3 $SENTRY_API issues get --org my-org --issue-id 12345

# List events for an issue
python3 $SENTRY_API events list --org my-org --issue-id 12345

# Search issues
python3 $SENTRY_API issues search --org my-org --query "TypeError" --project my-project

# Release health
python3 $SENTRY_API releases list --org my-org --project my-project
```

## Common Patterns

### Error Investigation

```bash
# 1. List recent unresolved issues
python3 $SENTRY_API issues list --org my-org --project my-project --query "is:unresolved"

# 2. Get details on a specific issue
python3 $SENTRY_API issues get --org my-org --issue-id 12345

# 3. View recent events
python3 $SENTRY_API events list --org my-org --issue-id 12345
```

### Trend Analysis

```bash
# Search for specific error types
python3 $SENTRY_API issues search --org my-org --query "TypeError" --project my-project

# Check release health
python3 $SENTRY_API releases list --org my-org --project my-project
```

## Notes

- All operations are read-only — no write or modify operations
- Auth token needs appropriate scopes (org:read, project:read)
- Script path depends on your installation directory
- Use `--help` on any subcommand for available options

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [greedychipmunk](https://github.com/greedychipmunk)
- **Source:** [greedychipmunk/agent-skills](https://github.com/greedychipmunk/agent-skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-greedychipmunk-agent-skills-sentry
- Seller: https://agentstack.voostack.com/s/greedychipmunk
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
