exa-public-research
Opt-in thematic literature discovery through Exa with offline query review that blocks rsIDs, allele pairs, coordinates and private terms, bounded resumable batches and source provenance. Use for topi
SKILL.md.agents/skills/exa-public-research/SKILL.md
GitHubExa public research
Trigger
Finding studies, reviews or archival pages about a gene, trait, population or historical topic.
Inputs and outputs
- Input: a text file of thematic queries and a scope id (question plus revision).
- Outputs: a reviewed plan (
exa plan) and a resumable checkpoint (exa run) stored under the gitignoredvault/local-only/orout/.
Privacy classification
Queries are external emissions. They may name genes and topics, never a personal locus, allele, coordinate, GEDCOM id or other private term.
Preconditions
- Read the current Exa terms and rate limits; set a query budget and stopping condition.
- The key comes only from an explicitly named env file (
--env-file .env,EXA_API_KEY). It is never printed, logged or checkpointed.
Procedure
exa planreviews every query offline and keeps blocked rows with reasons.exa runwithout--enableis a dry run; with--enableit runs serially, at most ten results per query, one attempt, and resumes from the checkpoint.- Read original sources before accepting any claim; search extracts are leads.
Stop conditions
Budget reached, access or billing block, any blocked query you are tempted to rephrase around the rules, or a request to search a personal genotype.
Failure handling
Failures are recorded in the checkpoint and not retried automatically. A different scope needs a new revision id, not a reset checkpoint.
Validation
tests/test_exa_research.py, tests/test_synthetic_examples.py::test_exa_example_plan_blocks_rsid_query.
Example (synthetic, offline)
.\.venv\Scripts\longevity-imputator.exe exa plan `
--queries tests\fixtures\synthetic\exa_queries_synthetic.txt --scope synthetic-v1 `
--out out\exa-plan.json
.\.venv\Scripts\longevity-imputator.exe exa run --plan out\exa-plan.json `
--checkpoint out\exa-checkpoint.json
Cannot support
Search coverage is not evidence; several copies of one original are one source.