← Modelica ProjectsCONTENT HISTORYWHAT CHANGED · RULE-BASED ANALYSIS
Update to Modelica Projects
Snapshot Sep 30, 2026 · 23:14 UTC · version 2.1.0
Collection source: not recorded for this historical snapshot.
First saved snapshot
No earlier snapshot is available to establish a change.
Compare saved observations
Download comparison JSONFull technical diff · 0 changed fields
Full snapshot data
{
"description": "Author, import, source-preservingly edit, visually annotate, preview, repair, and statically validate portable Modelica package trees. Use for physical-system models, standard Modelica icons and diagrams, package hierarchies, and reusable .mo components.",
"included_files": [
{
"relative_path": "agents/openai.yaml",
"size_in_bytes": 262
},
{
"relative_path": "references/canonical-v2.schema.json",
"size_in_bytes": 8834
},
{
"relative_path": "references/edit-v1.schema.json",
"size_in_bytes": 1922
},
{
"relative_path": "references/project-contract.md",
"size_in_bytes": 2356
},
{
"relative_path": "references/v2-contract.md",
"size_in_bytes": 3490
},
{
"relative_path": "scripts/create_modelica_project.py",
"size_in_bytes": 9703
},
{
"relative_path": "scripts/modelica_tool.py",
"size_in_bytes": 87694
},
{
"relative_path": "scripts/static_check_modelica.py",
"size_in_bytes": 11988
}
],
"name": "modelica-projects",
"skill_md_contents": "---\nname: modelica-projects\ndescription: Author, import, source-preservingly edit, visually annotate, preview, repair, and statically validate portable Modelica package trees. Use for physical-system models, standard Modelica icons and diagrams, package hierarchies, and reusable .mo components.\n---\n\n# Modelica projects\n\nCreate portable directory-form Modelica packages with explicit physical assumptions and standard visual annotations. Use `scripts/modelica_tool.py` for canonical v2 authoring. Read `references/v2-contract.md`, validate canonical inputs against `references/canonical-v2.schema.json`, and validate source-preserving edit requests against `references/edit-v1.schema.json`.\n\n## Routes\n\n- New project: define the system boundary, domains, parameters, initialization, scenarios, and checks; write canonical v2 JSON; run `create`.\n- Existing package: run `import`, edit the canonical representation, and export a new tree. Import recovers this skill's hash-bound portable visual metadata; it preserves unsupported valid annotations in source and reports that their visual meaning was not interpreted.\n- Source-preserving package changes: use `edit` on a staged copy. Select classes by safe relative `.mo` path; add files, update the required `package.order`, repair unambiguous `within` clauses, or add/replace supported standard visual annotations. Every untouched file must remain byte-for-byte identical.\n- Visual modeling: describe components, boundary connectors, connections, and optional icon primitives; use deterministic topology-aware layout or preserve supplied placements. Relayout only when explicitly requested.\n- Diagnosis: run `lint`; use `repair` only for unambiguous structural normalization.\n- Preview: run `preview --format svg|html [--class NAME]` for a deterministic, script-free structural view of the canonical visual graph.\n- Compiler evidence: keep `--compiler off` by default. Use `auto|required` only when the user explicitly requests compilation evidence and an existing local `omc` is available; never download or install one.\n\nEmit only standard Modelica syntax and annotations, including `Icon`, `Diagram`, `Placement`, and connection `Line` annotations. Do not add vendor-prefixed annotations, proprietary archives, runtime launchers, or product-specific compatibility claims. Refuse to replace existing graphics unless explicitly authorized.\n\nRun the static checker after every change. Its lexer/parser and checks cover the documented portable authoring subset, not full Modelica semantics. Separate source structure, recovered visual structure, structural preview, compilation, simulation, numerical behavior, physical validity, and native rendering in the evidence report.\n"
}SHA-256 of public snapshot: b1fe6d00bdd72996d55971f1d4a9913f9d5628ee193c41a810e573b3f3e571ee