Scienceworld Conditional Placer
Agent Buildingscienceworld-conditional-placerScienceworld Conditional Placer is an Agent Skill for agent building published in the zjunlp/SkillNet repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Places an object into one of several designated containers based on a measured condition, such as a temperature threshold. Use this skill when you have completed a measurement or assessment and the task requires sorting or storing the object into one of multiple containers according to a rule (e.g., "if temperature > X, place in container A; otherwise container B").
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/zjunlp/SkillNet/blob/HEAD/experiments/src/skills/scienceworld/scienceworld-conditional-placer/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/scienceworld-conditional-placer, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Skill: Conditional Object Placer
Purpose
Place a target object into the correct container based on a measured condition (e.g., temperature threshold, conductivity result). This skill executes the full measure-then-sort workflow.
Core Workflow
- Locate & Acquire Measurement Tool:
teleport to LOCthenpick upthe measurement device (e.g., thermometer). - Locate & Acquire Target Object:
teleport to LOCthenpick upthe object to be measured (e.g., metal fork). - Identify Target Containers: Use
look aroundto find the designated containers (e.g., blue box, orange box). - Perform Measurement:
use OBJ on OBJ(e.g.,use thermometer on metal fork) to obtain the value. - Evaluate Condition & Place: Compare the measured value against the threshold, then
move OBJ to OBJto place the object in the correct container.
Key Actions
| Action | Purpose |
|---|---|
teleport to LOC | Navigate between rooms |
look around | Survey a room for objects |
pick up OBJ | Acquire tools or target object |
use OBJ on OBJ | Perform measurement |
move OBJ to OBJ | Place object into selected container |
Example
Task: "Measure the temperature of the metal fork. If above 50C, place in the orange box. Otherwise, place in the blue box."
teleport to kitchenlook around— find thermometer and metal forkpick up thermometerpick up metal forkuse thermometer on metal fork— reads 72 degrees- 72 > 50, so:
move metal fork to orange box
Important Notes
- All containers are pre-opened. Do not use
openorcloseactions. - The measurement tool and target object must be picked up and used from inventory.
- Room names, object names, thresholds, and container names vary per task — adapt accordingly.