Alfworld tool locator

From zjunlp/SkillNet · View interactive version

Alfworld tool locator is an AI agent skill from the GitHub repository zjunlp/SkillNet. Searches for a specified tool or device (e.g., a desklamp, knife, or sponge) within the ALFWorld environment by checking relevant surfaces. Use when you need a tool to interact with another object as part of a task but the tool is not in your inventory or immediate vicinity. Takes a tool name as imp

How to use this skill

Skill file

Instructions

Locate a specified tool or device by systematically checking receptacles where it is likely stored.

Workflow

  1. Prioritize search locations based on tool type:
  1. Navigate to each prioritized receptacle: go to {receptacle}
  2. Inspect the observation for the target tool name
  3. If found: Stop searching. Proceed to use the tool for the main task
  4. If not found: Continue to the next receptacle in the priority list
  5. If exhausted: Expand search to remaining receptacles not yet checked

Action Format

Error Recovery

Example

Scenario: You need to find a desklamp to examine an object.

Thought: I need to find a desklamp. Desklamps are usually on sidetables or desks.
Action: go to sidetable 1
Observation: On the sidetable 1, you see a keychain 1.
Thought: No desklamp here. Let me check the next sidetable.
Action: go to sidetable 2
Observation: On the sidetable 2, you see a desklamp 1.

Result: Found desklamp 1 on sidetable 2. Proceed to use it for the task.

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.