← Back to Skills Marketplace
108
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install ynu-papergraphgeneration-openclaw
Description
多模态论文可视化引擎 — 从 PDF 或纯文本论文自动生成学术插图。 支持:全篇扫描识别可图化内容、双编码器架构图/算法流程图/动机图生成、 自校核机制、LaTeX/Word 图注输出、Matplotlib 结果图精确绘图。 也包含独立的 PDF → Text 提取工具。
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install ynu-papergraphgeneration-openclaw - After installation, invoke the skill by name or use
/ynu-papergraphgeneration-openclaw - Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Frequently Asked Questions
What is ynu-papergraphgeneration-openclaw?
多模态论文可视化引擎 — 从 PDF 或纯文本论文自动生成学术插图。 支持:全篇扫描识别可图化内容、双编码器架构图/算法流程图/动机图生成、 自校核机制、LaTeX/Word 图注输出、Matplotlib 结果图精确绘图。 也包含独立的 PDF → Text 提取工具。 It is an AI Agent Skill for Claude Code / OpenClaw, with 108 downloads so far.
How do I install ynu-papergraphgeneration-openclaw?
Run "/install ynu-papergraphgeneration-openclaw" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is ynu-papergraphgeneration-openclaw free?
Yes, ynu-papergraphgeneration-openclaw is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does ynu-papergraphgeneration-openclaw support?
ynu-papergraphgeneration-openclaw is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created ynu-papergraphgeneration-openclaw?
It is built and maintained by ljk00000 (@ljk00000); the current version is v1.0.0.
More Skills