sentry-cli

Interact with the Sentry platform via command-line CLI for error tracking and monitoring.

1|Updated Apr 14, 2026
One-click install
npx skills add https://github.com/hschne/pi-stuff --skill sentry-cli-hschne
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sentry-cli
Source: https://github.com/hschne/pi-stuff/tree/main/skills/sentry-cli
Command: npx skills add https://github.com/hschne/pi-stuff --skill sentry-cli-hschne

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill removes the friction of switching between your terminal and the Sentry web UI to triage errors, analyze performance traces, and manage releases, cutting down context switching and speeding up incident response.

Core Features & Use Cases

  • Issue & Trace Triage: View, resolve, merge, and analyze root causes of Sentry issues, plus explore distributed traces and associated logs directly from the command line.
  • Release & Deployment Management: Create, finalize, and track releases, associate git commits, and record production deploys to correlate errors with code changes.
  • Custom API & Dashboard Workflows: Make direct authenticated calls to the Sentry API, build custom monitoring dashboards, and query aggregate event data for ad-hoc analysis.
  • Use Case: A DevOps engineer responding to a production outage can use this Skill to quickly pull the top unresolved error, view its full trace to identify the failing service, and mark the issue as resolved in the next release without leaving their terminal.

Quick Start

Use the sentry-cli skill to pull the details for unresolved issue PROJ-123 in your current Sentry project and open it in your browser for review.

Frequently Asked Questions about sentry-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I triage Sentry issues and analyze traces without leaving the terminal?

You can triage Sentry issues and analyze traces from the CLI by pulling unresolved errors, viewing full distributed traces, identifying failing services, and resolving issues directly without web UI navigation.

Can I manage Sentry releases and associate git commits from the command line?

Yes, Sentry release management from the command line lets you create, finalize, and track releases, associate git commits, and record production deploys to correlate errors with specific code changes.

Do I need the Sentry CLI installed and authenticated to query the Sentry API?

Yes, querying the Sentry API requires the Sentry CLI binary to be installed and authenticated, leveraging the CLI's built-in auto-detection for organization and project context to reduce manual configuration.

What's the best way to stream logs and query aggregate Sentry event data for ad-hoc analysis?

The best way to stream logs and query aggregate Sentry event data is using direct authenticated Sentry API calls from the CLI, enabling custom monitoring dashboards and ad-hoc performance analysis.

How does CLI-based Sentry error tracking compare to using the web UI for incident response?

CLI-based Sentry error tracking removes the friction of switching between your terminal and the web UI, speeding up incident response by keeping issue triage, trace analysis, and release management in one workflow.