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

alfworld-receptacle-finder

Searches for a suitable empty or appropriately occupied receptacle (like a shelf or table) to place an object. Use when you are holding an object th…

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

它会碰到什么

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

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

技能内容

Instructions

Trigger: Use this skill when you have an object in your inventory that needs to be stored or placed, and you must find a suitable receptacle (e.g., shelf, table, basin).

Core Procedure

  1. Identify Target Object: Confirm the object you are holding and its state (e.g., soapbar 1, clean).
  2. Survey Environment: Use go to {recep} actions to navigate to and visually inspect candidate receptacles from the observation list.
  3. Evaluate Candidates: For each receptacle, assess its suitability:
  • Primary Goal: Find an empty receptacle.
  • Fallback: If no empty receptacle is available, identify one that can logically accommodate the object without conflict (e.g., a shelf with a tissuebox may still have space for a soapbar).
  1. Select & Place: Navigate to the chosen suitable receptacle and execute put {obj} in/on {recep}.

Key Considerations

  • Object State: Ensure the object meets any required pre-conditions (e.g., clean) before searching for a receptacle. Use skills like clean if necessary.
  • Efficiency: Prioritize receptacles that are logically appropriate for the object (e.g., a shelf for a soapbar over a toilet).
  • Observation Parsing: Carefully read the observation after each go to action. The line "On the {recep}, you see..." lists its contents. "you see nothing." indicates it is empty.
  • Invalid Actions: If an action fails ("Nothing happened"), re-evaluate your target and try a different receptacle or confirm the object is in your inventory.

Example

Scenario: You are holding soapbar 1 (clean) and need to find an empty shelf to place it.

Thought: I need to find an empty shelf for the soapbar. I'll check shelf 1 first.
Action: go to shelf 1
Observation: On the shelf 1, you see a tissuebox 1.
Thought: Shelf 1 has items. Let me try shelf 2.
Action: go to shelf 2
Observation: On the shelf 2, you see nothing.
Action: put soapbar 1 in/on shelf 2
Observation: You put the soapbar 1 in/on the shelf 2.

Result: Found an empty shelf and placed the soapbar on it.

Bundled Reference

For a detailed example including handling object pre-cleaning and sequential shelf evaluation, refer to references/example_trajectory.md.

想直接用这个技能?

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