/omics-skills:polars-dovmedfrom Omics Skills
Runs reproducible full-text searches of PMC Open Access and bioRxiv using polars-dovmed. Supports saved query files, year bands, local parquet, and Crossref fill-in. Use for repeatable literature searches or quick lookups via the hosted API.
Ships in Omics Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Search the PubMed Central Open Access (pmc) and bioRxiv (biorxiv) corpora through the hosted API or local parquet files.
Connector or script. The session may also have a polars-dovmed MCP connector (tools search_literature, get_paper_full_text) over the same hosted corpora. Use the connector for a quick lookup or to read one paper. Use this skill's script when the search must be reproducible (a saved query file and run directory), spans year bands, uses local parquet, or needs Crossref fill-in.
POLARS_DOVMED_API_KEY in the environment or in ~/.config/polars-dovmed/.env. The helper sends the key in the X-API-Key header. Obtain a key from the service admin and keep it out of commands, run files and reports.--all to make this explicit or --max-results N to limit the total returned across pages and year bands. Job polling, HTTP 503 backoff and Crossref pacing still apply.references/commands.md.--crossref-email only when the user gave an address for that purpose. Never take one from conversation, git config or system context. The helper reads no environment variable for it.smoke_test.py confirms the hosted API is unreachable, use scripts/fallback_search.py (Europe PMC or NCBI PMC E-utilities) and note fallback use in the report.Run the helper as uv run --script "$SKILL_DIR/scripts/query_literature.py". Commands, the smoke check, outage fallback, and troubleshooting are in references/commands.md.
tasks/polars-dovmed-runs/<date-topic>/ outside the skill directory. Save prompt.txt, query.json, payloads, raw responses, timing files and any curated summary there. Do not commit generated runs.query.json (format below) and inspect it before searching: spelling, aliases, regex escaping, noisy terms.
--mode discovery, the hosted API selects signal_terms automatically and can drop rare tool or taxon names when bundled alongside a common term (the helper warns when terms are dropped). Run separate single-anchor queries for distinct tools or taxa.disqualifying_terms.--corpus both; the helper rejects it because the API answers HTTP 502.
--poll-timeout 75, --details-rerank-limit 8 to 12.--year-bands <bands> --year-band-workers 2 --skip-details-rerank --poll-timeout 120. The server has two search slots, and the helper retries HTTP 503 with backoff. Year-band discovery of OpenPMC runs synchronously by itself. Map the requested years to bands (table below) and search only those. Never run a broad unbanded OpenPMC scan. Fetch details by PMCID after inspecting the top hits.--extract-matches none --add-group-counts primary for discovery. Wrap calls in timeout when it exists.query.json and rerun.--crossref-metadata or /crossref-lookup. Use DOI landing pages only when corpus metadata and Crossref disagree; do not use generic web search for DOI repair.time -p or timeout) and the helper's elapsed_ms. Report timeouts and failed endpoints as results./api/search_literature endpoint. It needs --allow-flat-query and can hang behind the edge proxy.{
"anchor_entity": [["primary_name"], ["alias_1"], ["alias_2"]],
"relation_or_property": [["primary_name", "relation_term"]],
"disqualifying_terms": [["term_to_exclude"]]
}
Terms in one inner group are AND'd and must co-occur; inner groups in a concept are OR'd; concepts are OR'd, and items matching more groups rank higher. List each synonym as its own single-term group; use a multi-term group only to require co-occurrence.
Multi-word terms, by path:
query_literature.py: the helper sends the terms unchanged to the hosted API and to the upstream dovmed scan. It does not turn a term into a phrase. When it extracts match contexts itself, it treats each term as a case-insensitive regular expression (a literal match if the regex is invalid), so a multi-word term then matches its words in that order with that spacing.Rank hits in this order: anchor in title, anchor in abstract, anchor plus support term in title or abstract, several distinct group matches, full-text-only matches. Down-rank hits that match only generic support terms.
| Requested years | --year-bands value |
|---|---|
| 2009 and earlier | pre_2010 |
| 2010 to 2020 | 2010_2020 |
| 2021 to 2023 | 2021_2023 |
| 2024 and later | 2024_plus |
| No constraint | clean_split (all four) |
For a range that crosses bands, pass a comma list, for example --year-bands 2021_2023,2024_plus (the helper runs one call per band). The connector takes one band per call.
A literature question turned into an inspected query.json, a valid hosted key and network access or local parquet files, and a writable run directory.
The papers array in --save-response FILE contains the retrieved search hits. The compact stdout summary lists refined and reranked papers first, then the remaining retrieved papers. Each paper appears once. A requested year filter or total limit applies to the list. Use --raw for the full response on stdout. The run directory also contains a paper list with titles, identifiers, corpus, relevance notes and timing. Warn about timeouts, HTTP 502, Database not found, missing metadata and fallback use.
--skip-details-rerank.agents/openai.yaml (opens in a new tab)fixtures/smoke_prompt.txt (opens in a new tab)fixtures/smoke_query.json (opens in a new tab)references/commands.md (opens in a new tab)scripts/fallback_search.py (opens in a new tab)scripts/query_literature.py (opens in a new tab)scripts/smoke_test.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
literature-search, pmc, biorxiv, reproducible-research, full-text-search
12 skills in this plugin
/beautiful-data-vizShared design rules for every plot, figure, chart, dashboard or Dash app (matplotlib, seaborn, ggplot2, Plotly, HTML/SVG). Greyscale first, curated non-stock palettes, IBM Plex Sans, no in-plot titles, crisp text, tight layout. Use when making, restyling or reviewing any chart, figure or dashboard./bio-annotationAnnotate proteins with functions, domains, and homology-based taxonomy. Use when assigning functional or taxonomic labels to proteins from genomes, contigs, or MAGs./bioinformatics-projectStructure reproducible bioinformatics projects with a canonical layout, restartable drivers, pinned environments, provenance, and lab notebook. Use when starting or reorganizing a genomics project or making a sequencing analysis rerunnable.npx claudepluginhub fmschulz/omics-skills --plugin omics-skillsOther plugins' skills for the same job