← 返回 Skills 市场
cnicpyx

arXiv to Zotero

作者 清弦. · GitHub ↗ · v1.0.2 · MIT-0
cross-platform ✓ 安全检测通过
399
总下载
1
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install arxiv-to-zotero
功能描述
Find recent arXiv papers, skip what is already in Zotero, and save new imports with parent-item tagging and PDF attachments into a dedicated collection.
使用说明 (SKILL.md)

arXiv to Zotero

Use this skill when the user wants recent arXiv papers found and written into Zotero directly.

Best-fit use cases

  • find papers by topic + time range
  • skip papers already in Zotero
  • attach PDFs when possible
  • keep imports organized with a fixed tag and a dedicated collection

Setup

On first use, if ~/.openclaw/config/skills/arxiv-to-zotero.setup.json is missing, read {baseDir}/setup.md, collect the required Zotero values, tell the user to put ZOTERO_API_KEY in ~/.openclaw/.env, create the setup-state file, and resume the original request exactly once.

Flow

  1. If the user has not already provided them, ask for:
    • topic keywords or phrases
    • a time range
  2. Do not ask the user to write an arXiv query.
  3. If the user gives keywords in Chinese, translate them into concise, technically accurate English search phrases before building the arXiv query.
  4. Build one valid arXiv API search_query yourself.
  5. Run the script once:
python3 {baseDir}/scripts/main.py --config {baseDir}/config.json --query '\x3CarXiv search_query>'
  1. After the script finishes, use result.user_message as the final user-facing notification.

Query rules

  • Use official arXiv fielded search syntax.
  • The final arXiv query must be written in English.
  • Use double quotes for multi-word phrases.
  • Combine alternative keywords with OR when appropriate.
  • Add the requested time range with submittedDate:[YYYYMMDDTTTT TO YYYYMMDDTTTT].
  • Pass the query as normal text. Do not URL-encode it yourself.

Guarantees

  • Existing Zotero items are not modified.
  • New parent items are tagged with arxiv-to-zotero by default.
  • New imports are placed into the arxiv-to-zotero collection by default. If that collection does not exist, the script creates it.
  • If Zotero file upload hits HTTP 413, the script falls back to linked_url for that paper and keeps later attachments in link mode for the same run.

When not to use

Do not use this skill for discussion-only requests, browsing help, or any task that should not write to Zotero.

Network / Privacy

  • Contacts: arXiv Atom API, arXiv PDF URLs, Zotero Web API
  • Secret used: ZOTERO_API_KEY
  • Writes: new Zotero parent items and child attachments only
  • Does not modify existing Zotero items

Natural-language trigger examples

  • 帮我找近三年来 mamba 或者多模态用于股票预测的 arXiv 论文,并导入 Zotero。
  • 帮我查最近两年 test-time adaptation 或 active search 用于组合优化的 arXiv 论文,去重后导入 Zotero。
  • 帮我找近半年的 graph neural network 用于 TSP 或 vehicle routing 的 arXiv 论文,导入 Zotero。
安全使用建议
This skill appears coherent: it will ask for a Zotero API key and then run the bundled Python script once to search arXiv and create new Zotero items (including attempts to attach PDFs using curl). Before installing: 1) confirm you are comfortable granting the Zotero API key (create a key with the minimal necessary permissions and revoke it later if needed); 2) review the bundled scripts (scripts/main.py) if you want to audit exact network calls and file writes; 3) be aware the skill will create a setup-state at ~/.openclaw/config/skills/arxiv-to-zotero.setup.json and may write non-secret defaults into the skill's config.json; 4) consider running with a small import cap (config.import_policy.max_new_items) or dry-run to verify behavior; and 5) if you do not want the agent to invoke the skill autonomously, disable autonomous invocation in your agent settings.
功能分析
Type: OpenClaw Skill Name: arxiv-to-zotero Version: 1.0.2 The arxiv-to-zotero skill bundle is well-structured and its functionality aligns strictly with the stated purpose of automating research paper imports. The Python script (scripts/main.py) uses standard libraries and subprocess calls to curl for PDF downloads in a safe manner (avoiding shell=True), and interacts only with legitimate endpoints (arXiv and Zotero APIs). No evidence of malicious intent, credential exfiltration, or prompt-injection attacks was found; the skill follows established OpenClaw patterns for configuration and secret management via environment variables.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
Name/description (arXiv → Zotero) align with required binaries (python3, curl), the single required environment variable (ZOTERO_API_KEY), the included script (scripts/main.py), and the documented behavior (search arXiv, dedupe against Zotero, create collection, upload PDFs). The Zotero API key is the expected credential for this function.
Instruction Scope
SKILL.md instructs the agent to collect keywords/time range, build a single arXiv query, and invoke the bundled script once. It restricts external network targets (arXiv, arXiv PDF URLs, Zotero API) and documents read/write paths (config.json, ~/.openclaw/.env, setup-state). The instructions do not ask the agent to read unrelated local files or exfiltrate secrets to third-party endpoints.
Install Mechanism
No install spec is provided (instruction-only with bundled script), so nothing arbitrary is downloaded or executed beyond the included Python script and a curl subprocess for PDF downloads. This is a low-risk approach given the script is bundled in the package.
Credentials
Only ZOTERO_API_KEY is required and declared as the primary credential; that is a proportionate requirement for writing to a Zotero account. The SKILL.md/setup.md describe where to put the key (~/.openclaw/.env) and the other Zotero config values are non-secret and stored in config.json. No unrelated credentials are requested.
Persistence & Privilege
always:false (not force-included). The skill writes a per-skill setup-state file and may update its own config.json; it does not request system-wide privileges or modify other skills. Autonomous invocation (disable-model-invocation:false) is the platform default and not by itself a problem.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install arxiv-to-zotero
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /arxiv-to-zotero 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
Summary: Adds dedicated collection organization to arxiv-to-zotero imports. - New imports are now saved into a dedicated "arxiv-to-zotero" collection; the script creates this collection if it doesn't exist. - Clarified and updated documentation to highlight parent-item tagging and collection use. - Maintains deduplication, PDF attachment, and fallback to linked_url if file uploads are too large. - No changes to required environment variables or main flow.
v1.0.1
- Updated the script invocation path in setup instructions to use `{baseDir}/config.json` instead of the user config directory. - Version bump from 1.0.0 to 1.0.1; no behavioral or logic changes.
v1.0.0
arxiv-to-zotero 1.0.0 – Initial release. - Search recent arXiv papers by topic and time range, then import only new matches into Zotero with PDF attachments when available. - Automatically deduplicates against existing Zotero items before importing new papers. - Accepts search topics in either English or Chinese; translates Chinese keywords to English for arXiv querying. - Supports natural language queries for arXiv searches (no manual query crafting needed). - Attaches PDFs directly to Zotero when possible, or falls back to linked URLs if PDFs are too large. - Does not alter existing Zotero items; adds only new papers and attachments.
元数据
Slug arxiv-to-zotero
版本 1.0.2
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 3
常见问题

arXiv to Zotero 是什么?

Find recent arXiv papers, skip what is already in Zotero, and save new imports with parent-item tagging and PDF attachments into a dedicated collection. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 399 次。

如何安装 arXiv to Zotero?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install arxiv-to-zotero」即可一键安装,无需额外配置。

arXiv to Zotero 是免费的吗?

是的,arXiv to Zotero 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

arXiv to Zotero 支持哪些平台?

arXiv to Zotero 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 arXiv to Zotero?

由 清弦.(@cnicpyx)开发并维护,当前版本 v1.0.2。

💬 留言讨论