返回 Skill 列表
extension
分类: 内容与媒体无需 API Key

alfworld-inventory-management

这项技能跟踪哪些对象已被收集,以及在多对象任务中还有哪些需要找到。当处理需要同一对象类型的多个实例的任务时,应该触发此技能。该技能维护已收集与所需对象的数量,并指导剩余项目的搜索。

person作者: jakexiaohubgithub

Inventory Management Skill

When to Use

Activate this skill when:

  • Task requires collecting multiple instances of the same object type (e.g., "put two cellphone in bed")
  • You need to track progress toward a quantity-based goal
  • Searching through multiple locations systematically

Core Workflow

1. Initialize Inventory

  • Parse the task description to identify:
    • Target object type (e.g., "cellphone")
    • Required quantity (e.g., "two")
  • Initialize counters: collected = 0, needed = <quantity>
  • Create empty list for searched locations

2. Systematic Search Pattern

Follow this search priority:

  1. Visible surfaces (desks, dressers, beds) - check first
  2. Closed containers (drawers, cabinets) - open and inspect
  3. Return to known locations if inventory incomplete

Critical Rule: After finding an object, immediately place it at the target location before searching for the next one.

3. Action Decision Logic

Use this decision tree: