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

alfworld-receptacle-operator

This skill opens or closes a receptacle (like a fridge, cabinet, or microwave) to access its interior or secure it. It should be triggered when an o…

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

它会碰到什么

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

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

技能内容

Skill: Receptacle Operator

When to Use

Use this skill when you need to:

  1. Access a closed receptacle to place an object inside or take an object out.
  2. Secure an open receptacle after accessing it (e.g., to conserve energy, maintain cleanliness, or complete a task step).

Core Decision Logic

  1. Check the receptacle's state from the observation.
  • If it reports "is closed" or "is open", note the state.
  • If the interior is visible (e.g., "In it, you see..."), it is open.
  1. Choose action based on goal:
  • Goal requires interior access (e.g., "put in microwave", "take from fridge"):
  • If closed → open {recep}
  • If open → proceed with next step (e.g., put or take)
  • Goal requires securing receptacle (e.g., after accessing, or for efficiency):
  • If open → close {recep}
  • If closed → no action needed
  1. Execute the action using the exact format: Action: open {recep} or Action: close {recep}

Example from Trajectory

  • Task: "cool some tomato and put it in microwave"
  • Step 1: At closed fridge → Action: open fridge 1
  • Step 2: After checking interior → Action: close fridge 1 (for efficiency)
  • Step 3: At closed microwave → Action: open microwave 1

Important Notes

  • Always verify the receptacle state from the latest observation before acting.
  • The skill only handles open and close actions. Other actions (like take, put, cool) are separate skills.
  • If "Nothing happened" is observed after your action, the receptacle may already be in that state—re-check and adjust.

For detailed state diagrams and edge cases, see the reference documentation.

想直接用这个技能?

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