sentry CLI 日程管理

SKILL研究检索

原名 sentry-cli

研究检索 浏览器控制 许可证不明确 本地 Agent
安装这个技能

sentry-cli 用于查找、检索和筛选相关信息,适合在 Local Agent 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

一句话选型结论

按资料字段整理

sentry CLI 日程管理是研究检索类的 Agent Skill,安装方式未标注,权限级别:浏览器控制,许可证不明确,有可直接复制的安装命令,可被 本地 Agent 加载。技能本质是给模型读的说明书,效果取决于模型与客户端;装完先用一个小任务验证,再放进正式流程。

分类研究检索 安装方式未标注 权限级别浏览器控制 许可证许可证不明确
累计安装 31,512 本周 1,316
GitHub 星标 未标注 仓库 cli.sentry.dev
下载量 10,296 技能市场下载数
权限级别 浏览器控制 安装前请确认风险范围
许可证 许可证不明确 unknown

安装

未标注
在支持 Skills 的客户端里执行,装完问一句「你有哪些技能」验证
curl https://cli.sentry.dev/install -fsS | bash
  1. 1
    确认客户端支持

    确认你的客户端支持 Skills,并且版本不旧;已标注支持:本地 Agent。

  2. 2
    拿到技能文件

    执行上面的命令安装;也可以把仓库里的 SKILL.md 手动放进客户端的 skills 目录。

  3. 3
    刷新技能列表

    重新打开客户端,或刷新技能列表,让新放进来的技能被加载。

  4. 4
    验证是否生效

    问一句「你有哪些技能」,确认列表里出现它,再拿一个小任务试跑。

技能档案

研究检索
字段来自技能仓库与公开索引,中文说明由本站标注
作者 / 维护方未标注作者仓库 cli.sentry.dev · 版本 未标注
宿主客户端本地 Agent技能可被这些客户端加载
安装方式未标注安装包 未标注
权限级别浏览器控制安装前请确认风险范围
许可证unknown许可证不明确,商用前请自行确认条款
仓库可用性available技能仓库当前是否可访问
最近核验2026-05-01上游最后核验时间 · 数据更新 未标注
正文体量18.5 KBSKILL.md 原文大小,越大说明说明书写得越细

能做什么

4 项能力
上游给出的能力概览与适用场景
  • 按任务关键词查找相关 Skills
  • 展示可复制的安装命令
  • 保留来源站点、仓库和原始说明,方便继续核验
  • 展示第三方安全扫描或审计结果
用户想查找某类 Agent Skill 时需要根据任务场景推荐可安装能力包时需要对比不同来源的安装命令和来源信息时

典型使用场景

3 类
按分类整理的常见用法,具体以 SKILL.md 为准
查资料并整理出处

让模型按主题查资料,并把引用来源整理成清单。

网页与文献要点提炼

把长文、论文、网页压成能直接看的要点。

竞品与行业汇总

按关键词汇总竞品动态与行业信息。

权限与风险

浏览器控制
装之前先读完这段

选择建议

装之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 有可直接复制的安装命令,不用自己翻文档找入口。
  • 列了 4 项能力,能直接看出它能做什么。
  • 标注支持 本地 Agent,换客户端不用重新找。
  • 累计安装 31,512,用的人多,遇到问题更容易搜到答案。

先想清楚的地方

  • 权限级别为浏览器控制,安装前确认它会读什么、写什么、执行什么。
  • 许可证不明确,商用或二次分发前先到仓库确认条款。
  • 没有做站内核验,内容以作者仓库为准。
  • 技能只是说明书,实际效果取决于模型与客户端,装完先用小任务试一遍。

更适合

  • 需要在研究检索场景里给模型补一套做法的人。
  • 已经在用 本地 Agent 的人,接入路径最短。
  • 愿意先读一遍 SKILL.md、确认它会让模型做什么的人。

不太适合

  • 不希望模型执行命令、写文件或操作浏览器的人。
  • 对许可证要求很严、必须明确可商用的人。
  • 只想装完就自动变强、不打算看说明书的人。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
技能权限级别安装方式累计安装宿主客户端安装命令
sentry CLI 日程管理当前 浏览器控制 未标注 31,512 本地 Agent 有
寻找技能 浏览器控制 GitHub 仓库 3120.0 万 Codex、Claude、Cursor 有
自我改进 Agent 接触敏感数据 ClawHub 市场 1646.4 万 OpenClaw 有
灵魂追踪 联网访问 GitHub 仓库 758.9 万 Codex、Claude、Cursor 有
自我完善 联网访问 ClawHub 市场 682.9 万 OpenClaw 有
微软代工厂 调用外部服务 GitHub 仓库 661.4 万 Codex、Claude、Cursor 有

安装与使用指南

安装步骤

本站只展示命令,不托管安装包,也不自动执行。

怎么用

安装后应在对应宿主中按原始 README 的触发条件使用;当前草稿只做目录说明,具体调用方式由规则抽取,异常条目再复核。

SKILL.md 全文

18.5 KB
模型实际读到的说明书原文,来自技能仓库

Sentry CLI Usage Guide

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

Agent Guidance

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

Key Principles

  • Just run the command — the CLI handles authentication and org/project detection automatically. Don't pre-authenticate or look up org/project before running commands. If auth is needed, the CLI prompts interactively.
  • Prefer CLI commands over raw API calls — the CLI has dedicated commands for most tasks. Reach for sentry issue view, sentry issue list, sentry trace view, etc. before constructing API calls manually or fetching external documentation.
  • Use sentry schema to explore the API — if you need to discover API endpoints, run sentry schema to browse interactively or sentry schema <resource> to search. This is faster than fetching OpenAPI specs externally.
  • Use sentry issue view <id> to investigate issues — when asked about a specific issue (e.g., CLI-G5, PROJECT-123), use sentry issue view directly.
  • Use --json for machine-readable output — pipe through jq for filtering. Human-readable output includes formatting that is hard to parse.
  • The CLI auto-detects org/project — most commands work without explicit targets by checking .sentryclirc config files, scanning for DSNs in .env files and source code, and matching directory names. Only specify <org>/<project> when the CLI reports it can't detect the target or detects the wrong one.

Design Principles

The sentry CLI follows conventions from well-known tools — if you're familiar with them, that knowledge transfers directly:

  • gh (GitHub CLI) conventions: The sentry CLI uses the same <noun> <verb> command pattern (e.g., sentry issue list, sentry org view). Flags follow gh conventions: --json for machine-readable output, --fields to select specific fields, -w/--web to open in browser, -q/--query for filtering, -n/--limit for result count.
  • sentry api mimics curl: The sentry api command provides direct API access with a curl-like interface — --method for HTTP method, --data for request body, --header for custom headers. It handles authentication automatically. If you know how to call a REST API with curl, the same patterns apply.

Context Window Tips

  • Use --json --fields to select specific fields and reduce output size. Run <command> --help to see available fields. Example: sentry issue list --json --fields shortId,title,priority,level,status
  • Use --json when piping output between commands or processing programmatically
  • Use --limit to cap the number of results (default is usually 10–100)
  • Prefer sentry issue view PROJECT-123 over listing and filtering manually
  • Use sentry api for endpoints not covered by dedicated commands

Safety Rules

  • Always confirm with the user before running destructive commands: project delete, trial start
  • For mutations, verify the org/project context looks correct in the command output before proceeding with further changes
  • Never store or log authentication tokens — the CLI manages credentials automatically
  • If the CLI reports the wrong org/project, override with explicit <org>/<project> arguments

Exit Codes

The CLI uses semantic exit codes. Key ranges for agents:

Range Meaning Agent Action
0 Success Proceed normally
10–19 Auth error Prompt user to run sentry auth login
20–29 Input error Check command arguments and retry
30–39 API error Retry or report to user
40–49 Feature unavailable Inform user about plan/settings
50–59 Operation error Report to user
60–69 Command-specific Check stderr for details

See Exit Codes for the complete reference.

Workflow Patterns

Investigate an Issue

# 1. Find the issue (auto-detects org/project from DSN or config)
sentry issue list --query "is:unresolved" --limit 5

# 2. Get details
sentry issue view PROJECT-123

# 3. Get AI root cause analysis
sentry issue explain PROJECT-123

# 4. Get a fix plan
sentry issue plan PROJECT-123

Explore Traces and Performance

# 1. List recent traces (auto-detects org/project)
sentry trace list --limit 5

# 2. View a specific trace with span tree
sentry trace view abc123def456...

# 3. View spans for a trace
sentry span list abc123def456...

# 4. View logs associated with a trace
sentry trace logs abc123def456...

Stream Logs

# Stream logs in real-time (auto-detects org/project)
sentry log list --follow

# Filter logs by severity
sentry log list --query "severity:error"

Explore the API Schema

# Browse all API resource categories
sentry schema

# Search for endpoints related to a resource
sentry schema issues

# Get details about a specific endpoint
sentry schema "GET /api/0/organizations/{organization_id_or_slug}/issues/"

Manage Releases

# Create a release — version must match Sentry.init({ release }) exactly
sentry release create my-org/1.0.0 --project my-project

# Associate commits via repository integration (needs local git checkout)
sentry release set-commits my-org/1.0.0 --auto

# Or read commits from local git history (no integration needed)
sentry release set-commits my-org/1.0.0 --local

# Mark the release as finalized
sentry release finalize my-org/1.0.0

# Record a production deploy
sentry release deploy my-org/1.0.0 production

Key details:

  • The positional is <org-slug>/<version>. In sentry release create sentry/1.0.0, sentry is the org and 1.0.0 is the version — the slash separates org from version, it is not part of the version string.
  • The version must match the release value in Sentry.init(). If your SDK uses "1.0.0", the command must use org/1.0.0.
  • --auto requires a Sentry repository integration (GitHub/GitLab/Bitbucket) and a local git checkout. It matches your origin remote against Sentry's repo list. Without a checkout, use --local.
  • With no flag, set-commits tries --auto first and falls back to --local on failure.

Arbitrary API Access

# GET request (default)
sentry api /api/0/organizations/my-org/

# POST request with data
sentry api /api/0/organizations/my-org/projects/ --method POST --data '{"name":"new-project","platform":"python"}'

Dashboard Layout

Sentry dashboards use a 6-column grid. When adding widgets, aim to fill complete rows (widths should sum to 6).

Display types with default sizes:

Display Type Width Height Category Notes
big_number 2 1 common Compact KPI — place 3 per row (2+2+2=6)
line 3 2 common Half-width chart — place 2 per row (3+3=6)
area 3 2 common Half-width chart — place 2 per row
bar 3 2 common Half-width chart — place 2 per row
table 6 2 common Full-width — always takes its own row
stacked_area 3 2 specialized Stacked area chart
top_n 3 2 specialized Top N ranked list
categorical_bar 3 2 specialized Categorical bar chart
text 3 2 specialized Static text/markdown widget
details 3 2 internal Detail view
wheel 3 2 internal Pie/wheel chart
rage_and_dead_clicks 3 2 internal Rage/dead click visualization
server_tree 3 2 internal Hierarchical tree display
agents_traces_table 3 2 internal Agents traces table

Use common types for general dashboards. Use specialized only when specifically requested. Avoid internal types unless the user explicitly asks.

Available datasets: spans (default), tracemetrics, discover, issue, error-events, logs. Run sentry dashboard widget --help for dataset descriptions, query formats, and examples.

Row-filling examples:

# 3 KPIs filling one row (2+2+2 = 6)
sentry dashboard widget add <dashboard> "Error Count" --display big_number --query count
sentry dashboard widget add <dashboard> "P95 Duration" --display big_number --query p95:span.duration
sentry dashboard widget add <dashboard> "Throughput" --display big_number --query epm

# 2 charts filling one row (3+3 = 6)
sentry dashboard widget add <dashboard> "Errors Over Time" --display line --query count
sentry dashboard widget add <dashboard> "Latency Over Time" --display line --query p95:span.duration

# Full-width table (6 = 6)
sentry dashboard widget add <dashboard> "Top Endpoints" --display table \
  --query count --query p95:span.duration \
  --group-by transaction --sort -count --limit 10

Quick Reference

Time filtering

Use --period (alias: -t) to filter by time window:

sentry trace list --period 1h
sentry span list --period 24h
sentry span list -t 7d

Scoping to an org or project

Org and project are positional arguments following gh CLI conventions:

sentry trace list my-org/my-project
sentry issue list my-org/my-project
sentry span list my-org/my-project/abc123def456...

Listing spans in a trace

Pass the trace ID as a positional argument to span list:

sentry span list abc123def456...
sentry span list my-org/my-project/abc123def456...

Dataset names for the Events API

When querying the Events API (directly or via sentry api), valid dataset values are: spans, transactions, logs, errors, discover.

Common Mistakes

  • Wrong issue ID format: Use PROJECT-123 (short ID), not the numeric ID 123456789. The short ID includes the project prefix.
  • Pre-authenticating unnecessarily: Don't run sentry auth login before every command. The CLI detects missing/expired auth and prompts automatically. Only run sentry auth login if you need to switch accounts.
  • Missing --json for piping: Human-readable output includes formatting. Use --json when parsing output programmatically.
  • Specifying org/project when not needed: Auto-detection resolves org/project from .sentryclirc config files, DSNs, env vars, and directory names. Let it work first — only add <org>/<project> if the CLI says it can't detect the target or detects the wrong one.
  • Confusing --query syntax: The --query flag uses Sentry search syntax (e.g., is:unresolved, assigned:me), not free text search.
  • Not using --web: View commands support -w/--web to open the resource in the browser — useful for sharing links.
  • Fetching API schemas instead of using the CLI: Prefer sentry schema to browse the API and sentry api to make requests — the CLI handles authentication and endpoint resolution, so there's rarely a need to download OpenAPI specs separately.
  • Release version mismatch: The org/version positional is <org-slug>/<version>, where org/ is the org, not part of the version. sentry release create sentry/1.0.0 creates version 1.0.0 in org sentry. If your Sentry.init() uses release: "1.0.0", this is correct. Don't double-prefix like sentry/myapp/1.0.0.
  • Running set-commits --auto without a git checkout: --auto needs a local git repo to discover the origin remote URL and HEAD commit. In CI, ensure actions/checkout with fetch-depth: 0 runs before set-commits --auto.
  • Using sentry api when CLI commands suffice: sentry issue list --json already includes shortId, title, priority, level, status, permalink, and other fields at the top level. Some fields like count, userCount, firstSeen, and lastSeen may be null depending on the issue. Use --fields to select specific fields and --help to see all available fields. Only fall back to sentry api for data the CLI doesn't expose.

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

# 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

Command Reference

Auth

Authenticate with Sentry

  • sentry auth login — Authenticate with Sentry
  • sentry auth logout — Log out of Sentry
  • sentry auth refresh — Refresh your authentication token
  • sentry auth status — View authentication status
  • sentry auth token — Print the stored authentication token
  • sentry auth whoami — Show the currently authenticated user

→ Full flags and examples: references/auth.md

Org

Work with Sentry organizations

  • sentry org list — List organizations
  • sentry org view <org> — View details of an organization

→ Full flags and examples: references/org.md

Project

Work with Sentry projects

  • sentry project create <name> <platform> — Create a new project
  • sentry project delete <org/project> — Delete a project
  • sentry project list <org/project> — List projects
  • sentry project view <org/project> — View details of a project

→ Full flags and examples: references/project.md

Issue

Manage Sentry issues

  • sentry issue list <org/project> — List issues in a project
  • sentry issue events <issue> — List events for a specific issue
  • sentry issue explain <issue> — Analyze an issue's root cause using Seer AI
  • sentry issue plan <issue> — Generate a solution plan using Seer AI
  • sentry issue view <issue> — View details of a specific issue
  • sentry issue resolve <issue> — Mark an issue as resolved
  • sentry issue unresolve <issue> — Reopen a resolved issue
  • sentry issue merge <issue...> — Merge 2+ issues into a single canonical group

→ Full flags and examples: references/issue.md

Event

View and list Sentry events

  • sentry event view <org/project/event-id...> — View details of a specific event
  • sentry event list <issue> — List events for an issue

→ Full flags and examples: references/event.md

API

Make an authenticated API request

  • sentry api <endpoint> — Make an authenticated API request

→ Full flags and examples: references/api.md

CLI

CLI-related commands

  • sentry cli defaults <key value...> — View and manage default settings
  • sentry cli feedback <message...> — Send feedback about the CLI
  • sentry cli fix — Diagnose and repair CLI database issues
  • sentry cli setup — Configure shell integration
  • sentry cli upgrade <version> — Update the Sentry CLI to the latest version

→ Full flags and examples: references/cli.md

Dashboard

Manage Sentry dashboards

  • sentry dashboard list <org/title-filter...> — List dashboards
  • sentry dashboard view <org/project/dashboard...> — View a dashboard
  • sentry dashboard create <org/project/title...> — Create a dashboard
  • sentry dashboard widget add <org/project/dashboard/title...> — Add a widget to a dashboard
  • sentry dashboard widget edit <org/project/dashboard...> — Edit a widget in a dashboard
  • sentry dashboard widget delete <org/project/dashboard...> — Delete a widget from a dashboard

→ Full flags and examples: references/dashboard.md

Release

Work with Sentry releases

  • sentry release list <org/project> — List releases with adoption and health metrics
  • sentry release view <org/version...> — View release details with health metrics
  • sentry release create <org/version...> — Create a release
  • sentry release finalize <org/version...> — Finalize a release
  • sentry release delete <org/version...> — Delete a release
  • sentry release deploy <org/version environment name...> — Create a deploy for a release
  • sentry release deploys <org/version...> — List deploys for a release
  • sentry release set-commits <org/version...> — Set commits for a release
  • sentry release propose-version — Propose a release version

→ Full flags and examples: references/release.md

Repo

Work with Sentry repositories

  • sentry repo list <org/project> — List repositories

→ Full flags and examples: references/repo.md

Team

Work with Sentry teams

  • sentry team list <org/project> — List teams

→ Full flags and examples: references/team.md

Explore

Query aggregate event data (Explore)

  • sentry explore <target> — Query aggregate event data (Explore)

→ Full flags and examples: references/explore.md

Log

View Sentry logs

  • sentry log list <org/project-or-trace-id...> — List logs from a project
  • sentry log view <org/project/log-id...> — View details of one or more log entries

→ Full flags and examples: references/log.md

Sourcemap

Manage sourcemaps

  • sentry sourcemap inject <directory> — Inject debug IDs into JavaScript files and sourcemaps
  • sentry sourcemap upload <directory> — Upload sourcemaps to Sentry

→ Full flags and examples: references/sourcemap.md

Span

List and view spans in projects or traces

  • sentry span list <org/project/trace-id...> — List spans in a project or trace
  • sentry span view <trace-id/span-id...> — View details of specific spans

→ Full flags and examples: references/span.md

Trace

View distributed traces

  • sentry trace list <org/project> — List recent traces in a project
  • sentry trace view <org/project/trace-id...> — View details of a specific trace
  • sentry trace logs <org/project/trace-id...> — View logs associated with a trace

→ Full flags and examples: references/trace.md

Trial

Manage product trials

  • sentry trial list <org> — List product trials
  • sentry trial start <name> <org> — Start a product trial

→ Full flags and examples: references/trial.md

Init

Initialize Sentry in your project (experimental)

  • sentry init <target> <directory> — Initialize Sentry in your project (experimental)

→ Full flags and examples: references/init.md

Schema

Browse the Sentry API schema

  • sentry schema <resource...> — Browse the Sentry API schema

→ Full flags and examples: references/schema.md

Global Options

All commands support the following global options:

  • --help - Show help for the command
  • --version - Show CLI version
  • --log-level <level> - Set log verbosity (error, warn, log, info, debug, trace). Overrides SENTRY_LOG_LEVEL
  • --verbose - Shorthand for --log-level debug

Output Formats

JSON Output

Most list and view commands support --json flag for JSON output, making it easy to integrate with other tools:

sentry org list --json | jq '.[] | .slug'

Opening in Browser

View commands support -w or --web flag to open the resource in your browser:

sentry issue view PROJ-123 -w

常见问题

7 问
答案由本站依据条目字段整理
sentry CLI 日程管理怎么安装?

在支持 Skills 的客户端里执行:curl https://cli.sentry.dev/install -fsS | bash。安装方式为未标注。装完刷新技能列表或重开客户端。

sentry CLI 日程管理支持哪些客户端?

资料标注支持 本地 Agent;其他支持 Skills 的客户端也能用同样的方式加载。

sentry CLI 日程管理权限高吗,安全吗?

权限级别为浏览器控制。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

sentry CLI 日程管理收费吗?

本站不代收费用,也没有标注具体价格。是否收费取决于技能本身和所用的模型或客户端,正式使用前按作者说明确认。

sentry CLI 日程管理用什么许可证?

许可证标注为 unknown(许可证不明确)。商用或二次分发前请到仓库确认条款原文。

sentry CLI 日程管理能做什么?

资料列出的能力包括:按任务关键词查找相关 Skills、展示可复制的安装命令、保留来源站点、仓库和原始说明,方便继续核验、展示第三方安全扫描或审计结果。

sentry CLI 日程管理怎么用?

安装后应在对应宿主中按原始 README 的触发条件使用;当前草稿只做目录说明,具体调用方式由规则抽取,异常条目再复核。

安全信息

审计结论
未标注不代表已通过审计
安全审计Socket第三方安全审计平台给出的结论

热门专题

按场景挑技能
全部专题 →

技能内容以作者仓库为准;分类、权限级别与许可证状态的中文说明为中文整理,最近核验 2026-05-01。