Agent skill

Hmdb Database

by aipoch in aipoch/medical-research-skills

Access the Human Metabolome Database (HMDB) to search metabolites by name/structure/ID and extract chemical/biological/clinical fields when you need metabolomics research data or automated HMDB XML…

MITAuto-check passedResearch & Science

Install Hmdb Database

skills CLI
$ npx skills add aipoch/medical-research-skills --skill hmdb-database -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aipoch/medical-research-skills hmdb-database --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aipoch/medical-research-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/'scientific-skills/Evidence Insight/hmdb-database' .claude/skills/hmdb-database && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
hmdb-database
GitHub stars
2k
Token cost
~985 tokens
SKILL.md length
359 words
Files
4 (incl. scripts, references)
Skills in repo
567
Repo updated
First seen
Licence
MIT

At a glance

Access the Human Metabolome Database (HMDB) to search metabolites by name/structure/ID and extract chemical/biological/clinical fields when you need metabolomics research data or automated HMDB XML…

  • Works in 3 steps: Download HMDB XML → Search and Extract Fields (Runnable… → Field Reference
  • Research & Science work in your project
  • SKILL.md covers When to Use, Key Features, Dependencies and Example Usage, plus 1 more section
  • Runs Python scripts from its folder

What it does

Hmdb Database is an agent skill from aipoch/medical-research-skills. Access the Human Metabolome Database (HMDB) to search metabolites by name/structure/ID and extract chemical/biological/clinical fields when you need metabolomics research data or automated HMDB XML mining.

Its SKILL.md is about 990 tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including scripts and reference files (for example `hmdb-database_audit_result_v1.json`, `references/hmdb_data_fields.md` and `scripts/hmdb_parser.py`).

It sits in Research & Science. The repository describes itself as: Hundreds of agent skills for medical research, including protocol design, data analysis, evidence insights, and academic writing. The licence is MIT.

When your agent uses it

  • Research & Science work in your project

Example prompts

  • “/hmdb-database”

Requirements

  • Python 3

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. Download HMDB XML
  2. Search and Extract Fields (Runnable Example)
  3. Field Reference

What it can do on your machine

Read from SKILL.md and the folder at commit 686e09d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • hmdb.ca

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Hmdb Database loads about 985 tokens when it runs, and up to ~1.3k if it reads all its reference files. Until then it costs about 55 tokens; SKILL.md has 359 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~55
When it runs · the whole SKILL.md, loaded when a task matches
~985
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from aipoch/medical-research-skills at commit 686e09d, republished under its MIT licence (© aipoch). 359 words, ~985 tokens.

Download SKILL.mdSave it as .claude/skills/hmdb-database/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
hmdb-database
description
Access the Human Metabolome Database (HMDB) to search metabolites by name/structure/ID and extract chemical/biological/clinical fields when you need metabolomics research data or automated HMDB XML mining.
license
MIT
author
AIPOCH

Source: https://github.com/aipoch/medical-research-skills

When to Use

  • You need to look up a metabolite by common name (e.g., “Caffeine”) and retrieve its HMDB entry data.
  • You have an HMDB ID (e.g., HMDB0000001) and want to extract standardized chemical/biological/clinical fields for downstream analysis.
  • You want to build a local, scriptable pipeline to mine the HMDB XML dump instead of manually browsing the website.
  • You need to map HMDB identifiers to external resources (e.g., KEGG, PubChem, ChEBI) for integration tasks.
  • You are preparing metabolomics datasets and need pathway/enzyme/transporter annotations from HMDB entries.

Key Features

  • Search metabolites by:
    • Text name
    • HMDB identifier (e.g., HMDB0000001)
    • Structure-related query (as supported by the parser/search implementation)
  • Parse the HMDB XML dataset and extract:
    • Chemical data (formula, molecular weight, InChI/SMILES where available)
    • Biological data (pathways, enzymes, transporters)
    • Clinical data (disease associations, biofluid concentrations)
  • Optional structuring of extracted results for analysis workflows (e.g., tabular outputs).
  • Supports integration workflows by exposing identifiers suitable for cross-database mapping.

Dependencies

  • Python >=3.9
  • Standard library:
    • xml.etree.ElementTree (built-in)
  • Optional:
    • pandas >= 1.5

Example Usage

1) Download HMDB XML

Download the HMDB metabolite XML dataset from:

Assume you saved it as:

text
data/hmdb_metabolites.xml
2) Search and Extract Fields (Runnable Example)
python
from scripts.hmdb_parser import HMDBParser

def main():
    # Path to the HMDB XML dump downloaded from hmdb.ca/downloads
    xml_path = "data/hmdb_metabolites.xml"

    parser = HMDBParser(xml_path)

    # Search by metabolite name (text query)
    results = parser.search("Caffeine")

    # Print basic information from the first match (structure depends on implementation)
    if not results:
        print("No results found.")
        return

    first = results[0]
    print("Top match:")
    print(first)

if __name__ == "__main__":
    main()
3) Field Reference

For a curated list of extractable fields and how they map to HMDB XML elements, see:

  • references/hmdb_data_fields.md
Show full SKILL.md (149 more words)Show less

Implementation Details

  • Data acquisition

    • Primary workflow uses the official HMDB downloadable XML dataset (recommended for bulk parsing).
    • Single-entry lookups can be done via the HMDB website, but this skill is designed around XML parsing.
  • Parsing approach

    • The parser reads the HMDB XML and traverses metabolite entries using xml.etree.ElementTree.
    • Extracted fields should follow the definitions documented in references/hmdb_data_fields.md.
  • Search behavior

    • Name/ID search typically matches against key textual identifiers (e.g., common name, synonyms, HMDB accession).
    • Structure-based search is dependent on what structural fields are indexed/exposed by HMDBParser (e.g., SMILES/InChI).
  • Integration / cross-references

    • HMDB entries often include cross-references to external databases (e.g., KEGG, PubChem, ChEBI).
    • A common workflow is to extract these identifiers and build mapping tables for downstream joins.
  • Spectral analysis (conceptual)

    • HMDB contains NMR/MS references for some metabolites; this skill can be extended to link parsed entries to spectral metadata.
    • Actual spectral matching/identification is not guaranteed unless implemented in the codebase.

© aipoch, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (scripts, references) in scientific-skills/Evidence Insight/hmdb-database of aipoch/medical-research-skills.

  • SKILL.md
  • hmdb-database_audit_result_v1.json
  • references/hmdb_data_fields.md
  • scripts/hmdb_parser.py

Open the folder on GitHubat commit 686e09d

Compare with similar skills

Hmdb Database next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Hmdb Database compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Hmdb Database this skillaipoch/medical-research-skills2k—~985Automated safety check: PassMIT
Hypothesis Generationspacering-net/codeg3.8k15 repos~3.6kAutomated safety check: NotesMIT
GitHub Deep Researchbytedance/deer-flow83k5 repos~1.3kAutomated safety check: PassMIT
Nature Paper CardYuan1z0825/nature-skills46k2 repos~2.1kAutomated safety check: PassApache-2.0
Read arXiv Paperkarpathy/nanochat58k2 repos~494Automated safety check: PassMIT
Content Research Writerweapp-tailwindcss/weapp-tailwindcss1.9k25 repos~3.5kAutomated safety check: PassMIT

Similar skills

  • Hypothesis Generation

    spacering-net/codeg

    Structured hypothesis formulation from observations. An agent skill from spacering-net/codeg.

    3.8k GitHub starsUsed in 15 repos~3.6k tokens
    Research & ScienceAuto-check: notes
  • GitHub Deep Research

    bytedance/deer-flow

    Researches a GitHub repository over four rounds using the GitHub API and web search, then writes a structured markdown report with timeline, metrics and Mermaid diagrams.

    83k GitHub starsUsed in 5 repos~1.3k tokens
    Research & ScienceAuto-check passed
  • Nature Paper Card

    Yuan1z0825/nature-skills

    Builds a structured deep-reading card for one scientific paper, covering methods, how experiments support claims, limitations and research ideas, with a script to prepare the source.

    46k GitHub starsUsed in 2 repos~2.1k tokens
    Research & ScienceAuto-check passed
  • Read arXiv Paper

    karpathy/nanochat

    Fetches the TeX source of an arXiv paper from its URL, reads it and writes a markdown summary tied to the nanochat project.

    58k GitHub starsUsed in 2 repos~494 tokens
    Research & ScienceAuto-check passed
  • Content Research Writer

    weapp-tailwindcss/weapp-tailwindcss

    Assists in writing high-quality content by conducting research, adding citations, improving hooks, iterating on outlines, and providing real-time feedback on each section.

    1.9k GitHub starsUsed in 25 repos~3.5k tokens
    Research & ScienceAuto-check passed
  • Peer Review

    spacering-net/codeg

    Structured manuscript/grant review with checklist-based evaluation.

    3.8k GitHub starsUsed in 18 repos~5.9k tokens
    Research & ScienceAuto-check: notes

More from aipoch/medical-research-skills

All 567 skills in this repo
  • Academic Poster Generator

    aipoch/medical-research-skills

    Complete workflow for generating academic research posters from PDF literature; use when you need to extract paper content from PDFs and produce a LaTeX-based poster…

    2k GitHub stars~2.2k tokensUpdated 21 days ago
    Auto-check passed
  • Diagnostic Study Quality Assessment Quadas

    aipoch/medical-research-skills

    Analyzes clinical diagnostic accuracy studies for bias using the QUADAS-2 tool.

    2k GitHub stars~1.4k tokensUpdated 21 days ago
    Auto-check passed
  • Exploratory Data Analysis

    aipoch/medical-research-skills

    Perform comprehensive exploratory data analysis on scientific data files across 200+ file formats.

    2k GitHub stars~3.7k tokensUpdated 21 days ago
    Auto-check passed
  • Iso Certification

    aipoch/medical-research-skills

    A toolkit for preparing ISO 13485:2016 certification documentation for medical device QMS.

    2k GitHub stars~1.8k tokensUpdated 21 days ago
    Auto-check passed
  • Journal Skills

    aipoch/medical-research-skills

    Recommends target journals for manuscript submission by analyzing the paper topic/abstract and the journal distribution of similar PubMed literature; use when users ask for journal…

    2k GitHub stars~1.7k tokensUpdated 21 days ago
    Auto-check passed
  • Latex Posters

    aipoch/medical-research-skills

    Creates academic-poster writing packages for LaTeX using beamerposter, tikzposter, or baposter.

    2k GitHub stars~1.3k tokensUpdated 21 days ago
    Auto-check passed

Questions about Hmdb Database

What does Hmdb Database do?

Access the Human Metabolome Database (HMDB) to search metabolites by name/structure/ID and extract chemical/biological/clinical fields when you need metabolomics research data or automated HMDB XML…. Hmdb Database is an agent skill from aipoch/medical-research-skills. Access the Human Metabolome Database (HMDB) to search metabolites by name/structure/ID and extract chemical/biological/clinical fields when you need metabolomics research data or automated HMDB XML mining.

When should I use Hmdb Database?

Hmdb Database fits situations like: research & Science work in your project.

How do I install Hmdb Database in Claude Code?

Run `npx skills add aipoch/medical-research-skills --skill hmdb-database -a claude-code`. Or copy the skill folder (scientific-skills/Evidence Insight/hmdb-database in aipoch/medical-research-skills) into .claude/skills/hmdb-database in your project. Claude Code loads it when a task matches its description.

How do I install Hmdb Database in Codex?

Run `npx skills add aipoch/medical-research-skills --skill hmdb-database -a codex`. Or copy the skill folder (scientific-skills/Evidence Insight/hmdb-database in aipoch/medical-research-skills) into .agents/skills/hmdb-database in your project. Codex loads it when a task matches its description.

Can I use Hmdb Database in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aipoch/medical-research-skills --skill hmdb-database -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/hmdb-database, .gemini/skills/hmdb-database, .github/skills/hmdb-database and .opencode/skills/hmdb-database in your project.

What does Hmdb Database need to run?

Going by SKILL.md and its folder, Hmdb Database needs Python for the scripts in its folder. Our summary lists: Python 3.

Does Hmdb Database access the network?

SKILL.md names 1 domain. As links in the text: hmdb.ca. This is read from the text; nothing was executed.

Is Hmdb Database safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Hmdb Database use?

Hmdb Database is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Hmdb Database use?

About 985 tokens (SKILL.md is roughly 3.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 312 tokens, read only when the agent opens those files.

What are the alternatives to Hmdb Database?

Skills that share tags, products or a category with Hmdb Database: Hypothesis Generation (spacering-net/codeg, 3.8k stars), GitHub Deep Research (bytedance/deer-flow, 83k stars), Nature Paper Card (Yuan1z0825/nature-skills, 46k stars) and Read arXiv Paper (karpathy/nanochat, 58k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Hmdb Database?

aipoch (a GitHub organization) maintains it in aipoch/medical-research-skills, which has 1,974 GitHub stars. The repository holds 567 skills in this directory. The repository was last updated on September 17, 2026.

Source: aipoch/medical-research-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.