‹ 首页

alfworld-receptacle-preparer

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

This skill verifies and prepares a target receptacle for receiving an object. It is triggered before placing an item into a receptacle (e.g., a garbage can) to ensure the receptacle is accessible and suitable. The skill involves navigating to the receptacle, observing its state (e.g., open/closed, occupied), and performing any necessary preparatory actions like opening it, resulting in a ready-to-use target location.

适合你,如果需要在放置物品前确保容器可用

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

怎么用

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

当Claude需要把物品放入某个容器(如垃圾桶)时,它会在放入前先走到容器旁,观察它是否开着、有没有被占用,如果关着就打开,确保容器已准备就绪,然后再进行放置操作。

什么时候触发

当你的指令要求Claude将物体放入某个容器中时(例如“把苹果放在碗里”),这个技能就会先触发,检查并准备好目标容器。

装好后可以这样说
他会先走到垃圾桶旁观察状态。
他会检查桌子是否可访问。
他会先打开回收箱,再执行放入动作。
技能原文 SKILL.md作者撰写 · MIT · 7bb9a48

Instructions

Trigger: This skill is invoked when the agent's goal requires placing an object into a target receptacle (e.g., "put X in/on Y").

Core Procedure
  1. Navigate: Use go to {target_receptacle} to move to the target receptacle's location.
  2. Observe: Upon arrival, carefully read the environment's observation. It will describe the receptacle's state and any contents.
  3. Analyze & Prepare: Based on the observation, determine if the receptacle is ready.
  4. Ready State: The receptacle is described as present and accessible (e.g., "On the garbagecan 1, you see a cd 1."). No further action is needed. Proceed to place the object.
  5. Blocked/Closed State: If the receptacle is closed, latched, or obstructed, use the appropriate action (open {recep}, toggle {obj} {recep}) to prepare it.
  6. Invalid Target: If the observation indicates the receptacle does not exist or cannot be interacted with ("Nothing happened"), you must abort this skill and re-plan your task strategy.
  7. Confirm: After any preparatory action, observe the environment's feedback to confirm the receptacle is now ready.
Key Principles
  • Efficiency: This skill is a preparatory step. Do not spend turns searching for the object to be placed here. That is a separate "search" skill.
  • Context: The observation text is your only source of truth about the receptacle's state. Interpret it literally.
  • Idempotency: If the receptacle is already ready, this skill completes immediately with no action required beyond observation.
Example from Trajectory

Goal Context: "find two pen and put them in garbagecan." Skill Execution:

  1. Thought: "I'll check the garbage can first to ensure it's open and ready to receive items."
  2. Action: go to garbagecan 1
  3. Observation: "On the garbagecan 1, you see a cd 1."
  4. Analysis: The garbage can is present and accessible (a CD inside does not block new items). It is ready.
  5. Outcome: Skill completes. The agent proceeds to put pen 3 in/on garbagecan 1.
按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

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