Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

mathmodel-figure-templates

БесплатноЗапускает вложенные скриптыНе проверен

Use this skill in the MathModel LaTeX sandbox when the user asks to reproduce built-in scientific visualization templates, especially prompts from the Improve…

jihe520от jihe520★ 6 473 звезды на 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.

Установить mathmodel-figure-templates в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Bash(*)
Read
Write
Edit
Grep
Glob

Вложенные файлы

assets/previews/correlation_pairgrid_replica.pngassets/previews/cv_roc_ci_replica.pngassets/previews/grouped_circular_heatmap_replica.pngassets/previews/grouped_corr_split_violin_replica.pngassets/previews/multiclass_shap_combo_replica.pngassets/previews/nature_chord_diagram_replica.pngassets/previews/paired_raincloud_replica.pngassets/previews/prediction_marginal_grid_replica.pngassets/previews/rf_tpe_surface_replica.pngassets/previews/taylor_diagram_replica.pngassets/previews/urban_park_cooling_combo_replica.pngreferences/figure-catalog.mdreferences/plot-recipes.mdscripts/render_template.pyscripts/templates/make_correlation_pairgrid.pyscripts/templates/make_cv_roc_ci.pyscripts/templates/make_grouped_circular_heatmap.pyscripts/templates/make_grouped_corr_split_violin.pyscripts/templates/make_multiclass_shap_combo.pyscripts/templates/make_nature_chord_diagram.pyscripts/templates/make_paired_raincloud.pyscripts/templates/make_prediction_marginal_grid.pyscripts/templates/make_rf_tpe_surface.pyscripts/templates/make_taylor_diagram.pyscripts/templates/make_urban_park_cooling_combo.py

FAQ

Что делает скилл mathmodel-figure-templates?

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.

Как установить скилл mathmodel-figure-templates?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл mathmodel-figure-templates запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить mathmodel-figure-templates с