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…
от Kilo-Org★ 25 звёзд на GitHub
Установить sentry-cli в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Sentry CLI Usage Guide
Help users interact with Sentry from the command line using the sentry CLI.
Kilo Defaults
- Organization slug:
anaconda-nq. Do not usekilo-codeorkilocode; oldkilo-code.sentry.iolinks and--org=kilo-codereferences in the repo point to the retired org. - Common web project:
kilocode-web. Prefer the project from the user's URL or request. - Pass the org explicitly, e.g.
sentry issue list anaconda-nq/kilocode-weborsentry issue view anaconda-nq/KILOCODE-WEB-ABC.
Prerequisites
The CLI must be installed and authenticated before use.
Installation
curl https://cli.sentry.dev/install -fsS | bash
curl https://cli.sentry.dev/install -fsS | bash -s -- --version nightly
brew install getsentry/tools/sentry
# Or install via npm/pnpm/bun
npm install -g sentry
Authentication
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:
# 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:
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:
sentry auth refresh
sentry auth status
View authentication status
Flags:
--show-token - Show the stored token (masked by default)
Examples:
sentry auth status
sentry auth token
Print the stored authentication token
sentry auth whoami
Show the currently authenticated user
Flags:
--json - Output as JSON
Org
Work with Sentry organizations
sentry org list
List organizations
Flags:
-n, --limit <value> - Maximum number of organizations to list - (default: "30")--json - Output JSON
Examples:
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:
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/project>
List projects
Flags:
-n, --limit <value> - Maximum number of projects to list - (default: "30")--json - Output JSON-c, --cursor <value> - Pagination cursor (use "last" to continue from previous page)-p, --platform <value> - Filter by platform (e.g., javascript, python)
Examples:
# 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 <org/project>
View details of a project
Flags:
--json - Output as JSON-w, --web - Open in browser
Examples:
# Auto-detect from DSN or config
sentry project view
# Explicit org and project
sentry project view <org>/<project>
# Find project across all orgs
sentry project view <project>
sentry project view my-org/frontend
sentry project view my-org/frontend -w
Issue
Manage Sentry issues
sentry issue list <org/project>
List issues in a project
Flags:
-q, --query <value> - Search query (Sentry search syntax)-n, --limit <value> - Maximum number of issues to list - (default: "25")-s, --sort <value> - Sort by: date, new, freq, user - (default: "date")-t, --period <value> - Time period for issue activity (e.g. 24h, 14d, 90d) - (default: "90d")--json - Output JSON-c, --cursor <value> - Pagination cursor — only for <org>/ mode (use "last" to continue)
Examples:
# 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
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл 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.
Как установить скилл sentry-cli?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл sentry-cli запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…