Updated 2w ago
by BaratiLab
mechanical-engineering-skills
32 agent skills for mechanical engineering design, analysis and manufacturing (19 from Barati Farimani Lab papers). Install: npx skills add BaratiLab/mechanical-engineering-skills
21 GitHub stars (21)
+21 in 22 days
| Period | New stars |
|---|---|
| Nov 13 | 0 |
| Nov 14 | +2 |
| Nov 15 | +1 |
| Nov 16 | +2 |
| Nov 17 | +1 |
| Nov 18 | 0 |
| Nov 19 | 0 |
| Nov 20 | +1 |
| Nov 21 | +2 |
| Nov 22 | +1 |
- 30 skills (30 skills found in its SKILL.md files)
- 2 forks (2 forks)
- 2w ago last update (Last updated 2w ago)
Install
Skills CLI
npx skills add BaratiLab/mechanical-engineering-skills
Asks which skills and agents to install. Just one: npx skills add BaratiLab/mechanical-engineering-skills --skill my-new-skill — add -g for every project.
Claude Code
git clone https://github.com/BaratiLab/mechanical-engineering-skillscp -r "mechanical-engineering-skills/_template" ~/.claude/skills/
Copies the my-new-skill skill into ~/.claude/skills/ for every project (use .claude/skills/ for one project). Repeat for the other skills listed below.
Plugin
/plugin marketplace add BaratiLab/mechanical-engineering-skills
Run inside Claude Code if the repository ships a plugin marketplace, then pick plugins from /plugin.
Skills can run code on your machine — read the SKILL.md first.
What it does
In the author's own words, from each skill's SKILL.md — showing the first 30 of 34 files.
-
my-new-skill
One sentence on what it does. Use when the user asks to <verb> <thing>, mentions <keywords>, or provides <file type>.
_template/SKILL.md on GitHub (opens in a new tab) -
agentscad-fdm-dfam
Automates design-for-additive-manufacturing on an existing STEP part for FDM printing with the AgentsCAD method — B-Rep → LLM-readable face/adjacency JSON, rule-based 45° overhang detection, tool-grounded reorientation, programmatic teardrops/chamfers/fillets, and kernel + visual verification with a modified STEP and report. Use when the user has a CAD part to 3D print and asks about overhangs, s…
skills/agentscad-fdm-dfam/ on GitHub (opens in a new tab)SKILL.md -
am-alloy-screening
Screen metal alloys — known grades or new compositions — for laser powder bed fusion printability. Parse a composition, get thermophysical properties (Thermo-Calc/TC-Python CALPHAD when available, built-in alloy data or flagged estimates otherwise), compute Rosenthal melt pools and lack-of-fusion process maps over power and speed, and rank candidates by process window with explicit, unit-checked…
skills/am-alloy-screening/ on GitHub (opens in a new tab)SKILL.md -
am-literature-rag
Answer additive-manufacturing questions from the user's own library of papers and textbooks with page-cited evidence — ingest PDFs, chunk and index them, retrieve the most relevant passages (BM25 or the all-mpnet-base-v2 dense model, fused), and write grounded answers that say when the library does not cover the question. Based on AMGPT (Barati Farimani Lab). Use for literature questions on L-PBF…
skills/am-literature-rag/ on GitHub (opens in a new tab)SKILL.md -
cadsmith-text-to-cad
Generates dimensionally exact CadQuery CAD from natural language with the CADSmith multi-agent method — Planner, RAG-assisted Coder, sandboxed Executor, kernel-metric + three-view vision Validator, and Refiner in two nested loops (≤3 error repairs, ≤5 geometric refinements). Use when the user wants a part generated from a text description with verified dimensions, a STEP/STL from a spec, or wants…
skills/cadsmith-text-to-cad/ on GitHub (opens in a new tab)SKILL.md -
cfd-simulation-setup
Sets up, runs, diagnoses, and reports OpenFOAM CFD simulations from a plain-language request, using the CFD Forge method — registered flow families with acceptance contracts, a closed action vocabulary, and deterministic validators that alone decide ACCEPT / CORRECT_AND_RERUN / REJECT / INCONCLUSIVE. Use when the user asks to set up, run, check, or trust a CFD simulation (OpenFOAM, nozzle, shock,…
skills/cfd-simulation-setup/ on GitHub (opens in a new tab)SKILL.md -
design-review-package
Assembles a design-review package for a mechanical product — requirements traceability matrix, design FMEA with RPN and action priority, costed multi-level BOM with Pareto and lead-time critical path, risk register, and a PDR/CDR checklist — as one consistent document. Use when the user is preparing a design review, PDR, CDR, gate review, or asks for an FMEA, BOM roll-up, or requirements matrix.
skills/design-review-package/ on GitHub (opens in a new tab)SKILL.md -
dfm-review
Design-for-manufacturing and assembly review of a part or assembly (CAD, STEP, drawing, or description) for CNC machining, sheet metal, injection molding, casting, and 3D printing — flags rule violations, cost drivers, and process mismatches, and proposes specific geometry changes. Use when the user asks if a part is manufacturable, how to make it cheaper, which process to use, or for a DFM/DFA r…
skills/dfm-review/ on GitHub (opens in a new tab)SKILL.md -
drawing-gdt-review
Reviews mechanical engineering drawings (PDF, image, or DXF) for dimensioning errors, over/under-constraint, GD&T misuse, datum problems, missing title-block and manufacturing notes, and ASME Y14.5 / ISO GPS compliance, returning a severity-ranked issue list with fixes. Use when the user asks to check, review, or red-line a drawing or asks about GD&T callouts.
skills/drawing-gdt-review/ on GitHub (opens in a new tab)SKILL.md -
engineering-calc-report
Turns engineering calculations, scripts, or notes into a formal, checkable calculation report — objective, inputs with sources, assumptions, method with equations, unit-checked results, margins, conclusions, and references — ready for review or sign-off. Use when the user asks for a calc report, calc package, design calculation document, or to write up an analysis formally.
skills/engineering-calc-report/ on GitHub (opens in a new tab)SKILL.md -
equation-discovery
Discover interpretable equations from engineering or scientific data with the LLM-SR loop — you propose physically motivated equation skeletons as Python functions with free constants, the script fits the constants (BFGS, multi-start, sandboxed), scores train / in-domain / out-of-domain NMSE, keeps an experience buffer and builds the next prompt from the best programs; Pareto front of complexity…
skills/equation-discovery/ on GitHub (opens in a new tab)SKILL.md -
image2gcode
Turns a photo, hand sketch, or slice image of a 2D/2.5D part directly into printer-ready FDM G-code without CAD, following the Image2Gcode pipeline — boundary extraction to a 224×224 silhouette, per-layer (X,Y,E) toolpath keypoints, denormalization to printer G-code with header/footer, and validation (build limits, extrusion monotonicity, travel distance). Use when the user wants to print somethi…
skills/image2gcode/ on GitHub (opens in a new tab)SKILL.md -
lattice-inverse-design
Design 3D-printable lattice unit cells for a target stiffness — TPMS and hybrid-TPMS implicit cells, printability checks (one connected solid, no sealed cavities, periodic), voxel homogenisation of the full 6x6 stiffness (checked against exact solutions), parametric inverse search, a GLU3D-style stiffness-conditioned 3D diffusion model with surrogate guidance, and watertight tiled STL export. Bas…
skills/lattice-inverse-design/ on GitHub (opens in a new tab)SKILL.md -
linkage-synthesis
Synthesizes planar one-degree-of-freedom linkages (four-bar, six-bar, multi-bar) whose end-effector traces a target curve, following LinkD — the N×24 graph representation, dyadic topology validation, 200-angle forward kinematics with branch-defect detection, node-by-node construction with bounded retries, and Chamfer-distance evaluation, plus practicality limits on link ratios and pivots. Use whe…
skills/linkage-synthesis/ on GitHub (opens in a new tab)SKILL.md -
llm-3d-print-monitor
Monitor and correct an FDM 3D print layer by layer through Klipper/Moonraker — pause after each layer, look at top and front camera images, diagnose defects (under-extrusion, stringing, blobs, poor adhesion), query the printer, and apply small safety-bounded G-code changes (flow, speed, temperature, retraction, pressure advance, Z offset) before resuming. Based on LLM-3D Print (Barati Farimani La…
skills/llm-3d-print-monitor/ on GitHub (opens in a new tab)SKILL.md -
llm-mechanical-designer
Designs and optimizes 2-D trusses with an LLM-in-the-loop FEM workflow (Jadhav & Barati Farimani, "Large Language Model Agent as a Mechanical Designer") — the agent proposes nodes, members and discrete cross-sections, an exact truss FEM scores each design, and ranked history plus optimize/constraint prompts drive iterative refinement. Use when the user wants a truss or frame layout designed, want…
skills/llm-mechanical-designer/ on GitHub (opens in a new tab)SKILL.md -
lpbf-defect-prediction
Predict laser powder bed fusion (L-PBF) defect regimes — keyholing, lack of fusion, balling, or none — from process parameters (material, laser power, scan speed, beam diameter, hatch spacing, layer thickness), check measured melt-pool dimensions against the standard defect criteria, and draw power–velocity process maps with a recommended window. Based on AdditiveLLM (Barati Farimani Lab) and the…
skills/lpbf-defect-prediction/ on GitHub (opens in a new tab)SKILL.md -
lpbf-superres
Turn low-cost webcam images of an L-PBF build plate into high-resolution layer images — register webcam and scientific-camera views with part-centre homographies and deformation maps, build patch datasets with leakage-safe splits, train a conditional diffusion model (or CNN baseline), and score with PSNR, SSIM, MAE, wavelet texture distance, part IoU and edge roughness (Ra, Rq). Based on the Bara…
skills/lpbf-superres/ on GitHub (opens in a new tab)SKILL.md -
machine-element-sizing
Sizes and checks machine elements — bolted joints, shafts (fatigue), rolling bearings (L10 life), helical springs, fillet welds, and spur gears — with shown work and safety factors. Use when the user asks to size, select, or verify a bolt, shaft, bearing, spring, weld, or gear.
skills/machine-element-sizing/ on GitHub (opens in a new tab)SKILL.md -
material-selection
Selects engineering materials with the Ashby method — translate function, constraints, objectives into a performance index, screen, rank, and justify a shortlist with charts. Use when the user asks which material to use, compares materials, wants a lighter/cheaper/stiffer alternative, or mentions Ashby charts or performance indices.
skills/material-selection/ on GitHub (opens in a new tab)SKILL.md -
mechanical-teardown
Reverse-engineers a physical product (power tool, appliance, consumer device, mechanism, vehicle part) as an engineering system — function structure, costed BOM, materials and processes, Boothroyd DFA index, should-cost, repairability, FMEA, design decisions worth copying, benchmark and redesign opportunities — and renders a print-ready HTML teardown report. Use when the user says "tear down", "t…
skills/mechanical-teardown/ on GitHub (opens in a new tab)SKILL.md -
mechanics-visuals
Produces clean, correct mechanics teaching figures — Mohr's circle, shear/moment/deflection diagrams, S–N curves, stress–strain curves, and free-body diagrams — as PNG/SVG for slides, notes, or exams. Use when the user asks to draw, plot, or visualize a mechanics concept, an FBD, a beam diagram, or a stress state.
skills/mechanics-visuals/ on GitHub (opens in a new tab)SKILL.md -
meltpool-geometry
Predict metal additive manufacturing melt-pool depth, width and length and melt-pool mode (keyhole, lack of fusion, balling, desirable) from laser/electron-beam power, speed, beam size and alloy properties, with Rosenthal estimates, dimensionally consistent power-law fits, and honest cross-study validation. Based on MeltpoolNet (Barati Farimani Lab). Use for melt-pool size estimates, single-track…
skills/meltpool-geometry/ on GitHub (opens in a new tab)SKILL.md -
parametric-part-cad
Turns a plain-English or dimensioned part description into a parametric CadQuery script and exports STEP, STL, a shaded preview image, and a mass/volume report. Use when the user asks to model, create, or generate a 3D part, bracket, flange, enclosure, fixture, or any CAD geometry, or wants a STEP/STL file.
skills/parametric-part-cad/ on GitHub (opens in a new tab)SKILL.md -
query2cad-freecad
Generates FreeCAD CAD models from natural-language queries with the Query2CAD self-refinement loop — plan steps, write a FreeCAD Python macro, repair execution errors (≤3), capture an isometric view, score image-text agreement (VQAScore ≥ 0.9 to stop), and refine from a caption of what was actually built (≤3), with optional human feedback. Use when the user wants a FreeCAD macro or FreeCAD model…
skills/query2cad-freecad/ on GitHub (opens in a new tab)SKILL.md -
quick-fea
Runs quick linear-static and modal finite-element analysis on a STEP part (gmsh mesh + scikit-fem quadratic tets), reports max stress, deflection, natural frequencies, and always checks against a hand calculation and a mesh-convergence run. Use when the user asks for FEA, stress analysis, deflection, stiffness, natural frequency, or whether a part will survive a load.
skills/quick-fea/ on GitHub (opens in a new tab)SKILL.md -
rocketsmith
Design 3D-printed hobby high-power rockets (NAR/TRA Class 2, certified commercial motors only) — airframe, nose cone and fin geometry, Barrowman stability with fin sizing to a target caliber, 1-D flight simulation (apogee, rail-exit speed, thrust-to-weight, descent rate), printed-part mass from wall/infill settings, measured-mass and flown-apogee calibration, and printable STEP/STL for nose cone…
skills/rocketsmith/ on GitHub (opens in a new tab)SKILL.md -
sketch-to-cad
Reconstructs a dimensioned parametric CAD model from a hand sketch, photo, screenshot, drawing scan, or video frames — extracts features and dimensions, infers missing ones from scale references, and records confidence for every dimension. Use when the user uploads an image or video of a part or product and wants a CAD model, reverse engineering, or a measured drawing.
skills/sketch-to-cad/ on GitHub (opens in a new tab)SKILL.md -
sls-process-optimization
Optimize polymer selective laser sintering (SLS) process parameters batch by batch — keep a build history, reduce ASTM D638 tensile and D790 flexural test data, compare against the material datasheet, and propose the next batch's fill energy density, hotspot overlap and surface temperature with a bounded Bayesian suggester, the agent explaining each change. Based on the Barati Farimani Lab's agen…
skills/sls-process-optimization/ on GitHub (opens in a new tab)SKILL.md -
stress-field-surrogate
Predict full 2D von Mises stress fields from geometry, supports and loads in milliseconds for design iteration — StressD-style conditional diffusion (normalised field + scale network) or a direct regression baseline, a built-in plane-stress Q4 FEM generator for training data (checked against beam theory), and validation on unseen geometries with MAE, MSE and peak-stress error. Based on StressD (B…
skills/stress-field-surrogate/ on GitHub (opens in a new tab)SKILL.md
No skill matches that filter.
Review before you install
A skill is a set of instructions and scripts your agent will follow, and it can run code on your machine. Read the SKILL.md and any scripts first — this listing is not a security review.