Agent skill

Totalsegmentator

by VectorSpaceLab in VectorSpaceLab/AREX-Skill

Use TotalSegmentator as an installed package for medical-image segmentation, task discovery, runtime configuration, output parsing, DICOM handling, auxiliary analysis, and advanced training…

Apache-2.0Auto-check passedResearch & Science

Install Totalsegmentator

skills CLI
$ npx skills add VectorSpaceLab/AREX-Skill --skill totalsegmentator -a claude-code

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

GitHub CLI
$ gh skill install VectorSpaceLab/AREX-Skill totalsegmentator --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/VectorSpaceLab/AREX-Skill.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/repositories/repo-skills/totalsegmentator .claude/skills/totalsegmentator && 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
totalsegmentator
GitHub stars
330
Token cost
~1.4k tokens
SKILL.md length
505 words
Files
7 (incl. scripts, references)
Skills in repo
159
Repo updated
First seen
Licence
Apache-2.0

At a glance

Use TotalSegmentator as an installed package for medical-image segmentation, task discovery, runtime configuration, output parsing, DICOM handling, auxiliary analysis, and advanced training…

  • Works in 5 steps: Discover capabilities first when task or… → Build segmentation commands through… → Parse run_report.json, statistics.json,… → …
  • Tasks that involve Clinical and healthcare research
  • SKILL.md covers Quick Start, Route by User Intent, Safe Install and Smoke Check and Common Workflows, plus 2 more sections
  • Runs Python scripts from its folder; calls pip and python

What it does

Totalsegmentator is an agent skill from VectorSpaceLab/AREX-Skill. Use TotalSegmentator as an installed package for medical-image segmentation, task discovery, runtime configuration, output parsing, DICOM handling, auxiliary analysis, and advanced training boundaries.

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 8 other files, including scripts and reference files (for example `references/repo-provenance.md`, `references/repo-routing-metadata.json` and `references/task-selection.md`).

It sits in Research & Science, covering Clinical and healthcare research. The repository describes itself as: A Skill Library for Automated Machine Learning. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Clinical and healthcare research

Example prompts

  • “/totalsegmentator”

Requirements

  • Python 3

Workflow steps

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

  1. Discover capabilities first when task or class names are uncertain: totalseg_info --json or capability-discovery.
  2. Build segmentation commands through segmentation-workflows; add --report for automation.
  3. Parse run_report.json, statistics.json, multilabel outputs, probabilities, and combined masks through outputs-and-statistics.
  4. Use runtime-configuration for install/import checks, CPU/GPU/MPS decisions, model weights, offline setup, licenses, and usage-stat settings.
  5. Use dicom-and-formats before long runs when inputs are DICOM folders/zips, DICOM output is requested, or crop-to-body preprocessing is…

What it can do on your machine

Read from SKILL.md and the folder at commit ac3fe1a. 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 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • pip
    • python

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

  • Network

    No URLs in SKILL.md. Its commands use pip, which can reach the network depending on how they are called.

    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

Totalsegmentator loads about 1.4k tokens when it runs, and up to ~4.2k if it reads all its reference files. Until then it costs about 55 tokens; SKILL.md has 505 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~55
When it runs · the whole SKILL.md, loaded when a task matches
~1.4k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.2k

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 VectorSpaceLab/AREX-Skill at commit ac3fe1a, republished under its Apache-2.0 licence (© VectorSpaceLab). 505 words, ~1,359 tokens.

Download SKILL.mdSave it as .claude/skills/totalsegmentator/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.
name
totalsegmentator
description
Use TotalSegmentator as an installed package for medical-image segmentation, task discovery, runtime configuration, output parsing, DICOM handling, auxiliary analysis, and advanced training boundaries.
disable-model-invocation
true
metadata.disco-role
operating
license
Apache 2.0

TotalSegmentator

Use this skill when a user asks about TotalSegmentator, the TotalSegmentator CLI, the totalsegmentator Python package, anatomical CT/MR segmentation tasks, model-weight or license setup, segmentation output parsing, DICOM/NIfTI handling, or TotalSegmentator-style nnU-Net retraining.

TotalSegmentator outputs are research/workflow artifacts unless the surrounding product has its own approved clinical validation. Preserve input provenance, verify task/class choices, and prefer machine-readable JSON outputs over scraping stdout.

Quick Start

  1. Discover capabilities first when task or class names are uncertain: totalseg_info --json or capability-discovery.
  2. Build segmentation commands through segmentation-workflows; add --report <path.json> for automation.
  3. Parse run_report.json, statistics.json, multilabel outputs, probabilities, and combined masks through outputs-and-statistics.
  4. Use runtime-configuration for install/import checks, CPU/GPU/MPS decisions, model weights, offline setup, licenses, and usage-stat settings.
  5. Use dicom-and-formats before long runs when inputs are DICOM folders/zips, DICOM output is requested, or crop-to-body preprocessing is needed.

Route by User Intent

User intentRead this
List tasks, classes, modalities, license flags, or valid --roi_subset namescapability-discovery
Build or run a CT/MR segmentation CLI/API workflowsegmentation-workflows
Validate reports, statistics, masks, multilabel headers, probabilities, or combined masksoutputs-and-statistics
Fix install/import/backend issues, choose devices, pre-stage weights, configure offline or licensed tasksruntime-configuration
Validate NIfTI/DICOM inputs, DICOM SEG/RTSTRUCT outputs, modality detection, or crop-to-body preprocessingdicom-and-formats
Use contrast phase, CT/MR modality, body stats, or Evans index helper CLIsauxiliary-analysis
Plan retraining, dataset conversion, benchmark evaluation, or model-contribution workadvanced-training

Safe Install and Smoke Check

Install the public package in the user's chosen environment:

bash
pip install TotalSegmentator

Then run safe checks that do not download model weights:

bash
totalseg_info --json
python scripts/check_install.py --task total --class-name liver --json

The root helper verifies package metadata, importability, registry access, selected task/class names, and console-script availability. It does not run segmentation, validate licenses against the network, or download weights.

Show full SKILL.md (227 more words)Show less

Common Workflows

  • Automation pipeline: discover task/classes with totalseg_info --json, build a TotalSegmentator command with --report and optional --statistics, then parse JSON files through the outputs sub-skill.
  • CPU-only run: choose --device cpu, add --fast or a small --roi_subset, and use the segmentation troubleshooting reference for memory/runtime limits.
  • Offline deployment: use runtime configuration to set a writable TotalSegmentator home, pre-stage weights, save any required license, and run read-only diagnostics before inference.
  • DICOM output: validate the input as DICOM first, install the needed optional DICOM output dependency, and avoid requesting DICOM output from NIfTI input.
  • Advanced research: use the training sub-skill only for explicit retraining/evaluation/contribution requests; ordinary segmentation should stay in the segmentation workflow.

Runtime References

Boundaries

  • Do not hard-code task/class lists from memory; use totalseg_info or totalsegmentator.registry.
  • Do not run heavyweight segmentation, model downloads, licensed tasks, or training by default when the user only needs planning or validation.
  • Do not expose license numbers, local cache paths, or environment paths in shared reports.
  • Do not treat skipped native examples or heavyweight tests as passing; record why they are skipped and use safe JSON/helper checks where possible.

© VectorSpaceLab, 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 6 other files (scripts, references) in skills/repositories/repo-skills/totalsegmentator of VectorSpaceLab/AREX-Skill.

  • SKILL.md
  • references/repo-provenance.md
  • references/repo-routing-metadata.json
  • references/task-selection.md
  • references/troubleshooting.md
  • scripts/check_install.py
  • sub-skills

Open the folder on GitHubat commit ac3fe1a

Compare with similar skills

Totalsegmentator 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.

Totalsegmentator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Totalsegmentator this skillVectorSpaceLab/AREX-Skill330—~1.4kAutomated safety check: PassApache-2.0
Clinical Trials Databasegoogle-deepmind/science-skills3.2k2 repos~3.2kAutomated safety check: PassApache-2.0
CHARLS Paper Reproduction Guidexjtulyc/MedgeClaw6171 repos~1.8kAutomated safety check: PassNone
Biomedical Analysis Dispatchxjtulyc/MedgeClaw6171 repos~2kAutomated safety check: PassNone
Research Proposalluwill/research-skills858—~4.4kAutomated safety check: NotesNone
Medical Imaging ReviewLeonChaoX/qinyan-academic-skills9433 repos~1.1kAutomated safety check: NotesMIT

Similar skills

  • Clinical Trials Database

    google-deepmind/science-skills

    Query ClinicalTrials.gov via APIv2. An agent skill from google-deepmind/science-skills.

    3.2k GitHub starsUsed in 2 repos~3.2k tokens
    Research & ScienceAuto-check passed
  • Guides an agent through reproducing papers built on the CHARLS health and retirement survey, from variable mapping to cognition, depression and isolation scores.

    617 GitHub starsUsed in 1 repo~1.8k tokens
    Research & ScienceAuto-check passed
  • Routes bioinformatics, drug discovery, clinical and multi-omics tasks from a chat interface to Claude Code sessions running K-Dense scientific skills, with a live dashboard per task.

    617 GitHub starsUsed in 1 repo~2k tokens
    Research & ScienceAuto-check passed
  • Research Proposal

    luwill/research-skills

    A skill your agent uses when the user asks to write or draft a PhD / doctoral research proposal, research plan, 研究计划书, or 开题报告 — a forward-looking plan of background, gap, research questions…

    858 GitHub stars~4.4k tokensUpdated 8 days ago
    Research & ScienceAuto-check: notes
  • Medical Imaging Review

    LeonChaoX/qinyan-academic-skills

    Write comprehensive literature reviews for medical imaging AI research.

    943 GitHub starsUsed in 3 repos~1.1k tokens
    Research & ScienceAuto-check: notes
  • 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
    Research & ScienceAuto-check passed

More from VectorSpaceLab/AREX-Skill

All 159 skills in this repo
  • Agent Lightning

    VectorSpaceLab/AREX-Skill

    Use this repo skill for Agent Lightning package tasks: authoring trainable agents, tracing rewards and spans, running LightningStore/Trainer loops, using agl CLI services, choosing examples, and…

    330 GitHub stars~1.4k tokensUpdated 1 mo ago
    Auto-check passed
  • Agent Tools

    VectorSpaceLab/AREX-Skill

    A skill your agent uses when configuring LiteLLM for MCP tools, A2A agents, Claude Code/Cursor agent gateway traffic, MCP auth/OAuth, tool permissions, semantic filtering, or agent-specific proxy…

    330 GitHub stars~1.2k tokensUpdated 1 mo ago
    Auto-check passed
  • Agents And Awel

    VectorSpaceLab/AREX-Skill

    Build and debug DB-GPT agents, tools, skills, teams, and AWEL workflows, including deterministic local DAG runs and HTTP-trigger topology without assuming an LLM, credential, or external service.

    330 GitHub stars~2.3k tokensUpdated 1 mo ago
    Auto-check passed
  • Agents And Middleware

    VectorSpaceLab/AREX-Skill

    Work on the actively maintained LangChain v1 agent package: initchatmodel, createagent, structured output, tools, middleware, embeddings initialization, provider routing, and agent runtime…

    330 GitHub stars~1.2k tokensUpdated 1 mo ago
    Auto-check passed
  • Agents Workflows

    VectorSpaceLab/AREX-Skill

    A skill your agent uses for giskard.agents async chat workflows, tools, prompt templates, structured outputs, retries, rate limiting, embeddings, and optional LiteLLM backend.

    330 GitHub stars~500 tokensUpdated 1 mo ago
    Auto-check passed
  • Alphafold3

    VectorSpaceLab/AREX-Skill

    A skill your agent uses for AlphaFold 3 input preparation, prediction command planning, output interpretation, and Python API inspection.

    330 GitHub stars~1.2k tokensUpdated 1 mo ago
    Auto-check passed

Questions about Totalsegmentator

What does Totalsegmentator do?

Use TotalSegmentator as an installed package for medical-image segmentation, task discovery, runtime configuration, output parsing, DICOM handling, auxiliary analysis, and advanced training…. Totalsegmentator is an agent skill from VectorSpaceLab/AREX-Skill. Use TotalSegmentator as an installed package for medical-image segmentation, task discovery, runtime configuration, output parsing, DICOM handling, auxiliary analysis, and advanced training boundaries.

When should I use Totalsegmentator?

Totalsegmentator fits situations like: tasks that involve Clinical and healthcare research.

How do I install Totalsegmentator in Claude Code?

Run `npx skills add VectorSpaceLab/AREX-Skill --skill totalsegmentator -a claude-code`. Or copy the skill folder (skills/repositories/repo-skills/totalsegmentator in VectorSpaceLab/AREX-Skill) into .claude/skills/totalsegmentator in your project. Claude Code loads it when a task matches its description.

How do I install Totalsegmentator in Codex?

Run `npx skills add VectorSpaceLab/AREX-Skill --skill totalsegmentator -a codex`. Or copy the skill folder (skills/repositories/repo-skills/totalsegmentator in VectorSpaceLab/AREX-Skill) into .agents/skills/totalsegmentator in your project. Codex loads it when a task matches its description.

Can I use Totalsegmentator 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 VectorSpaceLab/AREX-Skill --skill totalsegmentator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/totalsegmentator, .gemini/skills/totalsegmentator, .github/skills/totalsegmentator and .opencode/skills/totalsegmentator in your project.

What does Totalsegmentator need to run?

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

Does Totalsegmentator access the network?

SKILL.md contains no URLs. Its commands use pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Totalsegmentator 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 Totalsegmentator use?

Totalsegmentator is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Totalsegmentator use?

About 1.4k tokens (SKILL.md is roughly 5.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.9k tokens, read only when the agent opens those files.

What are the alternatives to Totalsegmentator?

Skills that share tags, products or a category with Totalsegmentator: Clinical Trials Database (google-deepmind/science-skills, 3.2k stars), CHARLS Paper Reproduction Guide (xjtulyc/MedgeClaw, 617 stars), Biomedical Analysis Dispatch (xjtulyc/MedgeClaw, 617 stars) and Research Proposal (luwill/research-skills, 858 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Totalsegmentator?

VectorSpaceLab (a GitHub organization) maintains it in VectorSpaceLab/AREX-Skill, which has 330 GitHub stars. The repository holds 159 skills in this directory. The repository was last updated on September 3, 2026.

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