Agent Skillszjunlp/SkillNet › alfworld-device-operator

alfworld-device-operator

GitHub

用于在虚拟环境中操作设备(如台灯、微波炉)以交互目标物体的技能。流程包括定位设备和目标、共置并执行开关、加热、冷却或清洁等操作,适用于需要利用工具处理特定物品的任务场景。

experiments/src/skills/alfworld/alfworld-device-operator/SKILL.md zjunlp/SkillNet

Trigger Scenarios

需要使用设备查看、加热、冷却或清洁物体 任务描述包含使用特定工具对目标进行物理交互

Install

npx skills add zjunlp/SkillNet --skill alfworld-device-operator -g -y
More Options

Non-standard path

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

Use without installing

npx skills use zjunlp/SkillNet@alfworld-device-operator

指定 Agent (Claude Code)

npx skills add zjunlp/SkillNet --skill alfworld-device-operator -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-device-operator",
    "description": "Operates a device or appliance (like a desklamp, microwave, or fridge) to interact with another object. Use when the task requires using a tool on a target item (e.g., \"look at laptop under the desklamp\", \"heat potato with microwave\"). Locates both the device and target object, co-locates them, and executes the appropriate use action (toggle, heat, cool, or clean)."
}

Instructions

1. Skill Trigger

Activate this skill when the task goal explicitly requires using a device or appliance to interact with a target object. Common indicators include phrases like:

  • "look at [object] under the [device]"
  • "heat [object] with [device]"
  • "cool [object] with [device]"
  • "clean [object] with [device]"

2. Core Execution Flow

Follow this sequence when the skill is triggered:

Phase 1: Locate the Device

  1. Identify the device from the task description (e.g., desklamp, microwave, fridge).
  2. Search common receptacles where such a device is typically found (e.g., desks, sidetables, countertops).
  3. Use the go to {recep} action to navigate to and inspect these locations until the device is found.
  4. Note the device's exact name (e.g., desklamp 1).

Phase 2: Locate the Target Object

  1. Identify the target object from the task description (e.g., laptop, mug, plate).
  2. Search the environment for this object. It may not be near the device initially.
  3. Use the go to {recep} and visual inspection to find the object.
  4. Once found, use take {obj} from {recep} to pick it up.

Phase 3: Co-locate Object and Device

  1. Navigate to the receptacle where the target device is located using go to {recep}.
  2. Ensure you are in the same location as the device before proceeding.

Phase 4: Operate the Device

  1. Execute the final use action. The specific action is determined by the device-object pair:
    • For a desklamp and a viewable object (like a laptop, book), use: toggle {device} {recep}.
    • For a microwave and a heatable object, use: heat {obj} with {device}.
    • For a fridge and a coolable object, use: cool {obj} with {device}.
    • For a faucet/spraybottle and a cleanable object, use: clean {obj} with {device}.
  2. Action Format: The action must use the exact object and device names discovered during Phases 1 & 2.

3. Key Assumptions & Rules

  • Co-location Required: The skill assumes the final action requires the target object and the operating device to be in the same location (on the same receptacle).
  • Device First: Prioritize finding the device before extensively searching for the target object, as the device's location is often a fixed landmark.
  • Invalid Actions: If the environment responds with "Nothing happened," re-evaluate your object/device names and your location. Ensure you are using the correct action verb for the device type.

Example

Scenario: Task is "look at laptop under the desklamp."

Thought: I need to find the desklamp first. It's likely on a sidetable or desk.
Action: go to sidetable 1
Observation: On the sidetable 1, you see a desklamp 1.
Thought: Found the desklamp. Now I need to find the laptop.
Action: go to desk 1
Observation: On the desk 1, you see a laptop 1, a pen 2.
Action: take laptop 1 from desk 1
Observation: You pick up the laptop 1 from the desk 1.
Action: go to sidetable 1
Observation: On the sidetable 1, you see a desklamp 1.
Action: use desklamp 1
Observation: You turn on the desklamp 1.

Result: The laptop is now being examined under the desklamp, completing the task.

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-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-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
61e52e1f
Indexed
2026-07-25 11:51

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