Scienceworld object locator

From zjunlp/SkillNet · View interactive version

Scienceworld object locator is an AI agent skill from the GitHub repository zjunlp/SkillNet. Searches for a specific target object across multiple rooms by systematically teleporting to likely locations and examining each room. Use this skill when you need to find an object whose exact location is unknown. Iterates through candidate rooms using teleport and look around, checks for the objec

How to use this skill

Skill file

Instructions

Purpose

Locate a specific target object within the ScienceWorld environment when its location is unknown.

Inputs

Core Process

  1. Initialize: Receive the target object name.
  2. Plan Search Order: Determine the sequence of rooms to search. Use the provided prioritize_rooms.py script to generate an optimal search order based on the target object.
  3. Execute Search Loop:

a. Teleport to the next room in the search order.

b. Use the look around action to observe the room's contents.

c. Parse the observation to check for the presence of the target object.

d. If the object is found, stop the search and output its location.

e. If the object is not found, proceed to the next room.

  1. Output: Report the room where the object was found. If the object is not found after searching all candidate rooms, report this failure.

Key Actions

Example

Task: Find the thermometer in the environment.

  1. teleport to kitchen
  2. look around — no thermometer found
  3. teleport to workshop
  4. look around — observation includes "a thermometer, currently reading a temperature of 10 degrees celsius"
  5. Thermometer located in workshop. pick up thermometer if needed.

Notes & Best Practices

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.