Searches the Human Metabolome Database (220K+ metabolites) by name, HMDB ID, SMILES, or disease to retrieve chemical properties, biomarker data, NMR/MS spectra, and pathway associations. Useful for metabolomics annotation and biomarker lookup.
The Human Metabolome Database (HMDB) is a comprehensive, freely available resource containing detailed information about small molecule metabolites found in the human body.
HMDB serves no public REST API, and the whole site (records, .xml URLs, search, downloads)
answers scripted requests with a Cloudflare challenge (HTTP 403, cf-mitigated: challenge;
checked 2026-10-23). Start with scripts/hmdb_open.py (stdlib only, JSON to stdout), which
assembles HMDB content from keyless mirrors and labels every value with its source:
python scripts/hmdb_open.py record HMDB0000001 # identity + HMDB annotations + concentrations
python scripts/hmdb_open.py disease "diabetes mellitus type 2" --biofluid Blood # biomarkers
python scripts/hmdb_open.py structure "CN1C=NC2=C1C(=O)N(C(=O)N2)C" # SMILES -> HMDB ID(s)
record: PubChem (HMDB accessions are PubChem RegistryIDs) gives name, formula, average and
monoisotopic mass, SMILES, InChI/InChIKey; PubChem's HMDB-sourced PUG-View entries give tissue
and cellular locations, metabolite pathways and disease associations with PubMed IDs; MarkerDB
(Wishart lab, built on HMDB) gives measured normal and condition concentrations per biofluid.
HMDB0000001 -> 1-methyl-L-histidine, C7H11N3O2, 169.18; measured in Blood (normal 12.7 µM) and
Urine. HMDB's full biospecimen list (e.g. CSF, saliva, feces entries without concentrations)
is only on hmdb.ca: say so instead of filling it in from memory.disease: MarkerDB's condition card — every chemical biomarker with biofluid, disease vs
normal concentration, p-value/AUC where given, clinical status, PMIDs and HMDB ID. "Diabetes
Mellitus Type 2" -> 28 records over 24 metabolites, 21 in Blood (e.g. D-glucose HMDB0000122
6300 vs 3900 µM; 1,5-anhydrosorbitol HMDB0002712 62 vs 150 µM). MarkerDB/HMDB report serum
and plasma together as "Blood".structure: exact-structure match -> PubChem CID -> HMDB accession(s), plus same-formula
isomers that carry an HMDB accession (paraxanthine HMDB0001860 vs theophylline HMDB0001889 and
theobromine HMDB0002825 — a mass match alone cannot separate them).scripts/query_hmdb.py fetches and parses the HMDB XML record itself (python scripts/query_hmdb.py HMDB0000001) and works only where hmdb.ca lets your network through.
For bulk work download the XML/SDF dumps from https://www.hmdb.ca/downloads in a browser.
This skill should be used when performing metabolomics research, clinical chemistry, biomarker discovery, or metabolite identification tasks: identifying a human metabolite, reading its biofluid concentrations and disease/biomarker associations, or matching it against HMDB reference NMR/MS spectra.
| Scenario | Use Instead |
|---|---|
| Generic compound identifiers, properties, or bioassays for any small molecule | alterlab-pubchem |
| Primary metabolomics study datasets, RefMet standardized names | alterlab-metabolomics-wb |
| Pathway maps and KEGG compound/reaction IDs | alterlab-kegg |
| Computing MS/MS spectral similarity on your own spectra files | alterlab-matchms |
| Drug pharmacology, targets, and interactions | alterlab-drugbank |
Hand-off rule. When the request matches a row above, open your answer by naming that skill by its exact id (for example alterlab-pubchem) and saying in one line why it fits better, then stop applying this skill's procedure. Name it even when you also need to ask for missing input. If only part of the request is out of scope, name the skill for that part and do only the in-scope part. A brief general pointer is fine; the named skill does the work.
HMDB version 5.0 (released 2022; latest major version as of mid-2026) contains:
Access HMDB through the web interface at https://www.hmdb.ca/ for:
Text Searches:
Structure-Based Searches:
Spectral Searches:
Advanced Searches:
When retrieving metabolite data, HMDB provides:
Chemical Information:
Biological Context:
Clinical Relevance:
Analytical Data:
HMDB offers bulk data downloads at https://www.hmdb.ca/downloads in multiple formats:
Available Formats:
Dataset Categories:
Best Practices:
Usage Requirements:
HMDB publishes no documented public REST API. Practical programmatic routes, in order of preference:
https://www.hmdb.ca/metabolites/<ID>.xml (used by scripts/query_hmdb.py). Undocumented, and in Sept 2026 it answered scripted clients with a Cloudflare challenge (HTTP 403) — usable only when your network is allowed through; never for batch jobs. When it is blocked, say so rather than filling fields from memory.scripts/hmdb_open.py (see Scripts) combines the two routes below with MarkerDB's concentration records.https://pubchem.ncbi.nlm.nih.gov/rest/pug/compound/xref/RegistryID/HMDB0000001/cids/JSON returns CID 92105 (1-methylhistidine), after which structure and properties come from PubChem (alterlab-pubchem). UniChem maps HMDB (source 18) to ChEBI/ChEMBL/KEGG: POST https://www.ebi.ac.uk/unichem/api/v1/compounds with {"type": "sourceID", "compound": "HMDB0000001", "sourceID": 18}. PubChem also mirrors HMDB's tissue/cellular locations, pathways and disease associations (PUG-View sections whose source is "Human Metabolome Database (HMDB)"), and MarkerDB (https://markerdb.ca, keyless HTML; its JSON API needs a key) holds normal and disease concentrations by biofluid. Reference NMR/MS spectra still require HMDB itself (or its downloads).hmdbQuery: deprecated and removed from current Bioconductor (last shipped in 3.21); don't build new workflows on it.Metabolite Identification in Untargeted Metabolomics:
Biomarker Discovery:
Pathway Analysis:
Database Integration:
The HMDB ecosystem includes related databases:
These databases share similar structure and identifiers, enabling integrated queries across human metabolome, drug, toxin, and food databases.
Data Quality:
Version Tracking:
Citation:
Performance:
See references/hmdb_data_fields.md for detailed information about available data fields and their meanings.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Not loaded · from alterlab-writing-tools
Claude Code won't load this skill
It ships in alterlab-writing-tools at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
Generated from the plugin's indexed repository (alterlab-ieu/alterlab-academic-skills) — no native marketplace selected
npx claudepluginhub p/alterlab-ieu-alterlab-writing-tools2 plugins in one repository ship this exact skill · first indexed Nov 9, 2026
241 skills in this plugin
/alterlab-abm-mesaBuilds agent-based models of social systems with Mesa 3 — the current AgentSet API (model.agents.shuffle_do('step'), auto-assigned unique_id, mandatory super().__init__(rng=...)), cell spaces (mesa.discrete_space OrthogonalMooreGrid / classic mesa.space grids), the DataCollector, batch_run parameter sweeps, and SolaraViz — for emergence, segregation, diffusion, opinion dynamics, and cooperation models. It uses the Mesa 3.x API (the old mesa.time schedulers like RandomActivation are removed) and treats the model as a generative theory to be validated, not just run. Use when the request mentions an agent-based model, Mesa, simulating interacting agents, or emergent macro behavior from micro rules. For discrete-event (queueing/process) simulation prefer alterlab-simpy; for reinforcement learning prefer alterlab-stable-baselines3. Part of the AlterLab Academic Skills suite./alterlab-academic-careerPrepares academic career documents and professional-development materials for faculty and researchers. Use when drafting academic CVs, research statements, teaching philosophies, diversity statements, faculty-position cover letters, tenure dossiers, promotion narratives, academic portfolios, or mentorship statements, and when planning conference-networking strategy, building academic web presence, setting up ORCID profiles, or understanding impact metrics. Part of the AlterLab Academic Skills suite.Other plugins' skills for the same job