Alfworld task verifier

From zjunlp/SkillNet · View interactive version

Alfworld task verifier is an AI agent skill from the GitHub repository zjunlp/SkillNet. 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 in

How to use this skill

Skill file

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:

2. Analyze the Observation

Evaluate the most recent Observation: text from the environment:

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

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.