← 返回 Skills 市场
108
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install ynu-papergraphgeneration-openclaw
功能描述
多模态论文可视化引擎 — 从 PDF 或纯文本论文自动生成学术插图。 支持:全篇扫描识别可图化内容、双编码器架构图/算法流程图/动机图生成、 自校核机制、LaTeX/Word 图注输出、Matplotlib 结果图精确绘图。 也包含独立的 PDF → Text 提取工具。
安全使用建议
Key things to consider before installing or enabling this skill:
- It will call external image/LLM APIs and therefore will send prompts and (potentially large) portions of your paper text to those endpoints. Only configure API keys for services you trust and understand the provider's privacy policy.
- The chart generator component accepts a model-produced Matplotlib script and writes it to disk then executes it with subprocess.run. That means arbitrary Python code produced by the LLM (or returned by an external service) can run on your machine. If you proceed, run the skill in a restricted environment (container, VM) or review generated code before execution.
- image_generator disables trust of system proxy env vars (session.trust_env = False). This can bypass local proxy/audit infrastructure and change how requests leave your host — be cautious if you rely on corporate proxies or monitoring.
- The skill recommends storing keys in ~/.openclaw/openclaw.json; storing API keys locally is convenient but increases persistence of secrets. Prefer using a limited-scope API key, rotate keys regularly, and avoid placing high-privilege credentials here.
- The code expects an LLM callback (llm_call_fn) and mentions optional PAPER_DIAGRAM_LLM_* env vars; if you configure an LLM endpoint/keys, the skill may send prompts (scanning/merging/extraction) to that LLM. If you don't intend to share your paper content with an external LLM, do not provide those keys.
- There is no automatic installer; you must manually install listed Python packages (requests, pdfminer.six, optionally PyMuPDF/pdfplumber/pypdf, Pillow/pytesseract). Ensure dependencies are installed in an isolated environment to limit impact.
What would change this assessment: explicit safeguards around executing generated code (e.g., running generated scripts in a sandbox, requiring an explicit user confirmation step before execution), documented safe networking defaults (respecting proxies), or removal of subprocess execution would reduce concerns. Conversely, evidence of hidden endpoints, credential exfiltration code, or automatic persistence of secrets would raise the verdict to malicious.
功能分析
Type: OpenClaw Skill
Name: ynu-papergraphgeneration-openclaw
Version: 1.0.0
The skill bundle contains a significant security risk in scripts/chart_generator.py, which generates and executes arbitrary Python code using subprocess.run based on LLM-provided data, creating a potential Remote Code Execution (RCE) vector. Additionally, scripts/draw.py contains highly specific, hardcoded logic for a particular academic paper ('DeCLIP'), which is unusual for a general-purpose tool. While these behaviors represent high-risk patterns and vulnerabilities, there is no explicit evidence of intentional data exfiltration or malicious persistence.
能力评估
Purpose & Capability
Name/description (paper→diagram generation) align with the code and required binaries: Python and an external image-generation API (BANANA2 / acedata). The primary credential (BANANA2_API_KEY) is appropriate. One minor incoherence: many modules expect an LLM callable (llm_call_fn) and SKILL.md suggests PAPER_DIAGRAM_LLM_URL/KEY, but those LLM env vars are not declared as required — they are optional but used in prompts/fallbacks. Overall capabilities are consistent with the stated purpose.
Instruction Scope
Runtime instructions and code cause network calls to external image-generation APIs and may send substantial paper text and generated prompts. The chart_generator writes and executes arbitrary Python code (via subprocess.run) that originates from model-generated content — this is powerful and can run arbitrary code on the host. image_generator also disables session.trust_env (bypassing system proxy environment variables), which can change networking behavior and has privacy implications. SKILL.md recommends storing API/LLM keys in a config file (~/.openclaw/openclaw.json), which implies persistent local storage of secrets.
Install Mechanism
The skill is instruction-only in registry terms (no install spec) but includes multiple Python scripts that require dependencies (requests, pdfminer.six, optional PyMuPDF/pypdf/pdfplumber, pytesseract/Pillow). Lack of a formal install step means dependencies must be installed manually; there is no remote download or unclear install URL. No high-risk external download is present in the manifest.
Credentials
The required env vars (BANANA2_API_URL, BANANA2_API_KEY) are proportional to the declared image-generation functionality. The code also reads fallback vars (ACEDATA_API_KEY, PAPER_DIAGRAM_API_KEY, PAPER_DIAGRAM_LLM_URL/KEY) and SKILL.md suggests storing LLM keys — these additional credentials are optional but present in prompts and code; users should be aware the skill can use any of these if set. No unrelated cloud credentials (AWS, GCP) are requested.
Persistence & Privilege
The skill does not request 'always: true' and is user-invocable. It does not appear to modify other skills or system-wide agent settings programmatically. It suggests the user add credentials to ~/.openclaw/openclaw.json (a recommendation), but it does not automatically persist or escalate privileges.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install ynu-papergraphgeneration-openclaw - 安装完成后,直接呼叫该 Skill 的名称或使用
/ynu-papergraphgeneration-openclaw触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
paper-diagram 1.0.0 initial release:
- Automatically generates academic diagrams from PDF or plain text papers.
- Includes tools for PDF-to-text extraction and diagram creation via command-line.
- Supports full-paper scanning, customized diagram generation, and batch processing.
- Generates architecture diagrams, flowcharts, motivation/teaser figures, and results plots in various academic styles.
- Outputs images, LaTeX/Word captions, and exportable Mermaid topology descriptions.
- Features an auto-check mechanism and flexible API credential management.
元数据
常见问题
ynu-papergraphgeneration-openclaw 是什么?
多模态论文可视化引擎 — 从 PDF 或纯文本论文自动生成学术插图。 支持:全篇扫描识别可图化内容、双编码器架构图/算法流程图/动机图生成、 自校核机制、LaTeX/Word 图注输出、Matplotlib 结果图精确绘图。 也包含独立的 PDF → Text 提取工具。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 108 次。
如何安装 ynu-papergraphgeneration-openclaw?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install ynu-papergraphgeneration-openclaw」即可一键安装,无需额外配置。
ynu-papergraphgeneration-openclaw 是免费的吗?
是的,ynu-papergraphgeneration-openclaw 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
ynu-papergraphgeneration-openclaw 支持哪些平台?
ynu-papergraphgeneration-openclaw 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 ynu-papergraphgeneration-openclaw?
由 ljk00000(@ljk00000)开发并维护,当前版本 v1.0.0。
推荐 Skills