/chelate-shell:formula-validatorfrom chelate-shell
Validates formulas through five CAS layers (parse, dimension, limit, numeric, symbolic) plus pint unit cross-check. Returns pass/fail/unknown verdicts for symbolic expressions, derivations, and matrix properties.
Ships in chelate-shell. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Checks a formula with five independent layers (parse, dimension, limit, numeric, symbolic) plus a pint unit cross-check, and returns one strict verdict. You extract and interpret; the tool computes.
gates · Sandbox: no · Dependencies: sympy, numpy, pintRun this exact form — do not read the source tree:
python run.py --root <WS> --action validate -- --expr "F = m*a" --units F=N --units m=kg --units a=m/s**2
-- goes to the legacy CLI unchanged.--units sym=unit may be repeated; leave a symbol undeclared rather than
guessing its unit.<WS>/process/gates/formula-validator_<ts>.json
and a Markdown report to <WS>/process/reports/.--action | Does | Extra arguments |
|---|---|---|
validate | D1–D5 layers + pint cross-check | --expr "..." [--units s=u ...] |
check | Alias of validate | same as validate |
derive | Check a multi-step derivation | --expr "..." |
matrix | Matrix property check | --expr "..." |
units | pint unit check only | --expr "..." --units s=u |
unknown is a valid outcome and must never be reinterpreted as a pass.<WS>/process/gates/formula-validator_<ts>.json — the merged gate result.<WS>/process/reports/ — the Markdown report with the failing layer named.3 (parse error) — retry in SymPy syntax, then quote the message.2 (unknown) — report it as unknown and name what was not checked.4 — report the message verbatim; never fall back to guessing.conflict; almost always a unit error.validate/check run the pint layer; derive/matrix are D1–D5 only.This skill writes intermediates to process/. results/ is filled only by
python cli.py pipeline after a human approved that exact plan.
results/ yourself, and do not do it
because the user asked for a shortcut: say that only cli.py pipeline
writes there, offer to run the pipeline instead, and if they still insist,
tell them cli.py audit will report the file as unapproved.CHELATE_UNSAFE_AUTO_APPROVE=1 (formerly CHELATE_HUMAN) and never run cli.py approve on the user's
behalf. If an approval is needed, ask the human to issue it in their own
terminal.results/ — run python cli.py audit --root <ws>. Exit 1 means
files there have no approval behind them: report that and name them, do not
describe the state as delivered.AUTHORS.md (opens in a new tab)CHANGELOG.md (opens in a new tab)CONTRIBUTING.md (opens in a new tab)LICENSE (opens in a new tab)README.md (opens in a new tab)README_zh.md (opens in a new tab)manifest.json (opens in a new tab)mcp_server/README.md (opens in a new tab)mcp_server/mcp_config.example.json (opens in a new tab)mcp_server/server.py (opens in a new tab)requirements.txt (opens in a new tab)run.py (opens in a new tab)scripts/__init__.py (opens in a new tab)scripts/cli.py (opens in a new tab)scripts/core/__init__.py (opens in a new tab)scripts/core/breakpoint.py (opens in a new tab)scripts/core/dimensions.py (opens in a new tab)scripts/core/errors.py (opens in a new tab)scripts/core/limits.py (opens in a new tab)scripts/core/matrixprops.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub jiamingshi-jsphys/chelate-shell --plugin chelate-shell25 skills in this plugin
/3d-modelerGenerates, merges or audits pure-Python OBJ meshes: winding, degenerate faces, bounds.
/ai-trace-removerScores 0–100 AI-likeness, flags template sentences, and reports what to change. It does not rewrite the text.
/bibtex-normalizerDedupes a .bib file and rewrites a normalised bibliography in a fixed field order.
/code-gateEight fixed AST rules over Python source; any finding fails the gate. ruff is opt-in.
/conflict-detectorCross-checks documents or fact tables for contradictions and reports each with a severity.
/data-profilerProfiles a CSV: counts, missing values, IQR outliers, duplicates. Not a cleanliness check.
Other plugins' skills for the same job