ma-search-bibliography
Skill by htlin222
Runs literature searches for meta-analysis with Python and uv. It queries PubMed and other databases, deduplicates results, and stores round-based BibTeX bibliographies for researchers building an evidence corpus.
Install ma-search-bibliography
Built from the published package, never by AI.
git clone --depth 1 https://github.com/htlin222/meta-pipe /tmp/meta-pipe && mkdir -p ~/.claude/skills && cp -r /tmp/meta-pipe/ma-search-bibliography ~/.claude/skills/ma-search-bibliographyRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/htlin222/meta-pipe /tmp/meta-pipe && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/meta-pipe/ma-search-bibliography ~/.gemini/antigravity-cli/skills/ma-search-bibliographyAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install ma-search-bibliography in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill guides the search stage of a meta-analysis. It translates PICO terms from a protocol into database queries, runs search scripts with uv, and records the search date, database and query hash in a log. PubMed and Scopus are the mandatory minimum sources, with Embase and Cochrane optional if the protocol defines them. Results are exported to BibTeX and deduplicated by DOI, PMID and title.
The skill also covers abstract enrichment before screening, using PubMed, CrossRef and OpenAlex as sources. Each round is kept in its own folder, and a PRISMA 2020 flowchart can be generated from the counts. It is aimed at researchers and systematic review teams who build or update an evidence corpus.
Written from the project's SKILL.md and checked against it.
What it can do
- PICO to query translationTranslates PICO terms into database-specific queries saved in queries.txt.
- PubMed searchFetches PubMed records with scripts/pubmed_fetch.py and writes BibTeX.
- Scopus, Embase and Cochrane searchProvides fetch scripts for the Scopus, Embase and Cochrane APIs.
- DeduplicationRemoves duplicate records by DOI, PMID or title into dedupe.bib.
- Round-based bibliographiesStores each search round in its own folder and keeps prior .bib files.
- Abstract enrichmentBack-fills abstracts from PubMed, DOI to PMID, CrossRef and OpenAlex before screening.
- PRISMA flowchartGenerates PRISMA 2020 flow diagrams in PNG, PDF, SVG and HTML formats.
- Zotero syncFetches records from a Zotero collection and syncs a .bib file back to it.
What you need
- Python with uv
- R for the PRISMA flowchart script
- PubMed email and API key
- Scopus API access
- A .env file in the project root for API keys
Try asking
- Translate my PICO terms into PubMed and Scopus queries for round 1.
- Deduplicate the round-01 results by DOI, PMID and title.
- Back-fill abstracts for my dedupe.bib before screening.
Good to know
- PubMed and Scopus are the mandatory minimum sources for PRISMA.
- Serial abstract lookups run at roughly 8 per minute, so about 1,000 DOIs take about 2 hours.
- OpenAlex is unauthenticated and rate limited, so its contribution is best-effort.
- Records with no abstract are kept and screen to unclear rather than exclude.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: ma-search-bibliography/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to ma-search-bibliography
All alternatives →Searches arXiv for scientific papers and preprints, extracts their metadata and abstracts, and downloads PDF or HTML full text. Suited to users who need research papers, literature or specific arXiv IDs.
Downloads AlphaFold predicted structures and PAE matrices for a UniProt ID, then reports pLDDT confidence, domain boundaries and disorder. Built for users who already have a UniProt accession.
Queries the QuickGO and Evidence & Conclusion Ontology REST API to map genes to Gene Ontology terms. Built for researchers doing functional annotation and GO hierarchy exploration.
Connects an AI assistant to Peloton to browse fitness classes, check live and archived schedules, and manage workouts. Built for Peloton users who want to plan rides from their assistant.
Queries NCBI Gene through the E-utilities and Datasets API. It helps researchers search genes by symbol or ID, retrieve gene details, and run batch lookups for annotation and functional analysis.
Prepares and launches nf-core/pacsomatic runs for matched tumor-normal PacBio HiFi data starting from unaligned BAM files. It generates samplesheets and pinned launch artifacts, then runs locally or submits to a scheduler.
Compare with literature-search-arxiv, alphafold-database-fetch-and-analyze or quickgo-database
ma-search-bibliography: common questions
Which databases does this skill search?
PubMed and Scopus are the mandatory minimum. The source also describes optional Embase and Cochrane fetch scripts, and a ClinicalTrials.gov script.
How are duplicate records removed?
The dedupe script removes duplicates based on DOI, PMID or title. The result is saved as dedupe.bib for the round.
Why does the abstract enrichment script need --project tooling/python?
Without it, uv resolves a different environment and the script fails with a misleading bibtexparser error. The source says this flag is the correct form.
How do I install ma-search-bibliography?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is ma-search-bibliography free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is ma-search-bibliography safe to use?
It scores 64 of 100. Grades: maintenance A, licence F, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to ma-search-bibliography?
Similar skills: literature-search-arxiv, alphafold-database-fetch-and-analyze, quickgo-database, peloton.
