Survey citing or referenced papers for a given seed paper using OpenAlex API. Use when the user asks to find follow-up papers, citing papers, references, or related literature for a specific paper identified by DOI or arXiv ID. Also use when asked to check prior work, search for related publications, or build a literature survey around a specific paper.
Survey citing or referenced papers using the OpenAlex API.
All paths below are relative to this skill's base directory. Construct the full path by prepending the base directory shown at the top of this skill's context.
uv run <base-dir>/scripts/citation_survey.py citing --doi <DOI>
uv run <base-dir>/scripts/citation_survey.py citing --arxiv <ARXIV_ID>
uv run <base-dir>/scripts/citation_survey.py refs --doi <DOI>
uv run <base-dir>/scripts/citation_survey.py citing --doi <DOI> --filter "keyword1,keyword2"
uv run <base-dir>/scripts/citation_survey.py citing --doi <DOI> --output results.json
uv run <base-dir>/scripts/citation_survey.py citing --doi <DOI> --verbose
direction: citing (papers that cite this work) or refs (references of this work)--doi: DOI of the seed paper--arxiv: arXiv ID of the seed paper (alternative to --doi)--filter: Comma-separated keywords to filter by title/abstract--max-results: Maximum number of results (default: 2000)--output: Save results to JSON file--verbose: Show abstracts in output--api-key: OpenAlex API key (supported, but leaks into shell history/process lists)--api-key-file: Read OpenAlex API key from a fileFind papers citing Hackl et al. (2020) about Kähler geometry:
uv run <base-dir>/scripts/citation_survey.py citing --doi 10.21468/SciPostPhys.9.4.048 --filter "variational principle,kähler,neural quantum"
Find references of a paper by arXiv ID:
uv run <base-dir>/scripts/citation_survey.py refs --arxiv 2004.01015
OpenAlex API requires an API key (free account at https://openalex.org/settings/api).
Prefer OPENALEX_API_KEY or --api-key-file.
--api-key is still supported, but command-line secrets may be visible in shell history or process listings.
The script works without a key but with stricter rate limits.