alfworld-search-pattern-executor
Systematically searches a sequence of likely locations for a target object based on common sense. Use when you need to find a specific object and know which receptacles to check but not which one contains it. Takes a list of candidate receptacles, orchestrates navigation and inspection, and outputs when the target is found or all locations are exhausted.
适合你,如果需要在多个可能位置中逐一查找某个物品。
/ 通过 npx 安装 校验哈希
npx oh-my-skill add zjunlp/skillnet/alfworld-search-pattern-executor/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- zjunlp/skillnet/alfworld-search-pattern-executor/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify zjunlp/skillnet/alfworld-search-pattern-executor安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
1112GitHub stars
~537最小装载
~537含声明引用
~933文本包总量
索引托管
怎么用
商店整理自技能原文 · 版本 7bb9a48 · 表述以原文为准它做什么
装上后,当你让Claude找某个物品并列出可能的位置时,它会按顺序逐个前往、打开并检查,找到后取出;若全无则报告未找到。
什么时候触发
当你明确要求寻找一个具体物体,并提供一系列可能存放该物体的容器或位置(如抽屉、柜子等)时触发。
装好后可以这样说
Claude会依次搜索这些位置。
顺序搜索并关闭打开过的柜子。
找不到会告诉你没找到。
技能原文 SKILL.md
Instructions
For each candidate receptacle in order, execute this action sequence:
Workflow
- Navigate:
go to {receptacle} - Open if closed: If observation says "{receptacle} is closed", execute
open {receptacle} - Inspect: Read the observation for the target object name
- If found: Execute
take {target_object} from {receptacle}and stop searching - If not found: If you opened the receptacle, execute
close {receptacle}, then continue to the next candidate - If all exhausted: Report that the target was not found in any candidate location
Action Format
go to {receptacle}-- navigate to a locationopen {receptacle}-- open a closed drawer/cabinet/fridgeclose {receptacle}-- close after checking (state management)take {object} from {receptacle}-- pick up the target when found
Key Rules
- Search candidates in order; do not skip locations
- Always close drawers/cabinets after checking if you opened them
- Once the object is found, immediately stop searching and proceed to the next task phase
- If "Nothing happened" is returned, verify the receptacle name and retry with the correct identifier
Example
Goal: "find two remotecontrol and put them in armchair."
Thought: I need to find remotecontrol. Candidates: sofa 1, sidetable 1, coffeetable 1. Starting search. Action: go to sofa 1 Observation: On the sofa 1, you see a pillow 1. Thought: No remotecontrol on sofa 1. Checking next candidate. Action: go to sidetable 1 Observation: On the sidetable 1, you see a keychain 1. Thought: Not here either. Checking coffeetable. Action: go to coffeetable 1 Observation: On the coffeetable 1, you see a remotecontrol 1, a remotecontrol 2. Action: take remotecontrol 1 from coffeetable 1 Observation: You pick up the remotecontrol 1 from the coffeetable 1.
Result: First remotecontrol found and picked up. Proceed to place it in armchair 1, then re-activate search for the second one.
按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →
评论
登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。
…