Claude-skill-registry alfworld-object-state-modifier
This skill uses an appliance to change the state of an object (e.g., cooling, heating, cleaning). It should be triggered when the task requires altering an object's temperature or cleanliness using a specific device (like cooling with a fridge or heating with a microwave). The skill requires the object, the target state, and the appliance as inputs, and executes the corresponding modifier action (e.g., 'cool X with Y').
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/alfworld-object-state-modifier" ~/.claude/skills/majiayu000-claude-skill-registry-alfworld-object-state-modifier && rm -rf "$T"
manifest:
skills/data/alfworld-object-state-modifier/SKILL.mdsource content
Instructions
When to Use
Use this skill when the task requires you to change the state of an object using a specific household appliance. The primary actions are:
- Cool an object (e.g., with a fridge).
- Heat an object (e.g., with a microwave or stove).
- Clean an object (e.g., with a sink).
Core Procedure
- Locate & Acquire Object: First, navigate to and pick up the target object.
- Navigate to Appliance: Go to the appliance required for the state change (e.g.,
,fridge 1
).microwave 1 - Prepare Appliance (if needed): Some appliances require preparation (e.g., opening a fridge or microwave door). Perform the necessary
oropen
action.toggle - Execute State Change: Perform the core modifier action:
,cool {obj} with {appliance}
, orheat {obj} with {appliance}
.clean {obj} with {appliance} - Complete Task: After the state is changed, proceed with the next task step (e.g., placing the object elsewhere).
Key Considerations
- Invalid Actions: If the environment responds with "Nothing happened," your action was invalid. Consult the
for troubleshooting.references/appliance_interaction_guide.md - Appliance State: Always check if an appliance is open/closed/on/off before attempting the modifier action.
- Object Holding: You must be holding the target object (
) before executing the state change action.{obj}
Inputs Required
: The specific object identifier (e.g.,{obj}
).tomato 1
: The desired state change ({target_state}
,cool
, orheat
).clean
: The specific appliance identifier (e.g.,{appliance}
).fridge 1
Output Action
The skill's final output is a single, formatted action string:
{target_state} {obj} with {appliance}.