Agent Skillszjunlp/SkillNet › alfworld-environment-scanner

alfworld-environment-scanner

GitHub

在ALFWorld环境中初始化扫描,解析观察文本以识别并分类所有可见对象和容器,构建内部心智地图辅助后续任务规划。

experiments/src/skills/alfworld/alfworld-environment-scanner/SKILL.md zjunlp/SkillNet

Trigger Scenarios

收到模拟器初始环境描述时

Install

npx skills add zjunlp/SkillNet --skill alfworld-environment-scanner -g -y
More Options

Non-standard path

npx skills add https://github.com/zjunlp/SkillNet/tree/main/experiments/src/skills/alfworld/alfworld-environment-scanner -g -y

Use without installing

npx skills use zjunlp/SkillNet@alfworld-environment-scanner

指定 Agent (Claude Code)

npx skills add zjunlp/SkillNet --skill alfworld-environment-scanner -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-environment-scanner",
    "description": "Performs an initial scan of the ALFWorld environment to identify all visible objects and receptacles. Use when you first enter an environment and need to build a mental map for task planning. Processes raw observation text into a structured list of entities, categorizing them as objects or receptacles."
}

Instructions

Primary Objective

Execute an initial environmental scan at the start of any Alfworld task. Your goal is to systematically identify and catalog all objects and receptacles mentioned in the initial observation text.

Core Workflow

  1. Trigger: This skill is triggered immediately upon receiving the initial environment description from the simulator (e.g., "You are in the middle of a room. Looking quickly around you, you see...").
  2. Parse & Extract: Process the raw observation text. Extract every noun phrase that represents a physical entity (object or receptacle). Note the naming convention (e.g., "armchair 2", "diningtable 1").
  3. Categorize: Mentally categorize each entity. A receptacle is a surface or container that can hold other objects (e.g., sofa, sidetable, diningtable, dresser). An object is an item that can be manipulated (e.g., laptop, creditcard, pillow). Some entities (like ottoman) can be both depending on context.
  4. Output Structured Mental Map: Formulate a clear, concise internal summary. Do not output this summary to the simulator—it is for your planning use only.
    • Format: Scan Complete. Receptacles: [list]. Objects: [list].
    • Example: Based on the trajectory, the mental map should be: Scan Complete. Receptacles: [armchair 2, armchair 1, diningtable 1, drawer 4, drawer 3, drawer 2, drawer 1, dresser 1, garbagecan 1, ottoman 1, sidetable 3, sidetable 2, sidetable 1, sofa 1]. Objects: []. (Note: Initial scan only lists visible furniture; objects on them are discovered upon interaction.)

Execution Rules

  • Single Action: This skill culminates in a single go to <receptacle> action to begin the task-specific search. Choose the most logical first receptacle to inspect (e.g., large central surfaces like diningtable 1 or sofa 1).
  • No Looping: Do not create a loop of go to actions. After executing the first go to, the skill ends, and standard task planning takes over.
  • Integration: The mental map generated by this skill must inform all subsequent planning. When searching for a target object, reason about which receptacles from your map are most likely to contain it.

Example from Trajectory

Initial Observation: "You are in the middle of a room... you see a armchair 2, a armchair 1, a diningtable 1, a drawer 4... sofa 1." Skill Execution:

  • Thought: Initiating environment scan. I see multiple receptacles: armchairs, tables, drawers, a dresser, garbage can, ottoman, sidetables, and a sofa. I will build a mental map and then start searching for the laptop on a likely surface.
  • Action: go to sofa 1 (The agent then proceeds with the main task using the knowledge from the scan.)

Version History

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

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-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-pattern-executor/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
344aa0d8
Indexed
2026-07-25 11:51

Home - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-21 04:00
浙ICP备14020137号-1 $Map of visitor$