Search and retrieve arXiv academic papers by topic, category, or paper ID — with AlphaXiv-enriched AI-generated overviews. Uses arXiv Atom API across cs.AI/cs.L
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-arxiv-38c7e49648d5 ,按照其中的说明把「ArXiv」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
Before executing, check for user customizations at:
~/.claude/LIFEOS/USER/CUSTOMIZATIONS/SKILLS/ArXiv/
If this directory exists, load and apply any PREFERENCES.md, configurations, or resources found there. These override default behavior. If the directory does not exist, proceed with skill defaults.
You MUST send this notification BEFORE doing anything else when this skill is invoked.
Send voice notification:
curl -s -X POST http://localhost:31337/notify \
-H "Content-Type: application/json" \
-d '{"message": "Running the WORKFLOWNAME workflow in the ArXiv skill to ACTION"}' \
> /dev/null 2>&1 &
Output text notification:
Running the **WorkflowName** workflow in the **ArXiv** skill to ACTION...
This is not optional. Execute this curl command immediately upon skill invocation.
Searches and retrieves arXiv academic papers by topic, category, or paper ID, and pulls AlphaXiv's AI-generated overviews when a paper has one. Covers the cs.AI / cs.LG / cs.CL / cs.CR / cs.MA / cs.SE / cs.IR categories. Three workflows: Latest, Search, Paper. No API keys needed.
arXiv ships thousands of papers a day and its native search is clunky — Atom XML, three-second rate limits, fields you have to know by name, and a lastUpdatedDate that quietly resurfaces old papers as if they were new. Reading a raw paper to decide whether it's worth your time is slow. This skill wraps the query mechanics, handles the XML, and layers AlphaXiv overviews on top so you can triage a paper in seconds instead of reading the whole PDF first.
Uses arXiv's Atom API for search and discovery, and AlphaXiv's markdown endpoint for enriched paper overviews. Search fields, boolean operators, sort order, and pagination are all handled for you; overviews are fetched per paper ID when available (a 404 just means no overview exists yet).
| Trigger | Workflow |
|---|---|
| "latest papers in X", "new papers on X", "what's new in AI research" | Workflows/Latest.md |
| "search arxiv for X", "find papers about X", "arxiv papers on X" | Workflows/Search.md |
arxiv URL, paper ID like 2401.12345, "explain this paper" | Workflows/Paper.md |
arXiv API (no auth):
https://export.arxiv.org/api/queryti: (title), au: (author), abs: (abstract), cat: (category), all: (everything)AND, OR, ANDNOTsortBy=lastUpdatedDate&sortOrder=descending for lateststart=0&max_results=10 (max 2000 per call)AlphaXiv enrichment (no auth):
curl -s "https://alphaxiv.org/overview/{PAPER_ID}.md"curl -s "https://alphaxiv.org/abs/{PAPER_ID}.md" (fallback)Key categories for our work:
cs.AI — Artificial Intelligencecs.LG — Machine Learningcs.CL — Computation and Language (NLP/LLMs)cs.CR — Cryptography and Securitycs.SE — Software Engineeringcs.MA — Multi-Agent Systemscs.IR — Information RetrievalExample 1: Latest papers in a category
User: "what's new in AI safety papers this week"
→ Latest workflow: queries cat:cs.AI sorted by lastUpdatedDate, filters by <published> date
→ Returns titles, authors, abstracts, links
Example 2: Topic search
User: "search arxiv for prompt injection defenses"
→ Search workflow: all:"prompt injection" query with boolean refinement
→ Returns ranked matches with abstracts
Example 3: Single paper lookup
User: "explain this paper: 2401.12345"
→ Paper workflow: fetches metadata, pulls AlphaXiv overview (falls back to abstract on 404)
→ Returns summary plus link to PDF
-L (follows redirects). HTTP 301s to HTTPS silently.jq.lastUpdatedDate includes edits to old papers. For truly new submissions, check <published> dates.max_results caps at 2000. For broader sweeps, paginate with start.cat:cs.AI) returns papers with that as primary OR cross-listed category.After completing any workflow, append a single JSONL entry:
echo '{"ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","skill":"ArXiv","workflow":"WORKFLOW_USED","input":"8_WORD_SUMMARY","status":"ok|error","duration_s":SECONDS}' >> ~/.claude/LIFEOS/MEMORY/SKILLS/execution.jsonl