返回 Skill 列表
extension
分类: AI Agent 能力无需 API Key

alfworld-object-state-modifier

这项技能使用一种设备来改变物体的状态(例如,冷却、加热、清洁)。当任务需要使用特定设备(如用冰箱冷却或用微波炉加热)来改变物体的温度或清洁度时,应该触发该技能。该技能需要物体、目标状态和设备作为输入,并执行相应的修改动作(例如,'用Y冷却X')。

person作者: jakexiaohubgithub

Instructions

When to Use

Use this skill when the task requires you to change the state of an object using a specific household appliance. The primary actions are:

  • Cool an object (e.g., with a fridge).
  • Heat an object (e.g., with a microwave or stove).
  • Clean an object (e.g., with a sink).

Core Procedure

  1. Locate & Acquire Object: First, navigate to and pick up the target object.
  2. Navigate to Appliance: Go to the appliance required for the state change (e.g., fridge 1, microwave 1).
  3. Prepare Appliance (if needed): Some appliances require preparation (e.g., opening a fridge or microwave door). Perform the necessary open or toggle action.
  4. Execute State Change: Perform the core modifier action: cool {obj} with {appliance}, heat {obj} with {appliance}, or clean {obj} with {appliance}.
  5. Complete Task: After the state is changed, proceed with the next task step (e.g., placing the object elsewhere).

Key Considerations

  • Invalid Actions: If the environment responds with "Nothing happened," your action was invalid. Consult the references/appliance_interaction_guide.md for troubleshooting.
  • Appliance State: Always check if an appliance is open/closed/on/off before attempting the modifier action.
  • Object Holding: You must be holding the target object ({obj}) before executing the state change action.

Inputs Required

  • {obj}: The specific object identifier (e.g., tomato 1).
  • {target_state}: The desired state change (cool, heat, or clean).
  • {appliance}: The specific appliance identifier (e.g., fridge 1).

Output Action

The skill's final output is a single, formatted action string: {target_state} {obj} with {appliance}.