Agent skill
scienceworld-substance-fetcher
This skill locates and retrieves a target substance or material from a container in the environment. It should be triggered when the core task involves processing a specific substance (e.g., chocolate, a chemical). The skill finds the substance, often inside a fridge or cupboard, and acquires it via a pick-up or move action.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/scienceworld-substance-fetcher
SKILL.md
Skill: Substance Fetcher
Primary Objective
Locate a specified target substance (e.g., chocolate, sodium chloride) within the environment and retrieve it for subsequent processing.
Core Logic & Workflow
- Identify Target: The target substance name is provided as part of the task initiation (e.g., "Your task is to measure the melting point of chocolate").
- Search Strategy:
- If the current room does not contain the target, use
teleport to [room]to navigate to likely locations (e.g.,kitchen,workshop,greenhouse). - Use
look aroundto survey a room and identify containers.
- If the current room does not contain the target, use
- Locate in Container:
- Examine open containers (
fridge,cupboard,counter,drawer) listed in the room description. - The target substance is often found inside a container (e.g., "In the fridge is: chocolate").
- Examine open containers (
- Retrieval Action:
- If the substance is a portable object, use
pick up [substance]. - If the substance is inside another object (e.g., in a pot), use
move [substance] to [destination container]to prepare it for use. - Key Assumption: All containers are already open. Do not use
openorcloseactions.
- If the substance is a portable object, use
Critical Constraints & Notes
- Container State: Assume all containers (fridge, cupboard, drawer) are already open. Do not waste actions opening them.
- Action Efficiency: Prefer
pick upfor direct acquisition. Usemoveonly when necessary to transfer the substance to a specific vessel for an experiment. - Verification: After retrieval, you may use
examine [substance]or check your inventory to confirm success before proceeding to the next phase of the experiment.
Example Execution (Based on Trajectory)
Task Context: "Your task is to measure the melting point of chocolate..."
teleport to kitchenlook around(Observes: "In the fridge is: chocolate...")pick up chocolateormove chocolate to metal pot
Error Handling
- If the substance is not found in the initially suspected room, teleport to and search other relevant rooms (e.g.,
workshopfor chemicals,greenhousefor plants). - If the retrieval action fails (e.g., object not found), re-examine the room description with
look aroundto confirm the substance's location and container.
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?