{"data":{"slug":"github-aipoch-medical-research-skills-scientific-skills-evidence-insight-arxiv-database-43064bc5bcd2","title":"Search and Retrieve Scientific Preprints from arXiv","summary":"This skill enables users to search and retrieve scientific preprints from arXiv using keyword, author, or category filters. It supports metadata retrieval and PDF downloads for offline reading. The deliverable includes structured metadata (title, authors, abstract, PDF URL, DOI) and optionally downloaded PDFs.","url":"https:\/\/skillshunter.net\/skills\/github-aipoch-medical-research-skills-scientific-skills-evidence-insight-arxiv-database-43064bc5bcd2","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-aipoch-medical-research-skills-scientific-skills-evidence-insight-arxiv-database-43064bc5bcd2","markdown_url":"https:\/\/skillshunter.net\/skills\/github-aipoch-medical-research-skills-scientific-skills-evidence-insight-arxiv-database-43064bc5bcd2.md","download_url":"https:\/\/skillshunter.net\/skills\/github-aipoch-medical-research-skills-scientific-skills-evidence-insight-arxiv-database-43064bc5bcd2\/download","category":{"slug":"data-research","name":"Data & Research"},"editor_note":"Ensure Python 3.8+ is installed and the `arxiv` package (version >=1.4.0) is installed before running the script. Confirm the input query, output path, and any required config values before execution.","instructions":"---\nname: arxiv-database\ndescription: Search and retrieve scientific preprints from arXiv; use it when you need to find papers by keyword\/author\/category, fetch metadata (abstract, DOI, PDF URL), or download PDFs for offline reading.\nlicense: MIT\nauthor: AIPOCH\n---\n> **Source**: [https:\/\/github.com\/aipoch\/medical-research-skills](https:\/\/github.com\/aipoch\/medical-research-skills)\n\n# ArXiv Database Skill\n\n## When to Use\n\n- Use this skill when you need search and retrieve scientific preprints from arxiv; use it when you need to find papers by keyword\/author\/category, fetch metadata (abstract, doi, pdf url), or download pdfs for offline reading in a reproducible workflow.\n- Use this skill when a evidence insight task needs a packaged method instead of ad-hoc freeform output.\n- Use this skill when the user expects a concrete deliverable, validation step, or file-based result.\n- Use this skill when `scripts\/arxiv_search.py` is the most direct path to complete the request.\n- Use this skill when you need the `arxiv-database` package behavior rather than a generic answer.\n\n## Key Features\n\n- Scope-focused workflow aligned to: Search and retrieve scientific preprints from arXiv; use it when you need to find papers by keyword\/author\/category, fetch metadata (abstract, DOI, PDF URL), or download PDFs for offline reading.\n- Packaged executable path(s): `scripts\/arxiv_search.py`.\n- Reference material available in `references\/` for task-specific guidance.\n- Structured execution path designed to keep outputs consistent and reviewable.\n\n## Dependencies\n\n- `Python`: `3.10+`. Repository baseline for current packaged skills.\n- `Third-party packages`: `not explicitly version-pinned in this skill package`. Add pinned versions if this skill needs stricter environment control.\n\n## Example Usage\n\n```bash\ncd \"20260316\/scientific-skills\/Evidence Insight\/arxiv-database\"\npython -m py_compile scripts\/arxiv_search.py\npython scripts\/arxiv_search.py --help\n```\n\nExample run plan:\n1. Confirm the user input, output path, and any required config values.\n2. Edit the in-file `CONFIG` block or documented parameters if the script uses fixed settings.\n3. Run `python scripts\/arxiv_search.py` with the validated inputs.\n4. Review the generated output and return the final artifact with any assumptions called out.\n\n## Implementation Details\n\n- Execution model: validate the request, choose the packaged workflow, and produce a bounded deliverable.\n- Input controls: confirm the source files, scope limits, output format, and acceptance criteria before running any script.\n- Primary implementation surface: `scripts\/arxiv_search.py`.\n- Reference guidance: `references\/` contains supporting rules, prompts, or checklists.\n- Parameters to clarify first: input path, output path, scope filters, thresholds, and any domain-specific constraints.\n- Output discipline: keep results reproducible, identify assumptions explicitly, and avoid undocumented side effects.\n\n## 1. When to Use\n\n- You need to quickly find arXiv preprints by keyword, phrase, author, or category (e.g., `cs.AI`, `cs.CL`).\n- You want to collect paper metadata (title, authors, publication date, abstract\/summary, PDF link) for review or indexing.\n- You need the latest submissions in a topic area (sorted by submission date or last updated date).\n- You want to download one or more PDFs from search results for offline reading or batch processing.\n- You have a known arXiv identifier and want to retrieve the corresponding paper directly.\n\n## 2. Key Features\n\n- arXiv query-based search (supports category filters, author filters, phrases, and ID lookups).\n- Configurable result limits (`--max-results`).\n- Sort control (`--sort-by`: `Relevance`, `LastUpdatedDate`, `SubmittedDate`).\n- Metadata output per result (title, authors, published date, abstract\/summary, PDF URL; DOI when available via arXiv metadata).\n- Optional PDF download for returned results (`--download`) with configurable output directory (`--dir`).\n\n## 3. Dependencies\n\n- Python 3.8+\n- `arxiv` (Python package) \u2014 version depends on your environment; install a recent release (e.g., `arxiv>=1.4.0`)\n\n## 4. Example Usage\n\n### Install dependencies\n\n```bash\npip install \"arxiv>=1.4.0\"\n```\n\n### Run searches and downloads\n\n**Search for papers in `cs.AI` about reinforcement learning (top 5 results):**\n```bash\npython scripts\/arxiv_search.py --query \"cat:cs.AI AND reinforcement learning\" --max-results 5\n```\n\n**Search for \u201cLarge Language Models\u201d in `cs.CL`:**\n```bash\npython scripts\/arxiv_search.py --query \"cat:cs.CL AND \\\"Large Language Models\\\"\"\n```\n\n**Get the latest 5 papers on \u201cquantum computing\u201d (sorted by submission date):**\n```bash\npython scripts\/arxiv_search.py --query \"quantum computing\" --sort-by SubmittedDate --max-results 5\n```\n\n**Download a specific paper by arXiv ID:**\n```bash\npython scripts\/arxiv_search.py --query \"id:2101.12345\" --download\n```\n\n**Download results into a specific directory:**\n```bash\npython scripts\/arxiv_search.py --query \"cat:cs.LG AND diffusion\" --max-results 3 --download --dir .\/papers\n```\n\n## 5. Implementation Details\n\n- **Entry point:** `scripts\/arxiv_search.py` wraps the `arxiv` Python API to execute queries against the arXiv search endpoint.\n- **Query syntax:** The `--query` string is passed to arXiv search and can include:\n  - Category filters (e.g., `cat:cs.AI`)\n  - Author filters (e.g., `au:Smith`)\n  - Exact phrases using quotes (e.g., `\"Large Language Models\"`)\n  - ID lookup (e.g., `id:2101.12345`)\n  - Boolean operators such as `AND`\n- **Result limiting:** `--max-results` controls how many entries are returned (default: `10`).\n- **Sorting:** `--sort-by` selects the ordering of results:\n  - `Relevance` (default)\n  - `LastUpdatedDate`\n  - `SubmittedDate`\n- **Downloads:** When `--download` is set, the script downloads the PDF for each returned result using the provided PDF URL and saves it to `--dir` (default: current working directory).\n- **Metadata fields:** Each result includes core arXiv metadata (title, authors, published date, summary\/abstract, PDF URL). DOI is included when present in arXiv\u2019s metadata for that record.\n","use_cases":["Find papers by keyword or author in specific categories like `cs.AI` or `cs.CL`.","Collect metadata (title, authors, abstract, PDF URL, DOI) for review or indexing.","Download PDFs of selected papers for offline reading or batch processing.","Retrieve the latest submissions in a topic area sorted by submission date."],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/aipoch\/medical-research-skills\/blob\/686e09dfdb45d9fa1a08664f06bb93769b3c9d91\/scientific-skills\/Evidence%20Insight\/arxiv-database\/SKILL.md","source_commit":"686e09dfdb45d9fa1a08664f06bb93769b3c9d91","license":"MIT","version":null,"listing_approved_at":"2026-11-24","created_at":"2026-11-23T13:15:11.000000Z","updated_at":"2026-11-24T12:17:28.000000Z","seo_title":"Search arXiv Preprints by Keyword or Category","seo_description":"Find scientific preprints on arXiv using keywords, authors, or categories. Retrieve metadata and download PDFs for offline reading.","seo_keywords":["arXiv search","scientific preprint retrieval","download arXiv PDFs","find papers by category","arXiv metadata fetch"]}}