Skip to content
Back to skills

Scienceworld Conditional Focus Executor

ASecurity

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.

  • 1,373 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 28, 2026
ai-agents

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned May 28, 2026

npx -y skills add zjunlp/SkillNet --skill scienceworld-conditional-focus-executor --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Scienceworld Conditional Focus Executor?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Scienceworld Conditional Focus Executor
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/zjunlp-scienceworld-conditional-focus-executor/badge)](https://www.skillsdirectory.com/skills/zjunlp-scienceworld-conditional-focus-executor)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: scienceworld-conditional-focus-executor
description: 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.
---
# 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.

Files in this skill

  • SKILL.md1.2 KB
  • references/action_primer.md2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…