多步骤工作流规划导航
workflow-planning
使用状态图规划和导航多步骤领域工作流。当任务涉及有序的工具依赖、多个状态转换,或不确定在领域序列中接下来应调用哪个工具时激活。
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 10
- Forks
- 7
01 前言 Front Matter
- name
- workflow-planning
- description
- Plan and navigate multi-step domain workflows using the state graph. Activate when a task involves ordered tool dependencies, multiple state transitions, or when unsure which tool to call next in a domain sequence.
02 资源文件 23
- 参考文档references/01-request-review.md1.4 KB
- 参考文档references/02-wait.md1.7 KB
- 参考文档references/03-list-threads.md1.7 KB
- 参考文档references/04-triage.md8.0 KB
- 参考文档references/05-fix.md2.4 KB
- 参考文档references/06-build-test.md2.1 KB
- 参考文档references/07-commit-push.md712 B
- 参考文档references/08-reply-resolve.md3.8 KB
- 参考文档references/09-convergence.md10.5 KB
- 参考文档references/10-cleanup.md707 B
- 参考文档references/api-quirks.md8.4 KB
- 参考文档references/orchestration.md6.1 KB
- 脚本scripts/_lib.ps115.5 KB
- 脚本scripts/01-request-review.ps113.2 KB
- 脚本scripts/02-check-review-status.ps117.4 KB
- 脚本scripts/03-list-open-threads.ps14.0 KB
- 脚本scripts/08-reply-and-resolve.ps13.3 KB
- 脚本scripts/09-review-round.ps15.5 KB
- 脚本scripts/10-cleanup-outdated.ps117.7 KB
- 参考文档templates/reply-decline.md871 B
- 参考文档templates/reply-drift.md317 B
- 参考文档templates/reply-fix.md839 B
- 参考文档templates/reply-partial.md376 B
03 SKILL.md 正文
Workflow Planning
When to Use
Use workflow planning when:
- The task spans multiple state transitions (e.g., parse → compute → filter → cluster).
- You are unsure which tool comes next or what prerequisites exist.
- You want to see all possible paths through a domain's tool graph.
Do NOT use for simple single-tool tasks — just search and call directly.
Not all servers expose workflow planning tools. They are only registered when
the server has tools with state annotations (requires/produces). If
plan_{server}_workflow is not listed in the server's available tools, skip
planning and use search_{server}_tools to find what you need directly.
The State Graph
Domain tools declare state transitions:
requires— states that must exist before this tool can run.produces— states this tool generates after successful execution.
These form a directed graph that plan_{server}_workflow can navigate.
Available Modes
Overview — see the full graph
plan_{server}_workflow(mode="overview")
Returns all tools with their state requirements and productions. Use this first to understand the domain's structure.
Path — get a recommended sequence
plan_{server}_workflow(
mode="path",
current_state="{domain}.data_loaded",
target_state="{domain}.results_exported"
)
Returns an ordered list of tools to call to reach the target state from the
current state. Follow this sequence in your execute_{server}_code calls.
Tool — inspect a specific tool's context
plan_{server}_workflow(mode="tool", tool_name="process_data")
Returns the tool's prerequisites, what it produces, and where it fits in the graph.
Workflow with Skills
For common multi-step workflows, load a pre-built skill instead of planning manually:
search_{server}_tools(query="...", category="skills")— find relevant skills.load_{server}_skill(skill_name="...")— load the skill's step-by-step instructions.- Follow the loaded instructions, which reference specific tools in the correct order.
Skills are preferred over manual planning when they exist for your task — they encode domain expertise and edge-case handling that raw graph traversal does not.
04 同仓库更多 Skills
代码异步并行执行
async-execution
异步运行长时间或并行的代码。当代码运行时间超过 30 秒、处理大量独立输入,或用户要求在后台运行时激活。
数据资产传输与发布
artifacts
将数据资产获取到内核,在服务器之间传输 Python 对象,并将输出文件发布给用户。在处理数据文件、跨服务器数据移动,或用户要求下载或导出时激活。
Agora Workbench MCP 代码执行
agora-workbench
通过编写在服务器持久内核中运行的 Python 来驱动 Agora Workbench MCP 服务器——即任何暴露 execute_*_code 工具的服务器,其工具与库都已内置于该内核中。当已连接 execute_*_code 工具且用户请求的工作可在其中运行时,应优先激活本技能,而不是求助于本地 shell、独立脚本或包安装。服务器已具备相应环境;应调用其工具,而非在本地重建该能力。
PyPSA 电力系统建模分析
energysystems-pypsa
在 execute_energysystems_code 中使用 PyPSA 进行电力系统建模与分析——网络搭建、组件配置、潮流计算、最优调度、容量扩展、成本与拓扑分析。涵盖 PyPSA 约定以及会导致结果悄然出错的陷阱。
地球科学 STAC 数据获取
earthscience-stac
如何在 execute_earthscience_code 中查找并加载来自 Microsoft Planetary Computer(STAC)的数据。
RDKit 分子分析与化学信息学
chemistry-rdkit
使用 RDKit 进行分子分析与化学信息学——通过领域工具和 execute_chemistry_code 工具实现 SMILES 处理、描述符计算、分子指纹、子结构搜索、相似性分析、聚类和类药性筛选。