model-3d

model-3d is a command for Claude Code from SteadfastAsArt/geoscience-skills. It costs 14 tokens per session (484 once invoked), scanned A, original, MIT.

A workflow guide for building three-dimensional geological models from GIS layers, boreholes, orientations, or prepared surfaces. It covers choosing modelling and visualisation tools for different geological structures.

In plain words
What is it for?
Use it to plan data preparation, choose GemPy or LoopStructural for modelling, and use PyVista or matplotlib for 3D views, cross-sections, and maps.
Why use it?
It helps turn geological input data into a suitable modelling workflow and select tools based on the type of geology and desired output.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Good fit Use it to plan data preparation, choose GemPy or LoopStructural for modelling, and use PyVista or matplotlib for 3D views, cross-sections, and maps.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/steadfastasart/geoscience-skills/model-3d
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.

Clone the repo
git clone --depth 1 https://github.com/SteadfastAsArt/geoscience-skills

Made for: Claude Code.

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 model-3d

README.md
[![agentmods](https://agentmods.dev/badge/commands/steadfastasart/geoscience-skills/model-3d.svg)](https://agentmods.dev/commands/steadfastasart/geoscience-skills/model-3d)
Your own site
<a href="https://agentmods.dev/commands/steadfastasart/geoscience-skills/model-3d"><img src="https://agentmods.dev/badge/commands/steadfastasart/geoscience-skills/model-3d.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 484 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.00014 $0.00484
Opus 5 $0.00007 $0.00242
Sonnet 5 $0.00003 $0.00097
Haiku 4.5 $0.00001 $0.00048

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

Security

Grade A, and why

model-3d 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 7d 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.

.claude/commands/model-3d.md · 61 lines

How it starts

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

3D Geological Modelling Workflow

Guide the user through building a 3D geological model. Determine the appropriate skill chain based on input data and modelling goals.

Decision Tree

  1. What input data do you have?

    • GIS layers (shapefiles, rasters, DEMs) → Use gemgis skill for data preparation
    • Borehole data / orientations → Load directly into modelling engine
    • Pre-processed surfaces → Skip to model setup
  2. Which modelling engine fits your problem?

    • Complex faulted geology, implicit surfaces, GPU support → Use gempy skill
    • Fold-dominated structures, lightweight, tetrahedral meshes → Use loopstructural skill
  3. Visualization needs?

    • Interactive 3D model rendering → Use pyvista skill
    • Cross-sections and map views → matplotlib (built-in)

Skill Chain

gemgis (data prep from GIS) → gempy (implicit modelling, GPU)       → pyvista (3D viz)
                             → loopstructural (fold-focused, light)  → pyvista (3D viz)

Step Prompts

For each step, invoke the relevant domain skill and follow its guidance.

Step 1: Data Preparation

  • Extract surface points and orientations from GIS data
  • Reproject coordinates to a consistent CRS
  • Prepare topography and stratigraphic contact data

Step 2: Model Setup

  • Define model extent and resolution
  • Assign stratigraphic pile and fault network
  • Set surface points and orientation gradients

Step 3: Compute Model

  • GemPy: run interpolation with dual kriging, configure GPU if available
  • LoopStructural: build model with fold constraints, set solver options
  • Check for geological consistency (layer ordering, fault offsets)

Step 4: Validate

  • Compare model surfaces against input data
  • Check cross-sections for geological plausibility
  • Evaluate model uncertainty if supported

Step 5: Visualization

  • Render 3D block model and surfaces interactively
  • Extract cross-sections at key locations
  • Export model to common formats (VTK, GOCAD)

$ARGUMENTS

Read the full file on GitHub · 61 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. 7d ago First seen · 61 lines · 14 tokens per session scan A af2eafc5a8ae

Subscribe to this mod's changes

model-3d is a command published in the GitHub repository SteadfastAsArt/geoscience-skills (57 stars, last pushed 5mo ago), licensed MIT. It adds 14 tokens to every session and 484 once invoked, about $0.0001 per session on Opus 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-08-30.