Chuyển đến nội dung
Skillpedia
Hình ảnh và biểu tượng6.3k · #14375

mathmodel-figure-templates

Skill này làm gì

Skill cung cấp các script Python chạy sẵn cho các mẫu trực quan hóa khoa học dùng trong sandbox LaTeX của MathModel. Skill dành cho sinh viên và nhà nghiên cứu cần biểu đồ chuẩn theo kiểu nghiên cứu cho báo cáo.

Khi nào nên dùng

  • ✓Khi bạn cần một biểu đồ khoa học chuẩn, như đường cong ROC hoặc ma trận tương quan, cho báo cáo.
  • ✓Khi bạn muốn tái tạo một mẫu biểu đồ mà công cụ MathModel liệt kê.
  • ✓Khi bạn muốn lưu biểu đồ thành tệp PNG, PDF và SVG cho bài báo.

Liên kết skill

https://github.com/jihe520/MathModelAgent/blob/main/skills/mathmodel-figure-templates/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/jihe520/MathModelAgent/blob/main/skills/mathmodel-figure-templates/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tái tạo mẫu ROC kiểm định chéo và lưu thành PNG, PDF và SVG trong thư mục báo cáo của tôi.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill tìm mẫu tương ứng theo ID, chạy script đi kèm trong không gian làm việc của bạn và lưu kết quả vào thư mục figures. Skill trả về đường dẫn ảnh và bản sao script để bạn chỉnh sửa.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

MathModel Figure Templates

This skill is bundled into the LaTeX sandbox at /home/user/.claude/skills/mathmodel-figure-templates. It contains ready-to-run Python/matplotlib scripts for the figure templates exposed in the MathModel Improve tab.

Fast Path

  1. Match the requested chart in references/figure-catalog.md.
  2. From /home/user/workspace, run the renderer with the template id:
python3 /home/user/.claude/skills/mathmodel-figure-templates/scripts/render_template.py paired-raincloud
  1. The renderer copies the bundled template script into 绘图复刻/scripts/, runs it there, and writes outputs to 绘图复刻/outputs/.
  2. Return the generated PNG/PDF/SVG paths and the copied script path to the user.

Use --list to show supported ids:

python3 /home/user/.claude/skills/mathmodel-figure-templates/scripts/render_template.py --list

Output Contract

  • Work under the current workspace unless the user gives another path.
  • Default project folder: 绘图复刻.
  • Script path: 绘图复刻/scripts/make_<template>.py.
  • Outputs: 绘图复刻/outputs/<template>_replica.png, .pdf, .svg.
  • Use the bundled scripts as the first choice; edit the copied workspace script only when the user requests customization.
  • The bundled scripts use deterministic simulated data. Do not claim simulated values reproduce a source study exactly.

Template Ids

  • multiclass-shap-combo
  • paired-raincloud
  • cv-roc-ci
  • taylor-diagram
  • correlation-pairgrid
  • prediction-marginal-grid
  • rf-tpe-surface
  • grouped-corr-split-violin
  • grouped-circular-heatmap
  • urban-park-cooling-combo
  • nature-chord-diagram

When Customizing

If the user asks for changes, copy/run the nearest template first, then edit the copied file in 绘图复刻/scripts/. Preserve:

  • MPLCONFIGDIR before importing matplotlib.
  • deterministic seeds for simulated data.
  • PNG/PDF/SVG export.
  • readable labels, legends, and high-DPI output.

Use references/plot-recipes.md for implementation patterns.

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

Skill có dùng dữ liệu thật của bạn không?

Mô tả cho biết các script đi kèm dùng dữ liệu mô phỏng, nên các giá trị không tái tạo chính xác một nghiên cứu gốc.

Các tệp được lưu ở đâu?

Kết quả nằm trong thư mục figures của không gian làm việc, dưới dạng PNG, PDF và SVG.

Bạn có thể xem danh sách mẫu không?

Có. Trình kết xuất có tùy chọn liệt kê, hiển thị tất cả ID mẫu được hỗ trợ.

Chi tiết

Mô tả gốc của tác giả

Use this skill in the MathModel LaTeX sandbox when the user asks to reproduce built-in scientific visualization templates, especially prompts from the Improve tab mentioning $mathmodel-figure-templates, 科研绘图模板, SHAP蜂群柱状图, 配对云雨图, 交叉验证ROC, 泰勒图, 相关矩阵组合图, 预测真实值边缘分布图, TPE调参3D曲面, 下三角相关矩阵半边小提琴图, 分组环形热图, 城市公园降温组合图, or Nature和弦图. It provides ready-to-run Python scripts bundled inside the skill.

repo: jihe520/MathModelAgent

Độ phổ biến

Sao GitHub
6.3k
Vị trí xếp hạng
#14375
Giấy phép
—
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự