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

alfworld-receptacle-preparer

This skill verifies and prepares a target receptacle for receiving an object. It is triggered before placing an item into a receptacle (e.g., a garb…

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

它会碰到什么

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

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

技能内容

Instructions

Trigger: This skill is invoked when the agent's goal requires placing an object into a target receptacle (e.g., "put X in/on Y").

Core Procedure

  1. Navigate: Use go to {target_receptacle} to move to the target receptacle's location.
  2. Observe: Upon arrival, carefully read the environment's observation. It will describe the receptacle's state and any contents.
  3. Analyze & Prepare: Based on the observation, determine if the receptacle is ready.
  • Ready State: The receptacle is described as present and accessible (e.g., "On the garbagecan 1, you see a cd 1."). No further action is needed. Proceed to place the object.
  • Blocked/Closed State: If the receptacle is closed, latched, or obstructed, use the appropriate action (open {recep}, toggle {obj} {recep}) to prepare it.
  • Invalid Target: If the observation indicates the receptacle does not exist or cannot be interacted with ("Nothing happened"), you must abort this skill and re-plan your task strategy.
  1. Confirm: After any preparatory action, observe the environment's feedback to confirm the receptacle is now ready.

Key Principles

  • Efficiency: This skill is a preparatory step. Do not spend turns searching for the object to be placed here. That is a separate "search" skill.
  • Context: The observation text is your only source of truth about the receptacle's state. Interpret it literally.
  • Idempotency: If the receptacle is already ready, this skill completes immediately with no action required beyond observation.

Example from Trajectory

Goal Context: "find two pen and put them in garbagecan."

Skill Execution:

  1. Thought: "I'll check the garbage can first to ensure it's open and ready to receive items."
  2. Action: go to garbagecan 1
  3. Observation: "On the garbagecan 1, you see a cd 1."
  4. Analysis: The garbage can is present and accessible (a CD inside does not block new items). It is ready.
  5. Outcome: Skill completes. The agent proceeds to put pen 3 in/on garbagecan 1.

想直接用这个技能?

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