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

alfworld-appliance-preparer

Prepares a household appliance (microwave, oven, toaster, fridge) for use by ensuring it is in the correct open/closed state. Use when the agent nee…

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

它会碰到什么

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

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

技能内容

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:
  • For appliances used to contain items for processing (e.g., microwave, oven, fridge), they typically need to be open to receive the item.
  • Use the open {appliance} or close {appliance} action as needed.
  1. 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 / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。