‹ 首页

scienceworld-conditional-focus-executor

@zjunlp · 收录于 5 天前 · 上游提交 2 周前

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.

适合你,如果需要在科学实验中根据测量结果切换关注对象

/ 通过 npx 安装 校验哈希
npx oh-my-skill add zjunlp/skillnet/scienceworld-conditional-focus-executor
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- zjunlp/skillnet/scienceworld-conditional-focus-executor
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify zjunlp/skillnet/scienceworld-conditional-focus-executor
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
1112GitHub stars
~285最小装载
~285含声明引用
~749文本包总量
索引托管

怎么用

商店整理自技能原文 · 版本 7bb9a48 · 表述以原文为准
它做什么

装上后,Claude在ScienceWorld环境中,会根据测量结果(温度、pH或质量)与阈值的比较,自动对符合条件的物体执行“聚焦”动作。例如,温度高于50度则聚焦红盒,否则聚焦蓝盒。

什么时候触发

当你完成一个测量(温度、pH或质量)后,任务要求根据测量结果是否满足阈值来决定聚焦哪个对象时触发。

装好后可以这样说
Claude会判断条件并执行聚焦红盒。
Claude根据条件执行聚焦。
Claude会聚焦绿盒。
技能原文 SKILL.md作者撰写 · MIT · 7bb9a48

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.
按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。