‹ 首页

alfworld-temperature-regulator

@zjunlp · 收录于 5 天前 · 上游提交 2 周前

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 receptacle, and final target receptacle as inputs, and outputs the object at the target location with its temperature state changed.

适合你,如果需要在模拟环境中改变物体温度

/ 通过 npx 安装 校验哈希
npx oh-my-skill add zjunlp/skillnet/alfworld-temperature-regulator
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- zjunlp/skillnet/alfworld-temperature-regulator
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify zjunlp/skillnet/alfworld-temperature-regulator
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
1112GitHub stars
~758最小装载
~1.2K含声明引用
~1.3K文本包总量
索引托管

怎么用

商店整理自技能原文 · 版本 7bb9a48 · 表述以原文为准
它做什么

该技能让Claude可以改变物体的温度:将物体放入冰箱冷却,或放入微波炉加热,然后移动到指定位置。

什么时候触发

当任务要求改变物体温度,例如“冷却面包”或“加热食物”时触发。需要提供物体、温度调节容器和最终目标容器的标识。

装好后可以这样说
Claude会将面包放入冰箱后放到餐桌。
Claude会用微波炉加热汤后放到餐桌。
技能原文 SKILL.md作者撰写 · MIT · 7bb9a48

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
  • Inputs Required: The object identifier (e.g., bread 1) and the temperature_receptacle identifier (e.g., fridge 1 for cooling, microwave 1 for heating). The final target_receptacle (e.g., diningtable 1) is also required.
  • Verify the provided object and receptacles exist in the agent's current observation. If not, the agent must first navigate to locate them.
  • Plan the sequence: Locate object -> Pick up object -> Navigate to temperature receptacle -> Open it (if closed) -> Place object inside -> Close receptacle (optional, based on environment feedback) -> Navigate to target receptacle -> Place object there.
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:
  3. go to {temperature_receptacle}.
  4. If the receptacle is reported as "closed", open {temperature_receptacle}.
  5. put {object} in/on {temperature_receptacle}.
  6. (Optional) close {temperature_receptacle} if the environment or task logic suggests it (e.g., maintaining fridge temperature).
  7. Deliver Object: go to {target_receptacle}, then put {object} in/on {target_receptacle}.
3. Error Handling & Observations
  • If an action results in "Nothing happened", consult the troubleshooting guide in references/troubleshooting.md.
  • Always verify the state change after each action (e.g., "You pick up...", "You open...", "You put...").
  • If the object is not at the expected location, pause execution and re-scan the environment.
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.

按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。