← Back to Skills Marketplace
wanng-ide

Arxiv Skill Extractor

by WANGJUNJIE · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
935
Downloads
2
Stars
2
Active Installs
1
Versions
Install in OpenClaw
/install arxiv-skill-extractor
Description
Automates the process of extracting reusable skill code from arXiv papers. Use this skill to turn paper insights into actual OpenClaw skills.
README (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.

Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install arxiv-skill-extractor
  3. After installation, invoke the skill by name or use /arxiv-skill-extractor
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug arxiv-skill-extractor
Version 1.0.0
License
All-time Installs 2
Active Installs 2
Total Versions 1
Frequently Asked Questions

What is 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. It is an AI Agent Skill for Claude Code / OpenClaw, with 935 downloads so far.

How do I install Arxiv Skill Extractor?

Run "/install arxiv-skill-extractor" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Arxiv Skill Extractor free?

Yes, Arxiv Skill Extractor is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Arxiv Skill Extractor support?

Arxiv Skill Extractor is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Arxiv Skill Extractor?

It is built and maintained by WANGJUNJIE (@wanng-ide); the current version is v1.0.0.

💬 Comments