analyze

GitHub

用于代码库的只读深度分析,提供基于证据的因果、架构或行为解释。支持多文件追溯、解释排名及置信度评估,明确区分事实与推断,禁止修改代码,适用于变更前调研。

skills/analyze/SKILL.md Yeachan-Heo/oh-my-codex

触发场景

用户询问 'analyze' 用户询问 'investigate' 用户询问 'why does' 用户询问 'what's causing' 需要在提出变更前获取跨文件的接地解释

安装

npx skills add Yeachan-Heo/oh-my-codex --skill analyze -g -y
更多选项

不安装直接使用

npx skills use Yeachan-Heo/oh-my-codex@analyze

指定 Agent (Claude Code)

npx skills add Yeachan-Heo/oh-my-codex --skill analyze -a claude-code -g -y

安装 repo 全部 skill

npx skills add Yeachan-Heo/oh-my-codex --all -g -y

预览 repo 内 skill

npx skills add Yeachan-Heo/oh-my-codex --list

SKILL.md

Frontmatter
{
    "name": "analyze",
    "description": "Run read-only deep repository analysis and return a ranked synthesis with explicit confidence, concrete file references, and clear evidence-vs-inference boundaries. Use when a user says 'analyze', 'investigate', 'why does', 'what's causing', or needs grounded cross-file explanation before any changes are proposed."
}

Analyze — Read-Only Deep Analysis

Use $analyze to answer a repository question with grounded, read-only evidence. Explain what the code most likely says; do not turn analysis into implementation or generic fix planning.

Shared operating, delegation, state, hook, team, cancellation, and verification invariants live in templates/AGENTS.md. Follow that source instead of duplicating its rules here.

Use when

  • The user needs a causal, architectural, behavioral, impact, or tradeoff explanation.
  • The answer requires tracing multiple files or boundaries, or ranking plausible explanations.
  • The user needs confidence and concrete evidence before changing anything.

Do not use it for edits, implementation, a new product plan, a simple one-file lookup, or OMX team-runtime operation.

Inputs and method

  1. Restate the question and define the evidence-backed scope.
  2. Identify the smallest files, tests, configs, and docs likely to answer it.
  3. Read direct code paths and contracts first; trace boundaries only as far as needed.
  4. Compare competing explanations, rank them by support, and mark unresolved points.
  5. Stop when the question is answered with sufficient evidence, or name the smallest read-only probe that would resolve the remaining uncertainty.

Evidence discipline

Label every material claim as one of:

  • Evidence — directly shown by code, tests, generated artifacts, configuration, or docs.
  • Inference — a reasoned conclusion drawn from cited evidence.
  • Unknown — not settled by the repository evidence.

Prefer direct paths and independent corroboration over contextual clues. Never present guesses as evidence or inference, and never overclaim certainty.

Output contract

Answer the asked question first and use this shape:

Question

Restated question, briefly.

Ranked synthesis

Rank Explanation Confidence Basis
1 ... High / Medium / Low strongest supporting evidence
2 ... High / Medium / Low why it trails
3 ... High / Medium / Low why it remains possible

Evidence

  • path/to/file:line-line — direct observation.
  • path/to/file:line-line — corroborating observation.

Inference

  • What the evidence most strongly implies.
  • Why weaker alternatives were down-ranked.

Unknowns / limits

  • What the repository does not establish.
  • The next discriminating read-only probe, when useful.

Stop conditions

  • Do not edit files, run an implementation lane, or make recommendations the evidence cannot support.
  • Do not continue searching after the answer and confidence boundary are grounded.
  • If evidence is insufficient, report the limit explicitly rather than manufacturing certainty.

Task: {{ARGUMENTS}}

版本历史

  • 3ad79a8 当前 2026-08-28 17:53

    新增输出格式规范(Question, Ranked synthesis等),强化证据纪律(区分Evidence/Inference/Unknown),明确禁止编辑文件或实施建议,细化停止条件。

  • e94437f 2026-08-20 07:18

同 Skill 集合

plugins/oh-my-codex/skills/analyze/SKILL.md
plugins/oh-my-codex/skills/ask/SKILL.md
plugins/oh-my-codex/skills/autopilot/SKILL.md
plugins/oh-my-codex/skills/autoresearch-goal/SKILL.md
plugins/oh-my-codex/skills/autoresearch/SKILL.md
plugins/oh-my-codex/skills/best-practice-research/SKILL.md
plugins/oh-my-codex/skills/cancel/SKILL.md
plugins/oh-my-codex/skills/configure-notifications/SKILL.md
plugins/oh-my-codex/skills/deep-interview/SKILL.md
plugins/oh-my-codex/skills/design/SKILL.md
plugins/oh-my-codex/skills/hud/SKILL.md
plugins/oh-my-codex/skills/omx-setup/SKILL.md
plugins/oh-my-codex/skills/performance-goal/SKILL.md
plugins/oh-my-codex/skills/pipeline/SKILL.md
plugins/oh-my-codex/skills/prometheus-strict/SKILL.md
plugins/oh-my-codex/skills/ralph/SKILL.md
plugins/oh-my-codex/skills/ralplan/SKILL.md
plugins/oh-my-codex/skills/skill/SKILL.md
plugins/oh-my-codex/skills/team/SKILL.md
plugins/oh-my-codex/skills/ultragoal/SKILL.md
plugins/oh-my-codex/skills/ultraqa/SKILL.md
plugins/oh-my-codex/skills/ultrawork/SKILL.md
plugins/oh-my-codex/skills/visual-ralph/SKILL.md
plugins/oh-my-codex/skills/wiki/SKILL.md
plugins/oh-my-codex/skills/worker/SKILL.md
skills/ask-claude/SKILL.md
skills/ask-gemini/SKILL.md
skills/ask/SKILL.md
skills/autopilot/SKILL.md
skills/autoresearch/SKILL.md
skills/best-practice-research/SKILL.md
skills/cancel/SKILL.md
skills/configure-notifications/SKILL.md
skills/deep-interview/SKILL.md
skills/design/SKILL.md
skills/frontend-ui-ux/SKILL.md
skills/git-master/SKILL.md
skills/hud/SKILL.md
skills/omx-setup/SKILL.md
skills/performance-goal/SKILL.md
skills/pipeline/SKILL.md
skills/prometheus-strict/SKILL.md
skills/ralplan/SKILL.md
skills/skill/SKILL.md
skills/team/SKILL.md
skills/ultragoal/SKILL.md
skills/ultraqa/SKILL.md
skills/visual-ralph/SKILL.md
skills/wiki/SKILL.md

元信息

文件数
0
版本
304fb3b
Hash
1c29f556
收录时间
2026-08-20 07:18

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-09 19:34
浙ICP备14020137号-1 $访客地图$