Look up arXiv paper metadata via the arXiv API. Use when you need to get a journal DOI from an arXiv ID (for OpenAlex integration), or find an arXiv ID from a title/keyword search (for arxiv-doc-builder). Requires the `arxiv` Python package.
Written by ultimatile and published in ultimatile/arxiv-skills under the MIT license. Treq shows it unchanged except for heading levels and links to files on GitHub.
Lightweight scripts for querying the arXiv API directly via arxiv.py.
In the commands below, SKILL_DIR is a placeholder, not a shell variable: replace it with the absolute path of the directory this SKILL.md is in. Keep the double quotes around the path, so a path containing spaces stays one argument. --no-project keeps uv from building the environment from a project in your working directory. The commands then run from any working directory.
uv run --no-project --with arxiv "SKILL_DIR/scripts/get_doi.py" <arxiv_id>
10.48550/arXiv.{id})10.48550/arXiv.<id> — no API call neededuv run --no-project --with arxiv "SKILL_DIR/scripts/search_id.py" <query> [max_results]
arxiv_id\ttitle linesti: (title), au: (author), abs: (abstract), cat: (category)ti:"Attention Is All You Need"ti:transformer AND cat:cs.CLget_doi.py to obtain journal DOIs for OpenAlex queriessearch_id.py to find arXiv IDs, then pass to arxiv-doc-builderClaude Code and Codex keep each installed skill's name and description in context. When a request matches the description, the agent loads the full SKILL.md. You can also run it yourself: type /arxiv-lookup in Claude Code or $arxiv-lookup in Codex.
The description says when to use it:
Use when you need to get a journal DOI from an arXiv ID (for OpenAlex integration), or find an arXiv ID from a title/keyword search (for arxiv-doc-builder).
Copy the arxiv-lookup folder into .claude/skills/ in your project. To use it in every project, copy it into ~/.claude/skills/ instead.
git clone --depth 1 https://github.com/ultimatile/arxiv-skills.git /tmp/ultimatile-arxiv-skills
mkdir -p .claude/skills
cp -r /tmp/ultimatile-arxiv-skills/skills/arxiv-lookup .claude/skills/
Codex reads skills from .agents/skills/ in your repository, and from ~/.agents/skills/ for every repository. It detects new skills on its own. Restart Codex if arxiv-lookup does not appear.
git clone --depth 1 https://github.com/ultimatile/arxiv-skills.git /tmp/ultimatile-arxiv-skills
mkdir -p .agents/skills
cp -r /tmp/ultimatile-arxiv-skills/skills/arxiv-lookup .agents/skills/
Open Settings and select the Skills tab. The tab appears when Skills installation is on under Settings → Feature Preview. Search for arxiv-lookup and choose Install….
Install for repository writes the skill under .treq/skills/ in the current repository. Install for application makes it available to every repository on this machine. Each new workspace gets a copy in .claude/skills/ and .agents/skills/, so Claude Code and Codex both find it. See Installing Skills from the Library.
arxiv-lookup ships 3 files, 3.8 KB in total. Select a file to load it from GitHub.