Agent skill · AI & Agents

scienceworld-threshold-evaluator

Use when the agent has just obtained a numerical measurement (temperature, weight, pH) and must compare it against a predefined threshold to determine a binary outcome. This skill extracts the measured value, evaluates it against the threshold condition (above/below), and executes the corresponding branch action such as classification or placement.

zjunlpgithub.com/zjunlpGitHub ↗
claude-codeMIT
Install
npx skills add zjunlp/SkillNet --skill scienceworld-threshold-evaluator --agent claude-code

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

Facts
Files in the skill folder: 3
SKILL.md size: 3 KB
Bundled scripts: none
Path: experiments/src/skills/scienceworld/scienceworld-threshold-evaluator/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

# Skill: scienceworld-threshold-evaluator ## Purpose Compare a measured numerical value against a predefined threshold to determine which of two conditional actions to execute. This is the decision-making step that immediately follows a measurement in ScienceWorld experimental workflows. ## When to Use - Immediately after obtaining a numerical measurement (e.g., temperature reading from a thermometer) - When the task includes a conditional instruction like "if above X, do A; if below X, do B" - When classifying or sorting objects based on measured properties ## Workflow 1. **Extract the measurement** -- Parse the numerical value from the observation (e.g., `"the thermometer measures a temperature of 56 degrees celsius"` yields `56`). 2. **Identify the threshold and condition** -- From the task instruction, determine the threshold value and comparison operator (e.g., `"above 50.0 degrees"` means `threshold=50.0`, `operator=">"`). 3. **Evaluate the comparison** -- Compare: `measured_value > threshold` or `measured_value < threshold`. 4. **Execute the correct branch** -- Perform the action specified for the satisfied condition. ## Examples ### Example 1: Temperature-based classificati

What's inside
Steps it walks through
  1. Purpose
  2. When to Use
  3. Workflow
  4. Examples
  5. Example 1: Temperature-based classification
  6. Example 2: Weight-based sorting
  7. Key Principles
  8. Common Pitfalls
Ships with 2 files
  • references/action_guide.md
  • references/usage_examples.md
More from SkillNet
All skills →
About this skill
What does the scienceworld-threshold-evaluator skill do?

Use when the agent has just obtained a numerical measurement (temperature, weight, pH) and must compare it against a predefined threshold to determine a binary outcome. This skill extracts the measured value, evaluates it against the threshold condition (above/below), and executes the corresponding branch action such as classification or placement.

How do I install it?

Run `npx skills add zjunlp/SkillNet --skill scienceworld-threshold-evaluator --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