OpenParable
Skip to content
← Back to skills

Alfworld Heat Object With Appliance

Agent Building
alfworld-heat-object-with-appliance

Alfworld Heat Object With Appliance is an Agent Skill for agent building published in the zjunlp/SkillNet repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Uses a heating appliance (microwave, stoveburner, oven) to apply heat to a specified object. Use when the task requires warming or cooking an item (e.g., "heat some egg", "warm the mug") and a heating appliance is available. Takes the object name and appliance name as input and outputs the object in a heated state, ready for placement at the task's target location.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/zjunlp/SkillNet/blob/HEAD/experiments/src/skills/alfworld/alfworld-heat-object-with-appliance/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/alfworld-heat-object-with-appliance, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Skill: Heat Object with Appliance

Purpose

Heat a specified object using a designated kitchen appliance to change its state (e.g., from cold to hot, raw to cooked) as required by a task.

Core Workflow

Follow this sequence of actions. Use the bundled validate_and_plan.py script to check for common preconditions before starting.

  1. Navigate & Locate: Go to the location of the target object.
  2. Acquire Object: Take the object from its current receptacle.
  3. Navigate to Appliance: Go to the specified heating appliance.
  4. Prepare Appliance:
    • If the appliance is closed, open it.
    • If the appliance contains other items, you may need to remove them (context-dependent). The default action is to close it and proceed, as some environments abstract this step.
  5. Execute Heating: Use the heat {object} with {appliance} action.
  6. Complete Task: Navigate to the final target location (e.g., a dining table) and put the heated object there.

Key Decision Points

  • Appliance State: If the appliance is occupied, assess if the task implies clearing it. The trajectory shows proceeding without removal is sometimes valid.
  • Object Location: The object may not be at the initial location. Be prepared to search other receptacles (e.g., fridge, countertop, cabinet) if not found.
  • Alternative Appliances: If the primary appliance (e.g., microwave) is unavailable or broken, consider alternatives like a stoveburner.

Example

Task: "Heat some egg and put it on the diningtable."

Input: object: egg 1, appliance: microwave 1, target: diningtable 1

Sequence:

  1. go to fridge 1 → Observation: "You are at fridge 1."
  2. open fridge 1 → Observation: "You open the fridge 1. You see egg 1, ..."
  3. take egg 1 from fridge 1 → Observation: "You pick up the egg 1 from the fridge 1."
  4. go to microwave 1 → Observation: "You are at microwave 1."
  5. heat egg 1 with microwave 1 → Observation: "You heat the egg 1 using the microwave 1."
  6. go to diningtable 1 → Observation: "You are at diningtable 1."
  7. put egg 1 in/on diningtable 1 → Observation: "You put the egg 1 in/on the diningtable 1."

Output: The egg 1 is heated and placed on the diningtable 1. Task complete.

Bundled Resources

  • scripts/validate_and_plan.py: A utility to check the initial environment state against the skill's prerequisites.
  • references/common_heating_appliances.md: A list of typical appliances and their properties in the ALFWorld environment.