sentry-cli
Skill2 starsChanged 19 days agoMITView on GitHub
Guide for using the Sentry CLI to inspect issues, events, traces, spans, logs, projects, organizations, releases, dashboards, and API resources. Use whenever a task needs Sentry data or Sentry CLI authentication, targeting, troubleshooting, or mutations; prefer dedicated CLI commands before raw API calls.
8 other projects use a version of this.
Adopted by
Most recently taken up by
- getsentry/clitheir own version, first seen Oct 13, 2026
- getsentry/sentry-mcptheir own version, first seen Oct 13, 2026
- edu6565/claude-skillstheir own version, first seen Oct 11, 2026
- cline/skillstheir own version, first seen Jun 18, 2026
- abdullahkhawer/devops-skillstheir own version, first seen May 7, 2026
- FelipeAngeli/skillstheir own version, first seen Apr 10, 2026
Other versions8 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 8
- getsentry/sentry-mcp★ 960same name
- getsentry/toolkit★ 960same name
- pedronauck/skills★ 649same name
- getsentry/cli★ 124same name
- cline/skills★ 35same name
- abdullahkhawer/devops-skills★ 8same name
- FelipeAngeli/skills★ 2same name
- edu6565/claude-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository10 other files it gives its agents.
- cards-readmeSkill
- cleanupSkill
- deepsearchSkill
- engineer-mindsetSkill
- grill-meSkill
- investigateSkill
- layoutSkill
- presentSkill
- review-prSkill
- toolchainSkill
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 3 are distinctive, and 8 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Use the sentry CLI directly.
- Very specific: line 17
Prefer a dedicated command such as sentry issue view, sentry trace view, or sentry log list before sentry api.
- Very specific: line 19
Use sentry schema to discover API resources and endpoints.
- Very specific: line 20
Use --json --fields ... for machine-readable, bounded output and --limit for lists.
- Very specific: line 21
Run <command> --help before inventing a flag or field.
- Distinctive: line 22
Verify the selected organization/project before a mutation.
- Distinctive: line 23
Never print, copy, or persist authentication tokens.
- Very specific: line 41
Use the short issue ID (PROJECT-123), not the numeric database ID.
- Very specific: line 83
Use sentry api only after confirming that a dedicated command does not expose the needed data.
- Distinctive: line 87
Read only the file matching the requested command family:
- Very specific: line 103
When a reference and live --help output disagree, treat the installed CLI as the source of truth and report the version observed.
“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Sentry CLI
Use the sentry CLI directly. It normally detects authentication, organization, and project from
the working directory; add explicit targets only when detection fails or selects the wrong scope.
Operating rules
- Prefer a dedicated command such as
sentry issue view,sentry trace view, orsentry log listbeforesentry api. - Use
sentry schemato discover API resources and endpoints. - Use
--json --fields ...for machine-readable, bounded output and--limitfor lists. - Run
<command> --helpbefore inventing a flag or field. - Verify the selected organization/project before a mutation.
- Never print, copy, or persist authentication tokens. Let the CLI manage credentials.
- Get user confirmation immediately before destructive commands such as
project deleteor starting a trial.
Exit-code ranges: 10–19 auth, 20–29 input, 30–39 API, 40–49 unavailable feature, 50–59 operation, and 60–69 command-specific. Read stderr before deciding whether to retry.
Common workflows
Investigate an issue
sentry issue list --query "is:unresolved" --limit 5
sentry issue view PROJECT-123
sentry issue explain PROJECT-123
sentry issue plan PROJECT-123Use the short issue ID (PROJECT-123), not the numeric database ID.
Trace performance and logs
sentry trace list --period 1h --limit 5
sentry trace view <trace-id>
sentry span list <trace-id>
sentry trace logs <trace-id>
sentry log list --query "severity:error"Capture events locally
sentry local run -- npm run dev
sentry local -f aiWithout a DSN, Spotlight events stay local. With a DSN, verify the actual SDK configuration before making privacy or quota claims.
Manage a release
sentry release create <org>/<version> --project <project>
sentry release set-commits <org>/<version> --auto
sentry release finalize <org>/<version>
sentry release deploy <org>/<version> productionThe positional value is <org-slug>/<version> and the version must match Sentry.init({ release }).
--auto needs a repository integration and a full local Git checkout; use --local when that is
the intended source of commit history.
Use an uncovered API
sentry schema <resource>
sentry api /api/0/organizations/<org>/Use sentry api only after confirming that a dedicated command does not expose the needed data.
Load references progressively
Read only the file matching the requested command family:
- Identity and scope:
references/auth.md,references/org.md,references/project.md,references/team.md. - Investigation:
references/issue.md,references/event.md,references/trace.md,references/span.md,references/log.md,references/replay.md,references/feedback.md. - Delivery:
references/release.md,references/build.md,references/sourcemap.md,references/debug-files.md,references/proguard.md,references/dart-symbol-map.md,references/react-native.md,references/code-mappings.md. - Operations:
references/alert.md,references/monitor.md,references/dashboard.md,references/snapshots.md. - Discovery and advanced use:
references/schema.md,references/api.md,references/explore.md,references/platform.md,references/info.md,references/init.md,references/cli.md,references/local.md,references/conversation.md,references/repo.md,references/trial.md.
When a reference and live --help output disagree, treat the installed CLI as the source of truth
and report the version observed.
Output contract
Lead with the requested result. Include the exact command, target scope, and material limitations when they support the conclusion. Do not claim a Sentry state changed unless output confirmed it.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

