跳到正文
cccskills
免费在 GitHub 公开

arxiv-paper-reader

Fetch and extract full text from arxiv paper HTML pages. Invoke when user asks to read an arxiv paper, analyze a paper's content, or when given an arxiv ID/URL.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(2)

  • SKILL.md2.3 KB
  • scripts/arxiv_reader.py5.0 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Arxiv Paper Reader

从 arxiv 论文的 HTML 页面抓取并提取全文纯文本。arxiv 的 HTML 版本比 PDF 更容易程序化提取,且包含完整内容。

适用场景

  • 用户给出 arxiv 论文 ID 或 URL,要求阅读/分析论文内容
  • 需要获取论文的完整文本用于笔记整理、技术分析
  • WebFetch 工具无法直接访问 arxiv 页面时的替代方案

核心原理

arxiv 论文有两种可读格式:

  1. abs 页面:https://arxiv.org/abs/<ID> — 只有摘要
  2. HTML 页面:https://arxiv.org/html/<ID>v1 — 完整论文文本(LaTeXML 渲染)

HTML 页面是完整论文的网页版,可通过 curl 获取后提取纯文本。这比 PDF 解析更可靠。

使用步骤

  1. 从用户输入中提取 arxiv ID(如 2507.02259)
  2. 运行脚本:
python .trae/skills/arxiv-paper-reader/scripts/arxiv_reader.py <arxiv_id_or_url>
  1. 可选参数:
    • --output FILE:保存到文件(默认输出到 stdout)
    • --sections:添加章节分隔符
    • --raw:跳过数学符号清理

示例

# 基本用法
python .trae/skills/arxiv-paper-reader/scripts/arxiv_reader.py 2507.02259

# 从 URL 提取
python .trae/skills/arxiv-paper-reader/scripts/arxiv_reader.py https://arxiv.org/abs/2507.02259

# 保存到文件并添加章节分隔
python .trae/skills/arxiv-paper-reader/scripts/arxiv_reader.py 2507.02259 --output /tmp/paper.txt --sections

# 读取后用 Read 工具分段查看
python .trae/skills/arxiv-paper-reader/scripts/arxiv_reader.py 2507.02259 --output /tmp/paper.txt
# 然后 Read /tmp/paper.txt

输出说明

  • 纯文本格式,保留论文的章节结构
  • 数学公式会被简化清理(LaTeXML 渲染的 LaTeX 标记会被部分还原)
  • 包含标题、摘要、正文、参考文献等完整内容

注意事项

  • 依赖 curl 命令(macOS/Linux 默认可用)
  • 部分论文可能没有 HTML 版本(较老的论文),此时脚本会报错
  • 版本号默认使用 v1,如需其他版本可手动构造 URL
  • 对于超长论文,建议 --output 保存到文件后用 Read 工具分段查看

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Track and synthesize current AI hotspots into a bilingual HTML daily report. Use when the user says "AI热点", asks for AI日报/AI日报 HTML/AI hot topics, or wants the best recent AI products, papers, viewpoints, and cognition-shifting items from AI/news aggregators.

中文简介正在准备中。当前显示原文说明。

huangruiteng/CS-Notes40102026年10月19日 更新

ask-echo

免费

使用火山引擎 Ask-Echo 融合信息搜索 API 进行 web 搜索、web 搜索总结版和图片搜索。

中文简介正在准备中。当前显示原文说明。

huangruiteng/CS-Notes40102026年10月19日 更新

Build or update the BlueBubbles external channel plugin for Clawdbot (extension package, REST send/probe, webhook inbound).

中文简介正在准备中。当前显示原文说明。

huangruiteng/CS-Notes40102026年10月19日 更新

Build a composable CLI for Codex from API docs, an OpenAPI spec, existing curl examples, an SDK, a web app, an admin tool, or a local script. Use when the user wants Codex to create a command-line tool that can run from any repo, expose composable read/write commands, return stable JSON, manage auth, and pair with a companion skill.

中文简介正在准备中。当前显示原文说明。

huangruiteng/CS-Notes40102026年10月19日 更新

Optimize code performance through iterative improvements (max 2 rounds). Benchmark execution time and memory usage, compare against baseline implementations, and generate detailed optimization reports. Supports C++, Python, Java, Rust, and other languages.

中文简介正在准备中。当前显示原文说明。

huangruiteng/CS-Notes40102026年10月19日 更新

Inspect and manage guarded Codex App-native or launchd heartbeats for Codex main control threads. Use when the user wants Codex to periodically continue a specific thread only when it is idle, avoid interrupting active work, keep App-visible interactions, inspect thread status, or enable/disable project autopilot heartbeats.

中文简介正在准备中。当前显示原文说明。

huangruiteng/CS-Notes40102026年10月19日 更新

查看 huangruiteng 的全部技能

报告此技能的问题