sentry-cli
Guide for using the Sentry CLI to interact with Sentry from the command line. Use when the user asks about viewing issues, events, projects, organizations, making API calls, or authenticating with Sentry via CLI.
What this skill does
# Sentry CLI Usage Guide Help users interact with Sentry from the command line using the `sentry` CLI. ## Prerequisites The CLI must be installed and authenticated before use. ### Installation ```bash curl https://cli.sentry.dev/install -fsS | bash # Or install via npm/pnpm/bun npm install -g sentry ``` ### Authentication ```bash sentry auth login sentry auth login --token YOUR_SENTRY_API_TOKEN sentry auth status sentry auth logout ``` ## Available Commands ### Auth Authenticate with Sentry #### `sentry auth login` Authenticate with Sentry **Flags:** - `--token <value> - Authenticate using an API token instead of OAuth` - `--timeout <value> - Timeout for OAuth flow in seconds (default: 900) - (default: "900")` **Examples:** ```bash # OAuth device flow (recommended) sentry auth login # Using an API token sentry auth login --token YOUR_TOKEN ``` #### `sentry auth logout` Log out of Sentry **Examples:** ```bash sentry auth logout ``` #### `sentry auth refresh` Refresh your authentication token **Flags:** - `--json - Output result as JSON` - `--force - Force refresh even if token is still valid` **Examples:** ```bash sentry auth refresh ``` #### `sentry auth status` View authentication status **Flags:** - `--showToken - Show the stored token (masked by default)` **Examples:** ```bash sentry auth status ``` #### `sentry auth token` Print the stored authentication token ### Org Work with Sentry organizations #### `sentry org list` List organizations **Flags:** - `--limit <value> - Maximum number of organizations to list - (default: "30")` - `--json - Output JSON` **Examples:** ```bash sentry org list sentry org list --json ``` #### `sentry org view <org>` View details of an organization **Flags:** - `--json - Output as JSON` - `-w, --web - Open in browser` **Examples:** ```bash sentry org view <org-slug> sentry org view my-org sentry org view my-org -w ``` ### Project Work with Sentry projects #### `sentry project list <org>` List projects **Flags:** - `-n, --limit <value> - Maximum number of projects to list - (default: "30")` - `--json - Output JSON` - `-p, --platform <value> - Filter by platform (e.g., javascript, python)` **Examples:** ```bash # List all projects sentry project list # List projects in a specific organization sentry project list <org-slug> # Filter by platform sentry project list --platform javascript ``` #### `sentry project view <project>` View details of a project **Flags:** - `--org <value> - Organization slug` - `--json - Output as JSON` - `-w, --web - Open in browser` **Examples:** ```bash sentry project view <project-slug> sentry project view frontend --org my-org sentry project view frontend -w ``` ### Issue Manage Sentry issues #### `sentry issue list <target>` List issues in a project **Flags:** - `-q, --query <value> - Search query (Sentry search syntax)` - `-n, --limit <value> - Maximum number of issues to return - (default: "10")` - `-s, --sort <value> - Sort by: date, new, freq, user - (default: "date")` - `--json - Output as JSON` **Examples:** ```bash # Explicit org and project sentry issue list <org>/<project> # All projects in an organization sentry issue list <org>/ # Search for project across all accessible orgs sentry issue list <project> # Auto-detect from DSN or config sentry issue list # List issues in a specific project sentry issue list my-org/frontend sentry issue list my-org/ sentry issue list frontend sentry issue list my-org/frontend --query "TypeError" sentry issue list my-org/frontend --sort freq --limit 20 # Show only unresolved issues sentry issue list my-org/frontend --query "is:unresolved" # Show resolved issues sentry issue list my-org/frontend --query "is:resolved" # Combine with other search terms sentry issue list my-org/frontend --query "is:unresolved TypeError" ``` #### `sentry issue explain <issue>` Analyze an issue's root cause using Seer AI **Flags:** - `--json - Output as JSON` - `--force - Force new analysis even if one exists` **Examples:** ```bash sentry issue explain <issue-id> # By numeric issue ID sentry issue explain 123456789 # By short ID with org prefix sentry issue explain my-org/MYPROJECT-ABC # By project-suffix format sentry issue explain myproject-G # Force a fresh analysis sentry issue explain 123456789 --force ``` #### `sentry issue plan <issue>` Generate a solution plan using Seer AI **Flags:** - `--cause <value> - Root cause ID to plan (required if multiple causes exist)` - `--json - Output as JSON` - `--force - Force new plan even if one exists` **Examples:** ```bash sentry issue plan <issue-id> # After running explain, create a plan sentry issue plan 123456789 # Specify which root cause to plan for (if multiple were found) sentry issue plan 123456789 --cause 0 # By short ID with org prefix sentry issue plan my-org/MYPROJECT-ABC --cause 1 # By project-suffix format sentry issue plan myproject-G --cause 0 ``` #### `sentry issue view <issue>` View details of a specific issue **Flags:** - `--json - Output as JSON` - `-w, --web - Open in browser` - `--spans <value> - Span tree depth limit (number, "all" for unlimited, "no" to disable) - (default: "3")` **Examples:** ```bash # By issue ID sentry issue view <issue-id> # By short ID sentry issue view <short-id> sentry issue view FRONT-ABC sentry issue view FRONT-ABC -w ``` ### Event View Sentry events #### `sentry event view <args...>` View details of a specific event **Flags:** - `--json - Output as JSON` - `-w, --web - Open in browser` - `--spans <value> - Span tree depth limit (number, "all" for unlimited, "no" to disable) - (default: "3")` **Examples:** ```bash sentry event view <event-id> sentry event view abc123def456 sentry event view abc123def456 -w ``` ### Api Make an authenticated API request #### `sentry api <endpoint>` Make an authenticated API request **Flags:** - `-X, --method <value> - The HTTP method for the request - (default: "GET")` - `-F, --field <value>... - Add a typed parameter (key=value, key[sub]=value, key[]=value)` - `-f, --raw-field <value>... - Add a string parameter without JSON parsing` - `-H, --header <value>... - Add a HTTP request header in key:value format` - `--input <value> - The file to use as body for the HTTP request (use "-" to read from standard input)` - `-i, --include - Include HTTP response status line and headers in the output` - `--silent - Do not print the response body` - `--verbose - Include full HTTP request and response in the output` **Examples:** ```bash sentry api <endpoint> [options] # List organizations sentry api /organizations/ # Get a specific organization sentry api /organizations/my-org/ # Get project details sentry api /projects/my-org/my-project/ # Create a new project sentry api /teams/my-org/my-team/projects/ \ --method POST \ --field name="New Project" \ --field platform=javascript # Update an issue status sentry api /issues/123456789/ \ --method PUT \ --field status=resolved # Assign an issue sentry api /issues/123456789/ \ --method PUT \ --field assignedTo="[email protected]" # Delete a project sentry api /projects/my-org/my-project/ \ --method DELETE sentry api /organizations/ \ --header "X-Custom-Header:value" sentry api /organizations/ --include # Get all issues (automatically follows pagination) sentry api /projects/my-org/my-project/issues/ --paginate ``` ### Cli CLI-related commands #### `sentry cli feedback <message...>` Send feedback about the CLI #### `sentry cli fix` Diagnose and repair CLI database issues **Flags:** - `--dry-run - Show what would be fixed without making changes` #### `sentry cli upgrade <version>` Update the Sentry CLI to the latest version **Flags:** - `--check - Check for updates without installing` - `--method <value> - Installation method to use (curl, npm, pnpm, bun, yarn)` ### Log View Sentry logs #### `sentry log list <target>` List logs from a project **Flags:*
Related in Backend & APIs
jfrog
IncludedInteract with the JFrog Platform via the JFrog CLI and REST/GraphQL APIs. Use this skill when the user wants to manage Artifactory repositories, upload or download artifacts, manage builds, configure permissions, manage users and groups, work with access tokens, configure JFrog CLI servers, search artifacts, manage properties, set up replication, manage JFrog Projects, run security audits or scans, look up CVE details, query exposures scan results from JFrog Advanced Security, manage release bundles and lifecycle operations, aggregate or export platform data, or perform any JFrog Platform administration task. Also use when the user mentions jf, jfrog, artifactory, xray, distribution, evidence, apptrust, onemodel, graphql, workers, mission control, curation, advanced security, exposures, or any JFrog product name.
cupynumeric-migration-readiness
IncludedPre-migration readiness assessor for porting NumPy to cuPyNumeric. Use BEFORE substantial porting work begins when the user asks whether code will scale on GPU, whether they should migrate to cuPyNumeric, which NumPy patterns transfer cleanly, what must be refactored before porting, or mentions pre-port assessment, scaling analysis, or refactor planning. Inspect the user's source code, look up NumPy usage, cross-reference the cuPyNumeric API support manifest, and distinguish distributed-scaling-friendly patterns from blockers such as unsupported APIs, scalar synchronization, host round-trips, Python/object-heavy control flow, shape/data-dependent branching, and in-place mutation hazards. Produce a verdict of READY, LIGHT REFACTOR, SIGNIFICANT REFACTOR, or NOT RECOMMENDED, with concrete refactor pointers.
alibabacloud-data-agent-skill
IncludedInvoke Alibaba Cloud Apsara Data Agent for Analytics via CLI to perform natural language-driven data analysis on enterprise databases. Data Agent for Analytics is an intelligent data analysis agent developed by Alibaba Cloud Database team for enterprise users. It automatically completes requirement analysis, data understanding, analysis insights, and report generation based on natural language descriptions. This tool supports: discovering data resources (instances/databases/tables) managed in DMS, initiating query or deep analysis sessions, real-time progress tracking, and retrieving analysis conclusions and generated reports. Use this Skill when users need to query databases, analyze data trends, generate data reports, ask questions in natural language, or mention "Data Agent", "data analysis", "database query", "SQL analysis", "data insights".
token-optimizer
IncludedReduce OpenClaw token usage and API costs through smart model routing, heartbeat optimization, budget tracking, and native 2026.2.15 features (session pruning, bootstrap size limits, cache TTL alignment). Use when token costs are high, API rate limits are being hit, or hosting multiple agents at scale. The 4 executable scripts (context_optimizer, model_router, heartbeat_optimizer, token_tracker) are local-only — no network requests, no subprocess calls, no system modifications. Reference files (PROVIDERS.md, config-patches.json) document optional multi-provider strategies that require external API keys and network access if you choose to use them. See SECURITY.md for full breakdown.
resend-cli
IncludedUse this skill when the task is specifically about operating Resend from an AI agent, terminal session, or CI job via the official resend CLI: installing/authenticating the CLI, sending/listing/updating/cancelling emails, batch sends, domains and DNS, webhooks and local listeners, inbound receiving, contacts, topics, segments, broadcasts, templates, API keys, profiles, or debugging Resend CLI/API failures. Trigger on mentions of Resend CLI, `resend`, `resend doctor`, `resend emails send`, `resend domains`, `resend webhooks listen`, `resend emails receiving`, or agent-friendly terminal automation.
alibabacloud-odps-maxframe-coding
IncludedUse this skill for MaxFrame SDK development and documentation navigation on Alibaba Cloud MaxCompute (ODPS). Helps answer MaxFrame API, concept, official example, and supported pandas API questions; create data processing programs; read/write MaxCompute tables; debug jobs (remote or local); and build custom DPE runtime images. Trigger when users mention MaxFrame, MaxCompute with MaxFrame, ODPS table processing, DPE runtime, MaxFrame docs/examples, DataFrame/Tensor operations, or GPU runtime setup. Works for both English and Chinese queries about Alibaba Cloud data processing with MaxFrame.