Skip to content
Back to skills

Outputs And Statistics

ASecurity

"Consume TotalSegmentator masks, run reports, statistics,

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 9, 2026
toolspythonapi

Works with

  • api

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill outputs-and-statistics --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Outputs And Statistics?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Outputs And Statistics
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-outputs-and-statistics/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-outputs-and-statistics)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: outputs-and-statistics
description: "Consume TotalSegmentator masks, run reports, statistics,
  radiomics, probabilities, multilabel files, and combined-mask outputs."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# TotalSegmentator Outputs and Statistics

Use this sub-skill when a segmentation has already been run and the next task is to validate, summarize, post-process, or combine its outputs. For running a segmentation, route to [segmentation-workflows](../segmentation-workflows/SKILL.md); for task and class discovery, route to [capability-discovery](../capability-discovery/SKILL.md); for DICOM output mechanics, route to [dicom-and-formats](../dicom-and-formats/SKILL.md).

## What This Covers

- Validate `--report` JSON manifests without scraping stdout.
- Read `statistics.json`, `statistics_radiomics.json`, and `--statistics_extra` metrics.
- Understand per-class masks, `--ml` multilabel outputs, label maps, and `--save_probabilities` side outputs.
- Build safe `totalseg_combine_masks` commands for lung, ribs, vertebrae, heart, pelvis, and body masks.
- Diagnose common output/report/statistics failures after a run completes.

## Quick Paths

- Run report schema and validation: [references/reports-and-statistics.md](references/reports-and-statistics.md)
- Output format behavior and post-processing commands: [references/output-formats.md](references/output-formats.md)
- Troubleshooting matrix: [references/troubleshooting.md](references/troubleshooting.md)
- Summarize or enforce a report: `python scripts/inspect_run_report.py --report seg/run_report.json --require-task total --require-class liver`
- Inspect a multilabel label map: `python scripts/inspect_multilabel_header.py seg.nii.gz --require-label spleen`
- Build a combine command: `python scripts/combine_masks_command.py --input seg/ --output lung.nii.gz --mode lung`

## Operating Rules

- Treat `run_report.json` and `statistics.json` as the automation contract; do not parse human progress text.
- Use `report.classes` to interpret class names, especially after `--roi_subset` filters the run.
- Expect `report.output_files` to be populated only when `output` is a directory of NIfTI files; it can be empty for single-file multilabel or DICOM-style outputs.
- Do not rerun segmentation to combine masks; use existing per-class masks or a multilabel NIfTI with `totalseg_combine_masks`.
- If a class or task name is unknown, route to [capability-discovery](../capability-discovery/SKILL.md) and query `totalseg_info` instead of hard-coding names.

Files in this skill

  • SKILL.md2.5 KB
  • references/output-formats.md5.4 KB
  • references/reports-and-statistics.md5.8 KB
  • references/troubleshooting.md6.9 KB
  • scripts/combine_masks_command.py3.5 KB
  • scripts/inspect_multilabel_header.py4.4 KB
  • scripts/inspect_run_report.py7.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.