Individual skill

modelica-model-architecture

Architecture and structuring guidance for Wolfram System Modeler / Modelica (.mo) models and libraries. Use this skill BEFORE writing equations whenever creating, implementing, structuring, or refactoring a model or library, to decide component decomposition, connectors, component reuse, file/folder layout, units, and naming. Triggers on phrases like 'create/build a Modelica model', 'implement this model/paper in Modelica', 'make a WSM model', 'write a Modelica library', 'structure this model', 'single .mo file vs directory', 'split this into components', 'refactor this model/library'. Before writing a multi-class library, consult it to choose directory-form (one class per file) storage over a single .mo — also when the library is your own idea, such as a circuit or mechanism modelled to validate something else against it. For a specific component library (e.g. create-hydraulic-model) defer to that domain skill.

modelica-model-architecture/SKILL.md

Read pinned source

Source commit af6615a05ab455d4fb85b45f29343835f61a08c7

What was checked

Matches the observed repository HEAD
Yes
Scanner rules are current
Yes
Repository scan complete
No
Skill scan complete
No
Observed behavior
Network or broad shell
Last checked
Nov 7, 2026

These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.

Install this skill

Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.

An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.

Repository context

Repository stars (not skill ratings)
20
Repository last updated
Nov 6, 2026
License
MIT

Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.

Files and excerpt

File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.

Browse files
Read excerpt

# WSM / Modelica model architecture

Use this when creating or restructuring a WSM/Modelica model or library —
**before** writing equations. This skill covers the architecture and structuring
decisions that come first (sections 1-7), then the library conventions —
naming, plots, documentation HTML, testing, icons, library shape — that a model
or library must meet before it is "done" (sections 8-9). Read sections 8-9
before declaring a library done.

The default in Modelica is **object-oriented decomposition into reusable
components**. Reach for a flat all-in-one model only under the explicit
exception in section 5.

## Working method