跳到主要内容
知仓学习社ZHICANG

scienceworld-conditional-box-placer

Moves an object to one of two destination containers based on a numeric threshold check. Trigger after a measurement (e.g., temperature) is taken. P…

不碰外部(只输出文字)无严重或高危命中zjunlp/SkillNet

它会碰到什么

扫了多少2 个文本文件,3 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

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.
  • If measurement_result > threshold: Destination is the green box.
  • If measurement_result < threshold: Destination is the green box.
  1. 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 / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。