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

alfworld-object-state-inspector

Inspects a receptacle's contents by navigating to it and reading the observation. Use when you need to check what is on or inside a receptacle (e.g.…

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

它会碰到什么

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

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

技能内容

Instructions

Inspect the state or contents of a target receptacle by navigating to it and parsing the environment's observation feedback.

Workflow

  1. Navigate: Execute go to {target_receptacle}
  2. Read observation: The environment automatically reports what is on/in the receptacle -- no additional inspection action is needed
  3. Parse contents: Look for patterns:
  • "On the {receptacle}, you see nothing." -- receptacle is empty
  • "On the {receptacle}, you see a {item1}, and a {item2}." -- items are present
  1. Decide next action based on the observation:
  • Empty: search elsewhere for the needed item
  • Item found: take {item} from {receptacle}
  • Wrong items: move on to the next receptacle

Error Recovery

  • "Nothing happened": the go to target name is invalid -- verify the receptacle name from your environment scan
  • This skill uses only go to for navigation; it does not use open, close, or toggle

Example

Scenario 1: Check if a toiletpaperhanger has toilet paper.

Action: go to toiletpaperhanger 1
Observation: On the toiletpaperhanger 1, you see nothing.

Decision: Holder is empty. Find a toiletpaper roll elsewhere and bring it here.

Scenario 2: Check a toilet for available items.

Action: go to toilet 1
Observation: On the toilet 1, you see a soapbottle 1, and a toiletpaper 1.

Decision: toiletpaper 1 is available. Execute take toiletpaper 1 from toilet 1.

想直接用这个技能?

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