chem-calculator
Use for local, reproducible chemistry calculations that need deterministic numeric checking rather than web lookup.
SKILL.mdskills/chem-calculator/SKILL.md
GitHubChem Calculator
Overview
chem-calculator is a local first-batch chemistry calculation toolbox. It covers common molar-mass, stoichiometry, concentration, Ksp, acid/base, gas-law, thermodynamics, redox, electrochemistry, unit-conversion, and answer-check tasks with structured JSON output. Unit parsing and conversion use Pint through a small chemistry-oriented alias layer; symbolic expression equivalence helpers use SymPy for deterministic formula checks.
When to Use
Use this skill when:
- a chemistry question is primarily numerical
- a candidate numeric answer needs verification
- unit handling or tolerance checks matter
- the calculation can be handled with bounded local models instead of free-form reasoning
Do not use this skill for structure lookup, nomenclature resolution, or literature search.
Harbor Trial execution
The Harbor Trial image provides Python 3.11 and venv support, but does not
preinstall skill-specific packages. After installing the required packages in
the Trial, run the copied skill directly from /workspace:
python "$HOME/.openclaw/skills/chem-calculator/scripts/<capability>.py" \
--request-json /workspace/requests/chem-calculator.json \
--output-dir /workspace/outputs/chem-calculator \
--json
Do not use the retired benchmark runner, host workspace paths, or legacy benchmark imports in a Harbor Trial.
--output-diris required and will be created if missing.- Every script writes
result.jsonin the output directory. --jsonprints the same top-level payload written toresult.json.
Read contracts.md for supported request modes and failure semantics.