agentleFS
Google CloudKnown publisherGoogleCloudPlatform/LifeSciences/applications/open-agentic-science-engine/skills/literature-search/SKILL.md

literature-search

Skill53 starsChanged 55 days agoApache-2.0View on GitHub

Search and retrieve scientific literature — PubMed, preprint servers (arXiv, bioRxiv), and PubMed Central full text. Use when discovering what has been published on a topic, gene, compound, or disease, when establishing the volume and recency of literature for a target, when retrieving full-text articles, or when searching preprint servers for recent work. Do not use to verify that a specific citation exists (use citation-verification), to search cancer genomics databases (use oase cbioportal), or to assess whether a paper supports a claim.

We split this skill into the rules it gives an agent

11 rules. 0 are common, 4 are distinctive, and 7 are very specific to this project.

  • 0

    Common

    Most of the 13 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 7

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when you need to discover, search, or retrieve scientific literature.

    line 16
  2. Very specific:

    Run oase doctor before first use.

    line 70
  3. Very specific:

    Run search before analyze.

    line 82
  4. Very specific:

    Use oase preprint search --source arxiv when looking for recent, not-yet-peer-reviewed work — preprints appear on arXiv days after …

    line 87
  5. Very specific:

    All output options: --json for machine-readable output, --quiet for paths only, --out to override the default output directory.

    line 103
  6. Very specific:

    Check mandatory_relays in the .pubmed-search.analysis.json.

    line 146
  7. Very specific:

    High total with low retrieval: when total_found far exceeds n_retrieved, the summary statistics describe a small sample.

    line 158
  8. Very specific:

    Generalising from a small retrieval of a large result set: If total_found is 5000 and n_retrieved is 20, the year distribution and journal …

    line 198
  9. Distinctive:

    When you need more than 100 results (BigQuery supports up to 1000).

    line 231
  10. Distinctive:

    When you need date-range or journal-level filtering in the query itself, rather than post-hoc filtering of a small result set.

    line 232
  11. Distinctive:

    When the query benefits from SQL substring matching across titles and abstracts simultaneously.

    line 234

“Common” is measured: kept by at least 6 in 10 of the 13 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

1. When to use, and when not

Use this skill when you need to discover, search, or retrieve scientific literature. Entry points include:

  • Finding publications related to a gene, pathway, compound, or disease as part of target validation or literature review.
  • Establishing the volume and recency of research activity for a gene or topic — a gene with hundreds of recent publications has a different evidence base than one with three papers from 2008.
  • Identifying the dominant journals and MeSH terms for a research area to refine subsequent searches.
  • Checking whether a claimed literature consensus exists — does the published record support the assertion that "multiple studies have shown X"?
  • Retrieving the full text of a PubMed Central article for detailed analysis or citation extraction.
  • Searching preprint servers for recent, not-yet-peer-reviewed work.

Do not use when:

  • You need to verify that a specific PMID, DOI, or NCT number resolves to a real record → citation-verification.
  • You need cancer genomics study data → oase cbioportal search.
  • You need to count how many papers support a specific claim — a keyword search counts matches, not evidence.

Question-type routing

Question typeCommandSkill
What has been published on a topic?oase pubmed searchthis skill
What does the result set look like?oase pubmed analyzethis skill
Fetch full text of a PMC articleoase pubmed fulltextthis skill
Find recent preprints (physics, CS, math)oase preprint search --source arxivthis skill
Find recent preprints (biology, life sciences)oase preprint search --source biorxivthis skill
Verify a citation (PMID, DOI, NCT) existsoase cite verifycitation-verification
Resolve a literature identifieroase litref resolvecitation-resolution
Find cancer genomics studiesoase cbioportal search(genomics)

2. Preconditions

  • Query input: a PubMed search string. Supports PubMed syntax: keywords, MeSH terms, Boolean operators (AND, OR, NOT), and field tags ([Title], [Author], etc.). oase pubmed search --help for details.
  • No authentication needed — NCBI E-utilities are public.
  • Rate limiting: NCBI allows 3 requests/sec without an API key. The CLI paces requests.
  • Result limit: --max-results controls retrieval (1-100, default 20). PubMed reports total_found even when only a subset is retrieved.
  • Non-exhaustive by design: a keyword search cannot find papers that use different terminology, are indexed under different MeSH headings, or are not yet indexed. The search_not_exhaustive relay carries this caveat.
  • Run oase doctor before first use.

3. Tool invocations

QuestionRunWrites to
What has been published on this topic?oase pubmed search <QUERY> [--max-results N] [--sort relevance|date]raw/literature/<slug>.esearch.json<br>raw/literature/<slug>.efetch.xml<br>raw/literature/<slug>.pubmed-search.json<br>raw/literature/<slug>.meta.json
What does the result set look like?oase pubmed analyze <QUERY>raw/literature/<slug>.pubmed-search.analysis.json
Fetch full text of a PMC articleoase pubmed fulltext <PMCID>raw/literature/<pmcid>.fulltext.json
Find preprints on a topic (arXiv)oase preprint search --source arxiv <QUERY>raw/literature/<slug>.preprint-search.json
Find bioRxiv preprints on a topicoase preprint search --source biorxiv <QUERY>raw/literature/<slug>.preprint-search.json

Run search before analyze. analyze reads from disk and produces summary statistics without network access.

When to prefer preprint over pubmed

Use oase preprint search --source arxiv when looking for recent, not-yet-peer-reviewed work — preprints appear on arXiv days after submission, whereas PubMed indexes peer-reviewed publications which may lag months behind. Use oase preprint search --source biorxiv when looking for recent biology and life-sciences preprints — bioRxiv covers wet-lab biology, genomics, neuroscience, and related fields that arXiv does not. Use oase pubmed search when looking for peer-reviewed literature with MeSH indexing, journal provenance, and the quality signal that peer review provides.

The <slug> is derived from the query string (filesystem-safe, lowercase, max 80 characters). The .pubmed-search.json is the structured artifact with parsed article records (PMID, title, authors, journal, year, abstract, DOI, MeSH terms). The .efetch.xml is the verbatim PubMed XML response.

All output options: --json for machine-readable output, --quiet for paths only, --out to override the default output directory.

4. Interpretation contract

Verdicts

analyze produces:

  • results_found — the query matched one or more PubMed records. The analysis reports total_found (PubMed's count), n_retrieved (the subset fetched), year distribution, top journals, and top MeSH terms.
  • no_results — the query matched nothing in PubMed.

What the analysis reports

The analysis provides summary statistics, not scientific conclusions:

  • Year distribution: publication counts per year. Useful for assessing research recency and trajectory — a gene with 50 publications in 2020-2024 and 2 before 2015 has a different evidence landscape than one with steady output since the 1990s.
  • Top journals: most frequent journals in the result set. Indicates the research field (oncology, neuroscience, etc.) and the level of the venues.
  • Top MeSH terms: most frequent Medical Subject Headings. These are NLM's controlled vocabulary — useful for refining subsequent searches or identifying the dominant research themes.

The retrieval-vs-total gap

total_found may be much larger than n_retrieved (capped by --max-results). The summary statistics describe the retrieved subset, not the full result set. State this: "of N total PubMed results, M were retrieved and summarised."

Mandatory relays

Relay codeKindFires whenObligation
pubmed.search_not_exhaustiveQualifierResults were found (conditional)State that the search is a keyword-based sample, not a comprehensive literature survey. Relevant publications may use different terminology, be indexed under different MeSH headings, or not yet be indexed. Do not present search results as a complete survey of the topic.

Check mandatory_relays in the .pubmed-search.analysis.json. Every relay code present must be satisfied in the finding.

Consequence rules

  • Results found: report the total count, the number retrieved, the year range, and the top journals and MeSH terms. Carry the search_not_exhaustive qualifier. The result set is a sample, not a census.
  • No results: report as "no PubMed results for this query." This may indicate an overly specific query, unusual terminology, or a genuinely unpublished topic. Suggest query refinement if appropriate.
  • High total with low retrieval: when total_found far exceeds n_retrieved, the summary statistics describe a small sample. State the gap; do not generalise from a 20-article sample of 5000 results.

Cross-disciplinary consequences

  • Publication volume and recency inform the evidence landscape for a target but do not constitute evidence for or against the target itself. A well-published gene is not necessarily a good target; an unpublished one is not necessarily a bad one.
  • MeSH terms from the result set can identify disease areas and biological processes associated with the target, useful for indication selection.
  • Individual articles in the result set may warrant citation verification (use citation-resolution) before being cited in a finding.

What this section produces

Following this contract produces a Layer 1 finding in findings/ that cites the .pubmed-search.analysis.json, satisfies the search_not_exhaustive relay, reports the retrieval-vs-total gap, and does not present keyword results as a comprehensive survey. Everything the tools emitted stays under raw/literature/.

5. Failure modes and anti-fabrication guard

Do not compute these values yourself. The value is whatever the tool emitted. If the tool did not run, there is no value. If a required tool is unavailable, report the task as blocked. Do not estimate, and do not proceed on an assumed result.

Named pathologies

  • Presenting search results as a complete literature survey. A PubMed keyword search is inherently non-exhaustive. The search_not_exhaustive relay exists because this is the first qualifier lost when results are summarised. "The literature shows X" is unsupported by a keyword search; "N PubMed results for query Q include..." is supported.
  • Generalising from a small retrieval of a large result set. If total_found is 5000 and n_retrieved is 20, the year distribution and journal distribution describe 20 papers, not 5000. State the sample size.
  • Citing individual papers from the result set without verification. The search returns metadata (title, authors, abstract). It does not verify that each paper says what the title suggests, or that the DOI resolves. Use citation-resolution before citing a specific paper from the results.
  • Treating zero results as evidence of absence. Zero results may reflect an overly specific query, non-standard terminology, or indexing lag. It does not prove nothing has been published on the topic.
  • Counting results as evidence strength. "50 papers mention gene X and disease Y" is a search statistic, not evidence that gene X causes disease Y. Publication count measures research interest, not scientific validity.
  • Confusing the query slug with the query. The filesystem slug is a truncated, sanitised version of the query string. When citing the search, cite the original query from the artifact's query.terms field, not the slug.

6. PubMed via BigQuery (oase pubmed-bq)

In addition to the NCBI E-utilities path (oase pubmed), this skill covers oase pubmed-bq, which queries the PubMed dataset hosted on Google BigQuery. BigQuery enables SQL-based filtering with larger result sets, date range filters, and journal filters.

When to prefer pubmed-bq over pubmed

  • When you need more than 100 results (BigQuery supports up to 1000).
  • When you need date-range or journal-level filtering in the query itself, rather than post-hoc filtering of a small result set.
  • When the query benefits from SQL substring matching across titles and abstracts simultaneously.

Preconditions

  • Authentication: requires Google Cloud Application Default Credentials (gcloud auth application-default login or GOOGLE_APPLICATION_CREDENTIALS).
  • Dataset: defaults to bigquery-public-data.nih_nlm.pubmed. Override with --bq-dataset or $OASE_PUBMED_BQ_DATASET.
  • Dependency: google-cloud-bigquery>=3.0 must be installed.

Tool invocations

QuestionRunWrites to
Search PubMed via BigQueryoase pubmed-bq search <QUERY> [--max-results N] [--year-from Y] [--year-to Y] [--journal J] [--bq-dataset D]raw/literature/<slug>.pubmed-bq.json<br>raw/literature/<slug>.pubmed-bq.meta.json
Summarise BigQuery resultsoase pubmed-bq analyze <QUERY>raw/literature/<slug>.pubmed-bq.analysis.json

Run search before analyze. analyze reads from disk and produces summary statistics (year distribution, journal distribution, abstract keyword frequency) without network access.

Mandatory relays

Relay codeKindFires whenObligation
pubmed_bq.search_not_exhaustiveQualifierResults were found (conditional)State that the search uses SQL substring matching, which may miss publications using different terminology, alternate spellings, or synonyms. Do not present results as a complete literature survey.

Interpretation

The same interpretation contract from oase pubmed (section 4) applies: results are a keyword-based sample, not a comprehensive survey. The search_not_exhaustive relay must be satisfied. The retrieval-vs-total gap applies here as well — --max-results caps the retrieval.


7. Related genomics commands

For cancer genomics data, use oase cbioportal search and oase cbioportal analyze. cBioPortal aggregates genomic data from large-scale cancer studies (TCGA, AACR GENIE, institutional cohorts). Artifacts land under raw/expression/.

QuestionRunWrites to
What cancer genomics studies match a query?oase cbioportal search <QUERY> [--cancer-type T] [--study S] [--max-results N]raw/expression/<slug>.cbioportal-search.json<br>raw/expression/<slug>.cbioportal.meta.json
What do the cBioPortal results show?oase cbioportal analyze <ARTIFACT>raw/expression/<slug>.cbioportal-search.analysis.json

cBioPortal is a cancer genomics resource, not a literature database. Results are study-level metadata (study ID, name, cancer type, sample count), not mutation data or expression profiles.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.