Logo Sci Figure

Sci Figure

Cộng đồng
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.

Tổng quan

Nhà phát hànhmyzhao0114-del
Kho mãscientific-figure-skill
Tên kỹ năngsci-figure
Sao
62
Bản fork
0
Tệp đi kèm
9
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 9 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được myzhao0114-del công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Sci Figure trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/myzhao0114-del/scientific-figure-skill/tree/main
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/myzhao0114-del/scientific-figure-skill.git \
  .claude/skills/sci-figure
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Sci Figure trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Sci Figure ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Sci Figure với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Sci Figure làm được gì?

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.

Vì sao nên dùng Sci Figure trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Sci Figure là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Sci Figure trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/myzhao0114-del/scientific-figure-skill/tree/main. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Sci Figure?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Sci Figure với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Sci Figure với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Sci Figure có miễn phí không?

Kỹ năng này được myzhao0114-del phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇