‹ 首页

alfworld-object-state-inspector

@zjunlp · 收录于 5 天前 · 上游提交 2 周前

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., "what's on the shelf", "is the holder empty", "check the table for items"). Executes `go to {receptacle}`, parses the observation listing items present, and decides whether to take an item, search elsewhere, or proceed.

适合你,如果需要在模拟环境中导航并检查容器内容物

/ 通过 npx 安装 校验哈希
npx oh-my-skill add zjunlp/skillnet/alfworld-object-state-inspector
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- zjunlp/skillnet/alfworld-object-state-inspector
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify zjunlp/skillnet/alfworld-object-state-inspector
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
1112GitHub stars
~431最小装载
~431含声明引用
~722文本包总量
索引托管

怎么用

商店整理自技能原文 · 版本 7bb9a48 · 表述以原文为准
它做什么

安装后,当你询问容器内的物品时,Claude会先导航到该容器,读取环境反馈,然后告诉你里面有什么,并据此决定是否取物或继续搜索。

什么时候触发

当你说出“检查架子上有什么”、“这个抽屉是空的吗”等询问容器内容的话时触发。

装好后可以这样说
Claude会导航到洗手台并报告物品。
Claude会前往查看,若为空则提示寻找其他处。
Claude会去检查桌子并告知是否有杯子。
技能原文 SKILL.md作者撰写 · MIT · 7bb9a48

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:
  4. "On the {receptacle}, you see nothing." -- receptacle is empty
  5. "On the {receptacle}, you see a {item1}, and a {item2}." -- items are present
  6. Decide next action based on the observation:
  7. Empty: search elsewhere for the needed item
  8. Item found: take {item} from {receptacle}
  9. 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 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。