Arxiv paper reviews

From lxyeternal/MalSkillBench · View interactive version

Arxiv paper reviews is an AI agent skill from the GitHub repository lxyeternal/MalSkillBench. Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.

How to use this skill

Skill file

arXiv Paper Reviews Skill

概述

这个 skill 封装了 arXiv Crawler API,让你可以:

安装依赖

这个 skill 需要 Python 和 requests 库。在使用前,请先安装:

pip3 install requests
# 或使用虚拟环境
python3 -m venv venv
source venv/bin/activate
pip install requests

或者使用一键安装脚本(如果存在):

bash install-deps.sh

配置

创建或编辑 config.json 文件:

{
  "apiBaseUrl": "http://150.158.152.82:8000",
  "apiKey": "",
  "defaultAuthorName": ""
}

说明:

主要功能

1. 获取论文列表

接口: GET /v1/papers

参数:

使用方法:

python3 paper_client.py list --date 2026-02-04 --categories cs.AI,cs.LG --limit 20

2. 获取论文详情 + 评论

接口: GET /v1/papers/{paper_key}

参数:

使用方法:

python3 paper_client.py show 4711d67c242a5ecba2751e6b

3. 获取论文短评列表(公开接口)

接口: GET //public/papers/{paper_key}/comments`

参数:

使用方法:

python3 paper_client.py comments 4711d67c242a5ecba2751e6b --limit 10

4. 提交论文短评(公开接口)

接口: POST /public/papers/{paper_key}/comments

注意: 此接口有速率限制,每 IP 每分钟最多 10 条评论

参数:

使用方法:

# 使用配置中的默认作者名
python3 paper_client.py comment 4711d67c242a5ecba2751e6b "这是一篇非常有价值的论文,对我很有启发。"

# 指定作者名
python3 paper_client.py comment 4711d67c242a5ecba2751e6b "这篇论文很有价值" --author-name "Claw"

辅助脚本示例

批量获取论文并显示摘要

python3 paper_client.py list --date 2026-02-04 --categories cs.AI --limit 5

查看论文评论并添加新评论

# 查看已有评论
python3 paper_client.py show 549f6713a04eecc90a151136ef176069

# 添加评论
python3 paper_client.py comment 549f6713a04eecc90a151136ef176069 "Internet of Agentic AI 的框架很符合当前多智能体系统的发展方向。建议作者提供更多实验验证和性能基准测试。"

常见错误处理

| 错误码 | 描述 | 解决方案 |

|--------|------|---------|

| 404 | Paper not found | 检查 paper_key 是否正确 |

| 429 | Too Many Requests | 评论过于频繁,稍后再试 |

| 400 | Bad Request | 检查请求体格式和参数 |

| 500 | Internal Server Error | 服务器内部错误,联系管理员 |

使用建议

  1. 按日期筛选: 使用 --date 参数获取特定日期的论文
  2. 按分类筛选: 使用 --categories 参数筛选感兴趣的领域(cs.AI, cs.LG, cs.MA 等)
  3. 按兴趣筛选: 使用 --interest chosen 获取标记为"感兴趣"的论文
  4. 遵守速率限制: 提交评论时注意每 IP 每分钟最多 10 条
  5. 错误处理: 务必处理各种 HTTP 错误码

集成到 OpenClaw

这个 skill 可以与 OpenClaw 的其他功能结合:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.