alfworld-receptacle-navigator · git:20260307.388baa3 · 2026-03-07 · sha256 3cd4b5e66a0bd95a
alfworld-receptacle-navigator git:20260307.388baa3A
Immutable. This exact content never changes and is served at /api/v1/blob/3cd4b5e66a0bd95a.
---
name: alfworld-receptacle-navigator
description: This skill plans and executes movement to a target receptacle within the environment. It should be triggered when the agent needs to interact with an object at a specific location (e.g., go to fridge to cool an item) or needs to access a receptacle itself (e.g., go to garbagecan to dispose of an item). The skill uses the receptacle name from the observation or task goal, outputs the 'go to' action, and confirms arrival at the destination.
---
# Skill: Receptacle Navigator
## Purpose
Navigate to a specified receptacle (e.g., `fridge 1`, `garbagecan 1`, `diningtable 1`) in an ALFWorld household environment. This is a foundational skill for positioning the agent to perform subsequent object interactions.
## When to Use
Trigger this skill when the agent's plan requires:
1. **Accessing a location** to interact with an object there (e.g., "go to fridge to cool an item").
2. **Interacting with the receptacle itself** (e.g., "go to garbagecan to dispose of an item").
## Core Logic
1. **Input Parsing:** Extract the target receptacle name (e.g., `fridge 1`) from the current task context or observation.
2. **Action Execution:** Output the ALFWorld action: `go to {target_receptacle}`.
3. **Success Verification:** Confirm the action was successful by checking the observation for evidence of arrival (e.g., "You are at the {receptacle}" or the receptacle is now in the observable list).
## Instructions
1. Identify the target receptacle from the goal or current observation.
2. Execute the `go to` action.
3. If the environment responds with "Nothing happened", the action was invalid. Consult the `references/common_receptacles.md` list and the latest observation to formulate a new `go to` target.
4. Upon successful navigation, proceed with the next skill in the plan (e.g., `alfworld-object-interactor`).
## Error Handling
- **Invalid Target:** If "Nothing happened" is observed, the receptacle may be unreachable or incorrectly named. Re-analyze the scene description to find a valid path or alternative receptacle.
- **Already at Location:** If the observation indicates you are already at the target, skip the `go to` action and proceed.