← 返回 Skills 市场
wanng-ide

Arxiv Skill Extractor

作者 WANGJUNJIE · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
935
总下载
2
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install arxiv-skill-extractor
功能描述
Automates the process of extracting reusable skill code from arXiv papers. Use this skill to turn paper insights into actual OpenClaw skills.
使用说明 (SKILL.md)

ArXiv Skill Extractor

This skill wraps arxiv-paper-reviews and provides an automated pipeline for:

  1. Fetching papers.
  2. Extracting key algorithms.
  3. Generating skill templates.

Usage

Extract Skill from a Paper

const { extractSkill } = require("./skills/arxiv-skill-extractor/index.js");

async function run() {
  const result = await extractSkill("4711d67c242a5ecba2751e6b");
  console.log(result);
}

run();

Automation

Run the default extraction loop (uses local_task:arxiv_skill_learning config):

# 自动读取 pending_skill_task.json 中的 paper_key
node skills/arxiv-skill-extractor/index.js

# 或直接指定 paper_key
node skills/arxiv-skill-extractor/index.js 4711d67c242a5ecba2751e6b

Why?

We need to continuously learn from new research. Manual reading is slow. This skill bridges the gap between paper knowledge and executable code.

安全使用建议
Before installing or running this skill: - Inspect the workspace 'memory/evolution/pending_skill_task.json' (if present) since the skill will read it and may write back status and extracted content. - Ensure you trust or inspect the sibling module arxiv-paper-reviews/paper_client.js that index.js requires — that file is not included and determines how papers are fetched (network calls, remote endpoints, credentials). - Run the skill in a sandbox or isolated workspace first (not in a production project) to see what files it creates under workspace_root/skills and what it writes to memory/evolution. - Note the SKILL.md usage examples path mismatch and that test.js calls main() without args (it will throw unless a pending task exists); provide a paper key when invoking (node index.js <paper_key>) to avoid accidental reads. - If you plan to use this on a shared agent, verify the agent workspace does not contain secrets or sensitive configs at the paths the skill touches. Additional information that would raise confidence to 'high': the missing arxiv-paper-reviews/paper_client.js included or documented, and a clear description of expected workspace layout (what WORKSPACE_ROOT should be) or modification to restrict operations to the skill's own directory.
功能分析
Type: OpenClaw Skill Name: arxiv-skill-extractor Version: 1.0.0 The skill is designed to generate new OpenClaw skills from arXiv papers. However, the `renderSkillMarkdown` function in `index.js` directly interpolates unsanitized content from the `paper` object (e.g., `paper.title`, `paper.abstract`) into the body of the *generated* `SKILL.md` file. This creates a significant prompt injection vulnerability in the newly generated skill. If a malicious arXiv paper (or a compromised `arxiv-paper-reviews` service) provides crafted content, the generated `SKILL.md` could contain instructions that trick the OpenClaw agent into performing unauthorized actions when it later processes that generated skill. This is a critical vulnerability, classifying the skill as suspicious.
能力评估
Purpose & Capability
The code creates skill scaffolds (SKILL.md, run.js, paper.json) from a paper object and writes them into a workspace 'skills' folder — this matches the 'extract skill' purpose. Minor inconsistencies: SKILL.md example requires './skills/arxiv-skill-extractor/index.js' which does not match the package layout, and the implementation expects a sibling module '../arxiv-paper-reviews/paper_client.js' that is not present in the bundle.
Instruction Scope
The runtime reads and writes files outside the skill directory: WORKSPACE_ROOT is set to path.resolve(__dirname, "../.."), and the code reads/writes memory/evolution/pending_skill_task.json and writes into workspace/skills/<skillName>. That expands the skill's scope into the agent's workspace and could access unrelated files. The code also relies on getPaper from a local '../arxiv-paper-reviews/paper_client.js' not included here, so actual runtime behavior depends on external code which may perform network I/O or other sensitive actions. The test script calls main() without arguments and will fail or read pending tasks unless a pending file exists.
Install Mechanism
There is no install spec and no external downloads; this is an instruction + code-only skill. Nothing is fetched from remote URLs or installed during setup.
Credentials
The skill declares no required environment variables, credentials, or config paths. However, it does read/write a workspace-level pending_skill_task.json which might contain sensitive task metadata; no explicit secrets are requested.
Persistence & Privilege
always:false and no autonomous-override flags — the skill won't be forcibly included. Still, it writes persistent files into the agent workspace (skills/, memory/evolution/pending_skill_task.json). This is reasonable for a generator tool but increases blast radius if run in a workspace that contains secrets or production configs.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install arxiv-skill-extractor
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /arxiv-skill-extractor 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of arxiv-skill-extractor: - Automates the extraction of reusable skill code from arXiv papers. - Fetches papers, extracts key algorithms, and generates OpenClaw skill templates. - Supports both programmatic API and command-line usage. - Enables ongoing integration of research insights into executable skills.
元数据
Slug arxiv-skill-extractor
版本 1.0.0
许可证
累计安装 2
当前安装数 2
历史版本数 1
常见问题

Arxiv Skill Extractor 是什么?

Automates the process of extracting reusable skill code from arXiv papers. Use this skill to turn paper insights into actual OpenClaw skills. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 935 次。

如何安装 Arxiv Skill Extractor?

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

Arxiv Skill Extractor 是免费的吗?

是的,Arxiv Skill Extractor 完全免费(开源免费),可自由下载、安装和使用。

Arxiv Skill Extractor 支持哪些平台?

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

谁开发了 Arxiv Skill Extractor?

由 WANGJUNJIE(@wanng-ide)开发并维护,当前版本 v1.0.0。

💬 留言讨论