Agent skill

Jax Modal Analysis

by lamm-mit in lamm-mit/scienceclaw

3D tetrahedral FEM modal analysis of a membrane STL. An agent skill from lamm-mit/scienceclaw.

Apache-2.0Auto-check passedAI & LLM Engineering

Install Jax Modal Analysis

skills CLI
$ npx skills add lamm-mit/scienceclaw --skill jax-modal-analysis -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install lamm-mit/scienceclaw jax-modal-analysis --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/lamm-mit/scienceclaw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/jax-modal-analysis .claude/skills/jax-modal-analysis && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
jax-modal-analysis
GitHub stars
244
Token cost
~811 tokens
SKILL.md length
163 words
Files
3 (incl. scripts)
Skills in repo
86
Repo updated
First seen
Licence
Apache-2.0

At a glance

3D tetrahedral FEM modal analysis of a membrane STL. An agent skill from lamm-mit/scienceclaw.

  • Works in 2 steps: Run fem-analysis to shortlist candidates… → Run jax-modal-analysis on shortlisted…
  • Tasks that involve Deep learning
  • SKILL.md covers Usage, Arguments, Output JSON and Chaining with fem-analysis
  • Runs Python scripts from its folder; calls python3

What it does

Jax Modal Analysis is an agent skill from lamm-mit/scienceclaw. 3D tetrahedral FEM modal analysis of a membrane STL. Takes a binary STL (mm units) + material properties JSON, repairs surface mesh, generates tetrahedral volume mesh via TetGen, assembles 3D stiffness/mass matrices with jax-fem, solves the generalised eigenvalue problem, and reports eigenfrequencies + mode shapes. Returns artifact JSON with eigenfrequencieshz, eigenfrequencieskhz, modesinrange, targetrangepass, and paths to summary PNG and CSV.

Its SKILL.md is about 810 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts (for example `scripts/jax_modal_analysis.py`).

It sits in AI & LLM Engineering, covering Deep learning. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Deep learning

Example prompts

  • “/jax-modal-analysis”

Requirements

  • Python 3

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

  1. Run fem-analysis to shortlist candidates (fast 2D pass/fail)
  2. Run jax-modal-analysis on shortlisted STLs for full 3D validation

What it can do on your machine

Read from SKILL.md and the folder at commit ab9aba1. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Jax Modal Analysis loads about 811 tokens when it runs. Until then it costs about 119 tokens; SKILL.md has 163 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~119
When it runs · the whole SKILL.md, loaded when a task matches
~811

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from lamm-mit/scienceclaw at commit ab9aba1, republished under its Apache-2.0 licence (© lamm-mit). 163 words, ~811 tokens.

Download SKILL.mdSave it as .claude/skills/jax-modal-analysis/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
jax-modal-analysis
description
3D tetrahedral FEM modal analysis of a membrane STL. Takes a binary STL (mm units) + material properties JSON, repairs surface mesh, generates tetrahedral volume mesh via TetGen, assembles 3D stiffness/mass matrices with jax-fem, solves the generalised eigenvalue problem, and reports eigenfrequencies + mode shapes. Returns artifact JSON with eigenfrequencies_hz, eigenfrequencies_khz, modes_in_range, target_range_pass, and paths to summary PNG and CSV.
metadata.category
materials-design
metadata.requires
stl_modal_pipeline, tetgen, pyvista, meshio, trimesh, scipy, jax
metadata.conda_env
jax_fem

JAX 3D Modal Analysis

Full 3D tetrahedral FEM eigenvalue solver for ribbed membrane resonators. Complements fem-analysis (2D Kirchhoff plate approximation) by accounting for 3D volumetric effects, frame stiffness, and out-of-plane deformation.

Usage

bash
python3 {baseDir}/scripts/jax_modal_analysis.py \
  --stl /path/to/membrane.stl \
  --material '{"E_Pa":3e9,"nu":0.35,"rho_kg_m3":1500}' \
  --num-modes 12 \
  --solver-backend jax-iterative \
  --stl-length-scale 1e-3 \
  --target-freq-min 2000 \
  --target-freq-max 8000 \
  --output-dir /tmp/jax_modal_results

Arguments

FlagTypeDefaultDescription
--stlpathrequiredBinary STL file (mm units assumed)
--materialJSON strrequired{"E_Pa":3e9,"nu":0.35,"rho_kg_m3":1500}
--num-modesint12Number of modes to compute
--solver-backendstrjax-iterativearpack, jax-iterative, or jax-xla
--stl-length-scalefloat1e-3Scale factor to convert STL units → metres
--target-freq-minfloat2000Lower bound of target frequency band (Hz)
--target-freq-maxfloat8000Upper bound of target frequency band (Hz)
--output-dirpathautoDirectory for all output files

Output JSON

json
{
  "stl_path": "/path/to/membrane.stl",
  "topology": "v1_cricket_fine",
  "num_modes_computed": 12,
  "eigenfrequencies_hz":  [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 2153.0, 2388.1, ...],
  "eigenfrequencies_khz": [0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 2.153, 2.388, ...],
  "modes_in_range_hz":  [2153.0, 2388.1, 5401.2, 6890.3],
  "modes_in_range_khz": [2.153, 2.388, 5.401, 6.890],
  "target_range_hz": [2000, 8000],
  "target_range_khz": [2.0, 8.0],
  "target_range_pass": true,
  "solver_backend": "arpack",
  "output_dir": "/tmp/jax_modal_results/v1_cricket_fine_...",
  "summary_png": "/tmp/.../summary_figures/modal_run_summary.png",
  "csv_path": "/tmp/.../modal_comprehensive_report.csv",
  "mesh_vtu": "/tmp/.../mesh/volume_mesh.vtu"
}

Chaining with fem-analysis

fem-analysis and jax-modal-analysis are complementary, not alternatives:

SkillModelSpeedBest for
fem-analysis2D Kirchhoff plate~1 sFast screening, flat membranes
jax-modal-analysis3D tetrahedral FEM30–120 sFull 3D validation, ribbed/curved geometries

Recommended workflow:

  1. Run fem-analysis to shortlist candidates (fast 2D pass/fail)
  2. Run jax-modal-analysis on shortlisted STLs for full 3D validation

© lamm-mit, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (scripts) in skills/jax-modal-analysis of lamm-mit/scienceclaw.

  • SKILL.md
  • scripts/__pycache__/jax_modal_analysis.cpython-313.pyc
  • scripts/jax_modal_analysis.py

Open the folder on GitHubat commit ab9aba1

Compare with similar skills

Jax Modal Analysis next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Jax Modal Analysis compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Jax Modal Analysis this skilllamm-mit/scienceclaw244—~811Automated safety check: PassApache-2.0
Add Uint Supportpytorch/pytorch104k2 repos~2.3kAutomated safety check: PassCustom licence
Segment Anything Model GuideOrchestra-Research/AI-Research-SKILLs13k8 repos~3.3kAutomated safety check: PassMIT
Add Oponnx/onnx22k—~1.2kAutomated safety check: PassApache-2.0
CLIP Image-Text MatchingOrchestra-Research/AI-Research-SKILLs13k7 repos~1.7kAutomated safety check: PassMIT
Add Function Bodyonnx/onnx22k—~1.1kAutomated safety check: PassApache-2.0

Similar skills

  • Add Uint Support

    pytorch/pytorch

    Add unsigned integer (uint) type support to PyTorch operators by updating ATDISPATCH macros.

    104k GitHub starsUsed in 2 repos~2.3k tokens
    AI & LLM EngineeringAuto-check passed
  • Segment Anything Model Guide

    Orchestra-Research/AI-Research-SKILLs

    Guide to using Meta's Segment Anything Model for zero-shot image segmentation with point, box or mask prompts, or automatic mask generation.

    13k GitHub starsUsed in 8 repos~3.3k tokens
    AI & LLM EngineeringAuto-check passed
  • Add Op

    onnx/onnx

    Add a new ONNX operator or update an existing operator to a new opset version.

    22k GitHub stars~1.2k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • CLIP Image-Text Matching

    Orchestra-Research/AI-Research-SKILLs

    Explains OpenAI's CLIP model for zero-shot image classification, image-text similarity, semantic image search and content moderation, with install steps and code patterns.

    13k GitHub starsUsed in 7 repos~1.7k tokens
    AI & LLM EngineeringAuto-check passed
  • Add a function body definition to an ONNX operator, defining how it decomposes into simpler ops.

    22k GitHub stars~1.1k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Paddle Design Distributed

    PaddlePaddle/Paddle

    A skill your agent uses when working with Paddle's distributed training system: understanding parallelism strategies (DP, ZeRO, TP, PP, SP), semi-automatic parallel with ProcessMesh + shardtensor…

    24k GitHub stars~660 tokensUpdated today
    AI & LLM EngineeringAuto-check passed

More from lamm-mit/scienceclaw

All 86 skills in this repo
  • Fred Economic Data

    lamm-mit/scienceclaw

    Query FRED (Federal Reserve Economic Data) API for 800,000+ economic time series from 100+ sources.

    244 GitHub starsUsed in 4 repos~3k tokens
    Auto-check passed
  • Drug Research

    lamm-mit/scienceclaw

    Generates comprehensive drug research reports with compound disambiguation, evidence grading, and mandatory completeness sections.

    244 GitHub starsUsed in 3 repos~1.7k tokens
    Auto-check passed
  • Imaging Data Commons

    lamm-mit/scienceclaw

    Query and download public cancer imaging data from NCI Imaging Data Commons using idc-index.

    244 GitHub starsUsed in 5 repos~11k tokens
    Auto-check passed
  • Rowan

    lamm-mit/scienceclaw

    Cloud-based quantum chemistry platform with Python API. An agent skill from lamm-mit/scienceclaw.

    244 GitHub starsUsed in 4 repos~3.1k tokens
    Auto-check: warnings
  • Infographics

    lamm-mit/scienceclaw

    Create professional infographics using Nano Banana Pro AI with smart iterative refinement.

    244 GitHub starsUsed in 6 repos~4.4k tokens
    Auto-check: notes
  • Disease Research

    lamm-mit/scienceclaw

    Generate comprehensive disease research reports using 100+ ToolUniverse tools.

    244 GitHub stars~946 tokensUpdated 1 mo ago
    Auto-check passed

Questions about Jax Modal Analysis

What does Jax Modal Analysis do?

3D tetrahedral FEM modal analysis of a membrane STL. An agent skill from lamm-mit/scienceclaw. Jax Modal Analysis is an agent skill from lamm-mit/scienceclaw. 3D tetrahedral FEM modal analysis of a membrane STL.

When should I use Jax Modal Analysis?

Jax Modal Analysis fits situations like: tasks that involve Deep learning.

How do I install Jax Modal Analysis in Claude Code?

Run `npx skills add lamm-mit/scienceclaw --skill jax-modal-analysis -a claude-code`. Or copy the skill folder (skills/jax-modal-analysis in lamm-mit/scienceclaw) into .claude/skills/jax-modal-analysis in your project. Claude Code loads it when a task matches its description.

How do I install Jax Modal Analysis in Codex?

Run `npx skills add lamm-mit/scienceclaw --skill jax-modal-analysis -a codex`. Or copy the skill folder (skills/jax-modal-analysis in lamm-mit/scienceclaw) into .agents/skills/jax-modal-analysis in your project. Codex loads it when a task matches its description.

Can I use Jax Modal Analysis in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add lamm-mit/scienceclaw --skill jax-modal-analysis -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/jax-modal-analysis, .gemini/skills/jax-modal-analysis, .github/skills/jax-modal-analysis and .opencode/skills/jax-modal-analysis in your project.

What does Jax Modal Analysis need to run?

Going by SKILL.md and its folder, Jax Modal Analysis needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3.

Does Jax Modal Analysis access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Jax Modal Analysis safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Jax Modal Analysis use?

Jax Modal Analysis is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Jax Modal Analysis use?

About 811 tokens (SKILL.md is roughly 3.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Jax Modal Analysis?

Skills that share tags, products or a category with Jax Modal Analysis: Add Uint Support (pytorch/pytorch, 104k stars), Segment Anything Model Guide (Orchestra-Research/AI-Research-SKILLs, 13k stars), Add Op (onnx/onnx, 22k stars) and CLIP Image-Text Matching (Orchestra-Research/AI-Research-SKILLs, 13k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Jax Modal Analysis?

lamm-mit (a GitHub user) maintains it in lamm-mit/scienceclaw, which has 244 GitHub stars. The repository holds 86 skills in this directory. The repository was last updated on August 21, 2026.

Source: lamm-mit/scienceclaw on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.