scienceworld-inventory-focus ยท diff
git:20260307.388baa3 to git:20260316.e08426e
51 added, 25 removed. Audit A to A.
---
name: scienceworld-inventory-focus
- description: This skill focuses on a specific item within the agent's inventory to confirm its identity or prepare it for use. It should be triggered before using an inventory item in an experiment or when verifying that the correct item has been collected. The skill helps ensure operational readiness and intentional task progression.
+ description: Use when the agent needs to confirm and prepare a specific inventory item before using it in an experiment or task step. This "focus on [ITEM] in inventory" action verifies the correct item has been collected and signals intent, ensuring operational readiness for subsequent actions like measurement, combination, or placement.
---
- # Skill: Inventory Focus
+ # Skill: scienceworld-inventory-focus
## Purpose
- Use this skill to intentionally examine and prepare an item from your inventory before using it in a task. This act of "focusing" confirms the item's presence, state, and readiness, reducing errors in multi-step procedures.
- ## Primary Trigger
- Trigger this skill when you have picked up a required item and need to:
- 1. Verify it is the correct object for the next step.
- 2. Signal your intent to use it.
- 3. Prepare it for a subsequent action (e.g., measurement, combination).
+ Confirm and prepare an inventory item before using it in a ScienceWorld task. The `focus on [ITEM] in inventory` action verifies the item's presence and signals intent, reducing errors in multi-step experimental procedures.
- ## Core Instruction
- Execute the `focus on [ITEM] in inventory` action. Replace `[ITEM]` with the exact name of the object you have collected.
+ ## When to Use
- ## Standard Operating Procedure (SOP)
- Follow this sequence when an item from your inventory is needed for a critical task:
+ - After picking up an item that will be used in a subsequent critical action (measurement, combination, connection)
+ - When verifying the correct object has been collected before proceeding
+ - Before using a tool on a target object, to prepare both tool and target
- 1. **Acquire:** First, ensure the target item is in your inventory (e.g., `pick up thermometer`).
- 2. **Focus:** Execute this skill: `focus on [ITEM] in inventory`.
- 3. **Proceed:** After receiving confirmation, proceed with the intended use of the item (e.g., `use thermometer on unknown substance B`).
+ ## Workflow
- ## Example from Trajectory
- * **Goal:** Measure the temperature of `unknown substance B`.
- * **Procedure:**
- 1. `pick up thermometer`
- 2. `focus on thermometer in inventory` *(This skill)*
- 3. `pick up unknown substance B`
- 4. `focus on unknown substance B in inventory` *(This skill)*
- 5. `use thermometer on unknown substance B`
+ 1. **Acquire the item** -- Ensure the target item is in inventory (e.g., `pick up thermometer`).
+ 2. **Focus on the item** -- Execute: `focus on [ITEM] in inventory` (replace `[ITEM]` with the exact object name).
+ 3. **Confirm readiness** -- Wait for system response: `"You focus on the [ITEM]."`.
+ 4. **Proceed** -- Execute the intended action (e.g., `use thermometer on unknown substance B`).
- ## Key Principle
- Treat `focus on` as a deliberate checkpoint. It does not change the state of the object but changes the agent's state of awareness and intent, leading to more reliable task execution.
+ ## Examples
+
+ ### Example 1: Preparing tool and target for temperature measurement
+
+ ```
+ > pick up thermometer
+ You pick up the thermometer.
+
+ > focus on thermometer in inventory
+ You focus on the thermometer.
+
+ > pick up unknown substance B
+ You pick up the unknown substance B.
+
+ > focus on unknown substance B in inventory
+ You focus on the unknown substance B.
+
+ > use thermometer on unknown substance B
+ The thermometer measures a temperature of 42 degrees celsius.
+ ```
+
+ ### Example 2: Preparing an item for placement
+
+ ```
+ > pick up metal fork
+ You pick up the metal fork.
+
+ > focus on metal fork in inventory
+ You focus on the metal fork.
+
+ > move metal fork to blue box
+ You move the metal fork to the blue box.
+ ```
+
+ ## Important Notes
+
+ - The `focus on` action does not change the object's state; it is a declarative checkpoint that changes the agent's awareness and intent.
+ - Always use the exact object name as it appears in the inventory.
+ - If the item is not in inventory, use `pick up [ITEM]` first before attempting to focus.