AgentSkillsCN

scienceworld-item-fetcher

此技能会从环境中拾取指定物品,并将其移入代理的库存。当代理发现了一种所需的工具或材料(如温度计、金属锅),且这些物品需要被收集以备后续使用时,此技能便应被触发。该技能以物品名称作为输入,确认物品已成功转入库存,从而方便代理在不同地点之间灵活搬运物品。

SKILL.md
--- frontmatter
name: scienceworld-item-fetcher
description: This skill picks up a specified object from the environment and moves it into the agent's inventory. It should be triggered when the agent identifies a required tool or material (e.g., thermometer, metal pot) that needs to be collected for later use. The skill takes an object name as input and confirms the item's transfer to inventory, facilitating object manipulation across locations.

Skill: Fetch and Inventory Item

Purpose

Use this skill when you need to acquire a specific object for a task. It handles locating the object in the current environment and moving it into your inventory for later use.

Core Workflow

  1. Identify Need: Determine which object is required for your current or upcoming task (e.g., "thermometer", "metal pot").
  2. Locate Object: Ensure you are in the correct room. Use look around to survey the environment and confirm the object is present and accessible.
  3. Execute Fetch: Use the pick up action on the target object.
  4. Verify Success: Confirm the system observation states the object has been moved to your inventory.

Key Principles

  • Pre-check: Always look around first to verify the object's presence and location (e.g., on a counter, in a container).
  • Direct Action: Use the simple pick up OBJ command. Do not overcomplicate the sequence.
  • Inventory Focus: After picking up the object, you may focus on it in your inventory to signal readiness for the next step in your main task.
  • Error Handling: If pick up fails, the object might be inside a closed container. Ensure all relevant containers are open first.

Example from Trajectory

Scenario: Needing a thermometer to measure temperature.

  1. Observation: a thermometer, currently reading a temperature of 10 degrees celsius is seen in the kitchen.
  2. Action: pick up thermometer
  3. Result: You move the thermometer to the inventory.
  4. (Optional) Action: focus on thermometer in inventory

Input

  • Object Name: The name of the object to fetch, as it appears in the environment observations (e.g., "thermometer", "metal pot").

Output

  • A confirmation observation that the object is now in the agent's inventory.