Skip to content
Back to skills

Scienceworld Reset

ASecurity

Start a ScienceWorld episode. Reads scenario, difficulty, and seed from scienceworld_config in character YAML. Returns the initial observation plus a session_id for subsequent steps.

  • 10 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 6, 2026
toolspythonnode

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned June 6, 2026

npx -y skills add bdambrosio/Cognitive_workbench --skill scienceworld-reset --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Scienceworld Reset?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Scienceworld Reset
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bdambrosio-scienceworld-reset/badge)](https://www.skillsdirectory.com/skills/bdambrosio-scienceworld-reset)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: scienceworld-reset
type: python
description: "Start a ScienceWorld episode. Reads scenario, difficulty, and seed from scienceworld_config in character YAML. Returns the initial observation plus a session_id for subsequent steps."
schema_hint:
  value: "ignored (scenario comes from scienceworld_config)"
  out: "$variable"
examples:
  - '{"type":"scienceworld-reset","out":"$sw_session"}'
---

# ScienceWorld Reset (Level 4)
## Input
- Scenario, difficulty, and seed are read from `scienceworld_config` in the character YAML file
- `value` parameter is ignored (scenario comes from config)
- No parameters needed - tool reads everything from config

## Output
- Note ID (bound to `out` variable) containing:
  - `text`: initial observation/description
  - `metadata.session_id`: identifier for this session
  - `metadata.scenario`, `metadata.variation_idx`, `metadata.simplification`, `metadata.seed`
  - `metadata.reward` (0 at reset), `metadata.done` (false)

## Requirements
- Python package `scienceworld` available in the environment.
- ScienceWorld assets accessible (installed with the package).

## Configuration
Requires `scienceworld_config` section in character YAML:
```yaml
scienceworld_config:
  scenario: "waterplant"
  difficulty: 0
  seed: 42
```

## Common Workflow
```json
{"type":"scienceworld-reset","out":"$sw"}
{"type":"scienceworld-act","action":"look","out":"$o1"}
```

Note: `scienceworld-act` no longer requires `session_id` - it uses the active session stored in `executive_node.scienceworld_env`.

Files in this skill

  • SKILL.md1.5 KB
  • tool.py3.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…