Token导航 LogoToken导航

Agent Skill · 研究检索

competing-hypotheses(竞争假设)

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

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

总安装 582周安装 24GitHub Stars 公开资料未说明下载 190核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/shhac/skills --skill competing-hypotheses

这个 Skill 是做什么的

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

用于查找、检索和筛选相关信息,支持并行假设调查。适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。可结合来源仓库和原始 README 核验具体用法。安装前建议确认权限范围、维护状态及是否触发联网或文件读写。

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

来源仓库内路径:skills/competing-hypotheses

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

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

常见问题

6 条

competing-hypotheses 怎么安装?

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

competing-hypotheses 支持哪些 AI 工具?

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

competing-hypotheses 需要什么权限?

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

competing-hypotheses 是免费的吗?

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

competing-hypotheses 用的人多吗?

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

competing-hypotheses 安全吗?

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

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

值得选的地方

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

竞争假设 · 本页

582—执行命令未明确通过

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

SKILL.md 原文

Competing Hypotheses

Debug problems by racing multiple theories in parallel. Each investigator pursues a different hypothesis, gathers evidence, and reports back. The lead compares findings to identify the root cause.

When to Use

  • "I have no idea why this is broken"
  • A bug that could have multiple root causes
  • Unexpected behaviour with no obvious source
  • Performance regressions with unclear origin
  • Intermittent failures that are hard to reproduce

Instructions

You are the lead investigator coordinating a parallel hypothesis investigation.

Coordination Protocol

Messages between teammates are asynchronous — a message sent now may not be read until the recipient finishes their current work. You cannot rely on message timing for coordination. Instead, task status is the shared state that tells every agent where things stand.

Task Status as Position Marker

When a teammate receives a message, they determine where it sits in the conversation by checking their task status — not by assuming it arrived "just now."

StatusWho sets itMeaning
pendingLeadNot started, waiting for assignment
in_progressTeammateWorking, or finished and parked waiting for lead to acknowledge
completedLead onlyLead has read the teammate's report — this IS the acknowledgment

The lead marks tasks completed — not the teammate. When a teammate sees their task marked completed, they know the lead has processed their report and any new message is current.

Teammate Protocol

Include these rules in every teammate's spawn prompt:

  1. Mark your task in_progress when you begin work
  2. Read your task with TaskGet — the task description contains everything you need (fix details, implementation instructions, etc.). Do NOT search the filesystem or other agents' files for this content.
  3. If your task description is missing required content (e.g., an implementation task with no fix details), tell the lead immediately and park. Do not improvise.
  4. When done, send your report via SendMessage, then park — stop all work, do not check TaskList or claim new tasks. Just wait.
  5. Before acting on any received message, check your task status via TaskGet:

- Still in_progress → lead hasn't acknowledged your report yet. This message may pre-date your report. Reply with your current state instead of re-executing. - completed → lead has processed your report. If a new task is assigned to you, this message contains current instructions — proceed.

  1. Wait for all spawned subagents to finish before sending your report. Do not leave background work running.
Lead Protocol
  1. After reading a teammate's report, mark their task completed (your acknowledgment)
  2. Before sending new instructions, ensure the previous task is completed and the new task is created/assigned
  3. Verify phase completion via TaskList — check that all relevant tasks show the expected status, don't track messages mentally
  4. Between implementation steps, run git status to confirm a clean working tree before proceeding

Phase 1: Hypothesize

  1. Understand the problem from the user's input:

- What's the symptom? (error message, wrong output, unexpected behaviour) - When does it happen? (always, sometimes, after a recent change) - What's already been tried?

  1. Generate 2-5 plausible hypotheses for the root cause

- Each should be distinct and testable - Cover different areas (data, logic, infrastructure, external dependencies, timing)

  1. Present the hypotheses to the user:

- List each hypothesis with a brief rationale - Ask: "I'll spin up N investigators to pursue these in parallel. Proceed?" - Incorporate any hypotheses the user wants to add or remove

Phase 2: Parallel Investigation

  1. Create a team with TeamCreate
  2. Create tasks for each hypothesis with TaskCreate
  3. Spawn one general-purpose teammate per hypothesis using Task with team_name

- Name them after their hypothesis (e.g., race-condition-investigator, data-corruption-investigator) - Each investigator's prompt should include: - The overall problem description - Their specific hypothesis to pursue - Instruction to investigate only, do not make changes - The Teammate Protocol from the Coordination Protocol above (copy it into their prompt verbatim) - What evidence to look for (see Investigation Guide below) - Instruction to report findings via SendMessage

  1. Spawn all investigators in parallel
  2. As investigators report back, mark each investigation task completed (acknowledging the report) and give the user brief progress updates
  3. If an investigator discovers a recent commit already resolved the issue, report the finding to the user and end early if they confirm it's fixed
Subagent Guidance for Investigators

Include the following in each investigator's prompt:

Use subagents (Task tool) to keep your context focused. Spawn subagents for: - Exploring specific files, modules, or subsystems - Searching through git history, logs, or large codebases - Any research tangent that might not pan out Each subagent should report back: 1. Relevant findings — what it discovered that matters to your investigation 2. Red herrings (1-2 sentences) — anything that *looks* related but *isn't*, and why. Calling these out early prevents wasted cycles re-exploring dead ends. Report red herrings even when your main findings are conclusive — they prevent other agents from re-exploring the same dead ends. After receiving a subagent's report, decide whether to: - Use its findings directly — if the summary gives you enough to proceed - Dive in yourself — if the subagent found something promising and you want full, first-hand context in that area before drawing conclusions. Examples: conflicting evidence that needs direct examination, low confidence in the subagent's assessment, or complex state/flow where first-hand context matters. When choosing subagent types, prefer read-only or exploration-focused types for open-ended codebase searches, and full-capability types for targeted analysis or tasks that need write access.

Investigation Guide

Each investigator should:

  1. Search for evidence supporting their hypothesis

- Read relevant code paths - Check logs, error messages, stack traces if available - Look at recent changes (git log, git diff) that could be related - Examine configuration, environment, data

  1. Search for counter-evidence that would disprove their hypothesis
  2. Rate their confidence based on what they found
  3. Report using the output format below

Investigator Output Format

## Hypothesis: {description}

### Evidence For
- {evidence point}: {where found, what it means}

### Evidence Against
- {evidence point}: {where found, what it means}

### Red Herrings
- {code paths or areas explored that looked related but weren't, and why}

### Confidence: {high/medium/low}

### Root Cause (if found)
{specific root cause, file, line, mechanism}

### Suggested Fix
{what to change and why}

### Open Questions
- {anything unresolved that could help narrow it down}

Phase 3: Compare & Conclude

  1. Once all investigation tasks show completed in TaskList, compare findings:

- Which hypothesis has the strongest evidence? - Did any investigator find definitive proof? - Do findings from different investigators corroborate each other? - Are there open questions that could be quickly resolved? - Compound bugs — if multiple hypotheses are confirmed, present as a multi-root-cause scenario and propose fixing in dependency order (fix the cause that enables the others first)

  1. Present the analysis to the user:

- Rank hypotheses by evidence strength - Highlight the most likely root cause - Note any surprising findings or ruled-out theories - Recommend next steps (fix, further investigation, or targeted test)

Phase 4: Fix (Optional)

Skip this phase if the user only wanted diagnosis, not a fix.

  1. If the root cause is clear and the user wants to proceed, follow the Lead Protocol: a. Create an implementation task. Include in the task description: the fix details (root cause, what to change, which files, expected outcome) and the subagent guidance for implementation b. Assign the task to the investigator who found the root cause and send them a message saying their implementation task is ready — the task description contains everything they need c. Wait — the investigator will implement, send a report, and park d. Read the report. Mark the implementation task completed (your acknowledgment). e. Run git status to confirm a clean working tree
  2. If the root cause is unclear:

- Propose targeted experiments to disambiguate - Ask the user which direction to pursue

  1. For compound bugs (multiple root causes), implement fixes one at a time — repeat step 1 for each, verifying clean git state between each fix
  2. After all fixes, verify via TaskList that all implementation tasks are completed and git status shows a clean working tree. Then spawn a fresh validator teammate. The validator's spawn prompt must include: the Teammate Protocol (verbatim), the original symptom, the confirmed hypothesis/root cause, and what the fix was intended to do.
  3. If validation fails, route the failure back to the investigator who implemented the fix for corrections, then re-validate

Rules

  • Task status is the source of truth — coordinate through TaskUpdate status, not message timing. Always check TaskList to verify state.
  • Teammates park after reporting — after sending a report, stop and wait. Do not self-assign new work or act on queued messages without checking task status first.
  • Lead owns completed — only the lead marks tasks completed. This is the acknowledgment that closes the loop.
  • Keep investigators alive until the conclusion — they may need follow-up questions
  • 2-5 hypotheses max — too many dilutes focus
  • Investigators don't communicate — they work independently to avoid confirmation bias
  • Evidence over intuition — rank hypotheses by concrete evidence, not plausibility
  • Counter-evidence matters — a hypothesis with strong counter-evidence should be deprioritized even if it seems likely
  • Finish subagents before reporting — wait for all spawned subagents to complete before sending your report
  • Tasks carry the content — implementation tasks must include the full fix details in the task description. Teammates should TaskGet their assigned task to find everything they need. Do NOT search the filesystem for instructions.
  • Missing content? Park and ask. — if a teammate receives a task but the description doesn't contain the details they need, they should immediately tell the lead and stop. Do not improvise by searching elsewhere.
  • Shut down when done — after validation passes, or after the user declines to fix, send shutdown requests and wait for confirmations before reporting final results
  • Unresponsive teammate? — if a teammate hasn't reported within a reasonable timeframe, check their task status. If stuck, spawn a replacement and inform the user.

平台分布

Claude

32.53%
按下载量换算62

Codex

32.31%
按下载量换算61

Cursor

17.57%
按下载量换算33

Gemini CLI

9.33%
按下载量换算18

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

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

安装前确认

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

继续浏览同类 Skills