Sci Figureのロゴ

Sci Figure

コミュニティ
myzhao0114-del
sci-figure

Create publication-grade scientific figures and analysis deliverables from tabular data. Use when the user provides Excel, CSV, or similar structured data and wants charts, plotting, exploratory analysis, figure polishing, statistical annotations, captions, or a report suitable for a paper, thesis, dissertation, lab report, or formal submission. Trigger on requests about scientific plotting, standardized chart styling, publication formatting, statistical comparison figures, caption writing, figure export, or traceable analysis workflows.

概要

公開者myzhao0114-del
リポジトリscientific-figure-skill
スキル名sci-figure
スター
62
フォーク
0
同梱ファイル
9
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

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

  • 9個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/myzhao0114-del/scientific-figure-skill/tree/main
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/myzhao0114-del/scientific-figure-skill.git \
  .claude/skills/sci-figure
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

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

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

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Scientific Figure Standards

Use this skill to turn spreadsheet-style data into a reproducible, publication-grade figure workflow. Prioritize rigor, consistency, and traceability over speed.

Core promises

  1. Compliant: use academic typography, unit labeling, export settings, and restrained color choices.
  2. Rigorous: document statistical methods, error bars, and significance marks when group comparisons are shown.
  3. Traceable: save the intermediate tables that support each figure so another reviewer can trace numbers back to the source data.

When to use this workflow

Run the full workflow when both are true:

  • The input is one or more structured data files such as .xlsx, .xls, or .csv.
  • The user wants analysis, charts, figure generation, figure cleanup, or a formal report rather than a one-line answer.

For tiny one-off questions such as "what is the mean of column B", answer directly and skip the full workflow.

Workflow

Execute these steps in order. Skip only when the user explicitly asks for a narrower deliverable.

Step 1: Define a configuration block

Before writing analysis code, place a configuration block at the top of the script so paths, output formats, fonts, statistical thresholds, and precision rules are controlled in one place.

Read references/config_template.md and copy the template into the script before adding analysis logic.

Step 2: Choose a separate output directory

Never write outputs into the raw input directory unless the user explicitly asks for that layout and the risk is acceptable. Prefer a sibling or child output directory dedicated to the run.

Default pattern:

  • Derive a short kebab-case slug from the task, such as cell-growth or survey-comparison.
  • Create an output folder for the run.
  • Create figures/ and process_data/ subfolders inside it.

Recommended structure:

text
<output_dir>/
├── 00_data_health.md
├── report.pdf
├── figures/
│   ├── pdf/
│   ├── png/
│   └── jpg/
└── process_data/

Tell the user where outputs will be written before proceeding.

Step 3: Diagnose data health first

Before plotting anything, generate 00_data_health.md for each analysis dataset. This is mandatory because plotting bad data neatly still produces bad science.

The report should cover:

  • Dataset shape and memory footprint
  • Column dtypes, missingness, and unique counts
  • Duplicate rows
  • Descriptive statistics for numeric columns
  • Normality and outlier checks where relevant
  • Category summaries for non-numeric columns
  • Correlation and VIF checks when multiple numeric predictors are involved

Read references/data_health.md for the code pattern and markdown layout.

After generating the report, summarize the important findings for the user in a couple of sentences. Pause before continuing if the data shows serious issues that would undermine the analysis.

Step 4: Clean and export process data

Clean the data based on the health report. Typical actions include:

  • Drop exact duplicates
  • Strip whitespace from text fields
  • Parse dates
  • Coerce numeric-looking text into numeric columns
  • Handle missing values in a way that matches the analysis goal

Save meaningful intermediate tables into process_data/ as numbered .xlsx files. A table is meaningful if it supports a figure, result, or reviewer question later.

Read references/xlsx_export.md for naming and formatting patterns.

Step 5: Run statistics only when justified

Only run inferential statistics when the figure is intended to compare groups or conditions. Do not add p-values to line charts, scatter plots, or single-distribution plots unless the design truly calls for them.

Use the decision rules in references/statistics.md to choose the test. If paired versus independent samples is ambiguous, ask the user before committing to a test.

Save raw statistical outputs into process_data/05_statistical_tests.xlsx or a similarly clear file name.

Step 6: Draw figures in publication style

Generate figures with matplotlib unless the user explicitly requests another plotting stack. Keep the visual style restrained and reviewer-friendly.

Read references/chart_style.md before drawing the first chart. Apply these rules consistently:

  • Use serif fonts with runtime fallback for mixed Chinese and English text.
  • Prefer grayscale; only use categorical color when monochrome would fail.
  • Use a full boxed frame around the plotting area by default: top, right, left, and bottom spines should all be visible unless the user explicitly asks for another house style.
  • Put measurement units in parentheses in axis labels.
  • Apply explicit number formatting rather than matplotlib defaults.
  • Use error bars only when they represent a clearly named summary interval.
  • Do not place decorative titles inside the chart area.

For each figure, save:

  • figures/pdf/fig_<NN>_<slug>.pdf
  • figures/png/fig_<NN>_<slug>.png
  • figures/jpg/fig_<NN>_<slug>.jpg

Also save the exact plotting dataframe for each figure in process_data/fig_<NN>_data.xlsx.

Step 7: Write complete captions

Every figure needs a caption that states:

  1. What is shown
  2. How it was summarized or tested
  3. What conclusion the reader should take away

Use the patterns in references/captions.md. Do not stop at description only; the caption should help interpretation.

Step 8: Bundle the figures into a report when requested

When the user wants a deliverable report, combine the figures and captions into report.pdf.

Read references/pdf_layout.md for a reportlab-based layout template. If reportlab is unavailable, state that limitation and use a simpler fallback such as a figure-only PDF.

Step 9: Present results clearly

When the work is done, present the main outputs in a concise order:

  • report.pdf if one was created
  • 00_data_health.md
  • The main figure files
  • The key process-data files or the process_data/ directory

Summarize what was analyzed, what the figures show, and where the outputs live.

What to avoid

  • Do not skip the data health report just because the table looks clean.
  • Do not add significance marks to plots that are not genuine group comparisons.
  • Do not rely on default matplotlib colors for publication figures.
  • Do not drop the top or right border by default; this skill's house style is a four-sided enclosed frame.
  • Do not put the figure title inside the chart if the caption already carries that information.
  • Do not save JPG only; always keep a high-quality PDF or PNG version.
  • Do not write captions that merely restate the axes.

Reference files

Load these only when the matching step is active:

  • references/config_template.md
  • references/data_health.md
  • references/xlsx_export.md
  • references/statistics.md
  • references/chart_style.md
  • references/captions.md
  • references/pdf_layout.md

同梱ファイル

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

よくある質問

AIスキル「Sci Figure」では何ができますか?

Create publication-grade scientific figures and analysis deliverables from tabular data. Use when the user provides Excel, CSV, or similar structured data and wants charts, plotting, exploratory analysis, figure polishing, statistical annotations, captions, or a report suitable for a paper, thesis, dissertation, lab report, or formal submission. Trigger on requests about scientific plotting, standardized chart styling, publication formatting, statistical comparison figures, caption writing, figure export, or traceable analysis workflows.

TypingMindでSci Figureを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Sci Figureはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにSci Figureをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/myzhao0114-del/scientific-figure-skill/tree/mainを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Sci Figureを使えるAIモデルはどれですか?

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

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

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

AIスキル「Sci Figure」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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