# Send Science Sim Author to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "science-sim-author",
    "name": "Science Sim Author",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/dimgouso/science-sim-author",
    "canonicalUrl": "https://clawhub.ai/dimgouso/science-sim-author",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/science-sim-author",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=science-sim-author",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "agents/openai.yaml",
      "examples/projectile_drag.yml",
      "examples/rc_circuit.yml",
      "examples/spring_mass.yml",
      "rubrics/pedagogy_inquiry_prompts.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "science-sim-author",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-03T14:17:19.633Z",
      "expiresAt": "2026-05-10T14:17:19.633Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=science-sim-author",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=science-sim-author",
        "contentDisposition": "attachment; filename=\"science-sim-author-0.1.3.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "science-sim-author"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/science-sim-author"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/science-sim-author",
    "downloadUrl": "https://openagent3.xyz/downloads/science-sim-author",
    "agentUrl": "https://openagent3.xyz/skills/science-sim-author/agent",
    "manifestUrl": "https://openagent3.xyz/skills/science-sim-author/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/science-sim-author/agent.md"
  }
}
```
## Documentation

### Core promise

Generate one self-contained index.html that runs offline, renders a STEM simulation on a 2D canvas, exposes model parameters as sliders, plots a time series, and includes an inquiry worksheet.

### Inputs

Accept a SimSpec in YAML or JSON with:

id, title, domain
state, params, initial, equations, outputs
optional level, dt, worksheet, success_criteria

Validate against templates/sim_spec_schema.json before generating anything.

### Output contract

Produce exactly one file named index.html.
Keep all CSS in <style> and all JS in <script>.
Do not use bundlers, package managers, CDNs, external fonts, or runtime network access.
Include these DOM ids: simCanvas, plotCanvas, runToggle, stepBtn, resetBtn, dtSlider, paramControls, readouts, statusBanner, worksheet, copyJsonBtn, downloadCsvBtn.
Include controls, readouts, one time-series plot, local JSON snapshot export, local CSV download, and a non-empty worksheet.

### Workflow

Validate the incoming SimSpec against templates/sim_spec_schema.json.
Normalize the spec:

If dt is missing, use default=0.01, min=0.001, max=0.05.
If a parameter omits step, derive step=(max-min)/100 with sensible rounding.
Normalize derivative aliases such as dx, dy, dvx, dvy, dq, dvc to canonical d<stateName> keys before generating JS.
Default readouts to t plus every state variable in state order.


Choose the renderer:

mechanics + state includes x and y -> trajectory2d
mechanics + state includes x and v -> oscillator1d
electromagnetism + state includes q or vc -> circuit_rc
Otherwise stop and ask the user for a clearer SimSpec instead of guessing.


Populate templates/sim_single_file_html_template.html with pre-normalized values.
Run rubrics/validation_checklist.md before returning the final index.html.

### Template placeholders

Populate these mustache variables:

sim_id, sim_title, domain, level, renderer_kind
state_json, params_json, initial_json, equations_json, outputs_json
worksheet_json, success_criteria_json, readout_fields_json
dt_default, dt_min, dt_max
model_step_logic_js, scene_draw_js, readout_map_js

Expectations:

JSON placeholders must be serialized before insertion.
String placeholders used in data attributes should be plain strings.
model_step_logic_js must return a derivative object without using eval or Function.
scene_draw_js and readout_map_js may be no-ops; use return []; for an empty readout override.

### Rendering and model rules

Use the shared RK4 and Euler integrators already present in the template.
Keep physics fixed-step and rendering on requestAnimationFrame.
Auto-pause if any state becomes NaN or Infinity.
Cap trail history and plot history.
Prefer one clear plot target from outputs; if multiple plots are supplied, use the first one for the visible plot and keep the rest only as metadata.

### Worksheet rules

If the SimSpec provides a worksheet, keep it unless it is incomplete.
If any worksheet category is missing, synthesize it using rubrics/pedagogy_inquiry_prompts.md.
Always return:

3 Predict prompts
2 Test prompts
2 Explain prompts
2 Misconceptions prompts

### Safety rules

Apply rubrics/security_notes.md strictly.

Do not tell the user to run shell commands.
Do not request secrets or API keys.
Do not fetch remote assets or scripts.
Do not add hidden telemetry or analytics.
Do not produce multiple files.

### Templates and references

Template: templates/sim_single_file_html_template.html
Schema: templates/sim_spec_schema.json
Validation checklist: rubrics/validation_checklist.md
Pedagogy prompts: rubrics/pedagogy_inquiry_prompts.md
Security notes: rubrics/security_notes.md

### Examples

examples/projectile_drag.yml
examples/spring_mass.yml
examples/rc_circuit.yml
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: dimgouso
- Version: 0.1.3
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-03T14:17:19.633Z
- Expires at: 2026-05-10T14:17:19.633Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/science-sim-author)
- [Send to Agent page](https://openagent3.xyz/skills/science-sim-author/agent)
- [JSON manifest](https://openagent3.xyz/skills/science-sim-author/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/science-sim-author/agent.md)
- [Download page](https://openagent3.xyz/downloads/science-sim-author)