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

alfworld-receptacle-navigator

Plans and executes movement to a target receptacle within the ALFWorld environment. Use when the agent needs to reach a specific location before int…

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

它会碰到什么

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

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

技能内容

Skill: Receptacle Navigator

Purpose

Navigate to a specified receptacle (e.g., fridge 1, garbagecan 1, diningtable 1) in an ALFWorld household environment. This is a foundational skill for positioning the agent to perform subsequent object interactions.

When to Use

Trigger this skill when the agent's plan requires:

  1. Accessing a location to interact with an object there (e.g., "go to fridge to cool an item").
  2. Interacting with the receptacle itself (e.g., "go to garbagecan to dispose of an item").

Core Logic

  1. Input Parsing: Extract the target receptacle name (e.g., fridge 1) from the current task context or observation.
  2. Action Execution: Output the ALFWorld action: go to {target_receptacle}.
  3. Success Verification: Confirm the action was successful by checking the observation for evidence of arrival (e.g., "You are at the {receptacle}" or the receptacle is now in the observable list).

Instructions

  1. Identify the target receptacle from the goal or current observation.
  2. Execute the go to action.
  3. If the environment responds with "Nothing happened", the action was invalid. Consult the references/common_receptacles.md list and the latest observation to formulate a new go to target.
  4. Upon successful navigation, proceed with the next skill in the plan (e.g., alfworld-object-interactor).

Example

Input: target_receptacle: fridge 1

Sequence:

  1. go to fridge 1 → Observation: "You are at fridge 1. On the fridge 1, you see nothing."

Output: Agent has arrived at fridge 1 and can now interact with it (open, take items, cool objects, etc.).

Error Handling

  • Invalid Target: If "Nothing happened" is observed, the receptacle may be unreachable or incorrectly named. Re-analyze the scene description to find a valid path or alternative receptacle.
  • Already at Location: If the observation indicates you are already at the target, skip the go to action and proceed.

想直接用这个技能?

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