hmdb-database
Skill by davila7
Queries the Human Metabolome Database (HMDB) for metabolite data, including chemical properties, biomarkers, spectra and pathways. It is aimed at metabolomics researchers, clinical chemists and anyone doing metabolite identification.
Install hmdb-database
Built from the published package, never by AI.
git clone --depth 1 https://github.com/davila7/claude-code-templates /tmp/claude-code-templates && mkdir -p ~/.claude/skills && cp -r /tmp/claude-code-templates/cli-tool/components/skills/scientific/hmdb-database ~/.claude/skills/hmdb-databaseRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/davila7/claude-code-templates /tmp/claude-code-templates && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/claude-code-templates/cli-tool/components/skills/scientific/hmdb-database ~/.gemini/antigravity-cli/skills/hmdb-databaseAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill gives an assistant guidance for working with the Human Metabolome Database (HMDB), a freely available resource of small molecule metabolites found in the human body. The source describes HMDB version 5.0 as containing 220,945 metabolite entries and 8,610 protein sequences, with more than 130 data fields per metabolite. The skill covers text, structure and spectral searches, retrieval of chemical, biological and clinical information, and bulk downloads in XML, SDF, FASTA, TXT and CSV/TSV formats.
The skill also outlines workflows for untargeted metabolite identification, biomarker discovery and pathway analysis. The source states that HMDB has no public REST API, so programmatic access goes through the team or the hmdbQuery R package, or through locally parsed downloads. It is intended for metabolomics research, clinical chemistry, biomarker discovery and metabolite identification.
Written from the project's SKILL.md and checked against it.
What it can do
- Text and ID searchesSearch HMDB by metabolite name, synonym, HMDB ID, disease or specimen type.
- Structure searchesUse ChemQuery, SMILES or InChI strings for structure and substructure searches.
- Spectral matchingMatch LC-MS, GC-MS and NMR spectra against HMDB reference data.
- Metabolite informationRetrieve formulas, structures, pathways, enzymes, normal concentrations and biomarker links.
- Bulk downloadsDownload metabolite, protein and spectra data as XML, SDF, FASTA, TXT or CSV/TSV.
- R access via hmdbQueryQuery HMDB from R using the hmdbQuery Bioconductor package.
- Biomarker discovery workflowSteps to find disease-linked metabolites and compare concentration ranges.
- Pathway analysis workflowSteps to extract pathway associations and link to SMPDB diagrams.
What you need
- R and Bioconductor, only if using the hmdbQuery package
Try asking
- Find HMDB entries and chemical properties for a metabolite I name
- List metabolites linked to a disease as biomarkers in HMDB
- Map HMDB metabolites to KEGG and PubChem IDs from a CSV export
Good to know
- HMDB has no public REST API; access requires contacting the team.
- Free for academic and non-commercial research only.
- Commercial use requires explicit permission from HMDB.
- Web scraping is not recommended by the source.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: cli-tool/components/skills/scientific/hmdb-database/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md7 KB -
references/hmdb_data_fields.md9 KB
Alternatives to hmdb-database
All alternatives →Searches arXiv for scientific papers and preprints, extracts their metadata and abstracts, and downloads PDF or HTML full text. Suited to users who need research papers, literature or specific arXiv IDs.
Downloads AlphaFold predicted structures and PAE matrices for a UniProt ID, then reports pLDDT confidence, domain boundaries and disorder. Built for users who already have a UniProt accession.
Queries the QuickGO and Evidence & Conclusion Ontology REST API to map genes to Gene Ontology terms. Built for researchers doing functional annotation and GO hierarchy exploration.
Connects an AI assistant to Peloton to browse fitness classes, check live and archived schedules, and manage workouts. Built for Peloton users who want to plan rides from their assistant.
Queries NCBI Gene through the E-utilities and Datasets API. It helps researchers search genes by symbol or ID, retrieve gene details, and run batch lookups for annotation and functional analysis.
Prepares and launches nf-core/pacsomatic runs for matched tumor-normal PacBio HiFi data starting from unaligned BAM files. It generates samplesheets and pinned launch artifacts, then runs locally or submits to a scheduler.
Compare with literature-search-arxiv, alphafold-database-fetch-and-analyze or quickgo-database
hmdb-database: common questions
Does HMDB have a public API?
No. The source says HMDB does not provide a public REST API. Programmatic access requires contacting the development team, or using the hmdbQuery R package or local downloads.
Can I use HMDB data for commercial work?
Commercial use requires explicit permission. The source gives samackay@ualberta.ca as the contact for commercial use.
What file formats can I download from HMDB?
The source lists XML, SDF, FASTA, TXT and CSV/TSV. It recommends XML for complete data and SDF for cheminformatics.
How do I install hmdb-database?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is hmdb-database free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is hmdb-database safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to hmdb-database?
Similar skills: literature-search-arxiv, alphafold-database-fetch-and-analyze, quickgo-database, peloton.
