Agent skill
alfworld-inventory-management
This skill tracks which objects have been collected and which remain to be found for multi-object tasks. It should be triggered when working with tasks requiring multiple instances of the same object type. The skill maintains a count of collected vs. needed objects and guides the search for remaining items.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/alfworld-inventory-management
SKILL.md
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:
- Visible surfaces (desks, dressers, beds) - check first
- Closed containers (drawers, cabinets) - open and inspect
- 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:
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?