重要前提
安装AI Skills的关键前提是:必须科学上网,且开启TUN模式,这一点至关重要,直接决定安装能否顺利完成,在此郑重提醒三遍:科学上网,科学上网,科学上网。查看完整安装教程 →
explore by yonatangross/orchestkit
npx skills add https://github.com/yonatangross/orchestkit --skill explore包含钩子
此技能使用 Claude 钩子,可自动执行代码以响应事件。安装前请仔细审查。
使用 3-5 个并行代理进行多角度代码库探索。
/ork:explore authentication
Opus 4.6:探索代理使用原生自适应思维,在大型代码库中进行更深入的模式识别。
在创建任务之前,请明确用户想要探索的内容:
AskUserQuestion(
questions=[{
"question": "您想探索哪个方面?",
"header": "焦点",
"options": [
{"label": "完整探索(推荐)", "description": "代码结构 + 数据流 + 架构 + 健康评估", "markdown": "```\n完整探索(8个阶段)\n───────────────────────────\n 4个并行探索代理:\n ┌──────────┐ ┌──────────┐\n │ 结构 │ │ 数据 │\n │ 探索器 │ │ 流 │\n ├──────────┤ ├──────────┤\n │ 模式 │ │ 产品 │\n │ 分析师 │ │ 上下文 │\n └──────────┘ └──────────┘\n ▼\n ┌──────────────────────┐\n │ 代码健康度 N/10 │\n │ 依赖热点 地图 │\n │ 架构 图表 │\n └──────────────────────┘\n 输出:完整探索报告\n```"},
{"label": "仅代码结构", "description": "查找与主题相关的文件、类、函数", "markdown": "```\n代码结构\n──────────────\n Grep ──▶ Glob ──▶ 映射\n\n 输出:\n ├── 相关文件树\n ├── 关键类/函数\n ├── 导入图\n └── 入口点\n 无代理 — 直接搜索\n```"},
{"label": "数据流", "description": "追踪数据如何在系统中移动", "markdown": "```\n数据流追踪\n───────────────\n 输入 ──▶ 转换 ──▶ 输出\n │ │ │\n ▼ ▼ ▼\n [API] [服务] [数据库/缓存]\n\n 追踪:请求生命周期、\n 状态变更、副作用\n 代理:1个数据流探索器\n```"},
{"label": "架构模式", "description": "识别设计模式和集成", "markdown": "```\n架构分析\n─────────────────────\n ┌─────────────────────┐\n │ 检测到的模式 │\n │ ├── MVC / 六边形架构 │\n │ ├── 事件驱动? │\n │ ├── 服务层 │\n │ └── 外部 API │\n ├─────────────────────┤\n │ 集成地图 │\n │ 数据库 ←→ 缓存 ←→ 队列 │\n └─────────────────────┘\n 代理:后端系统架构师\n```"},
{"label": "快速搜索", "description": "仅查找相关文件,跳过深度分析", "markdown": "```\n快速搜索(约30秒)\n───────────────────\n Grep + Glob ──▶ 文件列表\n\n 输出:\n ├── 匹配的文件\n ├── 行引用\n └── 简要摘要\n 无代理,无健康检查,\n 无报告生成\n```"}
],
"multiSelect": false
}]
)
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
根据回答调整工作流:
ToolSearch(query="select:mcp__memory__search_nodes")
Write(".claude/chain/capabilities.json", { memory, timestamp })
if capabilities.memory:
mcp__memory__search_nodes({ query: "architecture decisions for {path}" })
# 使用过去的决策丰富探索内容
探索完成后,为下游技能写入结果:
Write(".claude/chain/exploration.json", JSON.stringify({
"phase": "explore", "skill": "explore",
"timestamp": now(), "status": "completed",
"outputs": {
"architecture_map": { ... },
"patterns_found": ["repository", "service-layer"],
"complexity_hotspots": ["src/auth/", "src/payments/"]
}
}))
选择 代理团队(网状)或 任务工具(星形):
ORCHESTKIT_FORCE_TASK_TOOL=1 → 任务工具(覆盖)| 方面 | 任务工具 | 代理团队 |
|---|---|---|
| 发现共享 | 领导在所有完成后进行综合 | 探索器在探索过程中共享发现 |
| 交叉引用 | 领导连接各个点 | 数据流探索器提醒架构探索器 |
| 成本 | 约 150K 令牌 | 约 400K 令牌 |
| 最适合 | 快速/聚焦搜索 | 深度完整代码库探索 |
回退方案: 如果代理团队遇到问题,则回退到任务工具进行剩余探索。
在执行任何其他操作之前,创建任务以显示进度:
TaskCreate(subject="探索:{topic}", description="针对 {topic} 的深度代码库探索", activeForm="正在探索 {topic}")
TaskCreate(subject="初始文件搜索", activeForm="正在搜索文件")
TaskCreate(subject="检查知识图谱", activeForm="正在检查记忆")
TaskCreate(subject="启动探索代理", activeForm="正在派遣探索器")
TaskCreate(subject="评估代码健康度(0-10)", activeForm="正在评估代码健康度")
TaskCreate(subject="映射依赖热点", activeForm="正在映射依赖项")
TaskCreate(subject="添加产品视角", activeForm="正在添加产品上下文")
TaskCreate(subject="生成探索报告", activeForm="正在生成报告")
| 阶段 | 活动 | 输出 |
|---|---|---|
| 1. 初始搜索 | Grep、Glob 匹配 | 文件位置 |
| 2. 记忆检查 | 搜索知识图谱 | 先前上下文 |
| 3. 深度探索 | 4 个并行探索器 | 多角度分析 |
| 4. AI 系统(如适用) | LangGraph、提示词、RAG | AI 特定发现 |
| 5. 代码健康度 | 评估代码 0-10 分 | 质量分数 |
| 6. 依赖热点 | 识别耦合 | 热点可视化 |
| 7. 产品视角 | 业务上下文 | 可发现性建议 |
| 8. 报告生成 | 汇编发现 | 可操作报告 |
在每个阶段完成后增量式输出发现结果 — 不要等到报告时才批量输出:
| 阶段完成后 | 向用户展示 |
|---|---|
| 1. 初始搜索 | 文件匹配、grep 结果 |
| 2. 记忆检查 | 先前决策和相关上下文 |
| 3. 深度探索 | 每个探索器代理返回的发现 |
| 5. 代码健康度 | 包含维度细分的健康度分数 |
对于阶段 3 的并行代理,在每个代理返回时立即输出其发现 — 不要等待所有 4 个探索器。一个代理的早期发现可能在剩余代理完成前就回答了用户的问题,从而允许提前终止。
# 并行 - 快速搜索
Grep(pattern="$ARGUMENTS[0]", output_mode="files_with_matches")
Glob(pattern="**/*$ARGUMENTS[0]*")
mcp__memory__search_nodes(query="$ARGUMENTS[0]")
mcp__memory__search_nodes(query="architecture")
加载 Read("${CLAUDE_SKILL_DIR}/rules/exploration-agents.md") 以获取任务工具模式的提示词。
加载 Read("${CLAUDE_SKILL_DIR}/rules/agent-teams-mode.md") 以获取代理团队模式的替代方案。
对于 AI/ML 主题,增加对以下内容的探索:LangGraph 工作流、提示词模板、RAG 管道、缓存策略。
加载 Read("${CLAUDE_SKILL_DIR}/rules/code-health-assessment.md") 以获取代理提示词。加载 Read("${CLAUDE_SKILL_DIR}/references/code-health-rubric.md") 以获取评分标准。
加载 Read("${CLAUDE_SKILL_DIR}/rules/dependency-hotspot-analysis.md") 以获取代理提示词。加载 Read("${CLAUDE_SKILL_DIR}/references/dependency-analysis.md") 以获取指标。
加载 Read("${CLAUDE_SKILL_DIR}/rules/product-perspective.md") 以获取代理提示词。加载 Read("${CLAUDE_SKILL_DIR}/references/findability-patterns.md") 以获取最佳实践。
加载 Read("${CLAUDE_SKILL_DIR}/references/exploration-report-template.md")。
ork:implement:探索后实施版本: 2.3.0(2026 年 3 月)— 增加了用于增量探索结果的渐进式输出
每周安装次数
93
仓库
GitHub 星标数
142
首次出现
2026 年 1 月 22 日
安全审计
安装于
gemini-cli85
opencode85
codex83
github-copilot83
claude-code81
cursor81
Contains Hooks
This skill uses Claude hooks which can execute code automatically in response to events. Review carefully before installing.
Multi-angle codebase exploration using 3-5 parallel agents.
/ork:explore authentication
Opus 4.6 : Exploration agents use native adaptive thinking for deeper pattern recognition across large codebases.
BEFORE creating tasks , clarify what the user wants to explore:
AskUserQuestion(
questions=[{
"question": "What aspect do you want to explore?",
"header": "Focus",
"options": [
{"label": "Full exploration (Recommended)", "description": "Code structure + data flow + architecture + health assessment", "markdown": "```\nFull Exploration (8 phases)\n───────────────────────────\n 4 parallel explorer agents:\n ┌──────────┐ ┌──────────┐\n │ Structure│ │ Data │\n │ Explorer │ │ Flow │\n ├──────────┤ ├──────────┤\n │ Pattern │ │ Product │\n │ Analyst │ │ Context │\n └──────────┘ └──────────┘\n ▼\n ┌──────────────────────┐\n │ Code Health N/10 │\n │ Dep Hotspots map │\n │ Architecture diag │\n └──────────────────────┘\n Output: Full exploration report\n```"},
{"label": "Code structure only", "description": "Find files, classes, functions related to topic", "markdown": "```\nCode Structure\n──────────────\n Grep ──▶ Glob ──▶ Map\n\n Output:\n ├── File tree (relevant)\n ├── Key classes/functions\n ├── Import graph\n └── Entry points\n No agents — direct search\n```"},
{"label": "Data flow", "description": "Trace how data moves through the system", "markdown": "```\nData Flow Trace\n───────────────\n Input ──▶ Transform ──▶ Output\n │ │ │\n ▼ ▼ ▼\n [API] [Service] [DB/Cache]\n\n Traces: request lifecycle,\n state mutations, side effects\n Agent: 1 data-flow explorer\n```"},
{"label": "Architecture patterns", "description": "Identify design patterns and integrations", "markdown": "```\nArchitecture Analysis\n─────────────────────\n ┌─────────────────────┐\n │ Detected Patterns │\n │ ├── MVC / Hexagonal │\n │ ├── Event-driven? │\n │ ├── Service layers │\n │ └── External APIs │\n ├─────────────────────┤\n │ Integration Map │\n │ DB ←→ Cache ←→ Queue │\n └─────────────────────┘\n Agent: backend-system-architect\n```"},
{"label": "Quick search", "description": "Just find relevant files, skip deep analysis", "markdown": "```\nQuick Search (~30s)\n───────────────────\n Grep + Glob ──▶ File list\n\n Output:\n ├── Matching files\n ├── Line references\n └── Brief summary\n No agents, no health check,\n no report generation\n```"}
],
"multiSelect": false
}]
)
Based on answer, adjust workflow:
ToolSearch(query="select:mcp__memory__search_nodes")
Write(".claude/chain/capabilities.json", { memory, timestamp })
if capabilities.memory:
mcp__memory__search_nodes({ query: "architecture decisions for {path}" })
# Enrich exploration with past decisions
After exploration completes, write results for downstream skills:
Write(".claude/chain/exploration.json", JSON.stringify({
"phase": "explore", "skill": "explore",
"timestamp": now(), "status": "completed",
"outputs": {
"architecture_map": { ... },
"patterns_found": ["repository", "service-layer"],
"complexity_hotspots": ["src/auth/", "src/payments/"]
}
}))
Choose Agent Teams (mesh) or Task tool (star):
ORCHESTKIT_FORCE_TASK_TOOL=1 → Task tool (override)| Aspect | Task Tool | Agent Teams |
|---|---|---|
| Discovery sharing | Lead synthesizes after all complete | Explorers share discoveries as they go |
| Cross-referencing | Lead connects dots | Data flow explorer alerts architecture explorer |
| Cost | ~150K tokens | ~400K tokens |
| Best for | Quick/focused searches | Deep full-codebase exploration |
Fallback: If Agent Teams encounters issues, fall back to Task tool for remaining exploration.
BEFORE doing ANYTHING else, create tasks to show progress:
TaskCreate(subject="Explore: {topic}", description="Deep codebase exploration for {topic}", activeForm="Exploring {topic}")
TaskCreate(subject="Initial file search", activeForm="Searching files")
TaskCreate(subject="Check knowledge graph", activeForm="Checking memory")
TaskCreate(subject="Launch exploration agents", activeForm="Dispatching explorers")
TaskCreate(subject="Assess code health (0-10)", activeForm="Assessing code health")
TaskCreate(subject="Map dependency hotspots", activeForm="Mapping dependencies")
TaskCreate(subject="Add product perspective", activeForm="Adding product context")
TaskCreate(subject="Generate exploration report", activeForm="Generating report")
| Phase | Activities | Output |
|---|---|---|
| 1. Initial Search | Grep, Glob for matches | File locations |
| 2. Memory Check | Search knowledge graph | Prior context |
| 3. Deep Exploration | 4 parallel explorers | Multi-angle analysis |
| 4. AI System (if applicable) | LangGraph, prompts, RAG | AI-specific findings |
| 5. Code Health | Rate code 0-10 | Quality scores |
| 6. Dependency Hotspots | Identify coupling | Hotspot visualization |
| 7. Product Perspective | Business context | Findability suggestions |
| 8. Report Generation |
Output findings incrementally as each phase completes — don't batch until the report:
| After Phase | Show User |
|---|---|
| 1. Initial Search | File matches, grep results |
| 2. Memory Check | Prior decisions and relevant context |
| 3. Deep Exploration | Each explorer agent's findings as they return |
| 5. Code Health | Health score with dimension breakdown |
For Phase 3 parallel agents, output each agent's findings as soon as it returns — don't wait for all 4 explorers. Early findings from one agent may answer the user's question before remaining agents complete, allowing early termination.
# PARALLEL - Quick searches
Grep(pattern="$ARGUMENTS[0]", output_mode="files_with_matches")
Glob(pattern="**/*$ARGUMENTS[0]*")
mcp__memory__search_nodes(query="$ARGUMENTS[0]")
mcp__memory__search_nodes(query="architecture")
Load Read("${CLAUDE_SKILL_DIR}/rules/exploration-agents.md") for Task tool mode prompts.
Load Read("${CLAUDE_SKILL_DIR}/rules/agent-teams-mode.md") for Agent Teams alternative.
For AI/ML topics, add exploration of: LangGraph workflows, prompt templates, RAG pipeline, caching strategies.
Load Read("${CLAUDE_SKILL_DIR}/rules/code-health-assessment.md") for agent prompt. Load Read("${CLAUDE_SKILL_DIR}/references/code-health-rubric.md") for scoring criteria.
Load Read("${CLAUDE_SKILL_DIR}/rules/dependency-hotspot-analysis.md") for agent prompt. Load Read("${CLAUDE_SKILL_DIR}/references/dependency-analysis.md") for metrics.
Load Read("${CLAUDE_SKILL_DIR}/rules/product-perspective.md") for agent prompt. Load Read("${CLAUDE_SKILL_DIR}/references/findability-patterns.md") for best practices.
Load Read("${CLAUDE_SKILL_DIR}/references/exploration-report-template.md").
ork:implement: Implement after explorationVersion: 2.3.0 (March 2026) — Added progressive output for incremental exploration results
Weekly Installs
93
Repository
GitHub Stars
142
First Seen
Jan 22, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
gemini-cli85
opencode85
codex83
github-copilot83
claude-code81
cursor81
Skills CLI 使用指南:AI Agent 技能包管理器安装与管理教程
48,700 周安装
Bun测试配置指南:使用Bun内置测试运行器,比Jest快3-10倍
113 周安装
MMT TradingView图表集成:使用Lightweight Charts v5.x渲染实时金融数据
113 周安装
非虚构作品修订诊断指南:解决论点、结构、证据、教学法问题
115 周安装
微信多开工具 wechat-multi:Mac 微信双开/多开解决方案,支持自动修复与一键管理
113 周安装
spec-product-prd:基于方案自动生成可验收PRD文档,提升产品需求管理效率
112 周安装
X文案生成器 - AI驱动爆款推文创作工具,匹配创作者声音风格
114 周安装
| Compile findings |
| Actionable report |