‹ 首页

scienceworld-conditional-box-placer

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

Moves an object to one of two destination containers based on a numeric threshold check. Trigger after a measurement (e.g., temperature) is taken. Place object in 'green' box if value > threshold, or 'blue' box if value < threshold.

适合你,如果需要在科学实验中按阈值自动分拣物品

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

怎么用

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

当你测量一个物体的数值后,Claude 会根据数值与阈值的比较,将物体放入绿色盒子(数值大于阈值)或蓝色盒子(数值小于阈值)。

什么时候触发

你在科学场景中要求 Claude 测量某个物体的数值(如温度)之后,它会自动进行条件判断并放置物体。

装好后可以这样说
Claude 会先测量,再判断并放置。
触发测量和条件放置流程。
技能原文 SKILL.md作者撰写 · MIT · 7bb9a48

Skill: Conditional Box Placer

Purpose

Execute a conditional placement task based on a measured numeric value. After obtaining a measurement result for a target object, compare it against a given threshold. Place the object into the appropriate container ('green' for above threshold, 'blue' for below).

Core Workflow
  1. Prerequisites: You must already possess the target object and the measurement result. You must also know the locations of the 'green box' and 'blue box'.
  2. Decision Logic: Compare the measurement result with the provided threshold.
  3. If measurement_result > threshold: Destination is the green box.
  4. If measurement_result < threshold: Destination is the green box.
  5. Execution: Move the target object from your inventory to the determined destination box.
Required Parameters (Pass via Thought/Action)

When invoking this skill, your internal thought must specify:

  • target_object: The object to be placed (e.g., "unknown substance B").
  • threshold: The numeric value for comparison (e.g., 50.0).
  • measurement_result: The measured value (e.g., 117).
  • green_box_location: The room containing the green box (e.g., "bathroom").
  • blue_box_location: The room containing the blue box (e.g., "bathroom").
Example Invocation Thought

"target_object=unknown substance B, threshold=50.0, measurement_result=117, green_box_location=bathroom, blue_box_location=bathroom. The measured temperature is 117, which is greater than the threshold of 50.0. Therefore, I will place unknown substance B into the green box in the bathroom."

Action Template

move <target_object> in inventory to <green/blue> box

按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

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