A skills repository providing clean and secure integration between AI coding agents (Claude Code, OpenAI Codex, Gemini CLI) and the HistAI Whole Slide Image Data Hub.
This repository provides:
- 🔍 Search pathology cases by diagnosis, organ, age, stains, and clinical criteria
- 📊 Build research cohorts for machine learning and clinical studies
- 💾 Export whole slide images (WSI) with comprehensive metadata
- 💰 Manage costs with volume-based pricing and selective slide downloads
To use these skills, you must:
- Have an active subscription on our CellDX platform
- Have 2FA authentication enabled on your CellDX account
- Generate an API Key from Profile Settings → API Keys
This repository is compatible with Claude Code, OpenAI Codex, and Gemini CLI. Choose your preferred agent below:
-
Register this repository as a plugin marketplace:
/plugin marketplace add histai/datahub -
Install the Cohort Builder skill:
/plugin install cohort-builder@histai-datahub -
Configure your API key:
- Generate an API key from CellDX Platform → Profile Settings → API Keys
- Set it as an environment variable:
export HISTAI_API_KEY="your-api-key"
-
Start using:
- Example: "Search for breast cancer cases with HER2 IHC staining"
If you prefer local installation:
-
Clone this repository:
git clone https://github.com/histai/datahub.git cd datahub -
Register as a local skill:
/plugin add-localPoint to the
skills/cohort_builder/SKILL.mdfile.
Codex automatically detects skills via the agents/AGENTS.md file.
-
Clone the repository:
git clone https://github.com/histai/datahub.git cd datahub -
Verify skills are loaded:
codex --ask-for-approval never "Summarize the current instructions." -
Configure API key:
export HISTAI_API_KEY="your-api-key"
For more details, see the Codex AGENTS guide.
This repository includes gemini-extension.json for Gemini CLI integration.
-
Install from GitHub:
gemini extensions install https://github.com/histai/datahub.git --consent
Or install locally:
git clone https://github.com/histai/datahub.git cd datahub gemini extensions install . --consent
-
Configure API key:
export HISTAI_API_KEY="your-api-key"
-
Start using:
- The Gemini CLI will automatically load the cohort_builder skill
- Interact with the HistAI Datahub through natural language
See Gemini CLI extensions docs for more help.
Search pathology cases by diagnosis, organ, age, and stains. Filter datasets (benign/malignant, cancer types), build research cohorts, and export whole slide images with clinical and technical metadata.
Full documentation: skills/cohort_builder/SKILL.md
datahub/
├── .claude-plugin/
│ └── marketplace.json # Claude Code marketplace configuration
├── agents/
│ └── AGENTS.md # OpenAI Codex skill definitions
├── skills/
│ └── cohort_builder/
│ └── SKILL.md # Main skill documentation
├── gemini-extension.json # Gemini CLI extension configuration
└── README.md # This file
- Base URL:
https://prod.celldx.net - Authentication: API Key via
X-API-KEYheader - Documentation: See individual skill files for detailed API reference
For issues, custom data requests, or enterprise inquiries:
- 📧 Sales: sales@hist.ai
- 📚 Documentation: skills/cohort_builder/SKILL.md
- 🌐 Platform: https://celldx.hist.ai
All Whole Slide Images (WSI) accessed through this API are distributed under the HistAI Commercial License.
- 📄 License: HistAI Commercial License (DLA)
- 🔒 Terms: Review the Data Licensing Agreement before purchasing cohorts
- ⚖️ Usage Rights: Commercial and research use as specified in the DLA
This repository and its code are provided under the LICENSE file. Note that the WSI data accessed through the API has separate licensing terms (see Data Licensing above).