Pydicom
ListedThis skill utilizes PyDICOM to read and manipulate DICOM medical images, enabling developers to integrate imaging data into applications.
Install on your platform
Showing Claude Code. One command installs this skill into any of the agents below.
- 1
Run this in your project
terminal$ npx skills add davila7/claude-code-templates --skill pydicom -a claude-code Uses the open-source
skillsCLI and needs Node.js. Add-gto install it for your user instead of this project.
What we know about this skill
Publisher
davila7
Taken from the source listing. We haven't verified who controls this account.
Install target
Live repository
Not pinned. Installing fetches whatever the repository holds at the time you run the command.
Automated safety checks
We could not read this skill's source, so none of the checks below were run.
About this skill
What it does
This skill provides access to the pydicom library, enabling AI agents to read, manipulate, and write DICOM (Digital Imaging and Communications in Medicine) files. It allows parsing of metadata within these files, extracting patient information, image dimensions, and other relevant data. The agent can also perform basic modifications to existing DICOM datasets before saving them.
When to use it
- Analyzing medical images: Extracting key data points from DICOM files for research or reporting purposes.
- Automating tasks in radiology workflows: Modifying image metadata, such as patient names or study dates, based on specific criteria.
- Converting between different DICOM formats: Transforming DICOM datasets to a more usable format for downstream processing.
- Building custom medical imaging applications: Integrating DICOM data handling into larger software projects.
Key capabilities
- DICOM file parsing and reading
- Metadata extraction from DICOM files
- DICOM dataset modification
- DICOM file writing/saving
Example prompts
- "Extract the patient's name and study date from this DICOM file."
- "Modify the accession number in this DICOM file to 'NEW-ACCESSION'."
- "Save this DICOM dataset as a new PNG image."
Tips & gotchas
- Requires familiarity with DICOM data structures. Understanding DICOM tags and their meanings is helpful for effective use.
- DICOM files can be large, so ensure sufficient memory resources are available when processing them.