Individual skill

scienceworld-conditional-focus-executor

Executes a 'focus on OBJ' action on a specific object based on the outcome of a prior conditional evaluation. Use when you have a measurement result and task instructions specify focusing on different objects (e.g., colored boxes) depending on whether the result meets a threshold.

experiments/src/skills/scienceworld/scienceworld-conditional-focus-executor/SKILL.md

Read pinned source

Source commit edfbda23ac2108b59579300d050218558d20f6a6

What was checked

Matches the observed repository HEAD
Yes
Scanner rules are current
Yes
Repository scan complete
No
Skill scan complete
Yes
Observed behavior
Instructions only
Last checked
Nov 7, 2026

These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.

Install this skill

Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.

An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.

Repository context

Repository stars (not skill ratings)
1,450
Repository last updated
Nov 2, 2026
License
MIT

Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.

Files and excerpt

File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.

Browse files
Read excerpt
# Conditional Focus Executor

## When to Use
Use after completing a measurement (temperature, pH, mass) when the task specifies a conditional rule like "If result > X, focus on A; otherwise, focus on B."

## Procedure
1. **Evaluate the condition** against your measurement result.
2. **Determine the target object** based on which branch is true.
3. **Execute:** `focus on <TARGET_OBJECT>`
4. **Verify:** Confirm the focus action succeeded before proceeding.

If the focus action fails (e.g., object not found), use `look around` to verify the target object name matches exactly.

## Example
**Task:** "If the temperature of the substance is above 50C, focus on the red box. Otherwise, focus on the blue box."