Literature Meta Search
Researchliterature-meta-searchLiterature Meta Search is an Agent Skill for research published in the lamm-mit/scienceclaw repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Unified search across OSTI, Google Scholar, ArXiv, and corpus-search with deduplication and reciprocal rank fusion
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/lamm-mit/scienceclaw/blob/HEAD/skills/literature-meta-search/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/literature-meta-search, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Literature Meta-Search
Unified literature search across multiple sources — OSTI, Google Scholar, ArXiv, and the local PDF corpus — with deduplication and reciprocal rank fusion ranking. Returns a single merged result list with an in_corpus flag showing which papers are in the local index.
Usage
Search all sources:
python3 {baseDir}/scripts/meta_search.py --query "lithium extraction brine"
Select specific sources:
python3 {baseDir}/scripts/meta_search.py --query "rare earth separation" --sources osti,scholar
Filter by year:
python3 {baseDir}/scripts/meta_search.py --query "cobalt supply chain" --year-from 2020 --year-to 2025
JSON output:
python3 {baseDir}/scripts/meta_search.py --query "critical minerals policy" --format json --top-n 20
Parameters
| Parameter | Description | Default |
|---|---|---|
--query | Search query | Required |
--sources | Comma-separated sources: osti, scholar, arxiv, corpus | osti,scholar,arxiv,corpus |
--year-from | Start year for publication filter | - |
--year-to | End year for publication filter | - |
--top-n | Number of results to return | 15 |
--format | Output format: summary, detailed, json | summary |
Sources
| Source | Type | Auth Required |
|---|---|---|
osti | DOE technical reports | No |
scholar | Google Scholar papers | SERPAPI_KEY |
arxiv | ArXiv preprints | No |
corpus | Local PDF corpus | PINECONE_API_KEY |
Examples
# Multi-source search for battery materials
python3 {baseDir}/scripts/meta_search.py --query "solid state battery electrolyte" --top-n 20
# OSTI + Scholar for policy research
python3 {baseDir}/scripts/meta_search.py --query "critical minerals trade policy" --sources osti,scholar
# Recent arxiv + corpus papers
python3 {baseDir}/scripts/meta_search.py --query "rare earth recycling" --sources arxiv,corpus --year-from 2023
Notes
- Uses reciprocal rank fusion to merge results from multiple sources
- Deduplication by fuzzy title matching (>80% similarity)
in_corpusflag indicates which results are in the local PDF index- Sources that fail (e.g., missing API key) are skipped with a warning
- For single-source search, use the individual skill directly