360 Secure SkillHub
360 安全技能中心

arXiv Source Reader

通过 arXiv 公共只读接口按 ID 获取论文:可返回展平清洗后的 LaTeX 正文、章节标题列表或摘要,支持去除注释、去除附录、以文件路径替代图片。结果仅在会话内存中缓存,不写入磁盘。

willamhou
willamhou
热度 77.13
最近更新 2026-05-11 17:29:37
分类:知识依赖:第三方 API应用场景:研究 / 摘要总结

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add arxiv-source
Metadata
name
arxiv-reader
description
Read and analyze arXiv papers by fetching LaTeX source, listing sections, or extracting abstracts
metadata
{"openclaw":{"emoji":"📄","tags":["arxiv","research","academic","papers","latex"],"requires":{"bins":[],"os":["darwin","linux","win32"],"runtime":"node"},"network":[{"host":"arxiv.org","purpose":"Fetch paper LaTeX source tarballs and Atom API metadata"},{"host":"export.arxiv.org","purpose":"Alternate arXiv download endpoint"}]}}

arxiv-reader

Read and analyze arXiv papers by fetching their public LaTeX source. Converts LaTeX into clean text suitable for LLM analysis.

Description

This skill fetches arXiv papers from the public arXiv API (arxiv.org), flattens LaTeX includes, and returns clean text. No local file access is required — all content is fetched over HTTPS from arXiv's public endpoints and cached in memory for the session.

Network access: Only connects to arxiv.org and export.arxiv.org to download publicly available paper source tarballs and metadata. No other network connections are made. No data is sent to external services — this is read-only.

Caching: Results are cached in memory (process-scoped) for fast repeat access within the same session. No files are written to disk.

Usage Examples

  • "Read the paper 2301.00001 from arXiv"
  • "What sections does paper 2405.12345 have?"
  • "Get the abstract of 2312.09876"
  • "Fetch paper 2301.00001 without the appendix"

Process

  1. Quick look — Use arxiv_abstract to get a paper's abstract before committing to a full read
  2. Survey structure — Use arxiv_sections to understand the paper's outline
  3. Deep read — Use arxiv_fetch to get the full flattened LaTeX for analysis

Tools

arxiv_fetch

Fetch the full flattened LaTeX source of an arXiv paper.

Parameters:

  • arxiv_id (string, required): arXiv paper ID (e.g. 2301.00001 or 2301.00001v2)
  • remove_comments (boolean, optional): Strip LaTeX comments (default: true)
  • remove_appendix (boolean, optional): Remove appendix sections (default: false)
  • figure_paths (boolean, optional): Replace figures with file paths only (default: false)

Returns: { content: string, arxiv_id: string, cached: boolean }

Example:

{ "arxiv_id": "2301.00001", "remove_appendix": true }

arxiv_sections

List all sections and subsections of an arXiv paper.

Parameters:

  • arxiv_id (string, required): arXiv paper ID

Returns: { arxiv_id: string, sections: string[] }

Example:

{ "arxiv_id": "2301.00001" }

arxiv_abstract

Extract just the abstract from an arXiv paper.

Parameters:

  • arxiv_id (string, required): arXiv paper ID

Returns: { arxiv_id: string, abstract: string }

Example:

{ "arxiv_id": "2301.00001" }

Notes

  • Results are cached in memory — repeat requests within the same session are instant
  • Paper IDs support version suffixes (e.g. 2301.00001v2)
  • Very large papers may take 10-30 seconds on first fetch
  • arxiv_abstract uses the public arXiv Atom API for fast metadata retrieval
  • No filesystem writes — all caching is in-memory only
  • Only connects to arxiv.org (read-only, public data)