Agent Skills
› zjunlp/SkillNet
› alfworld-object-heater
alfworld-object-heater
GitHub指导智能体使用微波炉或炉灶加热手持物品的技能,涵盖导航、检查状态、执行加热及错误恢复流程。
触发场景
需要加热持有的物品
操作厨房电器如微波炉或炉灶
安装
npx skills add zjunlp/SkillNet --skill alfworld-object-heater -g -y
SKILL.md
Frontmatter
{
"name": "alfworld-object-heater",
"description": "Heats a specified object using an available heating appliance (e.g., microwave, stoveburner). Use when you are holding an object that requires heating and need to navigate to and operate the heating appliance. Takes the object and appliance as inputs and results in the object being in a heated state."
}
Instructions
Heat an object you are holding using a compatible heating appliance (microwave or stoveburner).
Prerequisites
- The target object must be in your inventory
- A heating appliance (microwave, stoveburner) must exist in the environment
Workflow
- Navigate:
go to {appliance}(e.g.,go to microwave 1) - Check state: If observation says appliance is closed, execute
open {appliance}-- verify observation confirms it is now open - Heat:
heat {object} with {appliance}-- verify observation confirms "You heat the {object}" - (Optional) Place: If the task requires it, navigate to the destination and place the heated object
Action Format
go to microwave 1/go to stoveburner 1open microwave 1heat {object} with {appliance}(e.g.,heat potato 1 with microwave 1)
Error Recovery
- "Nothing happened" on heat: Check (1) you are holding the object, (2) appliance is open, (3) appliance name is correct
- Appliance occupied: Take the existing item out first, then retry
Example
Scenario: You are holding potato 1 and need to heat it.
Thought: I need to heat the potato. I'll go to the microwave.
Action: go to microwave 1
Observation: The microwave 1 is closed.
Action: open microwave 1
Observation: You open the microwave 1. The microwave 1 is open. In it, you see nothing.
Action: heat potato 1 with microwave 1
Observation: You heat the potato 1 using the microwave 1.
Result: The potato is now heated. Proceed to place it at the destination if required by the task.
版本历史
- 7bb9a48 当前 2026-07-25 11:51


