← 返回 Skills 市场
131
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install ynu-papergraphgeneration-qclaw
功能描述
多模态论文可视化引擎 — 从 PDF 或纯文本论文自动生成学术插图。 支持:全篇扫描识别可图化内容、双编码器架构图/算法流程图/动机图生成、 自校核机制、LaTeX/Word 图注输出、Matplotlib 结果图精确绘图。 也包含独立的 PDF → Text 提取工具。
安全使用建议
This skill does what it says — it extracts text from PDFs, sends chunks to external LLM/image services, builds prompts, downloads images, and can generate Matplotlib code — but take the following precautions before installing or running it:
- Privacy: The skill sends parts of your paper (up to ~12k chars per LLM call) to third‑party services (BANANA2/acedata or their fallbacks). Do not use it with unpublished, sensitive, or proprietary manuscripts unless you trust the target service and its data handling policies.
- Code execution risk: The chart_generator module asks an LLM to return complete Python code and then writes and runs that code locally (subprocess.run). This can execute arbitrary commands if the returned code is malicious or manipulated. If you need the results, consider:
- Running the skill in a strict sandbox / isolated VM or container.
- Reviewing any generated Python code before execution (or disabling automatic execution and running it manually in a safe environment).
- Secrets and keys: The skill needs an API key (BANANA2_API_KEY). Store keys only in secure locations (not shared configs) and prefer service accounts with minimal privileges. The skill suggests adding secrets to ~/.openclaw/openclaw.json; consider using per-skill, least-privilege keys and rotate them.
- File writes: Outputs default to ~/.qclaw/workspace/outputs; if you prefer, set PAPER_DIAGRAM_OUTPUT_DIR to a dedicated directory with restricted permissions.
- Hardening: If you plan to use this often, request or audit a code change that either (a) removes automatic execution of model-provided code, replacing it with a safe structured data path, or (b) adds strict sandboxing and content validation to the code-execution path.
Given the combination of external data exfiltration and local execution of model-generated code, proceed only after you accept and mitigate these risks (sandboxing, key management, and manual code review).
功能分析
Type: OpenClaw Skill
Name: ynu-papergraphgeneration-qclaw
Version: 1.1.0
The skill bundle contains a significant security risk in `scripts/chart_generator.py`, where the `execute_chart_code` function executes arbitrary Python code generated by an LLM via `subprocess.run`. While this is intended for generating Matplotlib charts, it presents a Remote Code Execution (RCE) vulnerability if the LLM output is compromised. The skill also manages sensitive API keys (e.g., `BANANA2_API_KEY`) and communicates with external endpoints like `api.acedata.cloud`. Although no evidence of intentional malice or data exfiltration was found, the execution of dynamically generated code from an untrusted AI source is a high-risk pattern.
能力评估
Purpose & Capability
Name/description (paper → diagrams) aligns with the code and required env vars: the code calls image/LLM APIs (BANANA2/acedata) and has local PDF→text and plotting modules. Minor incoherence: SKILL.md declares BANANA2_API_URL as required even though the code provides a default fallback URL; otherwise required binaries and envs are generally proportional to the described purpose.
Instruction Scope
The runtime instructions and code will send extracted paper text (up to ~12k chars per call) to external LLM/image generation endpoints and use responses to produce images. Critically, the chart_generator module asks an LLM to produce complete executable Python/Matplotlib code and then writes and executes that code locally via subprocess.run — this enables arbitrary code execution if the generated code or returned payload is malicious. The skill also downloads image URLs returned by remote services and writes outputs to home/workspace directories. All of these are coherent with the feature set but raise privacy and RCE risk.
Install Mechanism
There is no external installer; the skill ships Python scripts and asks the user to pip-install standard PDF libs and requests. No arbitrary remote archive downloads or install scripts are present in the install spec. This is low-risk compared to fetching and executing remote installers.
Credentials
Declared env vars (BANANA2_API_KEY / BANANA2_API_URL, with fallbacks ACEDATA_API_KEY / PAPER_DIAGRAM_API_KEY) match the code's behavior of calling external image/LLM services. That is expected for this skill. Minor inconsistency: the SKILL.md marks BANANA2_API_URL as required despite the code providing a default URL when unset.
Persistence & Privilege
The skill does not request 'always: true' and does not modify other skills. It writes outputs to ~/.qclaw/.../outputs or to configurable PAPER_DIAGRAM_OUTPUT_DIR and may create that workspace. That file‑system presence is reasonable for generated outputs but you should be aware files are written into your home directory by default.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install ynu-papergraphgeneration-qclaw - 安装完成后,直接呼叫该 Skill 的名称或使用
/ynu-papergraphgeneration-qclaw触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
Version 1.1.0
- Added independent PDF → text extraction utility (pdf_to_text.py) with multiple backend support.
- Introduced a clear separation between "PDF→Text" extraction and "paper diagram generation" workflows.
- Added extensive command-line usage examples for both tools in the documentation.
- Expanded documentation: environment variable fallback logic, API credential setup, and output details.
- Provided sample output images for various figure types in the outputs/ directory.
- Updated skill name and metadata for clarity and integration (now: paper-diagram).
v1.0.0
PaperGraphGeneration v2.2.0 introduces a multimodal paper visualization engine with both single diagram generation and full-paper scanning modes.
- Adds dual operating modes: generate a single diagram or scan and visualize an entire paper.
- Automatic detection and prioritization of 5 academic figure types (teaser, architecture, flowchart, environment, results).
- Modular pipeline: from structural info extraction to LaTeX/Word-ready academic diagrams.
- Self-verification: automated topology checks and user feedback/confirmation loop.
- Customizable academic styles (CVPR, NeurIPS, ICML, Nature), with optional image generation API override.
- Supports batch output, section references, and token-efficient processing of long documents.
元数据
常见问题
ynu-papergraphgeneration-qclaw 是什么?
多模态论文可视化引擎 — 从 PDF 或纯文本论文自动生成学术插图。 支持:全篇扫描识别可图化内容、双编码器架构图/算法流程图/动机图生成、 自校核机制、LaTeX/Word 图注输出、Matplotlib 结果图精确绘图。 也包含独立的 PDF → Text 提取工具。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 131 次。
如何安装 ynu-papergraphgeneration-qclaw?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install ynu-papergraphgeneration-qclaw」即可一键安装,无需额外配置。
ynu-papergraphgeneration-qclaw 是免费的吗?
是的,ynu-papergraphgeneration-qclaw 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
ynu-papergraphgeneration-qclaw 支持哪些平台?
ynu-papergraphgeneration-qclaw 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 ynu-papergraphgeneration-qclaw?
由 ljk00000(@ljk00000)开发并维护,当前版本 v1.1.0。
推荐 Skills