AGENT SKILL

多步骤工作流规划导航

workflow-planning

使用状态图规划和导航多步骤领域工作流。当任务涉及有序的工具依赖、多个状态转换,或不确定在领域序列中接下来应调用哪个工具时激活。

适用职业AI 工程师
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

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:

  1. search_{server}_tools(query="...", category="skills") — find relevant skills.
  2. load_{server}_skill(skill_name="...") — load the skill's step-by-step instructions.
  3. 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

microsoft
microsoft/agora-workbench

代码异步并行执行

async-execution

异步运行长时间或并行的代码。当代码运行时间超过 30 秒、处理大量独立输入,或用户要求在后台运行时激活。

软件开发工程师定时任务与自动化编排
★ 10
microsoft
microsoft/agora-workbench

数据资产传输与发布

artifacts

将数据资产获取到内核,在服务器之间传输 Python 对象,并将输出文件发布给用户。在处理数据文件、跨服务器数据移动,或用户要求下载或导出时激活。

数据工程师文件打包与导出
★ 10
microsoft
microsoft/agora-workbench

Agora Workbench MCP 代码执行

agora-workbench

通过编写在服务器持久内核中运行的 Python 来驱动 Agora Workbench MCP 服务器——即任何暴露 execute_*_code 工具的服务器,其工具与库都已内置于该内核中。当已连接 execute_*_code 工具且用户请求的工作可在其中运行时,应优先激活本技能,而不是求助于本地 shell、独立脚本或包安装。服务器已具备相应环境;应调用其工具,而非在本地重建该能力。

软件开发工程师开发环境与工具链管理
★ 10
microsoft
microsoft/agora-workbench

PyPSA 电力系统建模分析

energysystems-pypsa

在 execute_energysystems_code 中使用 PyPSA 进行电力系统建模与分析——网络搭建、组件配置、潮流计算、最优调度、容量扩展、成本与拓扑分析。涵盖 PyPSA 约定以及会导致结果悄然出错的陷阱。

电力系统工程师能源系统建模与分析
★ 10
microsoft
microsoft/agora-workbench

地球科学 STAC 数据获取

earthscience-stac

如何在 execute_earthscience_code 中查找并加载来自 Microsoft Planetary Computer(STAC)的数据。

数据工程师地球科学与地理空间数据分析
★ 10
microsoft
microsoft/agora-workbench

RDKit 分子分析与化学信息学

chemistry-rdkit

使用 RDKit 进行分子分析与化学信息学——通过领域工具和 execute_chemistry_code 工具实现 SMILES 处理、描述符计算、分子指纹、子结构搜索、相似性分析、聚类和类药性筛选。

化学研究员化学分析与化学信息学
★ 10