本文へ移動
cccskills
無料GitHub で公開

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.

インストール方法を見る

含まれるファイル(26)

  • SKILL.md2.6 KB
  • assets/previews/correlation_pairgrid_replica.png1.1 MB
  • assets/previews/cv_roc_ci_replica.png293.7 KB
  • assets/previews/grouped_circular_heatmap_replica.png1.6 MB
  • assets/previews/grouped_corr_split_violin_replica.png401.6 KB
  • assets/previews/multiclass_shap_combo_replica.png1.3 MB
  • assets/previews/nature_chord_diagram_replica.png1.2 MB
  • assets/previews/paired_raincloud_replica.png428.9 KB
  • assets/previews/prediction_marginal_grid_replica.png1.0 MB
  • assets/previews/rf_tpe_surface_replica.png1.3 MB
  • assets/previews/taylor_diagram_replica.png472.4 KB
  • assets/previews/urban_park_cooling_combo_replica.png854.5 KB
  • references/figure-catalog.md1.4 KB
  • references/plot-recipes.md1.4 KB
  • scripts/render_template.py5.5 KB
  • scripts/templates/make_correlation_pairgrid.py6.9 KB
  • scripts/templates/make_cv_roc_ci.py7.8 KB
  • scripts/templates/make_grouped_circular_heatmap.py10.0 KB
  • scripts/templates/make_grouped_corr_split_violin.py9.8 KB
  • scripts/templates/make_multiclass_shap_combo.py9.8 KB
  • scripts/templates/make_nature_chord_diagram.py9.9 KB
  • scripts/templates/make_paired_raincloud.py10.3 KB
  • scripts/templates/make_prediction_marginal_grid.py8.4 KB
  • scripts/templates/make_rf_tpe_surface.py6.0 KB
  • scripts/templates/make_taylor_diagram.py7.4 KB
  • scripts/templates/make_urban_park_cooling_combo.py15.5 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

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.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

共享规范知识库。包含数学建模竞赛的写作规范、题型防错速查、图表规范等参考内容。其他 skills 在执行过程中按需读取,无需单独触发。

日本語の概要は準備中です。原文の説明を表示しています。

jihe520/MathModelAgent6,1922026年10月3日 更新

数学建模竞赛工作流入口。用于启动完整建模流程:询问用户偏好,生成 plan.md 和 todo.md,并按阶段调用赛题分析、建模、代码与图表、流程图、论文撰写、验证验收等 skills。

日本語の概要は準備中です。原文の説明を表示しています。

jihe520/MathModelAgent6,1922026年10月3日 更新

数学建模赛题分析与建模设计合并阶段。用于读取题面和附件,完成子问题拆解、数据理解、假设预检、变量定义、模型公式、目标函数、约束条件、求解策略和可交给代码实现的建模报告。

日本語の概要は準備中です。原文の説明を表示しています。

jihe520/MathModelAgent6,1922026年10月3日 更新

数学建模编程实现与数据图表生成阶段。根据 ANALYSIS_MODELING_REPORT.md 编写可复现代码、运行求解、验证约束、输出 RESULTS_REPORT.md 并生成论文可用的数据驱动图表 PDF。

日本語の概要は準備中です。原文の説明を表示しています。

jihe520/MathModelAgent6,1922026年10月3日 更新

4drawio

無料

数学建模非数据型图示绘制阶段。根据 ANALYSIS_MODELING_REPORT.md、RESULTS_REPORT.md 和已有 figures/ 生成技术路线图、子问题求解流程图、模型结构图、数据处理流程图等 DrawIO 图,并导出论文可引用 PDF。

日本語の概要は準備中です。原文の説明を表示しています。

jihe520/MathModelAgent6,1922026年10月3日 更新

5writing

無料

数学建模竞赛论文撰写阶段,支持 Typst 和 LaTeX 双引擎。根据 ANALYSIS_MODELING_REPORT.md、RESULTS_REPORT.md 和 figures/*.pdf 选择比赛模板、排版引擎、组织章节,并在论文正文中按章节直接插入图表。

日本語の概要は準備中です。原文の説明を表示しています。

jihe520/MathModelAgent6,1922026年10月3日 更新

jihe520 のスキルをすべて見る

このスキルの問題を報告する