3d-slicer

3d-slicer is a skill for Claude Code from alivirgo/Major-AI-Skills. It costs 41 tokens per session (2,056 once invoked), scanned A, original, MIT.

A set of instructions for automating 3D Slicer, an open-source application for viewing and processing medical images such as CT and MRI scans. It covers its scene data, image-processing pipelines, DICOM databases, and segmentation tools.

In plain words
What is it for?
Use it to import DICOM studies, edit or segment medical images, manipulate 3D Slicer scenes, and run batch workflows from the command line.
Why use it?
It gives an AI agent context for repeatable medical-image processing and 3D Slicer troubleshooting.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Codex.

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

Good fit Use it to import DICOM studies, edit or segment medical images, manipulate 3D Slicer scenes, and run batch workflows from the command line.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alivirgo/major-ai-skills/3d-slicer
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 3d-slicer
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 3d-slicer

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/alivirgo/major-ai-skills/3d-slicer"><img src="https://agentmods.dev/badge/skills/alivirgo/major-ai-skills/3d-slicer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,056 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.00041 $0.02056
Opus 5 $0.00020 $0.01028
Sonnet 5 $0.00008 $0.00411
Haiku 4.5 $0.00004 $0.00206

Measured yesterday against content hash 352fe33d9208, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

3d-slicer 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 yesterday.

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/3d-slicer/SKILL.md · 157 lines

How it starts

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

3D Slicer Medical Image Computing AI Skill Guide (Claude)

Overview & Engine Architecture

3D Slicer is the premier open-source platform for medical image informatics, clinical visualization, and surgical planning. Built upon VTK (Visualization Toolkit), ITK (Insight Segmentation and Registration Toolkit), and Qt, 3D Slicer organizes all volumetric scans, label maps, surface models, and transforms in a unified MRML (Medical Reality Modeling Language) Scene Graph (slicer.mrmlScene). Slicer embeds a full Python 3 environment (PythonSlicer.exe), provides a programmatic Segment Editor framework, and executes headless batch workflows via CLI. Claude operates as a Principal Medical Informatics Architect and Biomedical Software Engineer, specializing in MRML scene manipulation, automated DICOM batch ingestion, ITK threshold & watershed segmentation, and headless Slicer CLI automation.

3D Slicer MRML & VTK/ITK Architecture

┌─────────────────────────────────────────────────────────────┐
│                 3D Slicer System Architecture               │
│                                                             │
│  Presentation & MRML Scene Layer                            │
│  ├── MRML Scene Graph (`slicer.mrmlScene` Node Hierarchy)   │
│  ├── 3D Viewport & 2D Slices (Red/Axial, Green/Coronal, Yellow/Sagittal)│
│  └── Volume Rendering Display Nodes (GPU Ray Casting Shaders│
│                                                             │
│  Segmentation & Image Processing Pipeline                   │
│  ├── Segment Editor Engine (`vtkMRMLSegmentEditorNode`)     │
│  ├── ITK Image Filters (Curvature Flow, Otsu Threshold)    │
│  └── VTK Surface Extractors (Flying Edges / Marching Cubes) │
│                                                             │
│  Data & DICOM Database Layer                                │
│  ├── CTK DICOM Database (`ctkDICOMDatabase` SQLite Engine)  │
│  └── Volume Formats (`.nrrd`, `.nii.gz`, Multi-Frame DICOM) │
└─────────────────────────────────────────────────────────────┘

Read the full file on GitHub · 157 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. yesterday Changed · -9 tokens per session 352fe33d9208
  2. 12d ago First seen · 157 lines · 50 tokens per session scan A 97737930ef0c

Subscribe to this mod's changes

3d-slicer is a skill published in the GitHub repository alivirgo/Major-AI-Skills (1 stars, last pushed today), licensed MIT. It adds 41 tokens to every session and 2,056 once invoked, about $0.0002 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-31.

Related

Other skills, from other repositories

everycure-kg

Expert guide for querying the Everycure Knowledge Graph (9.2M nodes, 77M relationships) for drug repurposing, mechanistic pathway discovery, and biomedical research. Use this skill when working with Everycure KG MCP tools to: (1) Find drug-disease connections and repurposing opportunities, (2) Explore mechanistic…

pascalwhoop/medical-mcps · 152 tokens

mpi

MPI skill for distributed-memory parallel programming. Use when writing MPISend/Recv programs, collective operations, non-blocking communication, MPI+OpenMP hybrid, or debugging with mpirun. Activates on queries about MPIInit, MPIAllreduce, MPIIsend, mpirun, MPI-IO, or MPI performance.

mohitmishra786/low-level-dev-skills · 68 tokens

azure-planetary-computer-pro

Expert knowledge for Microsoft Planetary Computer Pro development including troubleshooting, decision making, limits & quotas, security, configuration, integrations & coding patterns, and deployment. Use when using GeoCatalog/STAC APIs, configuring collections/tiles, securing access, integrating QGIS/ArcGIS, or…

MicrosoftDocs/Agent-Skills · 109 tokens

azure-large-instances

Expert knowledge for Azure Large Instances development including troubleshooting, limits & quotas, and integrations & coding patterns. Use when configuring Epic SKUs, sizing volume groups, tuning EHR storage, or resolving Epic–ALI connectivity/perf issues, and other Azure Large Instances related development tasks. Not…

MicrosoftDocs/Agent-Skills · 110 tokens

bio-alignment-msa-parsing

Parse and analyze multiple sequence alignments using Biopython. Extract sequences, identify conserved regions, analyze gaps, work with annotations, and manipulate alignment data for downstream analysis. Use when parsing or manipulating multiple sequence alignments.

FreedomIntelligence/OpenClaw-Medical-Skills · 52 tokens

bio-alignment-msa-statistics

Calculate alignment statistics including sequence identity, conservation scores, substitution matrices, and similarity metrics. Use when comparing alignment quality, measuring sequence divergence, and analyzing evolutionary patterns.

FreedomIntelligence/OpenClaw-Medical-Skills · 40 tokens