跳到主要内容
知仓学习社ZHICANG

alfworld-heat-object-with-appliance

Uses a heating appliance (microwave, stoveburner, oven) to apply heat to a specified object. Use when the task requires warming or cooking an item (…

不碰外部(只输出文字)无严重或高危命中zjunlp/SkillNet

它会碰到什么

扫了多少2 个文本文件,4 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

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.
  1. Execute Heating: Use the heat {object} with {appliance} action.
  2. 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.

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。