Skip to content

How to use Claude Code with COMSOL through sim-cli

Use sim-cli-core plus sim-plugin-comsol, sync the COMSOL skill into .claude/skills, run sim check comsol, then ask Claude Code to inspect and execute bounded steps through sim-cli.

  • Licensed local COMSOL Multiphysics installation
  • Python environment
  • uv or pip
  • sim-cli-core
  • sim-plugin-comsol
  • Claude Code
Terminal window
uv add sim-cli-core sim-plugin-comsol
uv run sim plugin sync-skills --target .claude/skills --copy
uv run sim check comsol
uv run sim plugin doctor comsol --deep

Use the installed sim-comsol skill. Run sim through this project with uv run sim .... Check my local COMSOL installation before connecting. Work one bounded step at a time: connect, inspect, execute a small step, inspect results, then save or update a checkpoint before continuing. Do not guess COMSOL API names.

check readiness → attach to live session → inspect model state
→ run one bounded CAE step → verify result/state → save checkpoint/artifacts

For COMSOL, that may be one geometry/material/physics update, one mesh operation, one study solve, one plot creation, or one exported table/probe.

sim-cli does not bundle COMSOL. You must provide your own licensed solver installation.

See Troubleshooting COMSOL.