Alfworld Navigation Planner
Agent Buildingalfworld-navigation-plannerAlfworld Navigation Planner is an Agent Skill for agent building published in the zjunlp/SkillNet repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Plans a path to move the agent between receptacles to search for target objects. Use this when you need to traverse the environment to reach a specific location or systematically explore multiple areas. It takes the current location and destination receptacle as input, and outputs the next 'go to' action to approach the target.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/zjunlp/SkillNet/blob/HEAD/experiments/src/skills/alfworld/alfworld-navigation-planner/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/alfworld-navigation-planner, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Instructions
Use this skill to navigate between receptacles (e.g., bed, desk, drawer) in a household environment to locate objects. The core logic is handled by the bundled script.
Input/Output Format
- Input: Provide the agent's current location and the target receptacle.
- Output: The skill will return the next
go to {recep}action to execute.
How to Use
- Identify your goal. Determine which receptacle you need to search (e.g.,
desk 1to find adesklamp). - Call the skill. Pass your current location and the target receptacle.
- Execute the action. Perform the
go toaction returned by the skill. - Observe and repeat. After moving, observe the new location. If the target object is not found, use this skill again to plan movement to the next most promising receptacle.
Key Principles
- Systematic Search: Move efficiently between likely receptacles instead of random exploration.
- Adaptive Planning: If an action fails ("Nothing happened"), the script's logic helps choose an alternative path.
- Context Preservation: Always note your current location after each move for the next planning step.
Example Thought Process:
Thought: I need to find a desklamp. The
desk 1is a likely location. I am currently atbed 1. Action: Usealfworld-navigation-plannerwith current locationbed 1and targetdesk 1. Result:go to desk 1