Agent skill
scienceworld-liquid-filler
This skill fills a container with liquid from a source by first placing the container at the source, then activating the source (e.g., turning on a sink), and finally deactivating it. It should be triggered when the agent has an empty or partially filled container and needs to add a liquid component. The skill results in the container containing the liquid, ready for mixing or further use.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/scienceworld-liquid-filler
SKILL.md
Instructions
1. Identify the Goal
Your goal is to fill a target container with a specific liquid from a source. This skill is triggered when you have a container (empty or partially filled) and need to add a liquid component to it.
2. Prerequisites & Initial State
Before executing this skill, ensure you have:
- A Target Container: The container you wish to fill (e.g., a cup, bowl, jug). It should be in your inventory.
- A Liquid Source Identified: You must know the location of a functional liquid source (e.g., a sink, a jug containing liquid, a toilet with water). Use the
look aroundandexamineactions to find one.
3. Core Procedure
Execute the following sequence of actions precisely:
-
Position the Container: Move the target container to the liquid source.
- Action:
move <CONTAINER> to <SOURCE> - Example:
move cup to sink
- Action:
-
Activate the Source: Turn on the liquid source to begin the flow.
- Action:
activate <SOURCE> - Example:
activate sink
- Action:
-
Deactivate the Source: Turn off the liquid source once the container is sufficiently filled. Assume the filling is instantaneous upon activation.
- Action:
deactivate <SOURCE> - Example:
deactivate sink
- Action:
-
Retrieve the Filled Container: Pick up the now-filled container.
- Action:
pick up <CONTAINER> - Example:
pick up cup
- Action:
4. Verification & Next Steps
- Use
examine <CONTAINER>to confirm it now contains the desired liquid. - The container is now ready for the next step in your task (e.g.,
mix).
5. Important Notes
- Efficiency: Do not repeatedly pick up the container between steps unless necessary for transport. The sequence
move -> activate -> deactivate -> pick upis optimal. - Error Handling: If an action fails (e.g., "You can't do that"), re-examine the scene and the object states. The source may need to be in a specific state (e.g., a sink must be
turned offbefore it can be activated). - Context: This skill is part of a larger procedure (e.g., following a recipe). Always refer to the primary task goal.
Didn't find tool you were looking for?