Science search

From fritzprix/libr-agent · View interactive version

Science search is an AI agent skill from the GitHub repository fritzprix/libr-agent. Search ~200 million scientific papers (OpenAlex titles and abstracts) by meaning or exact words, look up papers by DOI / OpenAlex ID / PMCID, find similar papers, and walk citation graphs through the free ScienceMadeReadable search API (no key). Use when a task requires scientific literature, findin

How to use this skill

Skill file

Science Search (ScienceMadeReadable)

Search ~200 million peer-reviewed papers and academic preprints across all fields of science.


1. Quick Invocation (Cross-Platform)

Option A: Direct Web Fetch / Agent Fallback (No CLI Required)

If you only have a web fetching tool (read_url_content / HTTP GET), request the plain-text Markdown endpoint directly:

https://ask.sciencemadereadable.com/<question>

Option B: Bundled Python Helper Script (Zero Dependencies)

Run the bundled script using standard Python (python3, python, or uv run):

# Semantic search with token-saving (no abstracts)
python scripts/search_science.py "effect of intermittent fasting on weight loss" --limit 10 --no-abstracts

# Keyword / Boolean search
python scripts/search_science.py '"gut microbiome" AND autism NOT mice' --limit 5

# Look up paper by DOI or OpenAlex ID
python scripts/search_science.py --work "10.1126/science.aan8048"

# Find similar papers
python scripts/search_science.py --similar "W2782456798" --limit 5

# Citation walk (what similar papers cite that this paper does not)
python scripts/search_science.py --walk "10.1126/science.aan8048"

Option C: cURL / Shell

Bash (Linux / macOS):

B="https://api.sciencemadereadable.com/api/data"

# Semantic search
curl -sG "$B/search" --data-urlencode "q=effect of intermittent fasting on weight loss in adults" -d k=10 -d abstracts=false

# Keyword & boolean search
curl -sG "$B/search" --data-urlencode 'q="gut microbiome" AND (autism OR ASD) NOT mice' -d k=10 -d abstracts=false

# Paper lookup by DOI
curl -s "$B/works/10.1126/science.aan8048"

# Similar papers
curl -s "$B/similar/W2782456798?k=10&abstracts=false"

# Citation walk
curl -s "$B/walk?id=10.1126/science.aan8048"

PowerShell (Windows):

$B = "https://api.sciencemadereadable.com/api/data"

# Semantic search
Invoke-RestMethod -Uri "$B/search?q=effect+of+intermittent+fasting+on+weight+loss+in+adults&k=10&abstracts=false"

# Paper lookup
Invoke-RestMethod -Uri "$B/works/10.1126/science.aan8048"

2. API Endpoints Reference

| Endpoint | Method | Purpose | Key Parameters |

|---|---|---|---|

| /search | GET | Search papers by meaning or exact keywords | q, mode (auto\|semantic\|keyword), k (1–100), year_from, year_to, type, open_access, abstracts (true\|false) |

| /search/{question} | GET | Plain-text Markdown output of search results | Same query options as /search |

| /works/{ref} | GET | Full paper record by DOI, W-number, or PMCID | ref = DOI (10.xxx), OpenAlex ID (Wxxx), or PMCID (PMCxxx) |

| /similar/{ref} | GET | Find papers closest in meaning to a specific paper | ref, k, year_from, year_to, abstracts |

| /walk?id={ref} | GET | Citation walk: find literature that similar papers cite | id (DOI or W-number), k |

Key Result Fields


3. Best Practices for AI Agents

  1. Academic Phrasing Optimization:
  1. Token Efficiency (Screening Pattern):
  1. Snowballing Literature Reviews:
  1. Rate Limits & Etiquette:
  1. Citing Papers:
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.