Token导航 LogoToken导航

Agent Skill · 研究检索

investigation-workflow(调查工作流程)

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

investigation-workflow 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证为 MIT,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 21,122。

总安装 4,968周安装 207GitHub Stars 55下载 1,656核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/rysweet/amplihack --skill investigation-workflow

这个 Skill 是做什么的

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

investigation-workflow 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。适用于根据关键词、任务场景或来源线索进行信息调研与资料整理工作。通过 npx skills add 命令从指定 GitHub 仓库安装并使用该技能。

安装前需确认权限范围、维护状态及是否涉及联网、命令执行或文件读写操作。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/investigation-workflow

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

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

常见问题

6 条

investigation-workflow 怎么安装?

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

investigation-workflow 支持哪些 AI 工具?

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

investigation-workflow 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

investigation-workflow 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

investigation-workflow 用的人多吗?

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

investigation-workflow 安全吗?

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

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 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调用外部服务未明确有提醒
investigation-workflow

调查工作流程 · 本页

4,96855需要联网MIT通过

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

SKILL.md 原文

Investigation Workflow Skill

Purpose

This skill provides a systematic 6-phase workflow for investigating and understanding existing systems, codebases, and architectures. Unlike development workflows optimized for implementation, this workflow is optimized for exploration, understanding, and knowledge capture.

When to Use This Skill

Investigation Tasks (use this workflow):

  • "Investigate how the authentication system works"
  • "Explain the neo4j memory integration"
  • "Understand why CI is failing consistently"
  • "Analyze the reflection system architecture"
  • "Research what hooks are triggered during session start"

Development Tasks (use DEFAULT_WORKFLOW.md instead):

  • "Implement OAuth support"
  • "Build a new API endpoint"
  • "Add feature X"
  • "Fix bug Y"

Core Philosophy

Exploration First: Define scope and strategy before diving into code Parallel Deep Dives: Deploy multiple agents simultaneously for efficient information gathering Verification Required: Test understanding through practical application Knowledge Capture: Document findings to prevent repeat investigations

The 6-Phase Investigation Workflow

Phase 1: Scope Definition

Purpose: Define investigation boundaries and success criteria before any exploration.

Tasks:

  • FIRST: Identify explicit user requirements - What specific questions must be answered?
  • Use prompt-writer agent to clarify investigation scope
  • Use ambiguity agent if questions are unclear
  • Define what counts as "understanding achieved"
  • List specific questions that must be answered
  • Set boundaries: What's in scope vs. out of scope
  • Estimate investigation depth needed (surface-level vs. deep dive)

Success Criteria:

  • Clear list of questions to answer
  • Defined scope boundaries
  • Measurable success criteria (e.g., "can explain system flow", "can diagram architecture")

Deliverables:

  • Investigation scope document with:

- Core questions to answer - Success criteria - Scope boundaries (what's included/excluded) - Estimated depth and timeline

Phase 2: Exploration Strategy

Purpose: Plan which agents to deploy and what to investigate, preventing inefficient random exploration.

Tasks:

  • Use architect agent to design exploration strategy
  • Use patterns agent to check for similar past investigations
  • Identify key areas to explore (code paths, configurations, documentation)
  • Select specialized agents for parallel deployment in Phase 3
  • Create investigation roadmap with priorities
  • Identify potential dead ends to avoid
  • Plan verification approach (how to test understanding)

Agent Selection Guidelines:

  • For code understanding: analyzer, patterns agents
  • For system architecture: architect, api-designer agents
  • For performance issues: optimizer, analyzer agents
  • For security concerns: security, patterns agents
  • For integration flows: integration, database agents

Success Criteria:

  • Clear exploration roadmap
  • List of agents to deploy in Phase 3
  • Prioritized investigation areas

Deliverables:

  • Exploration strategy document with:

- Investigation roadmap - Agent deployment plan for Phase 3 - Priority order for exploration - Expected outputs from each exploration

Phase 3: Parallel Deep Dives

Purpose: Deploy multiple exploration agents simultaneously to gather information efficiently.

CRITICAL: This phase uses PARALLEL EXECUTION by default.

Tasks:

  • Deploy selected agents in PARALLEL based on Phase 2 strategy
  • Common parallel patterns:

- [analyzer(module1), analyzer(module2), analyzer(module3)] - Multiple code areas - [analyzer, patterns, security] - Multiple perspectives on same area - [architect, database, integration] - System architecture exploration

  • Each agent explores their assigned area independently
  • Collect findings from all parallel explorations
  • Identify connections and dependencies between findings
  • Note any unexpected discoveries or anomalies

Parallel Agent Examples:

Investigation: "How does the reflection system work?"
→ [analyzer(~/.amplihack/.claude/tools/amplihack/hooks/), patterns(reflection), integration(logging)]

Investigation: "Why is CI failing?"
→ [analyzer(ci-config), patterns(ci-failures), integration(github-actions)]

Investigation: "Understand authentication flow"
→ [analyzer(auth-module), security(auth), patterns(auth), integration(external-auth)]

Success Criteria:

  • All planned agents deployed and completed
  • Findings from each exploration collected
  • Connections between findings identified

Deliverables:

  • Findings report with:

- Summary from each parallel exploration - Code paths and flow diagrams - Architectural insights - Unexpected discoveries - Open questions for verification

Phase 4: Verification & Testing

Purpose: Test and validate understanding through practical application.

Tasks:

  • Create hypotheses based on Phase 3 findings
  • Design practical tests to verify understanding:

- Trace specific code paths manually - Examine logs and outputs - Test edge cases and assumptions - Verify configuration effects

  • Run verification tests
  • Document what was tested and results
  • Identify gaps in understanding
  • Refine hypotheses based on test results
  • Repeat verification for any unclear areas

Verification Examples:

Understanding: "Authentication uses JWT tokens"
Verification: Trace actual token creation and validation in code

Understanding: "CI fails because of dependency conflict"
Verification: Check CI logs, reproduce locally, verify fix works

Understanding: "Reflection analyzes all user messages"
Verification: Examine reflection logs, trace message processing

Success Criteria:

  • All hypotheses tested
  • Understanding verified through practical tests
  • Gaps in understanding identified and filled

Deliverables:

  • Verification report with:

- Tests performed - Results and observations - Confirmed understanding - Remaining gaps or uncertainties

Phase 5: Synthesis

Purpose: Compile findings into coherent explanation that answers original questions.

Tasks:

  • Use reviewer agent to check completeness of findings
  • Use patterns agent to identify reusable patterns discovered
  • Synthesize findings from Phases 3-4 into coherent explanation
  • Create visual artifacts (diagrams, flow charts) if helpful
  • Answer each question from Phase 1 scope definition
  • Identify what worked well vs. what was unexpected
  • Note any assumptions or uncertainties remaining
  • Prepare clear explanation suitable for user

Synthesis Outputs:

  1. Executive Summary: 2-3 sentence answer to main question
  2. Detailed Explanation: Complete explanation with supporting evidence
  3. Visual Aids: Diagrams showing system flow, architecture, etc.
  4. Key Insights: Non-obvious discoveries or patterns
  5. Remaining Unknowns: What's still unclear or uncertain

Success Criteria:

  • All Phase 1 questions answered
  • Explanation is clear and complete
  • Findings supported by evidence from verification
  • Visual aids clarify complex areas

Deliverables:

  • Investigation report with all 5 synthesis outputs
  • Ready for knowledge capture in Phase 6

Phase 6: Knowledge Capture

Purpose: Create durable documentation so this investigation never needs to be repeated.

Tasks:

  • Store discoveries in memory using store_discovery() from amplihack.memory.discoveries
  • Update.claude/context/PATTERNS.md if reusable patterns found
  • Create or update relevant documentation files
  • Add inline code comments for critical understanding
  • Optional: Create GitHub issue for follow-up improvements
  • Optional: Update architecture diagrams if needed
  • Ensure future investigators can find this knowledge easily

Documentation Guidelines:

## Discovery: [Brief Title]

**Context**: What was investigated and why
**Key Findings**:

- Main insight 1
- Main insight 2
  - **Supporting Evidence**: Links to code, logs, or verification tests
  - **Implications**: How this affects the project
  - **Related Patterns**: Links to similar patterns in PATTERNS.md

Success Criteria:

  • Discoveries stored in memory for future reference
  • Relevant documentation files updated
  • Knowledge is discoverable by future investigators
  • No information loss

Deliverables:

  • Discoveries stored in memory
  • Updated PATTERNS.md (if applicable)
  • Updated project documentation
  • Optional: GitHub issues for improvements
  • Investigation session log in ~/.amplihack/.claude/runtime/logs/

Transitioning to Development Workflow

After investigation completes, if the task requires implementation (not just understanding), transition to DEFAULT_WORKFLOW.md:

  1. Resume at Step 4 (Research and Design) with the knowledge gained from investigation
  2. Or resume at Step 5 (Implement the Solution) if the investigation already provided clear design guidance
  3. Use investigation findings from memory (via get_recent_discoveries()) and session logs to inform design decisions

Example Hybrid Workflow:

User: "/ultrathink investigate how authentication works, then add OAuth support"

Phase 1: Investigation
→ Run INVESTIGATION_WORKFLOW.md (6 phases)
→ Complete understanding of existing auth system
→ Store findings in memory via discoveries adapter

Phase 2: Development
→ Transition to DEFAULT_WORKFLOW.md
→ Resume at Step 4 (Research and Design)
→ Use investigation insights to design OAuth integration
→ Continue through Step 15 (implementation → testing → PR)

When to Transition:

  • Investigation reveals implementation is needed
  • User explicitly requested both investigation + development
  • Follow-up work identified during knowledge capture

Efficiency Targets

Target Efficiency: This workflow targets a 30-40% reduction in message count compared to ad-hoc investigation.

Ad-Hoc ApproachInvestigation Workflow
70-90 messages40-60 messages
Frequent backtrackingPlanned exploration
Redundant investigationParallel deep dives
Unclear scopeExplicit scope definition
Lost knowledgeDocumented insights

Efficiency Gains Come From:

  1. Scope Definition prevents scope creep and wandering
  2. Exploration Strategy prevents random unproductive exploration
  3. Parallel Deep Dives maximize information gathering speed
  4. Verification Phase catches misunderstandings early
  5. Synthesis ensures all questions answered
  6. Knowledge Capture prevents repeat investigations

Comparison to DEFAULT_WORKFLOW.md

Similarities (Structural Consistency)

Both workflows share core principles:

  • Explicit phases with clear deliverables
  • Agent-driven execution at each phase
  • Quality gates preventing premature progression
  • Knowledge capture and documentation
  • TodoWrite tracking for progress management

Differences (Investigation vs. Development)

AspectInvestigation WorkflowDEFAULT_WORKFLOW.md
GoalUnderstandingImplementation
Phases6 phasesMulti-step workflow
ExecutionExploration-firstImplementation-first
Parallel FocusPhase 3 (Deep Dives)Various steps
TestingUnderstanding verificationCode validation
DeliverableDocumentationWorking code
Git UsageOptionalRequired (branches, PRs)

Phase Mapping (For User Familiarity)

Investigation PhaseDEFAULT_WORKFLOW EquivalentPurpose
Phase 1: Scope DefinitionStep 1: Requirements ClarificationDefine what success looks like
Phase 2: Exploration StrategyStep 4: Research and DesignPlan the approach
Phase 3: Parallel Deep DivesStep 5: ImplementationExecute the plan (explore vs. build)
Phase 4: VerificationSteps 7-8: TestingValidate results
Phase 5: SynthesisStep 11: ReviewEnsure quality and completeness
Phase 6: Knowledge CaptureStep 15: CleanupMake results durable

Integration with UltraThink

UltraThink Workflow Detection: When /ultrathink is invoked, it automatically detects investigation tasks using keywords and suggests this workflow.

Automatic Workflow Suggestion:

User: "/ultrathink investigate how authentication works"

UltraThink: Detected investigation task. Using INVESTIGATION_WORKFLOW.md
→ Reading workflow from .claude/workflow/INVESTIGATION_WORKFLOW.md
→ Following 6-phase investigation workflow
→ Starting Phase 1: Scope Definition

Customization

To customize this workflow:

  1. Edit ~/.amplihack/.claude/workflow/INVESTIGATION_WORKFLOW.md to modify, add, or remove phases
  2. Adjust agent deployment strategies for your needs
  3. Add project-specific investigation patterns
  4. Update efficiency targets based on your metrics

Changes take effect immediately for future investigations.

Success Metrics

Track these metrics to validate workflow effectiveness:

  • Message Count: Target 30-40% reduction vs. ad-hoc (to be validated)
  • Investigation Time: Track time to completion
  • Knowledge Reuse: How often memory retrieval prevents repeat work
  • Completeness: Percentage of investigations with full documentation
  • User Satisfaction: Clear understanding achieved

Key Principles

  • Scope first, explore second - Define boundaries before diving in
  • Parallel exploration is key - Deploy multiple agents simultaneously in Phase 3
  • Verify understanding - Test your hypotheses in Phase 4
  • Capture knowledge - Always store discoveries in memory in Phase 6
  • This workflow optimizes for understanding, not implementation

When in doubt about investigation vs. development:

  • Investigation: "I need to understand X"
  • Development: "I need to build/fix/implement X"

Related Resources

  • Source Workflow: ~/.amplihack/.claude/workflow/INVESTIGATION_WORKFLOW.md (complete 436-line specification)
  • Knowledge Extraction: Use knowledge-extractor skill after investigations to capture learnings
  • Agent Catalog: ~/.amplihack/.claude/agents/CATALOG.md for all available agents
  • Pattern Library: ~/.amplihack/.claude/context/PATTERNS.md for reusable investigation patterns

平台分布

Claude Code

26.44%
按下载量换算438

OpenCode

23.66%
按下载量换算392

Antigravity

17.68%
按下载量换算293

Gemini CLI

13.23%
按下载量换算219

github-copilot

7.49%
按下载量换算124

Codex

2.95%
按下载量换算49

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

继续浏览同类 Skills