Token导航 LogoToken导航TokenDH.com
效率执行命令clawhub未标认证来源可访问clear审计提醒

science-sim-author科学模拟作者

Agent Skill

用于辅助安全审计、权限检查、凭据风险、认证流程和常见漏洞排查。它适合让 Agent 梳理敏感配置、检查依赖风险、分析鉴权逻辑或生成安全复核清单。使用时不能把工具输出直接当最终结论,涉及密钥、令牌、用户数据或生产系统时,应先确认最小权限、脱敏方式和操作边界。

总安装

13,917

周安装

563

GitHub Stars

公开资料未说明

下载量

4,369
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:science-sim-author(科学模拟作者)
来源仓库:https://github.com/dimgouso/science-sim-author
安装命令:
openclaw skills install science-sim-author
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install science-sim-author

简介

从 SimSpec 生成交互式科学模拟 HTML。

  • 适用于物理、化学等学科教学演示。science-sim-author 属于效率类 Skill,可作为该场景下的辅助能力补充。
  • 支持 YAML/JSON 配置文件导入。
  • 需确保运行环境支持 WebGL 与 JavaScript。
  • 注意本地文件路径安全性与资源加载权限。

SKILL.md

name
science-sim-author
description
Generate self-contained interactive science simulations as a single index.html from a SimSpec YAML or JSON. Use when the user asks for physics, chemistry, biology, STEM, science education, classroom demos, virtual labs, PhET-style activities, mechanics simulations, circuit simulations, parameter sliders, plots, inquiry worksheets, or offline canvas-based teaching tools.
metadata
{"openclaw":{"emoji":"🧪","requires":{"bins":[],"env":[],"config":[]},"os":["darwin","linux","win32"]}}

Science Simulation Author

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

  1. Validate the incoming SimSpec against templates/sim_spec_schema.json.
  2. 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.

  1. 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.

  1. Populate templates/sim_single_file_html_template.html with pre-normalized values.
  2. 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

Examples

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

70.79%
按下载量换算3,093

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

未展示

权限和风险

执行命令

安装流程涉及命令执行,可能通过 openclaw skills install science-sim-author 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills