Tooluck logoTooluck
SKILL.md

alfworld-inventory-management

Agent skill fromzjunlp/SkillNet

Use when the agent must collect and track multiple instances of the same object type in ALFWorld (e.g., "put two cellphone in bed"). This skill maintains a count of collected versus needed objects, guides systematic searching through receptacles, and ensures each found object is placed at the target before searching for the next.

How to install alfworld-inventory-management

install alfworld-inventory-management
# install the SkillNet pack with the skills CLI
npx skills add zjunlp/SkillNet

# or add only this skill to Claude Code: copy the folder

experiments/src/skills/alfworld/alfworld-inventory-management/

# into

~/.claude/skills/alfworld-inventory-management/ (all projects)

.claude/skills/alfworld-inventory-management/ (one project)

experiments/src/skills/alfworld/alfworld-inventory-management/SKILL.md

MITFull file
1# Inventory Management Skill
2
3## When to Use
4Activate this skill when:
5- Task requires collecting **multiple instances** of the same object type (e.g., "put two cellphone in bed")
6- You need to track progress toward a quantity-based goal
7- Searching through multiple locations systematically
8
9## Core Workflow
10
11### 1. Initialize Inventory
12- Parse the task description to identify:
13 - **Target object type** (e.g., "cellphone")
14 - **Required quantity** (e.g., "two" = 2)
15 - **Target receptacle** (e.g., "bed 1")
16- Initialize counters: `collected = 0`, `needed = <quantity>`
17- Create empty list for searched locations
18
19### 2. Systematic Search Pattern
20Follow this search priority:
211. **Visible surfaces** (desks, dressers, beds, countertops) - check first
222. **Closed containers** (drawers, cabinets, safes) - open and inspect
233. **Less common locations** (shelves, side tables, garbage cans)
244. **Return to known locations** if inventory incomplete
25
26**Critical Rule:** After finding an object, immediately place it at the target location before searching for the next one. Do not attempt to carry multiple objects simultaneously.
27
28### 3. Action Decision Logic
29Use this decision tree at each step:
30
31```
32Is target object visible in current observation?
33├── YES → Take it, go to target receptacle, put it down
34│ └── Increment collected counter
35│ ├── collected == needed → TASK COMPLETE
36│ └── collected < needed → Continue searching
37…

Excerpt shown under the repository's MIT license.

More skills in SkillNet

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates