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

alfworld-object-storer

Use when the agent is holding an object and needs to place it into a target receptacle in ALFWorld. This skill checks receptacle suitability, opens …

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

它会碰到什么

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

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

技能内容

Skill: Object Storer

When to Use

Trigger this skill when:

  1. The agent is holding the target object (optionally cleaned/heated/cooled as required)
  2. A suitable storage receptacle has been identified
  3. The agent needs to execute the final placement step

Core Workflow

1. Validate Prerequisites

  • Confirm the agent is holding {object_name} (check inventory)
  • Confirm the agent is at the location of {target_receptacle}
  • If not at the receptacle, navigate there first: go to {target_receptacle}

2. Check Receptacle State

Evaluate the receptacle before placing:

| Receptacle State | Action |

|-----------------|--------|

| Open and empty/suitable | Proceed with put |

| Closed (drawer, cabinet, safe) | open {target_receptacle} first, then put |

| Unsuitable (wrong type, full) | Abort and search for alternative receptacle |

3. Execute Storage

  • Run: put {object_name} in/on {target_receptacle}
  • Check the observation for confirmation

4. Verify Placement

  • A successful placement updates the receptacle contents in the observation
  • If the observation confirms the object is now in/on the receptacle, storage is complete

Example

Task: "Clean the knife and put it in a drawer."

> go to drawer 1
The drawer 1 is closed.
> open drawer 1
You open the drawer 1. The drawer 1 is open. In it, you see nothing.
> put knife 1 in/on drawer 1
You put the knife 1 in/on the drawer 1.

Result: knife 1 is now stored in drawer 1. Task complete.

Example 2 — Open surface:

> go to bed 1
On the bed 1, you see a pillow 1.
> put cellphone 2 in/on bed 1
You put the cellphone 2 in/on the bed 1.

Error Handling

  • "Nothing happened": The agent may not be holding the object, or the receptacle name is incorrect. Verify with inventory and re-check the receptacle identifier.
  • Receptacle unsuitable: If the receptacle is not appropriate for the object, search for an alternative using the object-locator skill.
  • Agent not at receptacle: Navigate to the receptacle with go to {target_receptacle} before attempting put.

想直接用这个技能?

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