‹ 首页

alfworld-object-storer

@zjunlp · 收录于 5 天前 · 上游提交 2 周前

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 closed containers if needed, and executes the `put` command to store the object. It handles both open surfaces (countertops, beds) and closed containers (drawers, cabinets).

适合你,如果在ALFWorld中需要自动放置物品到容器

/ 通过 npx 安装 校验哈希
npx oh-my-skill add zjunlp/skillnet/alfworld-object-storer
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- zjunlp/skillnet/alfworld-object-storer
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify zjunlp/skillnet/alfworld-object-storer
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
1112GitHub stars
~570最小装载
~570含声明引用
~863文本包总量
索引托管

怎么用

商店整理自技能原文 · 版本 7bb9a48 · 表述以原文为准
它做什么

当Claude在ALFWorld中拿着物体并需要放入容器时,它会检查容器状态(如是否关闭),必要时打开容器,然后执行放置命令并确认结果。

什么时候触发

当Claude在ALFWorld中正拿着一个物体,并且已经识别出目标容器,需要执行最后一步放置操作时触发。

装好后可以这样说
触发技能将刀放入抽屉1。
触发技能将手机放在床上。
触发技能将钥匙放入柜子。
技能原文 SKILL.md作者撰写 · MIT · 7bb9a48

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 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。