Alfworld temperature regulator

From zjunlp/SkillNet · View interactive version

Alfworld temperature regulator is an AI agent skill from the GitHub repository zjunlp/SkillNet. Manages the temperature state of an object by placing it into an appropriate appliance (fridge for cooling, microwave for heating). Use when the task requires modifying an object's temperature property, such as "cool some bread" or "heat some food". Takes the object identifier, temperature-modifying

How to use this skill

Skill file

Instructions

This skill executes a sequence to change an object's temperature by placing it in a specific receptacle (e.g., fridge for cooling, microwave for heating) and then relocating it to a final target location.

1. Input Validation & Planning

2. Execution Sequence

Follow this core logic. Use deterministic scripts for error-prone steps (see scripts/).

  1. Acquire Object: go to the object's location, then take {object} from {recep}.
  2. Apply Temperature Effect:
  1. Deliver Object: go to {target_receptacle}, then put {object} in/on {target_receptacle}.

3. Error Handling & Observations

4. Example

Task: "Cool some bread and put it on the diningtable."

Input: object: bread 1, temperature_receptacle: fridge 1, target_receptacle: diningtable 1

Sequence:

  1. go to countertop 1 → Observation: "You are at countertop 1. You see bread 1, ..."
  2. take bread 1 from countertop 1 → Observation: "You pick up the bread 1 from the countertop 1."
  3. go to fridge 1 → Observation: "You are at fridge 1."
  4. cool bread 1 with fridge 1 → Observation: "You cool the bread 1 using the fridge 1."
  5. go to diningtable 1 → Observation: "You are at diningtable 1."
  6. put bread 1 in/on diningtable 1 → Observation: "You put the bread 1 in/on the diningtable 1."

Output: The bread 1 is cooled and placed on the diningtable 1. Task complete.

5. Completion

The skill is complete when the object has been placed into the temperature_receptacle and subsequently placed onto the target_receptacle. Confirm the final observation states the object is on the target.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.