Agent skill · NVIDIA
dicom-metadata-extract
Used for extracting selected metadata from one DICOM file and flagging standard-tag PHI presence. Not for anonymization or clinical use.
What it needs
About 2k tokens when loaded.
What this skill does
DICOM Metadata Extract Purpose Used for extracting selected metadata from one DICOM file and flagging standard-tag PHI presence. Not for anonymization or clinical use. Use the wrapper exactly as documented; do not replace the upstream entrypoint with a handwritten implementation. Manifest I/O: inputs are dicompath; outputs are metadatajson. Instructions Read skillmanifest.yaml before changing arguments, side effects, or validation gates. Run scripts/extractmetadata.py through the documented command below; keep outputs under a caller-provided run directory. If a host agent exposes runscript, use runscript("scripts/extractmetadata.py", args=[...]); otherwise run the Bash/Python command shown below. Check the emitted JSON and run medagent.verifiers.dicommetadataqualityv1 on evidence packs before treating the run as reviewed evidence. Available Scripts Script Purpose Arguments --- --- --- scripts/extractmetadata.py Primary entrypoint declared by skillmanifest.yaml. PATHTODICOM [--output OUT.json] Prerequisites Runtime requirements: Python packages listed in runtime.sideeffects.pippackages. Run commands from the repository root unless an existing section below says otherwise. Limitations Small PS3.15-inspired standard-tag subset only; not a complete Basic Application Confidentiality Profile implementation. Private tags not checked Burnt-in pixel PHI not detected Multi-frame handling minimal Not for clinical deployment, regulatory de-identification, autonomous diagnosis, patient-facing use. Troubleshooting Error Cause Fix --- --- --- Missing dependency or import error Runtime package drift from skillmanifest.yaml. Install the packages declared in the manifest or use the documented setup command. Empty or schema-invalid output Wrong input path, unsupported modality, or upstream failure. Re-run with a known fixture and inspect the wrapper JSON plus stderr. Validation gate failure Output violated a declared engineering invariant. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills NVIDIA/dicom-metadata-extract