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ファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 1個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    ai4s-researchがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Publication Figures」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

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

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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を有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にPublication Figuresを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Publication Figuresは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じ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.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Publication Figures」では何ができますか?

このワークスペースでグラフ、プロット、表、論文用の図を作成またはレビューする際は、常に使用してください。論文執筆、文献調査、実験のスキルから委任された作業も対象です。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を読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Publication Figuresを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Publication Figuresで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもPublication Figuresを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Publication Figures」は無料ですか?

ai4s-researchがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇