Agent skill
alfworld-open-receptacle
This skill opens a closed receptacle to access its contents. It should be triggered when an agent needs to interact with items inside a closed container (e.g., fridge, microwave, drawer). The skill takes a receptacle identifier as input, performs the open action, and outputs the observation of the interior, enabling subsequent item retrieval or placement.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/alfworld-open-receptacle
SKILL.md
Skill: Open Receptacle
Purpose
Open a closed container to reveal its contents for subsequent interaction.
When to Use
Use this skill when:
- You need to take an item from inside a closed receptacle
- You need to put an item into a closed receptacle
- You observe a receptacle is closed (e.g., "The fridge 1 is closed")
- The task requires accessing items inside containers
Input Format
The skill requires a receptacle identifier as input. This should match the environment's naming convention (e.g., "fridge 1", "microwave 1", "drawer 3").
Execution Steps
- Verify receptacle state: Check if the receptacle is mentioned as "closed" in the observation
- Navigate to receptacle: Use
go to {recep}if not already at the location - Execute open action: Use
open {recep}where{recep}is the receptacle identifier - Process result: The environment will respond with the interior contents or an error
Expected Outcomes
- Success: Observation showing the receptacle is open and listing contained items
- Failure: "Nothing happened" indicates the action was invalid (e.g., already open, wrong identifier)
Example from Trajectory
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?