跳到主要内容
知仓学习社ZHICANG

scienceworld-object-locator

Searches for a specific target object across multiple rooms by systematically teleporting to likely locations and examining each room. Use this skil…

不碰外部(只输出文字)无严重或高危命中zjunlp/SkillNet

它会碰到什么

扫了多少4 个文本文件,7 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

Instructions

Purpose

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

Inputs

  • Target Object: The name of the object to find (e.g., "thermometer", "metal fork").
  • Candidate Rooms (Optional): A list of room names to search. If not provided, the skill will use a default priority list based on common object locations.

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

  • teleport to <ROOM_NAME>
  • look around
  • examine <OBJECT> (if more detail is needed to confirm identity)
  • pick up <OBJECT> (if the goal is to acquire the object, not just locate it)

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

  • Efficiency: Always look around immediately after teleporting to get the full room state.
  • Parsing: Observations list objects after "you see:". Check this list for the target object's name.
  • Confirmation: If an object's name is ambiguous (e.g., "fork" could be "metal fork" or "plastic fork"), use examine to get a detailed description.
  • Inventory: If the task requires using the object, remember to pick it up after finding it.
  • Error Handling: If an object is not in its most likely room, the systematic search will eventually find it. Do not give up after the first few rooms.

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。