Agent Skillszjunlp/SkillNet › alfworld-search-pattern-executor

alfworld-search-pattern-executor

GitHub

该技能用于在虚拟环境中系统性地搜索目标物体。它接收候选容器列表,按序执行导航、开合及检查动作,找到后拾取并停止,否则关闭容器继续下一项,适用于已知可能位置但不知具体在哪的场景。

experiments/src/skills/alfworld/alfworld-search-pattern-executor/SKILL.md zjunlp/SkillNet

Trigger Scenarios

需要寻找特定物体且已知候选位置 执行基于常识的顺序搜索任务

Install

npx skills add zjunlp/SkillNet --skill alfworld-search-pattern-executor -g -y
More Options

Non-standard path

npx skills add https://github.com/zjunlp/SkillNet/tree/main/experiments/src/skills/alfworld/alfworld-search-pattern-executor -g -y

Use without installing

npx skills use zjunlp/SkillNet@alfworld-search-pattern-executor

指定 Agent (Claude Code)

npx skills add zjunlp/SkillNet --skill alfworld-search-pattern-executor -a claude-code -g -y

安装 repo 全部 skill

npx skills add zjunlp/SkillNet --all -g -y

预览 repo 内 skill

npx skills add zjunlp/SkillNet --list

SKILL.md

Frontmatter
{
    "name": "alfworld-search-pattern-executor",
    "description": "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."
}

Instructions

For each candidate receptacle in order, execute this action sequence:

Workflow

  1. Navigate: go to {receptacle}
  2. Open if closed: If observation says "{receptacle} is closed", execute open {receptacle}
  3. Inspect: Read the observation for the target object name
  4. If found: Execute take {target_object} from {receptacle} and stop searching
  5. If not found: If you opened the receptacle, execute close {receptacle}, then continue to the next candidate
  6. If all exhausted: Report that the target was not found in any candidate location

Action Format

  • go to {receptacle} -- navigate to a location
  • open {receptacle} -- open a closed drawer/cabinet/fridge
  • close {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.

Version History

  • 7bb9a48 Current 2026-07-25 11:52

Same Skill Collection

experiments/src/skills/alfworld/alfworld-appliance-navigator/SKILL.md
experiments/src/skills/alfworld/alfworld-appliance-preparer/SKILL.md
experiments/src/skills/alfworld/alfworld-clean-object/SKILL.md
experiments/src/skills/alfworld/alfworld-device-operator/SKILL.md
experiments/src/skills/alfworld/alfworld-environment-scanner/SKILL.md
experiments/src/skills/alfworld/alfworld-goal-interpreter/SKILL.md
experiments/src/skills/alfworld/alfworld-heat-object-with-appliance/SKILL.md
experiments/src/skills/alfworld/alfworld-inventory-management/SKILL.md
experiments/src/skills/alfworld/alfworld-locate-target-object/SKILL.md
experiments/src/skills/alfworld/alfworld-location-navigator/SKILL.md
experiments/src/skills/alfworld/alfworld-navigation-planner/SKILL.md
experiments/src/skills/alfworld/alfworld-object-cooler/SKILL.md
experiments/src/skills/alfworld/alfworld-object-disposer/SKILL.md
experiments/src/skills/alfworld/alfworld-object-heater/SKILL.md
experiments/src/skills/alfworld/alfworld-object-locator/SKILL.md
experiments/src/skills/alfworld/alfworld-object-picker/SKILL.md
experiments/src/skills/alfworld/alfworld-object-placer/SKILL.md
experiments/src/skills/alfworld/alfworld-object-retriever/SKILL.md
experiments/src/skills/alfworld/alfworld-object-state-inspector/SKILL.md
experiments/src/skills/alfworld/alfworld-object-state-modifier/SKILL.md
experiments/src/skills/alfworld/alfworld-object-storer/SKILL.md
experiments/src/skills/alfworld/alfworld-object-transporter/SKILL.md
experiments/src/skills/alfworld/alfworld-open-receptacle/SKILL.md
experiments/src/skills/alfworld/alfworld-receptacle-closer/SKILL.md
experiments/src/skills/alfworld/alfworld-receptacle-finder/SKILL.md
experiments/src/skills/alfworld/alfworld-receptacle-navigator/SKILL.md
experiments/src/skills/alfworld/alfworld-receptacle-opener/SKILL.md
experiments/src/skills/alfworld/alfworld-receptacle-operator/SKILL.md
experiments/src/skills/alfworld/alfworld-receptacle-preparer/SKILL.md
experiments/src/skills/alfworld/alfworld-receptacle-searcher/SKILL.md
experiments/src/skills/alfworld/alfworld-search-verifier/SKILL.md
experiments/src/skills/alfworld/alfworld-storage-explorer/SKILL.md
experiments/src/skills/alfworld/alfworld-task-verifier/SKILL.md
experiments/src/skills/alfworld/alfworld-temperature-regulator/SKILL.md
experiments/src/skills/alfworld/alfworld-tool-locator/SKILL.md
experiments/src/skills/alfworld/alfworld-tool-user/SKILL.md
experiments/src/skills/scienceworld/scienceworld-ambiguous-action-resolution/SKILL.md
experiments/src/skills/scienceworld/scienceworld-animal-identifier/SKILL.md
experiments/src/skills/scienceworld/scienceworld-circuit-builder/SKILL.md
experiments/src/skills/scienceworld/scienceworld-circuit-connector/SKILL.md
experiments/src/skills/scienceworld/scienceworld-conditional-box-placer/SKILL.md
experiments/src/skills/scienceworld/scienceworld-conditional-focus-executor/SKILL.md
experiments/src/skills/scienceworld/scienceworld-conditional-placer/SKILL.md
experiments/src/skills/scienceworld/scienceworld-conductivity-tester/SKILL.md
experiments/src/skills/scienceworld/scienceworld-container-inspector/SKILL.md
experiments/src/skills/scienceworld/scienceworld-container-item-retriever/SKILL.md
experiments/src/skills/scienceworld/scienceworld-container-relocator/SKILL.md
experiments/src/skills/scienceworld/scienceworld-container-transfer/SKILL.md
experiments/src/skills/scienceworld/scienceworld-controlled-waiting/SKILL.md

Metadata

Files
0
Version
fc20173
Hash
e6fbd329
Indexed
2026-07-25 11:52

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-20 15:28
浙ICP备14020137号-1 $Гость$