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.
npx agentmods add skills/magic3007/dotfiles/database-lookupnpx skills add magic3007/dotfiles --skill database-lookupgit clone --depth 1 https://github.com/magic3007/dotfilesWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00242 | $0.07474 |
| Opus 5 | $0.00121 | $0.03737 |
| Sonnet 5 | $0.00048 | $0.01495 |
| Haiku 4.5 | $0.00024 | $0.00747 |
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 2d 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: This is a copy
100% identical to database-lookup — 3 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.
How it starts
The opening of the file, as written. The whole thing — 482 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Database Lookup
You have access to 78 public databases through their REST APIs. Your job is to figure out which database(s) are relevant to the user's question, query them, and return the raw JSON results along with which databases you used.
Core Workflow
-
Understand the query — What is the user looking for? A compound? A gene? A pathway? A patent? Expression data? An economic indicator? This determines which database(s) to hit.
-
Select database(s) — Use the database selection guide below. When in doubt, search multiple databases — it's better to cast a wide net than to miss relevant data.
-
Read the reference file — Each database has a reference file in
references/with endpoint details, query formats, and example calls. Read the relevant file(s) before making API calls. -
Make the API call(s) — See the Making API Calls section below for which HTTP fetch tool to use on your platform.
-
Return results — Always return:
- The raw JSON response from each database
- A list of databases queried with the specific endpoints used
- If a query returned no results, say so explicitly rather than omitting it
Database Selection Guide
Match the user's intent to the right database(s). Many queries benefit from hitting multiple databases.
Physics & Astronomy
| User is asking about... | Primary database(s) | Also consider |
|---|---|---|
| Near-Earth objects, asteroids | NASA (NeoWs) | — |
| Mars rover images | NASA (Mars Rover Photos) | — |
| Exoplanets, orbital parameters | NASA Exoplanet Archive | — |
| Astronomical objects by name/coordinates | SIMBAD | SDSS |
| Galaxy/star spectra, photometry | SDSS | SIMBAD |
| Physical constants | NIST | — |
| Atomic spectra, spectral lines | NIST (ASD) | — |
Earth & Environmental Sciences
| User is asking about... | Primary database(s) | Also consider |
|---|---|---|
| Earthquakes, seismic events | USGS Earthquakes | — |
| Water data, streamflow, groundwater | USGS Water Services | — |
| Weather (current, forecast, historical) | OpenWeatherMap | NOAA |
| Climate data, historical weather stations | NOAA (CDO) | — |
| Air quality, toxic releases | EPA (Envirofacts) | — |
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.
- references/addgene.md 960 B
- references/alphafold.md 1023 B
- references/alphavantage.md 7.5 KB
- references/bea.md 14 KB
- references/bindingdb.md 2.9 KB
- references/biogrid.md 3.6 KB
- references/bls.md 9.1 KB
- references/brenda.md 2.2 KB
- references/cbioportal.md 7.1 KB
- references/census.md 8.5 KB
- references/chebi.md 3.3 KB
- references/chembl.md 2.3 KB
- references/clinicaltrials.md 2.1 KB
- references/clinpgx.md 1.2 KB
- references/clinvar.md 3.1 KB
- references/cod.md 2.7 KB
- references/cosmic.md 1.4 KB
- references/dailymed.md 1.7 KB
- references/datacommons.md 6.9 KB
- references/dbsnp.md 3.2 KB
- references/disgenet.md 1.4 KB
- references/drugbank.md 1.6 KB
- references/ecb.md 6.2 KB
- references/emdb.md 895 B
- references/ena.md 9.5 KB
- references/encode.md 1.5 KB
- references/ensembl.md 13 KB
- references/epa.md 6.3 KB
- references/eurostat.md 7.4 KB
- references/fda.md 1.9 KB
- references/federal-reserve.md 6.7 KB
- references/fred.md 9.9 KB
- references/gene-ontology.md 4.2 KB
- references/geo.md 3.7 KB
- references/gnomad.md 2.9 KB
- references/gtex.md 3.6 KB
- references/gwas-catalog.md 1.4 KB
- references/hca.md 870 B
- references/hpo.md 1.4 KB
- references/human-protein-atlas.md 1.3 KB
- references/interpro.md 3.3 KB
- references/jaspar.md 1.4 KB
- references/kegg.md 2.3 KB
- references/lincs-l1000.md 1.9 KB
- references/materials-project.md 3.3 KB
- references/metabolomics-workbench.md 3.3 KB
- references/monarch.md 1.4 KB
- references/mousemine.md 1.2 KB
- references/nasa-exoplanet-archive.md 4.0 KB
- references/nasa.md 3.1 KB
- references/ncbi-gene.md 1.6 KB
- references/ncbi-protein.md 2.9 KB
- references/ncbi-taxonomy.md 3.4 KB
- references/nist.md 3.4 KB
- references/noaa.md 6.3 KB
- references/omim.md 3.2 KB
- references/opentargets.md 8.7 KB
- references/openweathermap.md 6.9 KB
- references/pdb.md 2.8 KB
- references/pride.md 2.2 KB
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.
- 2d ago First seen · 482 lines · 242 tokens per session scan B db7d1c975dc3
database-lookup is a skill published in the GitHub repository magic3007/dotfiles (10 stars, last pushed 7d ago), licensed MIT. It adds 242 tokens to every session and 7,474 once invoked, about $0.0012 per session on Opus 5. A static security scan graded it B with 2 findings (sends data to an external url, makes network calls). It is 100% identical to database-lookup, differing in 3 lines, and is treated as a copy.
Other skills, from other repositories
assess-quality
Foundational quality framework: the five questions (readable, easy to start, expands without bloat, consistent, intentional) every other dev skill is judged against, plus the dual-audience and workshop principles. Use when onboarding to a project, defining a quality bar, setting an assessment checklist, or arbitrating…
create-oss-skill
Create well-formed Agent Skills following the agentskills.io specification. Scaffold directories, write SKILL.md files, bundle scripts, and structure instructions for progressive disclosure. Use when creating a new skill, reviewing skill structure, optimizing a skill description, or setting up evals for skill quality.
extend-oss-skills-to-claude
Extend standard agentskills.io skills with Claude Code-specific features. Invocation control, subagent execution, dynamic context injection, string substitutions, model/effort overrides, and deployment scoping. Use when adapting a portable skill for Claude Code, adding Claude-specific frontmatter, setting up subagent…
orchestrate-agents
Orchestrate multiple agent CLIs (Claude, Codex, Antigravity) via tmux with a shared fleet store, dispatching one guardian subagent per pane. Survey-first: inspects and adopts existing tmux sessions, windows, and agent panes before creating anything new. Use when running a multi-agent session, dispatching parallel…
scaffold-project
Generates cross-language standard files (README, AGENTS.md, LICENSE, CONTRIBUTING.md, SECURITY.md, sr.yaml, .envrc, llms.txt), documentation conventions, and project structure, then dispatches to language-specific scaffolds. Use first for cross-language standard files and structure, THEN load the matching scaffold…
test-code
Testing philosophy, test types (unit, integration, golden, fuzz, property, benchmark, smoke, E2E), per-language conventions (Rust, Go, Python, TypeScript), file organization, fixtures/mocks, CI strategy, and what NOT to test. Use when writing tests, reviewing test coverage, setting up test infrastructure, or deciding…