Install
openclaw skills install paper-viz从论文 PDF、实验截图或表格图片中提取实验结果,自动匹配图表类型,调用 Python 生成确定性图表,并导出 PNG、PDF 和 LaTeX;默认在用户指定输出根目录下自动创建与论文同名的文件夹保存结果。
openclaw skills install paper-vizUse this skill when the user wants to:
Complete the full workflow in one run:
experimental_data.json.Do not stop between these stages unless execution is truly blocked.
Do not ask for step-by-step confirmation between extraction, chart selection, plotting, and export.
Continue automatically unless one of the following happens:
If extraction is ambiguous:
experimental_data.json"validation_needed": trueNever fabricate numeric values.
Never guess unreadable numbers.
Never skip the JSON stage before plotting.
Support these source types when available:
Prefer PDF as the primary source when a PDF path is provided.
When multiple result objects exist in the source:
Extract and preserve the following whenever possible:
Prioritize:
Always save the extracted result as experimental_data.json.
If extraction quality is low, keep the JSON but mark it with "validation_needed": true.
Choose chart types based on data structure:
When there are several suitable result objects:
All plotting must be based on experimental_data.json.
Prefer deterministic Python plotting over free-form textual explanation.
Plotting should follow these rules:
When the user provides an output root directory and the source is a PDF:
Example:
D:\YNU\Paper\BFL\paper1.pdfC:\Users\L1n\Desktop\paper_figuresC:\Users\L1n\Desktop\paper_figures\paper1\When the source is not a PDF but a single image file:
When the source name cannot be determined reliably:
paper_viz_output_<timestamp>If the target folder does not exist:
Always try to generate and save:
experimental_data.json.png figure files.pdf figure fileslatex_codes.texUse meaningful filenames whenever possible, for example:
table_1.pngtable_1.pdfconfusion_matrix_model_a.pngablation_results.pdflatex_codes.tex should contain figure insertion snippets corresponding to the exported figures.
When a writable local folder is available:
When a local folder is not provided:
Use available tools to:
Prefer actual execution over merely suggesting steps.
If full execution is not available:
experimental_data.jsonFor multiple objects:
For ablation results:
For confusion matrices:
For trend plots:
Do not abandon the whole workflow because of partial uncertainty.
When full execution fails, still provide as many of these as possible:
experimental_data.jsonDefault to execution-first behavior.
Do not repeatedly ask:
Only interrupt when execution cannot proceed safely or meaningfully.
At the end, provide a concise summary including:
The ideal run should follow this sequence:
experimental_data.json.latex_codes.tex.