database-lookup

database-lookup is a skill for Claude Code from synthetic-sciences/openscience. It costs 50 tokens per session (6,781 once invoked), scanned B, a copy of database-lookup, Apache-2.0.

A guide for retrieving facts from public databases through their documented web interfaces. It turns a question into a repeatable search with specific filters, pages of results, and source details.

In plain words
What is it for?
Use it to fetch scientific, regulatory, financial, or other database-backed facts, including complete filtered result sets. It helps record identifiers, query limits, and evidence for each result.
Why use it?
It reduces the risk of guessing from general knowledge or missing records in a large database. Another person can repeat the lookup and check where the results came from.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code; mentions Codex; built for cline.

Good fit Use it to fetch scientific, regulatory, financial, or other database-backed facts, including complete filtered result sets. It helps record identifiers, query limits, and evidence for each result.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/synthetic-sciences/openscience/database-lookup
About the project

synthetic-sciences/openscience is an AI workbench that carries out scientific research by reading papers, forming hypotheses, writing and running code, conducting experiments, analyzing results, and preparing reports. Researchers use it for work in machine learning, biology, physics, and chemistry with remote or local models. Catalogue add-ons extend its scientific workflows through skills and instructions.

synthetic-sciences/openscience · 4,004 stars · on GitHub · openscience.sh

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add synthetic-sciences/openscience --skill database-lookup
Clone the repo
git clone --depth 1 https://github.com/synthetic-sciences/openscience

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for database-lookup

README.md
[![agentmods](https://agentmods.dev/badge/skills/synthetic-sciences/openscience/database-lookup/github.svg)](https://agentmods.dev/skills/synthetic-sciences/openscience/database-lookup)
Your own site
<a href="https://agentmods.dev/skills/synthetic-sciences/openscience/database-lookup"><img src="https://agentmods.dev/badge/skills/synthetic-sciences/openscience/database-lookup/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for database-lookup

Your own site · 80×15
<a href="https://agentmods.dev/skills/synthetic-sciences/openscience/database-lookup"><img src="https://agentmods.dev/badge/skills/synthetic-sciences/openscience/database-lookup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,781 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 95% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00050 $0.06781
Opus 5.5 $0.00020 $0.02712
Sonnet 5.5 $0.00010 $0.01356
Haiku 4.5 $0.00005 $0.00678

Measured 29d ago against content hash 43c74f6fa638, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

database-lookup scanned grade B with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 29d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

| Open Targets | GraphQL endpoint | `curl -X POST -H "Content-Type: application/json" -d '{"query":"..."}' https://api.platform.opentargets.org/api/v4/graphql` |

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

These databases require HTTP POST and **will not work with WebFetch** (GET-only). Use `curl` via your platform's shell tool instead:
Origin

This is a copy

95% identical to database-lookup — 95 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

backend/cli/skills/databases/database-lookup/SKILL.md · 413 lines

How it starts

The opening of the file, as written. The whole thing — 413 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Database Lookup

This skill catalogs 80 public databases with documented API access patterns. Your job is to turn the user's intent into a reproducible retrieval: select the authoritative database(s), make bounded and rate-limited API calls, verify counts when completeness matters, and return results with enough provenance that another agent or human can repeat the lookup.

For complex biomedical retrievals, assume small filtering differences can change downstream conclusions. Prefer deterministic APIs, explicit identifiers, exhaustive pagination, and auditable logs over broad searching or plausible summaries.

Core Workflow

  1. Define the retrieval contract — Identify the target entity, accepted identifiers, organism/taxon/build/date constraints, filters, expected output fields, and whether the user needs an exhaustive dataset or a targeted lookup. If a required scientific constraint is missing and affects correctness, ask a clarifying question rather than guessing.

  2. Select authoritative database(s) — Use the database selection guide below. Prefer the primary database for the user's intent, then add cross-check databases only for identifier resolution, validation, or known coverage gaps. Do not fan out across many APIs just because they are available.

  3. Read the reference file and retrieval contract — Each database has a reference file in references/ with endpoint details, query formats, and example calls. Read the relevant file(s) and references/retrieval-contract.md before making API calls.

  4. Plan filter semantics before calling — Separate filters the API enforces server-side from filters that must be checked locally. Note identifier conversions, fields with ambiguous meanings, pagination strategy, rate limits, and any data-source conventions such as RefSeq vs GenBank or genome build.

  5. Make bounded API calls — See the Making API Calls section below. For exhaustive retrievals, count first when the API supports it, estimate cost, paginate or batch until retrieved counts reconcile, and fail visibly if the final dataset is incomplete. Ask for confirmation before a retrieval would exceed 10,000 records, 100 API calls, or the selected API's documented bulk-use guidance.

Read the full file on GitHub · 413 lines

Files

What ships with it

60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 29d ago Changed · +5 lines 43c74f6fa638
  2. 1mo ago First seen · 408 lines · 50 tokens per session scan B 2b7d1b88ee6c

Subscribe to this mod's changes

database-lookup is a skill published in the GitHub repository synthetic-sciences/openscience (4,004 stars, last pushed 3d ago), licensed Apache-2.0. It adds 50 tokens to every session and 6,781 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 2 findings (sends data to an external url, makes network calls). It is 95% identical to database-lookup, differing in 95 lines, and is treated as a copy.