‹ 首页

alfworld-appliance-preparer

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

Prepares a household appliance (microwave, oven, toaster, fridge) for use by ensuring it is in the correct open/closed state. Use when the agent needs to heat, cool, or cook an item and must first open or close the appliance before placing an object inside. Takes an appliance identifier as input and outputs a confirmation that the appliance is ready for the next action.

适合你,如果需要在加热或冷却物品前确保家电已正确开关

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

怎么用

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

装了这个技能后,Claude 会先找到你要用的电器(如微波炉、烤箱),检查它是开还是关,然后根据需要打开或关好,最后告诉你它准备好了。

什么时候触发

当你让 Claude 加热、冷却或烹饪食物,需要先往电器里放东西的时候就会触发。

装好后可以这样说
Claude 会导航到微波炉1并打开它。
Claude 会去冰箱2并执行打开动作。
Claude 会检查并关闭烤面包机1。
技能原文 SKILL.md作者撰写 · MIT · 7bb9a48

Instructions

Goal

Prepare a specified household appliance for immediate use by ensuring it is in the correct open or closed state. This is a prerequisite step before performing actions like heat, cool, or toggle with the appliance.

Input
  • appliance_identifier: The name of the appliance to prepare (e.g., microwave 1, toaster 1, fridge 1).
Core Logic
  1. Navigate to the Appliance: First, go to the location of the target appliance.
  2. Check State & Prepare: Determine if the appliance needs to be opened or closed based on the intended subsequent action. The standard rule is:
  3. For appliances used to contain items for processing (e.g., microwave, oven, fridge), they typically need to be open to receive the item.
  4. Use the open {appliance} or close {appliance} action as needed.
  5. Confirm Readiness: The skill is complete when the appliance is in the correct state, confirmed by an observation from the environment (e.g., "The microwave 1 is open.").
Important Considerations
  • State Awareness: Always observe the environment's feedback after each action (e.g., "The microwave 1 is closed."). Do not assume the state.
  • Error Handling: If the action fails (environment outputs "Nothing happened"), the appliance may already be in the desired state. Re-check the observation and proceed.
  • Trajectory Insight: Refer to the example in references/trajectory_example.md to see a practical application of this skill in the context of a larger task.
Example

Input: appliance_identifier: microwave 1

Sequence:

  1. go to microwave 1 → Observation: "You are at microwave 1. The microwave 1 is closed."
  2. open microwave 1 → Observation: "You open the microwave 1. The microwave 1 is open."

Output: "The microwave 1 is open and ready for use."

Output

A confirmation that the appliance is ready, typically in the form of the agent's Thought summarizing the prepared state and the environment's observation.

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

评论

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