comsol

comsol is a skill for Claude Code from alivirgo/Major-AI-Skills. It costs 23 tokens per session (2,006 once invoked), scanned A, original, MIT.

An operational guide for COMSOL Multiphysics, an engineering program that simulates physical systems such as structures, fluids, heat, acoustics, and electromagnetics. It covers scripting, APIs, solver troubleshooting, meshing, and batch runs.

In plain words
What is it for?
Use it to write COMSOL automation scripts, connect COMSOL with Python or MATLAB, run batch simulations, and troubleshoot convergence.
Why use it?
It gives an AI context for automating simulations and investigating problems with COMSOL models and solvers.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: positional $N argument; mentions Codex.

Part of the major-ai-skills plugin — 147 skills, 8 plugins shipped together

Good fit Use it to write COMSOL automation scripts, connect COMSOL with Python or MATLAB, run batch simulations, and troubleshoot convergence.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alivirgo/major-ai-skills/comsol
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 alivirgo/Major-AI-Skills --skill comsol
Clone the repo
git clone --depth 1 https://github.com/alivirgo/Major-AI-Skills

Made for: Claude Code.

Or install major-ai-skills, the plugin that ships this one along with the rest of its 147 skills, 8 plugins.

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 comsol

README.md
[![agentmods](https://agentmods.dev/badge/skills/alivirgo/major-ai-skills/comsol/github.svg)](https://agentmods.dev/skills/alivirgo/major-ai-skills/comsol)
Your own site
<a href="https://agentmods.dev/skills/alivirgo/major-ai-skills/comsol"><img src="https://agentmods.dev/badge/skills/alivirgo/major-ai-skills/comsol/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 comsol

Your own site · 80×15
<a href="https://agentmods.dev/skills/alivirgo/major-ai-skills/comsol"><img src="https://agentmods.dev/badge/skills/alivirgo/major-ai-skills/comsol.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,006 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00023 $0.02006
Opus 5.5 $0.00009 $0.00802
Sonnet 5.5 $0.00005 $0.00401
Haiku 4.5 $0.00002 $0.00201

Measured 1mo ago against content hash 4be42bf66e16, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

comsol scanned grade A with 0 findings 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 1mo 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/comsol/SKILL.md · 153 lines

How it starts

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

COMSOL Multiphysics Finite Element Simulation AI Skill Guide (Claude)

Overview & Engine Architecture

COMSOL Multiphysics 6.2 is a finite element analysis (FEA) simulation platform engineered for coupled partial differential equation (PDE) solving across structural mechanics, fluid dynamics (CFD), electromagnetics (RF/Wave Optics/AC-DC), acoustics, and heat transfer. The core engine is powered by MUMPS/PARDISO direct linear solvers, GMRES/BiCGStab iterative solvers with Algebraic Multigrid (AMG) preconditioning, a Java API (ModelUtil), the MPh Python automation bridge, and distributed MPI cluster batch execution (comsol batch). Claude operates as a Principal Multiphysics Simulation Architect and Computational Physicist, specializing in nonlinear solver convergence remediation, MPh Python batch scripting, boundary layer mesh generation, and bidirectional LiveLink automation.

CODESYS & COMSOL Solver Architecture & API Stack

┌─────────────────────────────────────────────────────────────┐
│                 COMSOL Multiphysics Stack                   │
│                                                             │
│  Engineering & Model Builder Layer                          │
│  ├── Model Tree (Geometry, Physics Interfaces, Multiphysics)│
│  ├── Application Builder (Custom Simulation Apps & WebApps) │
│  └── LiveLink Bridges (MATLAB, SolidWorks, AutoCAD, Revit)  │
│                                                             │
│  Numerical Discretization & Solver Core                     │
│  ├── Finite Element Engine (Lagrange, Serendipity, Nedelec) │
│  ├── Direct Solvers (PARDISO, MUMPS, SPOOLES)               │
│  └── Iterative Solvers (GMRES, FGMRES, AMG Preconditioners) │
│                                                             │
│  Automation & Headless Execution Subsystem                  │
│  ├── COMSOL MPHServer (Java IPC Daemon: Default Port 2036)  │
│  ├── `MPh` Python Automation Library (`import mph`)         │
│  └── MPI Cluster Batch Engine (`comsol batch -inputfile...`)│
└─────────────────────────────────────────────────────────────┘

Read the full file on GitHub · 153 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago Changed · -28 tokens per session 4be42bf66e16
  2. 1mo ago First seen · 153 lines · 51 tokens per session scan A d95b28e2cdf7

Subscribe to this mod's changes

comsol is a skill published in the GitHub repository alivirgo/Major-AI-Skills (2 stars, last pushed yesterday), licensed MIT. It adds 23 tokens to every session and 2,006 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.

Related

Other skills, from other repositories

codex-comsol-bridge

Use this skill for Codex-to-COMSOL automation through MathWorks MATLAB MCP Server and COMSOL LiveLink for MATLAB. It connects two mature, officially supported integration paths into one community-built workflow with native COMSOL model access, task-level local execution, compact result return, same-server Desktop…

WendyAi2005/codex-comsol-bridge · 87 tokens

astropy

Astropy is the core Python package for astronomy, providing essential functionality for astronomical research and data analysis.

sickn33/agentic-awesome-skills · 23 tokens

ai-analyzer

An AI-based health-data analysis system that combines health and lifestyle information, finds unusual patterns, estimates several health risks, answers questions, and creates reports. Its risk models and recommendations are based on named medical scoring systems and guidelines.

sickn33/agentic-awesome-skills · 46 tokens

lsdyna-kfile

A workflow for creating, changing, debugging, testing, parsing, and validating LS-DYNA input files, called K, KEY, or DYN decks, for explicit dynamics simulations.

LLK-LL/K-agent · 69 tokens

literature-review

Conduct a structured literature review on a given topic by defining a search strategy, applying inclusion and exclusion criteria, extracting key findings, and synthesizing results into a coherent academic review. Use when the user requests literature review or provides relevant inputs for this workflow.

seb1n/awesome-ai-agent-skills · 54 tokens

azure-quantum

Expert knowledge for Azure Quantum development including troubleshooting, best practices, decision making, architecture & design patterns, limits & quotas, security, configuration, and integrations & coding patterns. Use when submitting Q#/OpenQASM jobs, configuring workspaces, managing IonQ/Quantinuum/Rigetti usage…

MicrosoftDocs/Agent-Skills · 78 tokens