‹ 首页

alfworld-task-verifier

@zjunlp · 收录于 5 天前 · 上游提交 2 周前

Use when the agent needs to check whether an ALFWorld task objective has been met after completing a sub-action (e.g., placing an object). This skill parses the task goal, evaluates the latest environment observation, and outputs a verification decision — task complete, task incomplete, or action ineffective — to guide the next step.

适合你,如果需要在 ALFWorld 环境中自动检查任务完成状态。

/ 通过 npx 安装 校验哈希
npx oh-my-skill add zjunlp/skillnet/alfworld-task-verifier
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- zjunlp/skillnet/alfworld-task-verifier
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify zjunlp/skillnet/alfworld-task-verifier
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
1112GitHub stars
~658最小装载
~658含声明引用
~1.7K文本包总量
索引托管

怎么用

商店整理自技能原文 · 版本 7bb9a48 · 表述以原文为准
它做什么

Claude在完成放置物体等子动作后,会自动检查任务是否达成,并输出“任务完成”“任务未完成”或“动作无效”的结论,指导下一步。

什么时候触发

当Claude在ALFWorld游戏中执行了放置或操作物体的动作后,需要验证任务进度时触发。

装好后可以这样说
Claude会解析任务目标并评估最新观察结果。
触发验证,输出任务状态。
检查上次动作是否成功。
技能原文 SKILL.md作者撰写 · MIT · 7bb9a48

Skill: Task Verifier for ALFWorld

When to Use

Trigger this skill when:

  1. The agent has just completed a key sub-action (e.g., put {obj} in/on {recep})
  2. The agent needs to determine whether the overall task goal is satisfied
  3. The agent must decide whether to continue searching or conclude the task
Core Workflow
1. Parse the Task Goal

Extract from the original task description:

  • Target object(s): What needs to be found/placed (including quantity)
  • Target receptacle: Where objects must end up
  • Required transformations: Any cleaning, heating, or cooling steps
2. Analyze the Observation

Evaluate the most recent Observation: text from the environment:

  • Look for evidence that required objects are present in the target receptacle
  • Count how many target objects have been successfully placed
  • Note: Other items in the receptacle do not invalidate success
3. Make a Verification Decision

| Condition | Decision | Output | |-----------|----------|--------| | All required objects confirmed in target receptacle | Complete | Verification: Task complete. No further action needed. | | Some but not all objects placed | Incomplete | Verification: Task incomplete. Continue searching for {missing object(s)}. | | Observation says "Nothing happened" | Ineffective | Verification: Last action was ineffective. Re-assess and try a different approach. | | Object placed in wrong receptacle | Incorrect | Verification: Object placed in wrong location. Retrieve and redirect to {correct receptacle}. |

4. Output Format

Output only the verification decision. Do not output the next action. This skill informs the planning for the next step, not the execution.

Example

Task: "Find two pen and put them in garbagecan."

Action: put pen 3 in/on garbagecan 1
Observation: You put the pen 3 in/on the garbagecan 1.

> Verification: Task incomplete. Continue searching for pen (1 of 2 placed).

Action: put pen 1 in/on garbagecan 1
Observation: You put the pen 1 in/on the garbagecan 1.

> Verification: Task complete. No further action needed.

Example — Failed action:

Action: put pen 3 in/on garbagecan 1
Observation: Nothing happened.

> Verification: Last action was ineffective. Re-assess and try a different approach.
Error Handling
  • Ambiguous observation: If the observation does not clearly confirm or deny placement, navigate to the target receptacle and re-examine it to get an updated state.
  • Quantity tracking: For multi-object tasks, maintain a running count. Re-examine the target receptacle if the count is uncertain.
按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。