Agent skill

Alfworld Inventory Management

by zjunlp in zjunlp/SkillNet

A skill your agent uses when the agent must collect and track multiple instances of the same object type in ALFWorld (e.g., "put two cellphone in bed").

MITAuto-check passedAgent Workflows

Install Alfworld Inventory Management

skills CLI
$ npx skills add zjunlp/SkillNet --skill alfworld-inventory-management -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install zjunlp/SkillNet alfworld-inventory-management --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/zjunlp/SkillNet.git skills-src && mkdir -p .claude/skills && cp -r skills-src/experiments/src/skills/alfworld/alfworld-inventory-management .claude/skills/alfworld-inventory-management && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
alfworld-inventory-management
GitHub stars
1.4k
Token cost
~825 tokens
SKILL.md length
249 words
Files
2 (incl. references)
Skills in repo
122
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when the agent must collect and track multiple instances of the same object type in ALFWorld (e.g., "put two cellphone in bed").

  • Works in 4 steps: Initialize Inventory → Systematic Search Pattern → Action Decision Logic → …
  • The agent must collect and track multiple instances of the same object type in ALFWorld (e.g.
  • SKILL.md covers When to Use, Core Workflow, Example and Error Handling
  • Calls go

What it does

Alfworld Inventory Management is an agent skill from zjunlp/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.

Its SKILL.md is about 830 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/common_mistakes.md`).

It sits in Agent Workflows. The repository describes itself as: Create, Evaluate, and Connect AI Skills. The licence is MIT.

When your agent uses it

  • The agent must collect and track multiple instances of the same object type in ALFWorld (e.g.
  • Put two cellphone in bed)

Example prompts

  • “put two cellphone in bed”
  • “/alfworld-inventory-management”

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Initialize Inventory
  2. Systematic Search Pattern
  3. Action Decision Logic
  4. Per-Object Cycle

What it can do on your machine

Read from SKILL.md and the folder at commit c527136. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • go

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Alfworld Inventory Management loads about 825 tokens when it runs, and up to ~1.1k if it reads all its reference files. Until then it costs about 90 tokens; SKILL.md has 249 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~90
When it runs · the whole SKILL.md, loaded when a task matches
~825
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from zjunlp/SkillNet at commit c527136, republished under its MIT licence (© zjunlp). 249 words, ~825 tokens.

Download SKILL.mdSave it as .claude/skills/alfworld-inventory-management/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
alfworld-inventory-management
description
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.

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" = 2)
    • Target receptacle (e.g., "bed 1")
  • 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, countertops) - check first
  2. Closed containers (drawers, cabinets, safes) - open and inspect
  3. Less common locations (shelves, side tables, garbage cans)
  4. 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. Do not attempt to carry multiple objects simultaneously.

3. Action Decision Logic

Use this decision tree at each step:

Is target object visible in current observation?
├── YES → Take it, go to target receptacle, put it down
│         └── Increment collected counter
│             ├── collected == needed → TASK COMPLETE
│             └── collected < needed → Continue searching
└── NO → Have all receptacles been searched?
          ├── YES → Revisit receptacles (objects may have been missed)
          └── NO → Go to next unsearched receptacle
4. Per-Object Cycle

For each object instance found, follow this exact sequence:

  1. take {object} from {current_receptacle}
  2. go to {target_receptacle}
  3. put {object} in/on {target_receptacle}
  4. Update counter: collected += 1
  5. If collected < needed, navigate to next unsearched receptacle

Example

Task: "Put two cellphone in bed 1."

> go to desk 1
On the desk 1, you see a cellphone 2, a pen 1.
> take cellphone 2 from desk 1
You pick up the cellphone 2 from the desk 1.
> go to bed 1
On the bed 1, you see a pillow 1.
> put cellphone 2 in/on bed 1
You put the cellphone 2 in/on the bed 1.
[collected: 1/2]
> go to dresser 1
On the dresser 1, you see a cellphone 3, a keychain 1.
> take cellphone 3 from dresser 1
You pick up the cellphone 3 from the dresser 1.
> go to bed 1
On the bed 1, you see a cellphone 2, a pillow 1.
> put cellphone 3 in/on bed 1
You put the cellphone 3 in/on the bed 1.
[collected: 2/2 — TASK COMPLETE]

Error Handling

  • Object not at expected location: Mark location as searched, proceed to next receptacle
  • "Nothing happened": The action syntax may be wrong; verify object name and receptacle
  • Counter mismatch: Re-examine the target receptacle to confirm how many objects are already placed

© zjunlp, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (references) in experiments/src/skills/alfworld/alfworld-inventory-management of zjunlp/SkillNet.

  • SKILL.md
  • references/common_mistakes.md

Open the folder on GitHubat commit c527136

Compare with similar skills

Alfworld Inventory Management next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Alfworld Inventory Management compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Alfworld Inventory Management this skillzjunlp/SkillNet1.4k—~825Automated safety check: PassMIT
MCP Server Builderanthropics/skills180k63 repos~2.3kAutomated safety check: PassApache-2.0
Hook Development for Claude Code Pluginsanthropics/claude-plugins-official38k10 repos~4.1kAutomated safety check: NotesApache-2.0
Using Superpowersfarm-fe/farm5.6k35 repos~1.4kAutomated safety check: PassMIT
Executing Plans Inlineobra/superpowers297k2 repos~5.1kAutomated safety check: PassMIT
Skill CreatorAzure/azqr79689 repos~8.2kAutomated safety check: PassApache-2.0

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 63 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • Hook Development for Claude Code Plugins

    anthropics/claude-plugins-official

    Official

    Explains how to write Claude Code plugin hooks, both prompt-based checks and bash commands, for events such as PreToolUse, Stop and SessionStart.

    38k GitHub starsUsed in 10 repos~4.1k tokens
    Agent WorkflowsAuto-check: notes
  • Using Superpowers

    farm-fe/farm

    A skill your agent uses when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions

    5.6k GitHub starsUsed in 35 repos~1.4k tokens
    Agent WorkflowsAuto-check passed
  • Executing Plans Inline

    obra/superpowers

    Has the agent carry out an implementation plan itself, task by task in the current session, keeping a ledger, proving each step with a test and ending with one whole-branch review.

    297k GitHub starsUsed in 2 repos~5.1k tokens
    Agent WorkflowsAuto-check passed
  • Skill Creator

    Azure/azqr

    Official

    Create new skills, modify and improve existing skills, and measure skill performance.

    796 GitHub starsUsed in 89 repos~8.2k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Agent Development

    anthropics/claude-plugins-official

    Official

    Explains how to write agents for Claude Code plugins: the markdown file with YAML frontmatter, trigger descriptions, model and color settings, and system prompt design.

    38k GitHub starsUsed in 7 repos~2.8k tokens
    Agent WorkflowsAuto-check passed

More from zjunlp/SkillNet

All 122 skills in this repo
  • Skillnet

    zjunlp/SkillNet

    Search, download, create, evaluate, analyze and route reusable agent skills with SkillNet.

    1.4k GitHub stars~1.5k tokensUpdated yesterday
    Auto-check passed
  • This skill searches for a specific receptacle (e.g., garbage can, cabinet) by systematically exploring the environment, checking multiple locations until found.

    1.4k GitHub stars~709 tokensUpdated yesterday
    Auto-check passed
  • Prepares a household appliance (microwave, oven, toaster, fridge) for use by ensuring it is in the correct open/closed state.

    1.4k GitHub stars~611 tokensUpdated yesterday
    Auto-check passed
  • Operates a device or appliance (like a desklamp, microwave, or fridge) to interact with another object.

    1.4k GitHub stars~916 tokensUpdated yesterday
    Auto-check passed
  • Performs an initial scan of the ALFWorld environment to identify all visible objects and receptacles.

    1.4k GitHub stars~786 tokensUpdated yesterday
    Auto-check passed
  • Uses a heating appliance (microwave, stoveburner, oven) to apply heat to a specified object.

    1.4k GitHub stars~744 tokensUpdated yesterday
    Auto-check passed

Categories

Questions about Alfworld Inventory Management

What does Alfworld Inventory Management do?

A skill your agent uses when the agent must collect and track multiple instances of the same object type in ALFWorld (e.g., "put two cellphone in bed"). Alfworld Inventory Management is an agent skill from zjunlp/SkillNet., "put two cellphone in bed").

When should I use Alfworld Inventory Management?

Alfworld Inventory Management fits situations like: the agent must collect and track multiple instances of the same object type in ALFWorld (e.g; put two cellphone in bed).

How do I install Alfworld Inventory Management in Claude Code?

Run `npx skills add zjunlp/SkillNet --skill alfworld-inventory-management -a claude-code`. Or copy the skill folder (experiments/src/skills/alfworld/alfworld-inventory-management in zjunlp/SkillNet) into .claude/skills/alfworld-inventory-management in your project. Claude Code loads it when a task matches its description.

How do I install Alfworld Inventory Management in Codex?

Run `npx skills add zjunlp/SkillNet --skill alfworld-inventory-management -a codex`. Or copy the skill folder (experiments/src/skills/alfworld/alfworld-inventory-management in zjunlp/SkillNet) into .agents/skills/alfworld-inventory-management in your project. Codex loads it when a task matches its description.

Can I use Alfworld Inventory Management in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add zjunlp/SkillNet --skill alfworld-inventory-management -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/alfworld-inventory-management, .gemini/skills/alfworld-inventory-management, .github/skills/alfworld-inventory-management and .opencode/skills/alfworld-inventory-management in your project.

What does Alfworld Inventory Management need to run?

Going by SKILL.md and its folder, Alfworld Inventory Management needs the command-line tools its instructions call (go).

Does Alfworld Inventory Management access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Alfworld Inventory Management safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Alfworld Inventory Management use?

Alfworld Inventory Management is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Alfworld Inventory Management use?

About 825 tokens (SKILL.md is roughly 3.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 323 tokens, read only when the agent opens those files.

What are the alternatives to Alfworld Inventory Management?

Skills that share tags, products or a category with Alfworld Inventory Management: MCP Server Builder (anthropics/skills, 180k stars), Hook Development for Claude Code Plugins (anthropics/claude-plugins-official, 38k stars), Using Superpowers (farm-fe/farm, 5.6k stars) and Executing Plans Inline (obra/superpowers, 297k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Alfworld Inventory Management?

zjunlp (a GitHub organization) maintains it in zjunlp/SkillNet, which has 1,397 GitHub stars. The repository holds 122 skills in this directory. The repository was last updated on October 9, 2026.

Source: zjunlp/SkillNet on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.