‹ 首页

alfworld-receptacle-operator

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

This skill opens or closes a receptacle (like a fridge, cabinet, or microwave) to access its interior or secure it. It should be triggered when an object needs to be placed inside/retrieved from a closed container, or when an open container should be closed (e.g., for energy efficiency or task cleanliness). The skill decides the appropriate 'open' or 'close' action based on the receptacle's current state and the task context.

适合你,如果需要在模拟环境中控制冰箱、橱柜等容器的开关

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

怎么用

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

这个技能让Claude能根据容器状态和任务,自动打开或关闭冰箱、橱柜、微波炉等容器,方便您放入或取出物品,并在用完后关上。

什么时候触发

当您需要将物品放入一个关闭的容器,或从关闭的容器中取出物品时;或者需要将已打开的容器关上时。

装好后可以这样说
Claude会打开冰箱门
Claude会关闭微波炉门
技能原文 SKILL.md作者撰写 · MIT · 7bb9a48

Skill: Receptacle Operator

When to Use

Use this skill when you need to:

  1. Access a closed receptacle to place an object inside or take an object out.
  2. Secure an open receptacle after accessing it (e.g., to conserve energy, maintain cleanliness, or complete a task step).
Core Decision Logic
  1. Check the receptacle's state from the observation.
  2. If it reports "is closed" or "is open", note the state.
  3. If the interior is visible (e.g., "In it, you see..."), it is open.
  4. Choose action based on goal:
  5. Goal requires interior access (e.g., "put in microwave", "take from fridge"):
  6. If closed → open {recep}
  7. If open → proceed with next step (e.g., put or take)
  8. Goal requires securing receptacle (e.g., after accessing, or for efficiency):
  9. If open → close {recep}
  10. If closed → no action needed
  11. Execute the action using the exact format: Action: open {recep} or Action: close {recep}
Example from Trajectory
  • Task: "cool some tomato and put it in microwave"
  • Step 1: At closed fridge → Action: open fridge 1
  • Step 2: After checking interior → Action: close fridge 1 (for efficiency)
  • Step 3: At closed microwave → Action: open microwave 1
Important Notes
  • Always verify the receptacle state from the latest observation before acting.
  • The skill only handles open and close actions. Other actions (like take, put, cool) are separate skills.
  • If "Nothing happened" is observed after your action, the receptacle may already be in that state—re-check and adjust.

For detailed state diagrams and edge cases, see the reference documentation.

按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

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