Skip to content
getsentry avatar

Sentry Cli

Command-line access to Sentry issues, events, traces, logs, and API endpoints for coding agents.

CCM score
65 of 100
skills.sh installs
1.3K
GitHub stars
124
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers viewing and listing issues, traces, spans, and logs, plus raw sentry api calls and sentry docs and sentry schema lookups
  • Includes investigation workflows that pair sentry issue view --json with sentry issue explain and sentry issue plan, plus local event capture through sentry local run
  • Enforces confirmation before destructive commands such as project delete and trial start, and maps exit codes 10 to 69 to recommended agent actions
  • Designed for agents that need org and project detection handled automatically by the CLI rather than manual discovery

Install

$ npx -y skills add getsentry/cli --skill sentry-cli -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Sentry CLI Usage Guide

Help users interact with Sentry from the command line using the sentry CLI.

Core rule for agents: just run the command. The sentry CLI auto-detects your org and project (from .sentryclirc, DSNs in .env/source, and the directory name), so do not list organizations and then list their projects to work out which one this checkout maps to — that manual discovery only duplicates work the CLI already does on every command. Pass an explicit <org>/<project> only when the CLI reports it can't detect the target or picks the wrong one.

Agent Guidance

Best practices and operational guidance for AI coding agents using the Sentry CLI.

Key Principles

Details

Repository
github.com/getsentry/cli
Categories
Debugging, DevOps & Cloud, CLI & Terminal
First seen
Jun 3, 2026

Questions

What does the sentry-cli skill do?

The sentry-cli skill guides an agent to use the Sentry CLI to view issues, events, projects and organizations, make API calls, and authenticate with Sentry from the command line. It tells the agent to run commands directly, since the CLI auto-detects the organization and project. It also points to commands like sentry issue view and sentry issue explain for investigating issues.

How do I install the sentry-cli skill?

Run npx -y skills add getsentry/cli --skill sentry-cli -y in your project. Once installed, the agent can use the sentry command to inspect Sentry issues and traces from your terminal. The skill expects the sentry binary and an authenticated Sentry session.

Where does sentry-cli stand in the Debugging category?

The sentry-cli skill is listed in the Debugging category on Claude Marketplaces, alongside diagnosing-bugs, safe-debug and systematic-debugging. Its focus is on Sentry data from the command line, such as issues, traces and logs. It is the skill to reach for when the debugging job involves production errors tracked in Sentry.

Does sentry-cli need authentication or a Sentry account?

Yes, the skill requires a Sentry login, since it runs commands against your Sentry organization. The CLI prompts you to log in with sentry auth login if authentication is missing. The skill itself says never to store or log tokens, because the CLI manages credentials.

Similar to Sentry Cli

More Debugging