modelica-model-architecture

modelica-model-architecture is a skill for Claude Code, Codex from WolframResearch/system-modeler-ai-toolkit. It costs 222 tokens per session (3,829 once invoked), scanned B, original, MIT.

Guidance for deciding how to organise Wolfram System Modeler and Modelica models or libraries. It covers reusable components, connectors, files, folders, units, documentation, plots, icons, and tests.

In plain words
What is it for?
It helps plan component decomposition, library layout, naming, units, documentation, examples, icons, plots, and testing for new or refactored Modelica projects.
Why use it?
Writing equations before choosing the model structure can produce tangled, hard-to-reuse code. This helps make those design decisions before implementation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps plan component decomposition, library layout, naming, units, documentation, examples, icons, plots, and testing for new or refactored Modelica projects.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wolframresearch/system-modeler-ai-toolkit/modelica-model-architecture
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add WolframResearch/system-modeler-ai-toolkit --skill modelica-model-architecture
Clone the repo
git clone --depth 1 https://github.com/WolframResearch/system-modeler-ai-toolkit

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for modelica-model-architecture

README.md
[![agentmods](https://agentmods.dev/badge/skills/wolframresearch/system-modeler-ai-toolkit/modelica-model-architecture/github.svg)](https://agentmods.dev/skills/wolframresearch/system-modeler-ai-toolkit/modelica-model-architecture)
Your own site
<a href="https://agentmods.dev/skills/wolframresearch/system-modeler-ai-toolkit/modelica-model-architecture"><img src="https://agentmods.dev/badge/skills/wolframresearch/system-modeler-ai-toolkit/modelica-model-architecture/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for modelica-model-architecture

Your own site · 80×15
<a href="https://agentmods.dev/skills/wolframresearch/system-modeler-ai-toolkit/modelica-model-architecture"><img src="https://agentmods.dev/badge/skills/wolframresearch/system-modeler-ai-toolkit/modelica-model-architecture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 222 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,829 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00222 $0.03829
Opus 5 $0.00111 $0.01914
Sonnet 5 $0.00044 $0.00766
Haiku 4.5 $0.00022 $0.00383

Measured 9d ago against content hash 439c2d9cf79c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade B, and why

modelica-model-architecture scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Strips warnings and disclaimersmediumAnti-refusal

Omitting safety caveats hides risk from the user and is a common jailbreak preamble.

- [ ] Each class **validates**, and examples **build/simulate**, without warnings
modelica-model-architecture/SKILL.md · 296 lines

How it starts

The opening of the file, as written. The whole thing — 296 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

  • Propose a step-by-step plan and wait for explicit approval before any edit. Present it as numbered steps.
  • Offer the user a "one-shot" option: they may approve the whole sequence at once and have you execute it end to end without stopping between steps.
  • If the user takes the one-shot option, first state the choices you will make autonomously — the decisions you would otherwise have stopped to ask about (e.g. authoring GettingStarted/Introduction, storing example result plots, adding icons, how far to decompose). One-shot suppresses the questions, not the decisions; surfacing the defaults up front lets the user veto before you build.
  • When creating a library, recommend a parallel test library from the start. Add a unit test for each component as you build it — not at the end.
  • Never delete the user's model files to "start clean." When the toolchain errors, fix the code forward — a validate/simulate failure is almost always a wrong name or missing load, not a reason to throw the work away. Deleting files to reset loses work and is rarely what the user wants.

1. Reuse before building (priority order)

When you need a component (or a connector), look in this order and only build new if nothing fits:

  1. MSL — the Modelica Standard Library.
  2. The user's own Git-repo libraries (e.g. what lives in their repo).
  3. Wolfram libraries — bundled / add-on WSM libraries.
  4. Your own component — last resort.

Read the full file on GitHub · 296 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 296 lines · 222 tokens per session scan B 439c2d9cf79c

Subscribe to this mod's changes

modelica-model-architecture is a skill published in the GitHub repository WolframResearch/system-modeler-ai-toolkit (10 stars, last pushed 19d ago), licensed MIT. It adds 222 tokens to every session and 3,829 once invoked, about $0.0011 per session on Opus 5. A static security scan graded it B with 1 finding (strips warnings and disclaimers). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…

anthropics/knowledge-work-plugins · 123 tokens

exploratory-data-analysis

Perform bounded, local exploratory analysis of explicitly supported scientific files. Use for redacted CSV/TSV/JSON profiles; optional NumPy, HDF5, FASTA/FASTQ, and basic image metadata inspection; missingness/leakage audits; outlier and transformation sensitivity; and rigorous EDA report scaffolds. Other domain…

K-Dense-AI/scientific-agent-skills · 83 tokens

matlab

Build, review, migrate, and safely plan MATLAB or GNU Octave numerical workflows, including arrays, tabular/time data, tests, projects, graphics, MAT files, and explicit Python interoperability.

K-Dense-AI/scientific-agent-skills · 42 tokens

phylogenetics

Build and analyze phylogenetic trees using MAFFT (multiple alignment), IQ-TREE 2 (maximum likelihood), and FastTree (fast NJ/ML). Visualize with ETE3 or FigTree. For evolutionary analysis, microbial genomics, viral phylodynamics, protein family analysis, and molecular clock studies.

K-Dense-AI/scientific-agent-skills · 68 tokens

research-engineer

An uncompromising Academic Research Engineer. Operates with absolute scientific rigor, objective criticism, and zero flair. Focuses on theoretical correctness, formal verification, and optimal implementation across any required technology.

davila7/claude-code-templates · 43 tokens

mapping-to-snomed

Maps clinical concept spans extracted by OpenMed to SNOMED CT concepts through a USER-SUPPLIED terminology server (the user's own Ontoserver, Snowstorm, or UMLS/UTS), never a bundled vocabulary. Use when the user wants to code findings, disorders, procedures, body structures, or substances to SNOMED CT, run an ECL…

maziyarpanahi/openmed · 205 tokens