Token导航 LogoToken导航

Agent Skill · 研究检索

cli-sentry(CLI Sentry 搜索)

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

cli-sentry 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描有未通过项,按安装量在研究检索类的 73,675 个 Skill 里排第 51,787。

总安装 574周安装 23GitHub Stars 51下载 186核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:cli-sentry(CLI Sentry 搜索)
来源仓库:https://github.com/paulrberg/agent-skills
仓库路径:skills/cli-sentry
安装命令:
npx skills add https://github.com/paulrberg/agent-skills --skill cli-sentry
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/paulrberg/agent-skills --skill cli-sentry

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

cli-sentry 提供 Sentry CLI v3 的专业操作指南,用于 Issue 管理与 API 集成。适合获取、分类与解决 Sentry 问题,支持预检安装与认证。使用 scripts/sentry-api.sh 进行 API 调用,而非直接调用已移除的 sentry-cli api。

安装前应确认仅兼容 v3,避免使用废弃接口导致错误。cli-sentry 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/cli-sentry

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/paulrberg/agent-skills --skill cli-sentry;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

cli-sentry 怎么安装?

在终端执行 npx skills add https://github.com/paulrberg/agent-skills --skill cli-sentry。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

cli-sentry 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

cli-sentry 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

cli-sentry 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

cli-sentry 用的人多吗?

公开数据是累计安装 574 次,近一周安装 23 次,下载 186 次,GitHub 51 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

cli-sentry 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
cli-sentry

CLI Sentry 搜索 · 本页

57451接触敏感数据未明确未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Sentry CLI Issue Management

Compatibility: This skill is compatible with sentry-cli v3 only. Important: sentry-cli api was removed in v3. Do not use sentry-cli api for anything. Use scripts/sentry-api.sh for API calls (see API Access and API Fallbacks).

Overview

Expert guidance for managing Sentry issues via the CLI and API. Use this skill for fetching, triaging, categorizing, and resolving Sentry issues.

Key capabilities:

  • Preflight validation of sentry-cli installation and auth
  • List and filter issues by status, time period, and query
  • Categorize issues (Valid, False Positive, Already Resolved, Third Party)
  • Resolve, mute, and unresolve issues (individually or in bulk)

Safety Rules

Prohibited operations:

  • sentry-cli api — Removed in v3. Use sentry-api.sh instead
  • DELETE /issues/{id}/ - Issue deletion (irreversible)
  • Project or release deletion
  • Bulk status changes without explicit user confirmation
  • Modifying alert rules, notification settings, or project configuration

Allowed operations:

  • Listing and viewing issues (read-only)
  • Resolving issues (reversible via unresolve)
  • Muting/ignoring issues (reversible via unmute)
  • Fetching event details and stack traces

API Access

NEVER manually parse ~/.sentryclirc or construct Authorization headers. All Sentry API calls MUST go through one of these scripts: - scripts/fetch-issues.sh — list unresolved issues with rich JSON - scripts/sentry-api.sh — general-purpose authenticated API wrapper These scripts handle credential resolution internally. Do not use $SENTRY_AUTH_TOKEN directly.

sentry-api.sh Usage

bash scripts/sentry-api.sh METHOD PATH [BODY]
  • METHOD: GET, PUT, POST (DELETE is rejected)
  • PATH: Sentry API path — {org} and {project} placeholders are auto-substituted from config
  • BODY: optional JSON string for PUT/POST

Prerequisites

Configuration (~/.sentryclirc)

Sentry credentials are stored in ~/.sentryclirc (the native sentry-cli config file):

[auth]
token=sntrys_...

[defaults]
org=your-org-slug
project=your-project-slug
Environment variables (SENTRY_AUTH_TOKEN, SENTRY_ORG, SENTRY_PROJECT) override rc file values when set. The rc file is the primary persistent store.

Setup: Missing Configuration

Before running any Sentry operation, run the preflight check:

bash scripts/check-sentry.sh -v

If the preflight check fails with exit code 4 (missing config), prompt the user for each missing value using AskUserQuestion, then write the values to ~/.sentryclirc:

  • If the file doesn't exist, create it with [auth] and [defaults] sections
  • If the file exists, add missing keys under the appropriate section (token → [auth], org/project → [defaults])
  • Re-run the preflight check to confirm

Configuration Resolution Order

Settings resolve in this order (first wins):

  1. CLI flags (--org, --project)
  2. Environment variables (SENTRY_ORG, SENTRY_PROJECT, SENTRY_AUTH_TOKEN)
  3. ~/.sentryclirc

Issue Management

List Issues (CLI)

# List all issues
sentry-cli issues list --project <project>

# List with status filter
sentry-cli issues list --project <project> --status unresolved

# Full search syntax (Sentry query language)
sentry-cli issues list --project <project> --query "is:unresolved browser.name:Chrome"

# Pagination control (default: 5 pages)
sentry-cli issues list --project <project> --pages 10

List Issues (API - Richer Data)

Use scripts/fetch-issues.sh for triage-quality JSON with metadata, culprit, event counts, and timestamps:

bash scripts/fetch-issues.sh --org=<org> --project=<project>
bash scripts/fetch-issues.sh --org=<org> --project=<project> --stats-period=7d --limit=50

Get Issue Details (API)

bash scripts/sentry-api.sh GET /issues/{issue_id}/ | jq

Get Latest Event / Stack Trace (API)

bash scripts/sentry-api.sh GET /issues/{issue_id}/events/latest/ | jq '.exception // {note: "no exception data"}'

Resolve / Mute / Unresolve (CLI)

# Resolve
sentry-cli issues resolve --project <project> -i <issue_id>

# Mute (ignore)
sentry-cli issues mute --project <project> -i <issue_id>

# Unresolve
sentry-cli issues unresolve --project <project> -i <issue_id>

# Resolve in next release only
sentry-cli issues resolve --project <project> -i <issue_id> --next-release

Issue Categorization

Categorize each issue into one of four categories:

1. Valid

Genuine application errors requiring investigation and fixes.

Indicators:

  • Stack trace points to application code (src/, app/, webpack://)
  • Error originates from application logic, not external code
  • Reproducible user-facing issues
  • API errors from application endpoints

2. False Positive

Errors that appear as issues but are not actual problems.

Indicators:

  • Network errors from user connectivity issues (timeouts, DNS failures)
  • Browser-specific quirks not affecting functionality
  • Expected errors (e.g., 401 for unauthenticated users, 404 for deleted resources)
  • Errors from automated bots/crawlers

3. Already Resolved

Issues that have been fixed in subsequent deployments.

Indicators:

  • Last seen date predates a known fix
  • No recent occurrences (check lastSeen field)
  • Related code has been refactored or removed
  • Issue matches a closed GitHub issue or merged PR

4. Third Party

Errors originating from browser extensions or external scripts. See references/extension-patterns.md for comprehensive detection patterns.

Indicators:

  • Stack trace contains extension URLs (chrome-extension://, moz-extension://, etc.)
  • Error from injected scripts (inpage.js, content.js, inject.js)
  • Known extension error messages (ResizeObserver loop, Extension context invalidated)
  • Stack trace mentions known extensions (MetaMask, Grammarly, LastPass, etc.)

Triage Workflow

  1. Preflight - Run bash scripts/check-sentry.sh -v to verify config and auth. If missing, prompt the user and write to ~/.sentryclirc
  2. Fetch - Run bash scripts/fetch-issues.sh --org=<org> --project=<project> to get all unresolved issues
  3. Inspect - For each issue, fetch its latest event to examine the stack trace: bash scripts/sentry-api.sh GET /issues/{issue_id}/events/latest/ \ | jq '.exception.values[0].stacktrace.frames // empty' Check culprit, title, metadata, lastSeen, and event count
  4. Categorize - Assign each issue to Valid, False Positive, Already Resolved, or Third Party
  5. Present - Summarize in a triage report table:
## Sentry Issue Triage Report

### Valid (N issues)

| Issue | Title | Events | Last Seen |
| --- | --- | --- | --- |
| PROJ-123 | TypeError in Component | 45 | 2h ago |

### Third Party (N issues)

| Issue | Title | Source | Events |
| --- | --- | --- | --- |
| PROJ-126 | ResizeObserver loop | Browser Extension | 234 |

### False Positives (N issues)

| Issue | Title | Reason |
| --- | --- | --- |
| PROJ-128 | Network Error | User connectivity |

### Already Resolved (N issues)

| Issue | Title | Last Seen | Notes |
| --- | --- | --- | --- |
| PROJ-130 | Hydration mismatch | 14d ago | Fixed in v2.3.1 |

Bulk Actions

After triage, resolve or mute issues in bulk. Always confirm with the user before executing.

# Bulk resolve via API
bash scripts/sentry-api.sh PUT \
  "/projects/{org}/{project}/issues/?id=123&id=456&id=789" \
  '{"status": "resolved"}'

# Bulk ignore/mute via API
bash scripts/sentry-api.sh PUT \
  "/projects/{org}/{project}/issues/?id=123&id=456&id=789" \
  '{"status": "ignored"}'

Quick Reference

OperationMethodCommand / Endpoint
List issuesCLIsentry-cli issues list --project <p>
List issues (rich)Scriptbash scripts/fetch-issues.sh --org=<o> --project=<p>
Issue detailsScriptbash scripts/sentry-api.sh GET /issues/{id}/
Latest eventScriptbash scripts/sentry-api.sh GET /issues/{id}/events/latest/
Event listScriptbash scripts/sentry-api.sh GET /issues/{id}/events/
ResolveCLIsentry-cli issues resolve --project <p> -i <id>
MuteCLIsentry-cli issues mute --project <p> -i <id>
UnresolveCLIsentry-cli issues unresolve --project <p> -i <id>
Bulk updateScriptbash scripts/sentry-api.sh PUT "/projects/{org}/{project}/issues/?id=..." '{"status":"resolved"}'

Tips

  1. Run sentry-cli info to verify configuration and auth status from any source
  2. Pipe API responses through jq for readable output: ... | jq '.[] | {shortId, title, count, lastSeen}'
  3. Triage Third Party issues first - they are the easiest to identify and often the most numerous
  4. Check references/extension-patterns.md before categorizing ambiguous stack traces

平台分布

Codex

36.86%
按下载量换算69

Claude

31.36%
按下载量换算58

Cursor

18.56%
按下载量换算35

Gemini CLI

11.01%
按下载量换算20

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

可疑

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills