alfworld-goal-interpreter
Parses the natural language task goal to extract actionable sub-objectives and required objects. Trigger this skill whenever a new task is assigned to break down complex instructions into clear, sequential targets. It interprets phrases like 'look at X under Y' to identify target objects (pillow), reference objects (desklamp), and spatial relationships (under).
npx skills add zjunlp/SkillNet --skill alfworld-goal-interpreter --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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. ## 3. Identify Required Objects & Actions Map the parsed objects to the available action types in the environment. The primary action verbs (look, tak
- 1. Parse the Task Statement
- 2. Generate Sub-Objectives
- 3. Identify Required Objects & Actions
- 4. Execute & Adapt
What does the alfworld-goal-interpreter skill do?
Parses the natural language task goal to extract actionable sub-objectives and required objects. Trigger this skill whenever a new task is assigned to break down complex instructions into clear, sequential targets. It interprets phrases like 'look at X under Y' to identify target objects (pillow), reference objects (desklamp), and spatial relationships (under).
How do I install it?
Run `npx skills add zjunlp/SkillNet --skill alfworld-goal-interpreter --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From zjunlp/SkillNet, a repository with 1,117 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
