Agent skill · Data & Analytics

imaging-data-commons

Query and download public cancer imaging data from NCI Imaging Data Commons using idc-index. Use for accessing large-scale radiology (CT, MR, PET) and pathology datasets for AI training or research. No authentication required. Query by metadata, visualize in browser, check licenses.

BioTender-maxgithub.com/BioTender-maxGitHub ↗
claude-codeNOASSERTION
Install
npx skills add BioTender-max/awesome-bio-agent-skills --skill imaging-data-commons --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 11
SKILL.md size: 36 KB
Bundled scripts: none
Version: 1.4.0
Path: skills/kdense/imaging-data-commons/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 135
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

Review
written from the skill's own SKILL.md · Aug 5, 2026

What it does

Uses the idc-index Python package to query and download public cancer imaging data from the NCI Imaging Data Commons. It enables querying by metadata, downloading DICOM files, and visualizing in a browser, with no authentication required.

How it works

  1. Ensure idc-index is installed (pip install --upgrade idc-index).
  2. Create an IDCClient instance and run client.sql_query() to query the index for metadata (e.g., collection stats).
  3. Call client.fetch_index("collections_index") or other tables (e.g., analysis_results_index) for richer metadata.
  4. Use client.download_from_selection() to download DICOM files from a selected subset.
  5. Visualize in browser with client.get_viewer_URL(seriesInstanceUID=...).
  6. Confirm IDC data version (client.get_idc_version()) and verify it matches v23, upgrading idc-index if needed.
  7. Verify licensing and data licenses before use, referencing IDC data licensing guidelines.

When to use it

  • Finding publicly available radiology or pathology images
  • Selecting image subsets by cancer type, modality, or metadata
  • Downloading DICOM data from IDC
  • Visualizing medical images in a browser without a local DICOM viewer

What it can touch

  • Idc-index package and IDCClient API for querying, fetching index data, and downloading data
  • DICOM files downloaded via idc-index workflow
  • Browser-based image viewer URLs generated by get_viewer_URL

Caveats

  • IDC data licensing applies to data usage; data licenses must be respected when using the data
  • Requires verification that IDC data version is v23; upgrade idc-index if the installed version is older than 0.11.14
  • Hardware/network requirements not specified; follow installation and environment recommendations in the installation section
From the SKILL.md

# Imaging Data Commons ## Overview Use the `idc-index` Python package to query and download public cancer imaging data from the National Cancer Institute Imaging Data Commons (IDC). No authentication required for data access. **Current IDC Data Version: v23** (always verify with `IDCClient().get_idc_version()`) **Primary tool:** `idc-index` ([GitHub](https://github.com/imagingdatacommons/idc-index)) **CRITICAL - Check package version and upgrade if needed (run this FIRST):** ```python import idc_index REQUIRED_VERSION = "0.11.14" # Must match metadata.idc-index in this file installed = idc_index.__version__ if installed < REQUIRED_VERSION: print(f"Upgrading idc-index from {installed} to {REQUIRED_VERSION}...") import subprocess subprocess.run(["pip3", "install", "--upgrade", "--break-system-packages", "idc-index"], check=True) print("Upgrade complete. Restart Python to use new version.") else: print(f"idc-index {installed} meets requirement ({REQUIRED_VERSION})") ``` **Verify IDC data version and check current data scale:** ```python from idc_index import IDCClient client = IDCClient() # Verify IDC data version (should be "v23") print(f"IDC data version: {client.get_idc_version()}"

What's inside
Steps it walks through
  1. Overview
  2. When to Use This Skill
  3. Quick Navigation
  4. IDC Data Model
  5. Index Tables
  6. Available Tables
  7. Joining Tables
  8. Clinical Data Access
  9. Data Access Options
  10. Installation and Setup
  11. Core Capabilities
  12. 1. Data Discovery and Exploration
  13. 2. Querying Metadata with SQL
  14. 3. Downloading DICOM Files
Ships with 10 files
  • references/bigquery_guide.md
  • references/cli_guide.md
  • references/clinical_data_guide.md
  • references/cloud_storage_guide.md
  • references/dicomweb_guide.md
  • references/digital_pathology_guide.md
  • references/index_tables_guide.md
  • references/parquet_access_guide.md
  • references/sql_patterns.md
  • references/use_cases.md
Commands it runs
pip install --upgrade idc-index
pip install pandas numpy pydicom
Download entire collection
idc download rider_pilot --download-dir ./data
Download specific series by UID
idc download "1.3.6.1.4.1.9328.50.1.69736" --download-dir ./data
Download multiple items (comma-separated)
idc download "tcga_luad,tcga_lusc" --download-dir ./data
Download from manifest file (auto-detected)
idc download manifest.txt --download-dir ./data
More from awesome-bio-agent-skills
All skills →
About this skill
What does the imaging-data-commons skill do?

Query and download public cancer imaging data from NCI Imaging Data Commons using idc-index. Use for accessing large-scale radiology (CT, MR, PET) and pathology datasets for AI training or research. No authentication required. Query by metadata, visualize in browser, check licenses.

How do I install it?

Run `npx skills add BioTender-max/awesome-bio-agent-skills --skill imaging-data-commons --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From BioTender-max/awesome-bio-agent-skills, a repository with 135 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going