Alfworld object storer

From zjunlp/SkillNet · View interactive version

Alfworld object storer is an AI agent skill from the GitHub repository zjunlp/SkillNet. Use when the agent is holding an object and needs to place it into a target receptacle in ALFWorld. This skill checks receptacle suitability, opens closed containers if needed, and executes the `put` command to store the object. It handles both open surfaces (countertops, beds) and closed containers

How to use this skill

Skill file

Skill: Object Storer

When to Use

Trigger this skill when:

  1. The agent is holding the target object (optionally cleaned/heated/cooled as required)
  2. A suitable storage receptacle has been identified
  3. The agent needs to execute the final placement step

Core Workflow

1. Validate Prerequisites

2. Check Receptacle State

Evaluate the receptacle before placing:

| Receptacle State | Action |

|-----------------|--------|

| Open and empty/suitable | Proceed with put |

| Closed (drawer, cabinet, safe) | open {target_receptacle} first, then put |

| Unsuitable (wrong type, full) | Abort and search for alternative receptacle |

3. Execute Storage

4. Verify Placement

Example

Task: "Clean the knife and put it in a drawer."

> go to drawer 1
The drawer 1 is closed.
> open drawer 1
You open the drawer 1. The drawer 1 is open. In it, you see nothing.
> put knife 1 in/on drawer 1
You put the knife 1 in/on the drawer 1.

Result: knife 1 is now stored in drawer 1. Task complete.

Example 2 — Open surface:

> 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.

Error Handling

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.