paper-explain-figures

Solid

解读论文 Figure 的含义并输出一份“教会人类如何读图”的高可读性 Markdown 报告;支持输入 1 个或多个 figure 文件绝对路径与人工解读,自动尝试从图附近检索生成该图的源代码,并采用类似 parallel-vibe 的方式通过 `codex exec`/`claude -p` 以进程级隔离解读每张图(并发上限默认 3,可在 config.yaml 调整��。⚠️ 不适用:用户只是想改图尺寸/裁剪/改格式;或要求直接修改图片/源代码(本 skill 对图片与源代码全程只读,严禁修改)。

Data & Documents 2,301 stars 227 forks Updated 2 days ago MIT

Install

View on GitHub

Quality Score: 89/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# paper-explain-figures ## 与 bensz-collect-bugs 的协作约定 - 因本 skill 设计缺陷导致的 bug,先用 `bensz-collect-bugs` 规范记录到 `~/.bensz-skills/bugs/`,不要直接修改用户本地已安装的 skill 源码;若有 workaround,先记 bug,再继续完成任务。 - 只有用户明确要求“report bensz skills bugs”等公开上报时,才用本地 `gh` 上传新增 bug 到 `huangwb8/bensz-bugs`;不要 pull / clone 整个仓库。 ## 目标 对用户提供的 1 张或多张论文 Figure: - 将 Figure 转为 `.jpg`(用于视觉理解;转换失败则保留原图并显式说明) - 在 Figure 附近自动检索“生成该图的源代码”(可能找不到;找不到则为 `NULL`) - 综合三类信息输出可读性强的报告: - 理解 1:视觉理解(从 jpg/原图直接读图) - 理解 2:源代码理解(以代码为准;代码决定图的真实含义) - 理解 3:用户人工解读(帮助猜测用户关注点;可能有误) ## 强约束(必须遵守) - **目录管理硬约束**:所有中间产��必须托管在当前工作目录下的隐藏目录 **`.paper-explain-figures/`**(该目录名在脚本中硬编码;不允许改到别处)。 - **运行时隔离硬约束**:runner / 图片转换器产生的 HOME、TMP、XDG cache/state/config 等运行时辅助文件,也必须重定向并收纳到 `.paper-explain-figures/` 内。 - **只读约束**:全程只读访问用户的 Figure 与源代码文件;严禁修改它们(包括格式化/重写/覆盖)。 ## 输入 用户会输入 1 个或多个信息: - 1 个或多个 figure 文件的**绝对路径** - 可选:对 figure 的人工解读(全局或按 figure 分配) - 可选:用户显式给出源代码文件绝对路径(优先作为“候选入口”) ## 输出 - 最终报告:默认输出到当前工作目录 `paper-explain-figures_report.md` - 所有中间文件与日志:落到 `.paper-explain-figures/`(按 run/job 分目录保存) ## 标准报告格式(每张图必须按此结构输出) 每张图在同一个 Markdown 文件中以 `##` 级标题分隔: ```markdown # Figures ## Figure: xxx > 文件位置: xxx > 源代码: xx.R 第xxx-xxx行 ### 图表核心含义 ... ### 变量定义 | 元素 | 定义 | | --- | --- | | ... | ... | ### 解读要点 1. ... 2. ... ### 解释 ... ### 科学价值 ... ``` ## 技术路径(进程级隔离 + 并发上限) 为保证“每张图的解读相互独立”,本 skill 采用 worker 脚本在 shell 中启动独立进程执行: - `codex exec "..."`(推荐:更容易做本地文件读取 + 视觉理解) - `claude -p "..."`(可选) 并发上限默认 **3**(可在 `paper-explain-figures/config...

Details

Author
huangwb8
Repository
huangwb8/ChineseResearchLaTeX
Created
2 years ago
Last Updated
2 days ago
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

Data & Documents Listed

paper-figures

Produce publication-quality statistical figures and tables for scientific papers, end-to-end from the paper's own raw data using Python. Use this skill whenever the user wants to make, redo, or improve charts, plots, graphs, or tables for a manuscript, thesis, or grant — including requests like "draw a figure for this dataset", "make a bar/box/violin/forest/Kaplan-Meier plot", "I need a results table", "format my figures for Nature/Science/Cell/IEEE", "what chart should I use for this data", or "turn my CSV/Excel results into a figure for my paper". Trigger even when the user only shares a manuscript and data and asks where figures are needed. The skill reads the paper, finds where visuals are needed, picks the right statistics and chart type for the data, applies journal formatting, renders with Python, self-checks the rendered image, exports numbered assets, and writes a bilingual (中文/English) figure report with captions, annotations, and in-text citation locations.

0 Updated today
DRZ-hang
AI & Automation Solid

paper-figure

Generate publication-quality figures and tables from experiment results. Use when user says \"画图\", \"作图\", \"generate figures\", \"paper figures\", or needs plots for a paper.

12,006 Updated 2 days ago
wanshuiyin
Data & Documents Solid

paper-write-sci

根据 LaTeX 论文项目撰写、修订和润色 SCI 期刊论文,默认 AI 自主模式,也支持人机协作仅输出审查计划;提供作者风格化写作、数字事实核验、逻辑树多轮审查与 PDF/Word 渲染闭环。⚠️ 不适用:仅改格式/样式参数、纯参考文献管理、图片处理、非论文写作任务。

2,301 Updated 2 days ago
huangwb8