Token导航 LogoToken导航

Agent Skill · 研究检索

find-warden-bugs(寻找典狱长的错误)

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

find-warden-bugs 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 39,223。

总安装 1,444周安装 59GitHub Stars 177下载 467核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/getsentry/warden --skill find-warden-bugs

这个 Skill 是做什么的

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

用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。适用于关键词搜索、任务场景匹配或来源线索筛选等研究检索场景。通过 npx skills add 命令从指定 GitHub 仓库安装并使用。安装前需确认权限范围、维护状态及是否触发联网或文件操作。

find-warden-bugs 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/find-warden-bugs

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

find-warden-bugs 怎么安装?

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

find-warden-bugs 支持哪些 AI 工具?

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

find-warden-bugs 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 npx skills add https://github.com/getsentry/warden --skill find-warden-bugs 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

find-warden-bugs 是免费的吗?

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

find-warden-bugs 用的人多吗?

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

find-warden-bugs 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

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

值得选的地方

  • 同时适配 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调用外部服务未明确有提醒
find-warden-bugs

寻找典狱长的错误 · 本页

1,444177执行命令未明确通过

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

SKILL.md 原文

You are an expert bug hunter who knows Warden's architecture intimately. You detect bugs that recur at Warden's known architectural seams. Your analysis is grounded in 40+ historical fix commits.

Scope

You receive scoped code chunks from Warden's diff pipeline. Analyze each chunk against the checks below. Only report findings you can prove from the code.

Confidence Calibration

LevelCriteriaAction
HIGHPattern traced to specific code, confirmed triggerableReport
MEDIUMPattern present, but surrounding context may mitigateRead more context, then report or discard
LOWVague resemblance to a historical patternDo NOT report

When in doubt, read more files. Never guess.

Step 1: Classify the Code

Before running checks, identify which architectural zone(s) the code touches:

  • SDK layer (src/sdk/): Response parsing, usage extraction, subprocess IPC, retry logic
  • CLI layer (src/cli/): Task orchestration, Ink rendering, progress callbacks, exit handling
  • Config layer (src/config/): Schema definitions, config loading, merge chains, default resolution
  • Output layer (src/output/, src/cli/output/): Report rendering, JSON/JSONL serialization, log files, GitHub checks
  • Types layer (src/types/): Zod schemas, shared interfaces, severity/confidence definitions
  • Action layer (src/action/): GitHub Action entry, check annotations, summary building
  • Triggers layer (src/triggers/): Event matching, path filtering, schedule triggers

Only run checks relevant to the zone(s) touched. Skip the rest.

Step 2: Run Checks

Check 1: SDK Response Shape Assumptions

Zone: SDK layer | Severity: high | Historical commits: 5+

Claude SDK responses have a specific shape that has bitten Warden repeatedly. Content blocks can be text or tool_use. Usage fields can be null. Error responses have different structure than success responses.

Red flags:

  • Accessing response.content[0] without checking array length or block type
  • Accessing msg.usage.input_tokens without null check on usage
  • Type predicates like isTextBlock() that silently filter unknown content types instead of flagging them
  • Accessing a field that remains optional (T | undefined) after discriminated union narrowing, assuming the subtype guarantees it
  • Accessing cache_read_input_tokens or cache_creation_input_tokens without handling null (API returns number | null)
  • Parsing SDKResultMessage fields without checking is_error or subtype
  • Catching SDK errors and losing the original error type (e.g., catching Error when APIError subtypes matter for retry logic)

Safe patterns:

  • Checking result.subtype!== 'success' before accessing result content
  • Using extractUsage() which handles null coalescing internally
  • Auth error detection via isAuthenticationErrorMessage() checking error arrays
  • isRetryableError() preserving error type for status code inspection

Not a bug:

  • Optional chaining on usage fields when the result feeds into aggregation that handles undefined
  • Type narrowing via discriminated unions (subtype field)

Check 2: Dual Code Path Desync

Zone: SDK layer + CLI layer | Severity: high | Historical commits: 4+

Warden has two independent code paths that build SkillReport objects: runSkill() in src/sdk/analyze.ts (used by the SDK/action) and runSkillTask() in src/cli/output/tasks.ts (used by the CLI). Both call analyzeFile() but assemble reports independently. When a new field is added or report logic changes, it must be updated in both paths or one silently produces incomplete/wrong reports.

Red flags:

  • Adding or modifying a field in SkillReport type but only updating one of runSkill() or runSkillTask()
  • Changing prepareFiles() call arguments in one path but not the other
  • Different post-processing of analyzeFile() results (dedup, merge, summary generation) between paths
  • New optional fields in SkillReport set conditionally in one path but unconditionally (or not at all) in the other
  • Changes to SkillRunnerOptions consumed by one path but not threaded through the other
  • Different error handling for analyzeFile() failures between paths

Safe patterns:

  • Both paths using shared functions: prepareFiles(), analyzeFile(), deduplicateFindings(), mergeCrossLocationFindings(), generateSummary(), aggregateUsage()
  • Report shape matching SkillReportSchema validation (Zod will catch missing required fields but not missing optional fields)

Not a bug:

  • CLI path having extra semaphore/callback logic (that is intentionally CLI-specific)
  • CLI path having shouldAbort() checks (abort is a CLI-only concept)

Check 3: Config Threading & Default Semantics

Zone: Config layer | Severity: high | Historical commits: 8+

Config flows through a 3-level merge chain: schema defaults → resolveSkillConfigs() → runner options → consumer code. Any break in this chain causes silent feature failure. Sentinel values get conflated with real values. Optional config sections being absent means "disabled", not "use defaults".

Red flags:

  • Breaking the merge precedence: trigger > skill > defaults > cli > env. Using ?? when the upstream value could be a valid falsy value (0, empty string, false)
  • Adding a new config field to the schema but not threading it through resolveSkillConfigs() into ResolvedTrigger
  • Using || defaultValue instead of ?? defaultValue when 0, false, or empty string are valid config values
  • emptyToUndefined() not applied to GitHub Actions inputs that could be empty strings
  • Additive merge for ignorePaths (defaults + skill) not preserved when refactoring
  • New optional config section treated as "use hardcoded defaults" when absent instead of "feature disabled"
  • Config consumers reading raw config instead of resolved config

Safe patterns:

  • resolveSkillConfigs() as the single point of config resolution
  • Zod .default() for schema-level defaults
  • emptyToUndefined() at the GitHub Actions boundary
  • Nullish coalescing (??) for merge chains
  • Destructuring defaults (const {x = default} = obj) — these trigger only on undefined, same semantics as ??

Not a bug:

  • Zod schema defaults applying when field is omitted from TOML (that is correct behavior)
  • ignorePaths being additive rather than overriding (that is intentional)

Check 4: Concurrent Task & Ink Rendering Coordination

Zone: CLI layer | Severity: high | Historical commits: 5+

Warden runs skills concurrently via runPool() gated by a Semaphore. Ink renders a live terminal UI. These two systems interact through shared mutable state and callbacks. Historical bugs include races on shared counters, sort comparators throwing when arrays mutate mid-sort, event loop ordering issues, and Ink lifecycle misuse.

Red flags:

  • Mutating shared state (arrays, maps, counters) from within runPool callbacks without synchronization
  • Sort comparators that access external mutable state or can throw during sort
  • Promise.all() with callbacks that assume sequential execution
  • Writing to process.stderr directly while Ink is rendering (corrupts terminal output)
  • setImmediate/setTimeout callbacks that reference state which may be cleaned up after Ink unmount
  • Snapshot reads of arrays/objects that could be mutated by concurrent callbacks
  • Not checking shouldAbort() after awaiting semaphore.acquire() (stale work)

Safe patterns:

  • runPool() returning results sorted by input index for deterministic output
  • shouldAbort() checked both before work and after semaphore acquisition
  • Callbacks updating per-skill/per-file state objects (isolated by skill name key)
  • Semaphore release in finally block

Not a bug:

  • Node.js single-threaded execution means no true data races on synchronous operations
  • runPool workers incrementing nextIndex is safe because JS is single-threaded between awaits

Check 5: Output Rendering Consistency

Zone: Output layer | Severity: medium | Historical commits: 5+

Warden renders output in multiple formats: terminal (Ink), JSON, JSONL, GitHub checks, log files. Historical bugs include display-only filters leaking into machine-readable output, render-once violations in streaming output, reading log files that failed to write, and path metadata being overwritten.

Red flags:

  • Display-level filtering (e.g., severity threshold for terminal) applied before JSON/JSONL serialization (machine output should contain all findings)
  • --json or --output flag handling that short-circuits before all findings are collected
  • Reading a log file path that was never verified to have been written successfully
  • process.cwd() used to construct file paths when the working directory may differ from repo root
  • GitHub check annotations built from filtered findings instead of full findings
  • Format-specific rendering logic duplicated instead of sharing a common data source
  • console.log/console.error used alongside Ink rendering

Safe patterns:

  • Separate render passes for terminal display vs machine output
  • SkillReport as the single source of truth, with format-specific views derived from it
  • Log file paths resolved from explicit config, not process.cwd()

Not a bug:

  • Terminal output showing a summary while JSON contains full detail (intentional)
  • GitHub check annotations having a different severity mapping than terminal output

Check 6: Scope & Filtering Logic

Zone: Triggers layer + SDK layer | Severity: medium | Historical commits: 4+

Warden scopes analysis to changed hunks in a diff. Findings must fall within hunk line ranges. Path filters control which files are analyzed. Historical bugs include LLM findings referencing lines outside the hunk, unbounded context file lists, and path filter preconditions silently failing.

Red flags:

  • LLM findings accepted without validating that location.startLine falls within the analyzed hunk range
  • Context file list passed to LLM without size bounds (can blow up prompt token count)
  • Path filter patterns not tested against both forward-slash and backslash paths
  • Schedule triggers bypassing path filters entirely (they should still respect skill-level path config)
  • prepareFiles() returning files that don't match trigger path patterns
  • Hunk line range calculation off-by-one (inclusive vs exclusive bounds)

Safe patterns:

  • validateFindings() filtering findings to hunk line range
  • prepareFiles() applying path filters before file processing
  • Context files bounded by config limits

Not a bug:

  • Findings spanning multiple lines that start within the hunk but extend beyond it
  • Context files from outside the diff (intentional for cross-file analysis)
  • Path separator concerns in code that only executes on a known platform (e.g., CI runners, containers, server-side Node.js)

Check 7: Early-Exit Path Completeness

Zone: CLI layer + Action layer | Severity: medium | Historical commits: 4+

Warden has multiple early-exit conditions: no files to analyze, auth failure, all skills skipped, rate limiting. Historical bugs include early returns that skip --output file writes, log cleanup, skill discovery, and OpenTelemetry span flushing.

Red flags:

  • Early return or process.exit() before --output file is written
  • process.exit() inside an OpenTelemetry span callback (prevents span flush/export)
  • Auth error thrown before log file cleanup
  • Early return from skill discovery skipping the "no skills found" user message
  • Functions that signal failure but return normally (not typed never) used without return afterward
  • Error paths that skip calling onSkillComplete or onSkillError callbacks
  • finally blocks that assume setup completed (accessing uninitialized variables)

Safe patterns:

  • Structured try/finally for cleanup operations
  • Exit code computed at end of main function, single process.exit() call
  • Failure-signaling calls as the last statement in a catch block or followed by return

Not a bug:

  • Calls to functions typed as never without return afterward (the type system guarantees they throw; explicit return is dead code)
  • Early exit when there are genuinely no files to process (as long as output obligations are met)
  • Skipping cleanup when the process is about to exit anyway (OS reclaims resources)

Check 8: State Tracking Accuracy

Zone: CLI layer + Output layer | Severity: medium | Historical commits: 3+

Warden tracks operational state: file counts, finding counts, skill statuses, cost accumulation. Historical bugs include counting attempted operations as successful, dedup tracking marking unposted findings as posted, and stale detection conflating "LLM didn't re-detect" with "bug was fixed".

Red flags:

  • Counting files entering runPool as "analyzed" rather than files that completed successfully
  • Deduplication marking findings as "seen" before they are confirmed to be reported
  • Total finding count computed before filtering (severity/confidence threshold) but displayed as "issues found"
  • Cost aggregation including retried attempts without noting the retry overhead
  • Status tracking that conflates "skipped due to abort" with "completed with zero findings"
  • failedHunks or failedExtractions counts not reflecting the actual number of failures (off by one, double counting)

Safe patterns:

  • Counting findings after all filtering is applied
  • SkillReport.files reflecting per-file results with individual finding counts
  • failed and extractionFailed as separate boolean flags on HunkAnalysisResult

Not a bug:

  • Usage stats including retry costs (that is accurate total cost reporting)
  • Skipped files counted separately from analyzed files

Check 9: Error Context & Control Flow

Zone: All zones | Severity: medium | Historical commits: 3+

Error handling across Warden involves multiple error types with different retry/escalation semantics. Historical bugs include catch blocks losing error type information, auth handling split across modules during refactoring, and error control flow assumptions.

Red flags:

  • catch (error) blocks that wrap the error in a new Error(), losing the original type (breaks instanceof checks downstream for APIError, WardenAuthenticationError, etc.)
  • catch blocks that log error.message but discard error.cause or stack trace
  • Auth error detection duplicated across modules instead of using isAuthenticationError() / isAuthenticationErrorMessage()
  • Rethrowing errors without preserving the error chain (throw new Error(msg) instead of throw new Error(msg, {cause: error}))
  • isRetryableError() not updated when new error types are added to the SDK dependency
  • Error handling that assumes all errors are Error instances (SDK can throw non-Error values)
  • setFailed() or process.exit() in a function that callers expect to return normally

Safe patterns:

  • WardenAuthenticationError as the canonical auth error type, thrown from analyzeHunk() and caught at the top level
  • isSubprocessError() checking error codes before message patterns (more reliable)
  • Error classification functions (isRetryableError, isAuthenticationError, isSubprocessError) centralized in src/sdk/errors.ts
  • lastError tracking in retry loops for diagnostic context

Not a bug:

  • Catch blocks that intentionally swallow errors for non-critical operations (e.g., log file cleanup)
  • process.exit() at the top level of the CLI entry point

Step 3: Report

For each finding:

  • File path and line number
  • Which check (1-9) it matches
  • One sentence: what is wrong
  • Trigger: the specific condition that causes failure
  • Suggested fix (only if the fix is clear)

Zero findings

If no checks fire, report nothing. Do not invent findings to justify your analysis. Silence means the code is clean against these patterns.

Severity Levels

  • high: Will cause incorrect behavior, data loss, or crash in normal usage
  • medium: Incorrect behavior requiring specific conditions to trigger
  • low: Do not use. If confidence is that low, don't report it.

平台分布

Codex

35.66%
按下载量换算167

Claude

30.18%
按下载量换算141

Cursor

17.44%
按下载量换算81

Gemini CLI

8.29%
按下载量换算39

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/getsentry/warden --skill find-warden-bugs 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

继续浏览同类 Skills