sentry
Fetch and analyze Sentry issues, events, transactions, and logs. Helps agents debug errors, find root causes, and understand what happened at specific times.
Security Assessment
About sentry
The 'sentry' skill provides a set of tools to fetch and analyze Sentry data, which helps users debug errors, trace root causes, and understand what happened during specific timeframes. By interacting with Sentry's API, this skill can retrieve issues, events, transactions, and logs based on a variety of filters. It is designed for agents working in error tracking and debugging, allowing them to streamline their workflow and find precise information about errors and issues in their software applications. The skill leverages Sentry's data to improve troubleshooting efficiency and ensure faster resolution of issues in production environments.
FAQ
How do I find events around a specific timestamp?
You can use the command `./scripts/search-events.js --org myorg --project backend --start 2025-12-23T15:00:00 --end 2025-12-23T17:00:00` to find events within a specific time window.
What does the `--latest` option do in the fetch-issue command?
The `--latest` option fetches the most recent event associated with an issue, including the full stack trace, which can help in debugging the most current state of the issue.
Is the skill compatible with all versions of Sentry?
This skill interacts with Sentry's API and is dependent on the authentication via the `~/.sentryclirc` token. It is compatible with Sentry's current API version, but compatibility with older versions may require adjustments.
Can I search for logs within a specific project?
Yes, you can search logs by specifying the `--org` and `--project` options. For example: `./scripts/search-logs.js --org myorg --project backend 'level:error'`.
What is the requirement for using the skill?
The skill requires an authentication token from `~/.sentryclirc` to interact with the Sentry API. Ensure that you have the necessary API token and access rights for the target Sentry organization.
Install sentry
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
mitsuhiko/agent-stuff