New task planning

From pdl-openair/OpenAIR · View interactive version

New task planning is an AI agent skill from the GitHub repository pdl-openair/OpenAIR. 引导用户澄清研究意图,判定 skill pack(sdr / ope / opentrajectory 等)并编排对应工作流(含 stage→substage→skill 链路),输出供用户确认。

How to use this skill

Skill file

New Task Planning (Workflow Orchestration)

Goal

在任务创建阶段完成:意图澄清、skill pack 判定、研究类型判断(M/D/C/H)、工作流编排(从对应 pack 的配置表实例化 stage→substage→skill 调用序列),输出供用户确认。

Must Do

  1. 先 Read schemas/packs.yaml 了解系统支持哪些 skill pack 及其适用场景。
  2. 通过提问澄清用户研究目标、约束、输入数据、预期产出与评估标准。
  3. 根据用户描述的研究范式匹配 pack.when_to_use。必须遍历 schemas/packs.yaml 中的全部 pack,不要只看下面列出的几个示例分支——新 pack 可能随时新增。当前已知触发规则(与 packs.yaml 的 when_to_use 保持一致,packs.yaml 是 single source of truth):
  1. 判断研究类型(M/D/C/H)。
  2. 根据 chosen pack 读取配置:
  1. substages 必须逐字来自 chosen pack 的 stage-substage-map.yaml 的 key 字段。严禁跨 pack 合并、严禁凭训练记忆补全:例如 chosen pack 是 materials 时,绝不能把 constraints_criteria / gap_identification / hypothesis_formation 等 sdr 专属 substage 塞进 stages[].substages——即使你认为"问题建模阶段应该有约束定义"。如果用户需要当前 pack 不存在的 substage,要么换 pack,要么先在该 pack 的 map 里新增,再输出工作流。
  2. 工作流只需包含与用户任务相关、且未标记 enabled: false 的 substage,按执行顺序排列。enabled: false 仅表示预留流程槽位,不得加入当前可执行工作流。
  3. 信息不足时持续追问,不得跳过。
  4. 信息足够后输出结构化工作流。
  5. 工作流必须等待用户确认。

Must NOT

Output Contract

严格遵循 output_schema.json,严格使用 ```json 代码块输出。

输出必须包含以下字段:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.