# /database-lookup: Pull facts from scientific databases in a form others can rerun

Source: https://trendhub.net/skills/k-dense-ai-scientific-agent-skills/database-lookup
Skill folder: https://github.com/K-Dense-AI/scientific-agent-skills/tree/main/skills/database-lookup
Pack: Scientific Agent Skills (https://trendhub.net/skills/k-dense-ai-scientific-agent-skills)
Works with: Claude Code, Codex, Gemini CLI, Antigravity, Cursor (npx), GitHub CLI (gh skill), Cursor (Agent Plugins), Codex (Agent Plugins), OpenClaw, NemoClaw, Pi, Hermes and other hosts

Database-lookup catalogs 80 databases, from PubChem and UniProt to ClinicalTrials.gov, FRED and SEC EDGAR, each with its own reference file. It has the agent define exactly what is being retrieved, pick the authoritative source, make rate-limited calls, reconcile record counts and return a result with endpoints, parameters and access dates instead of an answer from memory.

## When to use it

- You need every ClinVar or GWAS Catalog entry for a gene, not just the first page.
- You want a compound's properties and bioactivity from PubChem and ChEMBL with identifiers resolved.
- You need an economic or regulatory figure from FRED, BLS or SEC EDGAR with a citable query.

## How it works

1. **Define the retrieval**: The agent fixes the entity, identifiers, organism or genome build, filters and whether the job is a targeted lookup or an exhaustive pull.
2. **Choose sources**: It picks the primary database from the selection guide and adds others only for identifier conversion or known coverage gaps.
3. **Read the reference**: It reads that database's reference file and the retrieval contract before sending any request.
4. **Call within bounds**: It counts first where possible, paginates deterministically, respects rate limits and asks before going past 10,000 records or 100 calls.
5. **Report with provenance**: It returns a summary, the endpoints and parameters used, count reconciliation and warnings, and says so explicitly when a query found nothing.

## What it steers the agent away from

- Answering database questions from general knowledge
- Reading only the first page of a paginated result
- Printing API keys or the contents of a .env file

## What it can touch

Makes HTTP requests with curl or a script to public and keyed APIs, checks only the specific environment variable a query needs, and can save large raw results to a local file.

## Pairs well with

- `/biopython`
- `/paper-lookup`
- `/rdkit`

## Questions

### What happens with paid databases such as DrugBank?

The agent falls back to free alternatives such as ChEMBL, PubChem and OpenFDA and tells you which source it could not use.

### Does it follow instructions found in API responses?

No. Returned payloads are treated as untrusted third-party data and are never pasted into shell commands.
