计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
dicom-and-formats【效率与协作】Handle TotalSegmentator NIfTI and DICOM inputs, DICOM outputs, modality checks, and crop-to-body preprocessing.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when an agent needs to decide whether a TotalSegmentator input is NIfTI, a DICOM directory, or a DICOM zip; when it needs DICOM SEG or RTSTRUCT output; or when it needs crop-to-body preprocessing to reduce volume size.
scripts/validate_input_layout.py before building a long-running segmentation command..nii or .nii.gz inputs for ordinary NIfTI workflows; use a DICOM folder or zip when DICOM SEG/RTSTRUCT output is required.--output_type dicom_seg or --output_type dicom_rtstruct; do not request DICOM output from NIfTI input.crop_to_body command with scripts/crop_to_body_command.py and review it before running.../segmentation-workflows/SKILL.md after the format decision is settled.references/dicom-and-nifti.md covers accepted input layouts, DICOM conversion behavior, DICOM output rules, modality auto-correction, and crop-to-body usage.references/troubleshooting.md maps common format, DICOM dependency, orientation, zip, and crop-to-body failures to fixes.scripts/validate_input_layout.py inspects a candidate input path and optional output settings without loading model weights or running segmentation.scripts/crop_to_body_command.py prints a shell-quoted crop_to_body command; it does not execute the command.../capability-discovery/SKILL.md to discover valid tasks and class names with totalseg_info or the registry API.../segmentation-workflows/SKILL.md to run TotalSegmentator or python_api.totalsegmentator(...) after format choices are known.../outputs-and-statistics/SKILL.md for run reports, statistics, multilabel NIfTI consumption, probability outputs, and mask combination.../runtime-configuration/SKILL.md for installing optional DICOM libraries, model weights, licenses, offline config, devices, or backend setup.../auxiliary-analysis/SKILL.md for explicit NIfTI modality/phase/body-stats helper CLIs.python scripts/validate_input_layout.py ct.nii.gz --output-type nifti.python scripts/validate_input_layout.py series.zip --output-type dicom_seg --task total --strict.TotalSegmentator -i series.zip -o seg.dcm -ta total -ot dicom_seg --report run_report.json --quiet.python scripts/crop_to_body_command.py -i ct.nii.gz -o ct_cropped.nii.gz --device cpu --quiet.