跳到主要内容
知仓学习社ZHICANG

alfworld-task-verifier

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 skil…

不碰外部(只输出文字)无严重或高危命中zjunlp/SkillNet

它会碰到什么

扫了多少3 个文本文件,7 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

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 / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。