hmdb-database

davila7/claude-code-templates · updated Apr 8, 2026

MDX-style export adds YAML metadata + attribution linking explainx.ai and this canonical listing URL.

$npx skills add https://github.com/davila7/claude-code-templates --skill hmdb-database
0 commentsdiscussion
summary

The Human Metabolome Database (HMDB) is a comprehensive, freely available resource containing detailed information about small molecule metabolites found in the human body.

skill.md

HMDB Database

Overview

The Human Metabolome Database (HMDB) is a comprehensive, freely available resource containing detailed information about small molecule metabolites found in the human body.

When to Use This Skill

This skill should be used when performing metabolomics research, clinical chemistry, biomarker discovery, or metabolite identification tasks.

Database Contents

HMDB version 5.0 (current as of 2025) contains:

  • 220,945 metabolite entries covering both water-soluble and lipid-soluble compounds
  • 8,610 protein sequences for enzymes and transporters involved in metabolism
  • 130+ data fields per metabolite including:
    • Chemical properties (structure, formula, molecular weight, InChI, SMILES)
    • Clinical data (biomarker associations, diseases, normal/abnormal concentrations)
    • Biological information (pathways, reactions, locations)
    • Spectroscopic data (NMR, MS, MS-MS spectra)
    • External database links (KEGG, PubChem, MetaCyc, ChEBI, PDB, UniProt, GenBank)

Core Capabilities

1. Web-Based Metabolite Searches

Access HMDB through the web interface at https://www.hmdb.ca/ for:

Text Searches:

  • Search by metabolite name, synonym, or identifier (HMDB ID)
  • Example HMDB IDs: HMDB0000001, HMDB0001234
  • Search by disease associations or pathway involvement
  • Query by biological specimen type (urine, serum, CSF, saliva, feces, sweat)

Structure-Based Searches:

  • Use ChemQuery for structure and substructure searches
  • Search by molecular weight or molecular weight range
  • Use SMILES or InChI strings to find compounds

Spectral Searches:

  • LC-MS spectral matching
  • GC-MS spectral matching
  • NMR spectral searches for metabolite identification

Advanced Searches:

  • Combine multiple criteria (name, properties, concentration ranges)
  • Filter by biological locations or specimen types
  • Search by protein/enzyme associations

2. Accessing Metabolite Information

When retrieving metabolite data, HMDB provides:

Chemical Information:

  • Systematic name, traditional names, and synonyms
  • Chemical formula and molecular weight
  • Structure representations (2D/3D, SMILES, InChI, MOL file)
  • Chemical taxonomy and classification

Biological Context:

  • Metabolic pathways and reactions
  • Associated enzymes and transporters
  • Subcellular locations
  • Biological roles and functions

Clinical Relevance:

  • Normal concentration ranges in biological fluids
  • Biomarker associations with diseases
  • Clinical significance
  • Toxicity information when applicable

Analytical Data:

  • Experimental and predicted NMR spectra
  • MS and MS-MS spectra
  • Retention times and chromatographic data
  • Reference peaks for identification

3. Downloadable Datasets

HMDB offers bulk data downloads at https://www.hmdb.ca/downloads in multiple formats:

Available Formats:

  • XML: Complete metabolite, protein, and spectra data
  • SDF: Metabolite structure files for cheminformatics
  • FASTA: Protein and gene sequences
  • TXT: Raw spectra peak lists
  • CSV/TSV: Tabular data exports

Dataset Categories:

  • All metabolites or filtered by specimen type
  • Protein/enzyme sequences
  • Experimental and predicted spectra (NMR, GC-MS, MS-MS)
  • Pathway information

Best Practices:

  • Download XML format for comprehensive data including all fields
  • Use SDF format for structure-based analysis and cheminformatics workflows
  • Parse CSV/TSV formats for integration with data analysis pipelines
  • Check version dates to ensure up-to-date data (current: v5.0, 2023-07-01)

Usage Requirements:

  • Free for academic and non-commercial research
  • Commercial use requires explicit permission (contact [email protected])
  • Cite HMDB publication when using data

4. Programmatic API Access

API Availability: HMDB does not provide a public REST API. Programmatic access requires contacting the development team:

Alternative Programmatic Access:

  • R/Bioconductor: Use the hmdbQuery package for R-based queries
    • Install: BiocManager::install("hmdbQuery")
    • Provides HTTP-based querying functions
  • Downloaded datasets: Parse XML or CSV files locally for programmatic analysis
  • Web scraping: Not recommended; contact team for proper API access instead

5. Common Research Workflows

Metabolite Identification in Untargeted Metabolomics:

  1. Obtain experimental MS or NMR spectra from samples
  2. Use HMDB spectral search tools to match against reference spectra
  3. Verify candidates by checking molecular weight, retention time, and MS-MS fragmentation
  4. Review biological plausibility (expected in specimen type, known pathways)

Biomarker Discovery:

  1. Search HMDB for metabolites associated with disease of interest
  2. Review concentration ranges in normal vs. disease states
  3. Identify metabolites with strong differential abundance
  4. Examine pathway context and biological mechanisms
  5. Cross-reference with literature via PubMed links

Pathway Analysis:

  1. Identify metabolites of interest from experimental data
  2. Look up HMDB entries for each metabolite
  3. Extract pathway associations and enzymatic reactions
  4. Use linked SMPDB (Small Molecule Pathway Database) for pathway diagrams
  5. Identify pathway enrichment for biological interpretation

Database Integration:

  1. Download HMDB data in XML or CSV format
  2. Parse and extract relevant fields for local database
  3. Link with external IDs (KEGG, PubChem, ChEBI) for cross-database queries
  4. Build local tools or pipelines incorporating HMDB reference data

Related HMDB Resources

The HMDB ecosystem includes related databases:

  • DrugBank: ~2,832 drug compounds with pharmaceutical information
  • T3DB (Toxin and Toxin Target Database): ~3,670 toxic compounds
  • SMPDB (Small Molecule Pathway Database): Pathway diagrams and maps
  • FooDB: ~70,000 food component compounds

These databases share similar structure and identifiers, enabling integrated queries across human metabolome, drug, toxin, and food databases.

Best Practices

Data Quality:

  • Verify metabolite identifications with multiple evidence types (spectra, structure, properties)
  • Check experimental vs. predicted data quality indicators
  • Review citations and evidence for biomarker associations

Version Tracking:

  • Note HMDB version used in research (current: v5.0)
  • Databases are updated periodically with new entries and corrections
  • Re-query for updates when publishing to ensure current information

Citation:

  • Always cite HMDB in publications using the database
  • Reference specific HMDB IDs when discussing metabolites
  • Acknowledge data sources for downloaded datasets

Performance:

  • For large-scale analysis, download complete datasets rather than repeated web queries
  • Use appropriate file formats (XML for comprehensive data, CSV for tabular analysis)
  • Consider local caching of frequently accessed metabolite information

Reference Documentation

See references/hmdb_data_fields.md for detailed information about available data fields and their meanings.

how to use hmdb-database

How to use hmdb-database on Cursor

AI-first code editor with Composer

1

Prerequisites

Before installing skills in Cursor, ensure your development environment meets these requirements:

  • Cursor installed and configured on your development machine
  • Node.js version 16.0+ with npm package manager (verify with node --version)
  • Active project directory or workspace where you want to add hmdb-database
2

Execute installation command

Execute the skills CLI command in your project's root directory to begin installation:

$npx skills add https://github.com/davila7/claude-code-templates --skill hmdb-database

The skills CLI fetches hmdb-database from GitHub repository davila7/claude-code-templates and configures it for Cursor.

3

Select Cursor when prompted

The CLI will show a list of available agents. Use arrow keys to navigate and space to select Cursor:

◆ Which agents do you want to install to?
│ ── Universal (.agents/skills) ── always included ────
│ • Amp
│ • Antigravity
│ • Cline
│ • Codex
│ ●Cursor(selected)
│ • Cursor
│ • Windsurf
4

Verify installation

Confirm successful installation by checking the skill directory location:

.cursor/skills/hmdb-database

Reload or restart Cursor to activate hmdb-database. Access the skill through slash commands (e.g., /hmdb-database) or your agent's skill management interface.

Security & Verification Notice

We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.

Skills execute code in your development environment. Always verify the publisher's identity, review recent commits, and test in isolated environments before production deployment.

List & Monetize Your Skill

Submit your Claude Code skill and start earning

GET_STARTED →

Use Cases

User Story & Requirements Generation

Create detailed user stories, acceptance criteria, and feature specs

Example

Generate user stories for 'password reset feature' with acceptance criteria, edge cases, and test scenarios

Reduce spec writing time by 50%, ensure comprehensive coverage

Competitive Analysis

Research competitors, compare features, identify gaps

Example

Analyze 5 competitor products, create feature comparison matrix, suggest differentiation opportunities

Complete competitive research in 2 hours instead of 2 days

Roadmap Prioritization

Evaluate features using frameworks (RICE, ICE, Kano) and create prioritized backlogs

Example

Score 20 feature ideas using RICE framework, generate prioritized roadmap with rationale

Make data-driven prioritization decisions faster

Stakeholder Communication

Draft PRDs, status updates, and stakeholder presentations

Example

Create executive summary of Q3 roadmap, monthly progress report, feature launch announcement

Save 3-5 hours/week on communication overhead

Implementation Guide

Prerequisites

  • Claude Desktop or compatible AI client
  • Access to product documentation and roadmap tools (Jira, Notion, etc.)
  • Understanding of product management frameworks (RICE, Jobs-to-be-Done, etc.)
  • Stakeholder contact information and communication channels

Time Estimate

30-60 minutes to see productivity improvements

Installation Steps

  1. 1.Install product management skill
  2. 2.Start with user story generation for known feature
  3. 3.Progress to competitive analysis: research 2-3 competitors
  4. 4.Use for roadmap prioritization: apply RICE/ICE scoring
  5. 5.Draft stakeholder communications and refine based on feedback
  6. 6.Build template library for recurring PM tasks
  7. 7.Share effective prompts with product team

Common Pitfalls

  • Not validating competitive research—verify facts before sharing
  • Accepting user stories without involving engineering team
  • Over-relying on frameworks without qualitative judgment
  • Not customizing outputs to company culture and communication style
  • Skipping stakeholder validation of generated requirements

Best Practices

✓ Do

  • +Validate research and competitive analysis with real data
  • +Collaborate with engineering when generating technical requirements
  • +Customize frameworks and templates to your company context
  • +Use skill for first drafts, refine with stakeholder input
  • +Document successful prompt patterns for PM tasks
  • +Combine AI efficiency with human judgment and intuition

✗ Don't

  • Don't publish competitive analysis without fact-checking
  • Don't finalize user stories without engineering review
  • Don't make prioritization decisions solely on AI scoring
  • Don't skip customer validation of generated requirements
  • Don't ignore company-specific context and culture

💡 Pro Tips

  • Provide context: company goals, constraints, customer feedback
  • Ask for alternatives: 'Show 3 ways to prioritize this roadmap'
  • Request stakeholder-specific formatting: 'Executive summary vs. engineering spec'
  • Use skill for 70% generation + 30% customization to company needs

When to Use This

✓ Use When

Use for user story writing, competitive research, roadmap prioritization, stakeholder communication, and PRD drafting. Best for reducing repetitive documentation and research work.

✗ Avoid When

Avoid for strategic product vision (requires deep customer empathy), pricing decisions (needs market and financial expertise), or when face-to-face customer discovery is more valuable than speed.

Learning Path

  1. 1Basic: user stories, feature specs, status updates
  2. 2Intermediate: competitive analysis, prioritization frameworks, PRDs
  3. 3Advanced: product strategy, go-to-market planning, OKR setting
  4. 4Expert: product vision, market positioning, business model innovation

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.529 reviews
  • Lucas Martinez· Dec 20, 2024

    Useful defaults in hmdb-database — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Aanya Martin· Dec 8, 2024

    hmdb-database has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Ganesh Mohane· Dec 4, 2024

    Useful defaults in hmdb-database — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Kabir Abebe· Nov 27, 2024

    hmdb-database fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Sakshi Patil· Nov 23, 2024

    hmdb-database is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Soo Kim· Nov 11, 2024

    hmdb-database is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Yash Thakker· Nov 3, 2024

    Registry listing for hmdb-database matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Dhruvi Jain· Oct 22, 2024

    hmdb-database reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Kabir Malhotra· Oct 18, 2024

    We added hmdb-database from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Chaitanya Patil· Oct 14, 2024

    Keeps context tight: hmdb-database is the kind of skill you can hand to a new teammate without a long onboarding doc.

showing 1-10 of 29

1 / 3