Biorxiv database

From aipoch/medical-research-skills · View interactive version

Biorxiv database is an AI agent skill from the GitHub repository aipoch/medical-research-skills. Search, retrieve metadata, and download PDFs for bioRxiv preprints; use when you need to discover biology preprints by keywords/authors/date ranges and programmatically fetch their details.

How to use this skill

Skill file

Source: https://github.com/aipoch/medical-research-skills

When to Use

Key Features

Dependencies

Example Usage

Install

pip install requests

Python (end-to-end)

from scripts.biorxiv_search import BioRxivSearcher

def main():
    searcher = BioRxivSearcher()

    # 1) Search for papers (e.g., "CRISPR" in the last 30 days)
    papers = searcher.search_by_keywords(["CRISPR"], days_back=30)
    print(f"Found {len(papers)} papers")

    # 2) Print basic metadata and download the first PDF (if available)
    if papers:
        first = papers[0]
        print("First result:")
        print(f"  Title: {first.get('title')}")
        print(f"  DOI:   {first.get('doi')}")
        print(f"  Authors: {first.get('authors')}")

        out_path = "paper.pdf"
        print(f"Downloading PDF to: {out_path}")
        searcher.download_pdf(first["doi"], out_path)

if __name__ == "__main__":
    main()

CLI

python scripts/biorxiv_search.py "CRISPR" 30

Implementation Details

When Not to Use

Required Inputs

Recommended Workflow

  1. Validate the request against the skill boundary and confirm all required inputs are present.
  2. Select the documented execution path and prefer the simplest supported command or procedure.
  3. Produce the expected output using the documented file format, schema, or narrative structure.
  4. Run a final validation pass for completeness, consistency, and safety before returning the result.

Output Contract

Validation and Safety Rules

Failure Handling

Quick Validation

Run this minimal verification path before full execution when possible:

python scripts/biorxiv_search.py --help

Expected output format:

Result file: biorxiv_database_result.md
Validation summary: PASS/FAIL with brief notes
Assumptions: explicit list if any
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.