skills/43-wentorai-research-plugins/skills/literature/search/arxiv-cli-tools/SKILL.md
Command-line tools for searching and batch-downloading arXiv papers
npx skillsauth add brycewang-stanford/Awesome-Agent-Skills-for-Empirical-Research arxiv-cli-toolsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
arxiv-cli-tools is a Python command-line interface for searching and downloading papers from arXiv.org. It wraps the arxiv Python client library into convenient CLI commands, enabling researchers to search by keyword, author, or category, view abstracts, and batch-download PDFs directly from the terminal. No API key is required.
# Recommended: isolated install with pipx
pipx install arxiv-cli-tools
# Alternative: pip
pip install arxiv-cli-tools
# Verify installation
arxiv-cli --help
# Search by keyword (default: 10 results)
arxiv-cli search "transformer attention mechanism"
# Limit results
arxiv-cli search "quantum computing" -n 5
# Show abstracts in results
arxiv-cli search "prompt engineering" -n 5 --summary
# Filter by author
arxiv-cli search "attention mechanism" --authors "Vaswani"
# Filter by arXiv category
arxiv-cli search "neural networks" --categories "cs.LG,cs.AI"
# Combine filters
arxiv-cli search "protein folding" --categories "q-bio" -n 20 --summary
| Prefix | Field | Popular Subcategories |
|--------|-------|----------------------|
| cs | Computer Science | cs.AI, cs.CL, cs.CV, cs.LG, cs.SE |
| math | Mathematics | math.ST, math.OC, math.PR |
| physics | Physics | physics.comp-ph, hep-th, cond-mat |
| stat | Statistics | stat.ML, stat.ME, stat.TH |
| q-bio | Quantitative Biology | q-bio.BM, q-bio.GN |
| q-fin | Quantitative Finance | q-fin.ST, q-fin.PM |
| econ | Economics | econ.EM, econ.GN |
| eess | Electrical Engineering | eess.SP, eess.AS |
# Download by arXiv ID
arxiv-cli download --id 1706.03762 --dest ~/papers
# Download PDF format explicitly
arxiv-cli download --id 2301.13688 --dest ~/papers --pdf
# Download multiple papers
arxiv-cli download --id 1706.03762 --id 2301.13688 --id 2303.08774 \
--dest ~/papers/transformers
# Skip already downloaded files
arxiv-cli download --id 1706.03762 --id 2301.13688 \
--dest ~/papers --skip-existing
A common workflow is to search first, then download selected papers:
# 1. Search and note IDs
arxiv-cli search "diffusion models survey" -n 10 --summary
# 2. Download the relevant ones
arxiv-cli download --id 2209.00796 --id 2206.00364 --dest ~/papers/diffusion
For programmatic use, the underlying arxiv library provides a Python API:
import arxiv
# Search
search = arxiv.Search(
query="large language models",
max_results=10,
sort_by=arxiv.SortCriterion.SubmittedDate
)
for result in arxiv.Client().results(search):
print(f"{result.entry_id}: {result.title}")
print(f" Authors: {', '.join(a.name for a in result.authors)}")
print(f" Published: {result.published.date()}")
print(f" PDF: {result.pdf_url}")
print()
# Download
result.download_pdf(dirpath="./papers", filename="paper.pdf")
#!/bin/bash
# Check for new papers in your research area
DATE=$(date +%Y-%m-%d)
LOG="$HOME/papers/daily_${DATE}.txt"
echo "=== arXiv Papers for $DATE ===" > "$LOG"
arxiv-cli search "retrieval augmented generation" \
--categories "cs.CL,cs.AI" -n 20 --summary >> "$LOG"
echo "Paper digest saved to $LOG"
After finding relevant papers, retrieve BibTeX entries via the arXiv API:
# Get BibTeX for a specific paper
curl -s "https://arxiv.org/bibtex/1706.03762"
development
Conduct rigorous thematic analysis (TA) of qualitative data following Braun and Clarke's (2006) six-phase framework. Use whenever the user mentions 'thematic analysis', 'TA', 'Braun and Clarke', 'qualitative coding', 'identifying themes', or asks for help analysing interviews, focus groups, open-ended survey responses, or transcripts to identify patterns. Also trigger for questions about inductive vs theoretical coding, semantic vs latent themes, essentialist vs constructionist epistemology, building a thematic map, or writing up a qualitative findings section. Covers all six phases, the four upfront analytic decisions, the 15-point quality checklist, and the five common pitfalls. Produces a Word document write-up and an annotated thematic map. Does NOT cover IPA, grounded theory, discourse analysis, conversation analysis, or narrative analysis — use a different method for those.
development
Guide users through writing a systematic literature review (SLR) following the PRISMA 2020 framework. Use this skill whenever the user mentions 'systematic review', 'systematic literature review', 'SLR', 'PRISMA', 'PRISMA 2020', 'PRISMA flow diagram', 'PRISMA checklist', or asks for help writing, structuring, or auditing a literature review that follows reporting guidelines. Also trigger when the user asks about inclusion/exclusion criteria for a review, search strategies for databases like Scopus/WoS/PubMed, study selection processes, risk of bias assessment, or narrative synthesis for a review paper. This skill covers the full PRISMA 2020 checklist (27 items), produces a Word document manuscript in strict journal article format, generates an annotated PRISMA flow diagram, and enforces APA 7th Edition referencing throughout. It does NOT cover meta-analysis or statistical pooling. By Chuah Kee Man.
testing
Performs placebo-in-time sensitivity analysis with hierarchical null model and optional Bayesian assurance. Use when checking model robustness, verifying lack of pre-intervention effects, or estimating study power.
data-ai
Fit, summarize, plot, and interpret a chosen CausalPy experiment. Use after the causal method has been selected, including when configuring PyMC/sklearn models and scale-aware custom priors.