Publication Figures 标志

Publication Figures

组织热门
ai4s-research
publication-figures

每当您在此工作区生成或审查图表、绘图、表格或论文插图时都使用,包括由论文撰写、文献综述和实验技能委派的工作。采用 Open Science 出版风格,确保图表和表格在最终尺寸下清晰易读,并拒绝将通用图示工具生成的内容用作论文插图。可使用交互式 Plotly/HTML 进行探索,但论文交付内容必须导出为适合发表的静态版本。

Add to TypingMind

概览

发布者ai4s-research
代码仓库open-science
技能名称publication-figures
星标数
1.7K
复刻数
201
附带文件
1
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 1 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 ai4s-research 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Publication Figures AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/ai4s-research/open-science/tree/master/runtime/skills/core/publication-figures
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ai4s-research/open-science.git /tmp/open-science
mkdir -p .claude/skills
cp -r /tmp/open-science/runtime/skills/core/publication-figures .claude/skills/publication-figures
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Publication Figures,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Publication Figures。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Publication Figures 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Publication Figures and Tables

Make generated figures publication-grade and on-system by default. Every figure you produce with matplotlib must use the bundled Open Science style, so a figure in a report and a stat tile in the app read as one design system. When a paper/survey skill or target venue specifies its own publication palette and physical type scale, that more specific standard overrides this palette; the final-size, collision, and figure-form rules below still apply.

Apply the style (always, before plotting)

The style file openscience.mplstyle sits next to this SKILL.md. Load it by absolute path at the top of any figure script:

python
import matplotlib.pyplot as plt
from pathlib import Path

# This skill's directory — the style ships beside SKILL.md.
STYLE = Path(__file__).resolve().parent / "openscience.mplstyle" if "__file__" in dir() else None
# In a notebook/agent cell, use the skill's deployed path directly:
plt.style.use(str(STYLE)) if STYLE and STYLE.exists() else plt.style.use("default")

If you cannot resolve the path, set the palette inline (same hexes as below).

Choose a paper-appropriate form

  • Use matplotlib/seaborn for quantitative evidence; use a purpose-built TikZ/SVG/PDF schematic for a method or architecture; use scientific image panels only with source, crop, scale, and processing provenance.
  • Do not use Mermaid, PlantUML, generic flowchart/mind-map output, diagram-editor screenshots, or notebook/UI screenshots as a final paper figure. They may be scratch aids only. Graphviz is acceptable only when the graph itself is the analysed data, not as a shortcut for a generic process diagram.
  • Every figure must make evidence, a mechanism, or an experimental design easier to understand. Decorative roadmaps, funnels, icon collages, and stock process diagrams do not belong in a paper.

The shared palette (single source of truth)

These are the exact hues the app's native charts use. Assign categorical series in this fixed order — never a different order, never a cycled 9th hue.

SlotHueLight hex
1blue#2a78d6
2aqua#1baf7a
3yellow#eda100
4green#008300
5violet#4a3aa7
6red#e34948
7magenta#e87ba4
8orange#eb6834

Sequential (magnitude, one hue light→dark): #cde2fb #9ec5f4 #6da7ec #3987e5 #256abf #184f95 #104281. Diverging: blue ↔ red with a neutral gray midpoint.

Rules (from the app's dataviz standard)

  • One y-axis. Never two scales on one plot — use two charts or index to a common base.
  • Categorical color = identity, assigned in slot order; sequential = one hue by magnitude; diverging = two hues + gray midpoint. Never a rainbow.
  • Thin marks, recessive chrome: 2px lines, ≥6pt markers, hairline y-grid only, no top/right spines (the style sets these).
  • Label selectively — the endpoint or the extreme, never a number on every point. A legend is present for ≥2 series; a single series needs none (the title names it).
  • Text stays in ink, never the series color. Identity comes from the mark.
  • Fit by design, not tiny type. Size for the final column/page first. When labels compete for space, enlarge the canvas, wrap/shorten labels, show fewer ticks, move the legend, use a horizontal chart, or split panels. Do not shrink any text below 7 pt at final size.
  • No collisions. Labels, ticks, legends, annotations, watermarks, panel letters, and data marks may not overlap or be clipped. Use constrained layout where appropriate, but always inspect the rendered result; an automatic layout call is not proof.
  • Save clean: plt.savefig(path, bbox_inches="tight") (the style sets dpi).

Keep paper tables readable

  • Design every table for its final column or page width. Body text must remain at least 8 pt at final size.
  • Resolve an over-wide table in this order: shorten or wrap headings and move units/details into the caption or notes; use flexible text columns and aligned numeric columns; split the table or move secondary columns to an appendix; use landscape for a genuinely wide appendix table; reduce cell padding last.
  • Do not solve width by scaling the entire table until it fits. If scaling would make text smaller than 8 pt, redesign or split the table.
  • Keep precision purposeful, repeat units once, and avoid dense vertical rules.
  • Render the containing PDF or page to an image at the intended output size and inspect it. A table fails if it crosses margins, clips content, overlaps text, or is readable only by zooming.

Final-size inspection

For PDF output, rasterize the actual final artifact before delivery:

bash
pdftoppm -png -r 180 paper.pdf /tmp/paper-check/page

Inspect every page containing a generated figure or table. Source dimensions, tight_layout, constrained_layout, and a successful compile are not evidence that the rendered result is readable.

Checklist before returning a figure or table

  1. Style applied (palette + chrome from openscience.mplstyle).
  2. Series colors assigned in slot order; ≤8 series (else group into "Other").
  3. Single y-axis; legend iff ≥2 series; axis labels + units present.
  4. Figure form is appropriate for a paper; no Mermaid/PlantUML/generic diagram.
  5. Table fits by structure rather than tiny type; final body text is at least 8 pt.
  6. Final PDF/page was rasterized and visually inspected: readable text, no overlap, clipping, or margin overflow.
  7. Saved to the workspace and referenced by path so it surfaces as an artifact.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Publication Figures AI 技能有什么作用?

每当您在此工作区生成或审查图表、绘图、表格或论文插图时都使用,包括由论文撰写、文献综述和实验技能委派的工作。采用 Open Science 出版风格,确保图表和表格在最终尺寸下清晰易读,并拒绝将通用图示工具生成的内容用作论文插图。可使用交互式 Plotly/HTML 进行探索,但论文交付内容必须导出为适合发表的静态版本。

为什么在 TypingMind 中使用 Publication Figures?

因为您只需安装一次,就能搭配任何模型使用。Publication Figures 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Publication Figures?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/ai4s-research/open-science/tree/master/runtime/skills/core/publication-figures。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Publication Figures?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Publication Figures 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Publication Figures 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Publication Figures AI 技能免费吗?

ai4s-research 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇