alfworld-goal-interpreter

Installation
SKILL.md

Goal Interpretation Protocol

1. Parse the Task Statement

When a new task is assigned, immediately analyze the natural language instruction to extract its core components. Use the parsing script (parse_goal.py) to perform this analysis.

Input: The raw task string (e.g., "look at pillow under the desklamp"). Output: A structured dictionary containing:

  • primary_target: The main object to interact with.
  • reference_object: The object that defines a location or condition.
  • spatial_relation: The preposition linking them (e.g., under, on, in).
  • action: The verb defining the required interaction.

2. Generate Sub-Objectives

Based on the parsed components, formulate a clear, sequential plan. The plan must account for the spatial relationship.

Example Logic:

  • IF relation is under → Sub-goal 1: Locate the reference_object. Sub-goal 2: Inspect the area beneath it for the primary_target.
  • IF relation is in or on → Sub-goal 1: Locate the reference_object. Sub-goal 2: Check its contents/surface.
Installs
1
Repository
zjunlp/skillnet
GitHub Stars
1.3K
First Seen
Jul 7, 2026
alfworld-goal-interpreter — zjunlp/skillnet