‹ 首页

alfworld-object-state-modifier

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

Uses an appliance to change the state of an object (cooling, heating, or cleaning). Use when the task requires altering an object's temperature or cleanliness using a specific device (e.g., cooling with a fridge, heating with a microwave, cleaning with a sinkbasin). Takes the object, target state, and appliance as inputs and executes the corresponding modifier action.

适合你,如果需要在模拟环境中用电器改变物体状态

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

怎么用

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

安装后,Claude 能使用冰箱、微波炉、水槽等电器来冷却、加热或清洁物体。执行前需先手持目标物体,然后导航到电器并操作。

什么时候触发

当任务需要改变物体温度(冷却/加热)或清洁度时,例如用户要求“把这个苹果冷却一下”。

装好后可以这样说
Claude 会前往冰箱并执行冷却。
Claude 会前往微波炉并加热。
技能原文 SKILL.md作者撰写 · MIT · 7bb9a48

Instructions

Change an object's state (cool, heat, or clean) using a household appliance. You must be holding the target object before executing the state change.

Workflow
  1. Navigate to appliance: go to {appliance} (e.g., go to fridge 1)
  2. Prepare if closed: If observation says appliance is closed, execute open {appliance} -- verify it opens
  3. Execute state change: {action} {obj} with {appliance} -- verify observation confirms the change
  4. Proceed: Continue with the next task step (e.g., placing the modified object)
Action Mapping

| State Change | Action | Typical Appliance | |---|---|---| | Cool | cool {obj} with {appliance} | fridge 1 | | Heat | heat {obj} with {appliance} | microwave 1, stoveburner 1 | | Clean | clean {obj} with {appliance} | sinkbasin 1 |

Error Recovery
  • "Nothing happened": Check (1) you are holding the object, (2) appliance is open/ready, (3) object and appliance names are correct
  • Appliance occupied: remove existing items first with take {item} from {appliance}
Example

Scenario: You need to cool a tomato using the fridge.

Thought: I'm holding tomato 1 and need to cool it. I'll go to the fridge.
Action: go to fridge 1
Observation: The fridge 1 is closed.
Action: open fridge 1
Observation: You open the fridge 1. The fridge 1 is open. In it, you see a lettuce 1.
Action: cool tomato 1 with fridge 1
Observation: You cool the tomato 1 using the fridge 1.

Result: The tomato is now in a cooled state. Proceed with the next task step (e.g., placing it on a countertop).

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

评论

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