scienceworld-result-archiver
$
npx mdskill add zjunlp/SkillNet/scienceworld-result-archiverArchive test objects into designated containers by applying a predefined outcome rule.
- Finalizes experimental procedures by sorting items based on observed test results.
- Requires knowledge of the environment's physical layout and container locations.
- Executes placement logic by mapping a determined property state to a specific receptacle.
- Moves the item to its correct storage spot, confirming task completion.
SKILL.md
.github/skills/scienceworld-result-archiverView on GitHub ↗
--- name: scienceworld-result-archiver description: Places an object into a designated container (like a colored box) based on a test outcome. It should be triggered when the agent needs to finalize a task by storing an object according to a rule (e.g., conductive → blue box, non-conductive → orange box). The input is the object and the rule, and the output is the object moved to the correct container. --- # Instructions Use this skill to finalize a scientific test by archiving an object based on the observed result. ## When to Use - You have just completed an experimental test (e.g., electrical conductivity, chemical reaction, physical property test). - You have a clear rule mapping a specific test outcome to a specific destination container (e.g., "If property X is true, place in Container A; if false, place in Container B"). - The object to be archived and the destination containers are present in your current environment. ## Core Procedure 1. **Verify Context:** Ensure you are in the correct room (typically the `workshop` or lab area) where the test was conducted and where the destination containers are located. 2. **Confirm Test Result:** Observe the final state of your experimental apparatus to definitively determine the test outcome (e.g., "light bulb is on"). 3. **Apply Rule:** Map the confirmed outcome to the corresponding destination container as specified by the task rule. 4. **Execute Archive:** Move the test object from its current location (inventory or room) into the correct container using the `move OBJ to CONTAINER` action. ## Key Principles - **Direct Archiving:** Do not re-run the test. The skill is for archiving the result based on an *already observed* outcome. - **Rule Adherence:** Strictly follow the provided mapping rule. Do not infer or create new rules. - **Container Verification:** Before moving the object, visually confirm the target container exists in the room (use `look around` if uncertain). ## Example Rule Application *Task Rule:* "If the metal pot is electrically conductive, place it in the blue box. If it is electrically nonconductive, place it in the orange box." *Observation:* The blue light bulb in the circuit is **on**. *Interpretation:* The metal pot is conductive. *Action:* `move metal pot to blue box` ## Bundled Logic For the specific, error-prone sequence of connecting a circuit to test electrical conductivity, use the bundled script `scripts/conductivity_test.py` as a reference. For all other test types, use the general instructions above.
More from zjunlp/SkillNet
- alfworld-appliance-navigatorNavigates the agent to a target appliance (microwave, stove, fridge, or sinkbasin) needed for object processing. Use when you are holding an object that needs heating, cooling, or cleaning and must move to the correct appliance station. Identifies the required appliance from the task context and executes the movement action.
- alfworld-appliance-preparerPrepares a household appliance (microwave, oven, toaster, fridge) for use by ensuring it is in the correct open/closed state. Use when the agent needs to heat, cool, or cook an item and must first open or close the appliance before placing an object inside. Takes an appliance identifier as input and outputs a confirmation that the appliance is ready for the next action.
- alfworld-clean-objectCleans a specified object using an appropriate cleaning receptacle (e.g., sinkbasin). Use when a task requires an object to be in a clean state (e.g., "clean potato", "wash apple") before proceeding. Navigates to the cleaning location, performs the clean action, and confirms the object is now clean.
- alfworld-device-operatorOperates a device or appliance (like a desklamp, microwave, or fridge) to interact with another object. Use when the task requires using a tool on a target item (e.g., "look at laptop under the desklamp", "heat potato with microwave"). Locates both the device and target object, co-locates them, and executes the appropriate use action (toggle, heat, cool, or clean).
- alfworld-environment-scannerPerforms an initial scan of the ALFWorld environment to identify all visible objects and receptacles. Use when you first enter an environment and need to build a mental map for task planning. Processes raw observation text into a structured list of entities, categorizing them as objects or receptacles.
- alfworld-goal-interpreterParses the natural language task goal to extract actionable sub-objectives and required objects. Trigger this skill whenever a new task is assigned to break down complex instructions into clear, sequential targets. It interprets phrases like 'look at X under Y' to identify target objects (pillow), reference objects (desklamp), and spatial relationships (under).
- alfworld-heat-object-with-applianceUses a heating appliance (microwave, stoveburner, oven) to apply heat to a specified object. Use when the task requires warming or cooking an item (e.g., "heat some egg", "warm the mug") and a heating appliance is available. Takes the object name and appliance name as input and outputs the object in a heated state, ready for placement at the task's target location.
- alfworld-inventory-managementUse when the agent must collect and track multiple instances of the same object type in ALFWorld (e.g., "put two cellphone in bed"). This skill maintains a count of collected versus needed objects, guides systematic searching through receptacles, and ensures each found object is placed at the target before searching for the next.
- alfworld-locate-target-objectNavigates to a suspected location and identifies a target object. Use when your goal requires finding a specific object (e.g., "potato", "plate") and its location is not immediately known. Moves to a relevant receptacle (like a fridge or cabinet), checks its contents, and outputs the object's location or confirms its absence.
- alfworld-location-navigatorMoves the agent to a specified receptacle or object location within the Alfworld environment. Use this skill when the agent needs to physically approach a target to inspect or interact with it, such as when checking an object's state or preparing for pickup. The skill takes a target location name as input and executes the 'go to' action, resulting in the agent being positioned at the destination for subsequent operations.