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.
npx skills add zjunlp/SkillNet --skill scienceworld-threshold-evaluator --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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
- Purpose
- When to Use
- Workflow
- Examples
- Example 1: Temperature-based classification
- Example 2: Weight-based sorting
- Key Principles
- Common Pitfalls
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.
