Agent skill · Workflow & Productivity

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.

zjunlpgithub.com/zjunlpGitHub ↗
claude-codeMIT
Install
npx skills add zjunlp/SkillNet --skill scienceworld-conditional-focus-executor --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 1 KB
Bundled scripts: none
Path: experiments/src/skills/scienceworld/scienceworld-conditional-focus-executor/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 1,117
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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." 1. Measurement result: 63C 2. Evaluation: 63 > 50 is true → target is red box 3. Execute: `focus on red box` 4. Observation: "You focus on the red box." → task complete.

What's inside
Steps it walks through
  1. When to Use
  2. Procedure
  3. Example
Ships with 1 file
  • references/action_primer.md
More from SkillNet
All skills →
About this skill
What does the scienceworld-conditional-focus-executor skill do?

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.

How do I install it?

Run `npx skills add zjunlp/SkillNet --skill scienceworld-conditional-focus-executor --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From zjunlp/SkillNet, a repository with 1,117 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going