Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计异常

clarify文案澄清

Agent Skill

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

总安装

494

周安装

21

GitHub Stars

76

下载量

173
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/corca-ai/claude-plugins --skill clarify

简介

在规划前解析需求中的模糊点,避免基于假设进行开发。

  • 适用于任务目标不明确或输入缺少关键细节时,通过澄清提升执行准确性。
  • 支持深度研究与轻量问答两种模式,优先参考会话历史与文件上下文。
  • 安装方式:GitHub,命令为 npx skills add https://github.com/corca-ai/claude-plugins --skill clarify。
  • clarify 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Clarify

Resolve ambiguity before planning so implementation starts from explicit decisions, not assumptions.

Quick Start

cwf:clarify <requirement>          # Research-first (default)
cwf:clarify <requirement> --light  # Direct Q&A, no sub-agents

Mode Selection

Before entering Default or --light mode, assess clarify depth based on input specificity:

  1. If next-session.md exists in the active session directory or current workspace, read it as optional prior-session context.
  2. Always parse the user's task description (required input).
  3. Check if the combined input provides: target file paths, expected changes per file, and BDD-style success criteria.
  4. Apply this heuristic:
Input specificityClarify depthRationale
All 3 present (files + changes + criteria)AskUserQuestion only — ask 2-3 binary/choice questions for remaining ambiguities, skip Phases 2-2.5Prior session retro effectively served as clarify
1-2 present--light mode — iterative Q&A without sub-agentsPartial clarity, direct questions suffice
None present (vague requirement)Default mode — full research + expert analysisScope is open, exploration needed

This heuristic can be overridden by explicit --light flag or user instruction.


Default Mode

Phase 0: Update Live State

Use the live-state helper for scalar fields, then edit list fields in the resolved live-state file:

bash {CWF_PLUGIN_DIR}/scripts/cwf-live-state.sh set . \
  phase="clarify" \
  task="{requirement summary}"
live_state_file=$(bash {CWF_PLUGIN_DIR}/scripts/cwf-live-state.sh resolve)

Set live.key_files in {live_state_file} to files relevant to the requirement.

Phase 0.5: Resolve Session Directory

Resolve the effective live-state file, then read live.dir before any {session_dir} placeholder use:

live_state_file=$(bash {CWF_PLUGIN_DIR}/scripts/cwf-live-state.sh resolve)
session_dir=$(bash {CWF_PLUGIN_DIR}/scripts/cwf-live-state.sh get . dir)
session_dir: "{live.dir value from resolved live-state file}"

Phase 1: Capture & Decompose

  1. Record the original requirement verbatim
  2. Decompose into concrete decision points — specific questions that need answers before implementation can begin

- Frame as questions, not categories ("Which auth library?" not "Authentication") - Focus on decisions that affect implementation

  1. Present the decision points to the user before proceeding
## Original Requirement
"{user's original request verbatim}"

## Decision Points
1. {specific question}
2. {specific question}
...

Phase 2: Research

Context recovery (before launching)

Apply the context recovery protocol to these files:

  • {session_dir}/clarify-codebase-research.md
  • {session_dir}/clarify-web-research.md

Launch sub-agents simultaneously using the Task tool (only for missing or invalid results).

Sub-agent A: Codebase Researcher

Task tool:
  subagent_type: Explore
  max_turns: 20
  prompt: |
    Read `{SKILL_DIR}/references/research-guide.md` and follow
    **Section 1: Codebase Research** exactly.
    Report evidence only — do not make decisions.

    Decision points:
    {list from Phase 1}

    Write your complete findings to: {session_dir}/clarify-codebase-research.md
    The file MUST exist when you finish. End your output file with the exact
    line `<!-- AGENT_COMPLETE -->` as the last line.

Sub-agent B: Web Researcher

Task tool:
  subagent_type: general-purpose
  max_turns: 20
  prompt: |
    Read `{SKILL_DIR}/references/research-guide.md` and follow
    **Section 2: Web / Best Practice Research** exactly.
    Also follow the "Web Research Protocol" section in
    `{CWF_PLUGIN_DIR}/references/agent-patterns.md` for tool order
    and fallback behavior.
    Report findings only — do not make decisions.

    Decision points:
    {list from Phase 1}

    Write your complete findings to: {session_dir}/clarify-web-research.md
    The file MUST exist when you finish. End your output file with the exact
    line `<!-- AGENT_COMPLETE -->` as the last line.

Both sub-agents run in parallel. Wait for both to complete. Read the output files from session dir (not the in-memory Task return values).

Phase 2.5: Expert Analysis

Context recovery (before launching)

Apply the context recovery protocol to these files:

  • {session_dir}/clarify-expert-alpha.md
  • {session_dir}/clarify-expert-beta.md

Launch two domain expert sub-agents simultaneously using the Task tool (only for missing or invalid results).

Expert selection:

  1. Read expert_roster from cwf-state.yaml
  2. Analyze decision points for domain keywords; match against each roster entry's domain field
  3. Select 2 experts with contrasting frameworks — different analytical lenses on the same problem
  4. If roster has < 2 domain matches, fill remaining slots via independent selection (prioritize well-known figures with contrasting methodological approaches)

Expert α

Task tool:
  subagent_type: general-purpose
  max_turns: 12
  prompt: |
    Read {CWF_PLUGIN_DIR}/references/expert-advisor-guide.md.
    You are Expert α, operating in **clarify mode**.

    Your identity: {selected expert name}
    Your framework: {expert's domain from roster or independent selection}

    Decision points:
    {list from Phase 1}

    Research findings summary:
    {summarized outputs from Phase 2 codebase + web research}

    Analyze which decisions are most critical through your published framework.
    Use web search to verify your expert identity and cite published work.
    Output your analysis in the clarify mode format from the guide.

    Write your complete findings to: {session_dir}/clarify-expert-alpha.md
    The file MUST exist when you finish. End your output file with the exact
    line `<!-- AGENT_COMPLETE -->` as the last line.

Expert β

Task tool:
  subagent_type: general-purpose
  max_turns: 12
  prompt: |
    Read {CWF_PLUGIN_DIR}/references/expert-advisor-guide.md.
    You are Expert β, operating in **clarify mode**.

    Your identity: {selected expert name — contrasting framework from Expert α}
    Your framework: {expert's domain from roster or independent selection}

    Decision points:
    {list from Phase 1}

    Research findings summary:
    {summarized outputs from Phase 2 codebase + web research}

    Analyze which decisions are most critical through your published framework.
    Use web search to verify your expert identity and cite published work.
    Output your analysis in the clarify mode format from the guide.

    Write your complete findings to: {session_dir}/clarify-expert-beta.md
    The file MUST exist when you finish. End your output file with the exact
    line `<!-- AGENT_COMPLETE -->` as the last line.

Both expert sub-agents run in parallel. Wait for both to complete. Read the output files from session dir (not the in-memory Task return values).

--light mode: Phase 2.5 is skipped (consistent with --light skipping all sub-agents).

Phase 3: Classify & Decide

Read {SKILL_DIR}/references/aggregation-guide.md for full classification rules.

For each decision point, classify using three evidence sources: codebase research (Phase 2), web research (Phase 2), and expert analysis (Phase 2.5).

  • T1 (Codebase-resolved) — codebase has clear evidence → decide autonomously, cite files
  • T2 (Best-practice-resolved) — best practice consensus → decide autonomously, cite sources
  • T3 (Requires human) — evidence conflicts, all silent, or subjective → queue

Constructive tension: When sources conflict, classify as T3. Expert analysis provides additional signal but does not override direct codebase or best-practice evidence.

Present the classification:

## Agent Decisions (T1 & T2)

| # | Decision Point | Tier | Decision | Evidence |
|---|---------------|------|----------|----------|
| 1 | ... | T1 | ... | file paths |
| 2 | ... | T2 | ... | sources |

## Requires Human Decision (T3)

| # | Decision Point | Reason |
|---|---------------|--------|
| 3 | ... | conflict / no evidence / subjective |

If zero T3 items: Skip Phases 3.5 and 4 entirely. Go to Phase 5.

Phase 3.5: Advisory (T3 only)

Context recovery (before launching)

Apply the context recovery protocol to these files:

  • {session_dir}/clarify-advisor-alpha.md
  • {session_dir}/clarify-advisor-beta.md

Launch two advisory sub-agents simultaneously (only for missing or invalid results):

Advisor α

Task tool:
  subagent_type: general-purpose
  model: haiku
  max_turns: 12
  prompt: |
    Read `{SKILL_DIR}/references/advisory-guide.md`. You are Advisor α.

    Tier 3 decision points:
    {list of T3 items}

    Research context:
    {codebase findings for these items}
    {web research findings for these items}

    Argue for the first perspective per the guide's side-assignment rules.

    Write your complete findings to: {session_dir}/clarify-advisor-alpha.md
    The file MUST exist when you finish. End your output file with the exact
    line `<!-- AGENT_COMPLETE -->` as the last line.

Advisor β

Task tool:
  subagent_type: general-purpose
  model: haiku
  max_turns: 12
  prompt: |
    Read `{SKILL_DIR}/references/advisory-guide.md`. You are Advisor β.

    Tier 3 decision points:
    {list of T3 items}

    Research context:
    {codebase findings for these items}
    {web research findings for these items}

    Argue for the opposing perspective per the guide's side-assignment rules.

    Write your complete findings to: {session_dir}/clarify-advisor-beta.md
    The file MUST exist when you finish. End your output file with the exact
    line `<!-- AGENT_COMPLETE -->` as the last line.

Both advisors run in parallel. Wait for both to complete. Read the output files from session dir (not the in-memory Task return values).

Phase 4: Persistent Questioning (T3 only)

Read {SKILL_DIR}/references/questioning-guide.md for full methodology.

For each T3 item, use AskUserQuestion with:

  1. Research context: What codebase and web research found
  2. Advisor α's position: Their argument (brief)
  3. Advisor β's position: Their argument (brief)
  4. The question: With 2-4 concrete options from advisory perspectives

After each answer:

  • Why-dig 2-3 times on surface-level answers (see questioning-guide.md)
  • Detect tensions between this answer and previous answers
  • Check for new ambiguities revealed by the answer → classify → repeat if T3

Phase 5: Output

## Requirement Clarification Summary

### Before (Original)
"{original request verbatim}"

### After (Clarified)
**Goal**: {precise description}
**Scope**: {what is included and excluded}
**Constraints**: {limitations and requirements}

### Expert Analysis
(Only in default mode, omitted in --light)

| Expert | Framework | Key Insight |
|--------|-----------|-------------|
| {Expert α name} | {framework} | {1-line summary of analysis} |
| {Expert β name} | {framework} | {1-line summary of analysis} |

### All Decisions

| # | Decision Point | Decision | Decided By | Evidence |
|---|---------------|----------|------------|----------|
| 1 | ... | ... | Agent (T1) | file paths |
| 2 | ... | ... | Agent (T2) | sources |
| 3 | ... | ... | Human | advisory context |

Save this clarified requirement to a project-appropriate location with a descriptive filename (required).

Completion tracking (after writing the required summary file):

  1. Run: bash {CWF_PLUGIN_DIR}/scripts/cwf-live-state.sh set. clarify_completed_at="{ISO 8601 UTC timestamp}"
  2. Run: bash {CWF_PLUGIN_DIR}/scripts/cwf-live-state.sh set. clarify_result_file="{saved summary file path}"

This state is what cwf:impl Phase 1.0 checks as a pre-condition.

Follow-up suggestions (when CWF plugin is loaded):

  1. cwf:review --mode clarify — Multi-perspective review of the clarified requirement before implementation
  2. cwf:handoff --phase — Generate a phase handoff document that captures HOW context (protocols, rules, must-read references, constraints) for the implementation phase. Recommended when context will be cleared before implementation, as plan.md carries WHAT but not HOW.

Present both suggestions. If context is getting large or the user is about to clear context, emphasize the phase handoff suggestion.


--light Mode

Fast, direct clarification without sub-agents. The original clarify behavior with added persistence.

Phase 1: Capture

  1. Record the requirement verbatim
  2. Identify ambiguities using the categories in questioning-guide.md

Phase 2: Iterative Q&A

Read {SKILL_DIR}/references/questioning-guide.md for methodology.

Loop using AskUserQuestion:

while ambiguities remain:
    pick most critical ambiguity
    ask with 2-4 concrete options
    why-dig on surface-level answers (2-3 levels)
    detect tensions with prior answers
    check for new ambiguities

Phase 3: Output

## Requirement Clarification Summary

### Before (Original)
"{original request verbatim}"

### After (Clarified)
**Goal**: {precise description}
**Reason**: {the ultimate purpose or jobs-to-be-done}
**Scope**: {what is included and excluded}
**Constraints**: {limitations, requirements, preferences}
**Success Criteria**: {how to verify correctness}

### Decisions Made

| Question | Decision |
|----------|----------|
| ... | ... |

Save the summary to a project-appropriate location with a descriptive filename (required).

Completion tracking (after writing the required summary file):

  1. Run: bash {CWF_PLUGIN_DIR}/scripts/cwf-live-state.sh set. clarify_completed_at="{ISO 8601 UTC timestamp}"
  2. Run: bash {CWF_PLUGIN_DIR}/scripts/cwf-live-state.sh set. clarify_result_file="{saved summary file path}"

This state is what cwf:impl Phase 1.0 checks as a pre-condition.

Expert Roster Update (when experts were used in Phase 2.5): Follow the Roster Maintenance procedure in {CWF_PLUGIN_DIR}/references/expert-advisor-guide.md.

Follow-up (when CWF plugin is loaded): Suggest cwf:handoff --phase if the user plans to clear context before implementation.


Rules

  1. Research first, ask later (default mode): Exhaust research before asking
  2. Cite evidence: Every autonomous decision must include specific evidence
  3. Respect the tiers: Do not ask about T1/T2; do not auto-decide T3
  4. Constructive tension: Conflicts between sources are signals, not problems
  5. Persistent but not annoying: Why-dig on vague answers, accept clear ones
  6. Preserve intent: Refine the requirement, don't redirect it
  7. Grounded experts: Best practice research must cite real published work
  8. Honest advisors: Advisory opinions argue in good faith, not strawman
  9. Expert evidence is supplementary: Expert analysis enriches classification but does not override direct codebase or best-practice evidence

References

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38.03%
按下载量换算66

Claude

32.15%
按下载量换算56

Cursor

17.68%
按下载量换算31

Gemini CLI

9.95%
按下载量换算17

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills