Langsung ke konten
Skillpedia
Gambar & ikon6.3k · #14375

mathmodel-figure-templates

Fungsinya

Skill ini menyediakan skrip Python siap jalan untuk templat visualisasi ilmiah yang dipakai di sandbox LaTeX MathModel. Skill ini ditujukan untuk mahasiswa dan peneliti yang membutuhkan gambar bergaya riset yang standar untuk laporan.

Kapan dipakai

  • ✓Saat Anda membutuhkan grafik ilmiah standar, seperti kurva ROC atau matriks korelasi, untuk laporan.
  • ✓Ketika Anda ingin mereproduksi templat gambar yang tercantum dalam alat MathModel.
  • ✓Saat Anda ingin grafik disimpan sebagai berkas PNG, PDF, dan SVG untuk makalah.

Link skill

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

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/jihe520/MathModelAgent/blob/main/skills/mathmodel-figure-templates/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit →

Contoh permintaan ke AI

“Reproduksi templat ROC validasi silang dan simpan sebagai PNG, PDF, dan SVG di folder laporan saya.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Skill ini mencari templat yang cocok berdasarkan ID-nya, menjalankan skrip bawaan di ruang kerja Anda, dan menyimpan keluarannya di folder gambar. Ia mengembalikan jalur gambar dan salinan skrip agar Anda bisa mengeditnya.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

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.

Pertanyaan umum

Apakah ia memakai data asli saya?

Deskripsinya menyebutkan bahwa skrip bawaan memakai data simulasi, sehingga nilainya tidak mereproduksi studi sumber secara tepat.

Di mana berkas disimpan?

Keluarannya disimpan di folder gambar dalam ruang kerja Anda sebagai berkas PNG, PDF, dan SVG.

Bisakah saya melihat daftar templatnya?

Bisa, renderer memiliki opsi daftar yang menampilkan semua ID templat yang didukung.

Detail

Deskripsi asli dari pembuat

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

Popularitas

Bintang GitHub
6.3k
Peringkat
#14375
Lisensi
—
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa