alfworld-receptacle-preparer
Agent skill fromzjunlp/SkillNet
This skill verifies and prepares a target receptacle for receiving an object. It is triggered before placing an item into a receptacle (e.g., a garbage can) to ensure the receptacle is accessible and suitable. The skill involves navigating to the receptacle, observing its state (e.g., open/closed, occupied), and performing any necessary preparatory actions like opening it, resulting in a ready-to-use target location.
How to install alfworld-receptacle-preparer
install alfworld-receptacle-preparer
# 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-receptacle-preparer/
# into
~/.claude/skills/alfworld-receptacle-preparer/ (all projects)
.claude/skills/alfworld-receptacle-preparer/ (one project)
1# Instructions23**Trigger:** This skill is invoked when the agent's goal requires placing an object into a target receptacle (e.g., "put X in/on Y").45## Core Procedure61. **Navigate:** Use `go to {target_receptacle}` to move to the target receptacle's location.72. **Observe:** Upon arrival, carefully read the environment's observation. It will describe the receptacle's state and any contents.83. **Analyze & Prepare:** Based on the observation, determine if the receptacle is ready.9 * **Ready State:** The receptacle is described as present and accessible (e.g., "On the garbagecan 1, you see a cd 1."). No further action is needed. Proceed to place the object.10 * **Blocked/Closed State:** If the receptacle is closed, latched, or obstructed, use the appropriate action (`open {recep}`, `toggle {obj} {recep}`) to prepare it.11 * **Invalid Target:** If the observation indicates the receptacle does not exist or cannot be interacted with ("Nothing happened"), you must abort this skill and re-plan your task strategy.124. **Confirm:** After any preparatory action, observe the environment's feedback to confirm the receptacle is now ready.1314## Key Principles15* **Efficiency:** This skill is a preparatory step. Do not spend turns searching for the object to be placed here. That is a separate "search" skill.16* **Context:** The observation text is your only source of truth about the receptacle's state. Interpret it literally.17…
Excerpt shown under the repository's MIT license.
More skills in SkillNet
- ▸skillnet
- ▸alfworld-appliance-navigator
- ▸alfworld-appliance-preparer
- ▸alfworld-clean-object
- ▸alfworld-device-operator
- ▸alfworld-environment-scanner
- ▸alfworld-goal-interpreter
- ▸alfworld-heat-object-with-appliance
- ▸alfworld-inventory-management
- ▸alfworld-locate-target-object
- ▸alfworld-location-navigator
- ▸alfworld-navigation-planner
