Skip to content
Research
Skill

/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曲面,

BOOST
From plugin
mathmodelagent
6.2k10 skills
Install
$ npx -y skills add jihe520/mathmodelagent --skill mathmodel-figure-templates --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/mathmodel-figure-templates

Context preview

The summary Claude sees to decide when to auto-load this skill.

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曲面,

SKILL.md

mathmodel-figure-templates.SKILL.md
name: mathmodel-figure-templates
description: 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.
allowed-tools: Bash(*), Read, Write, Edit, Grep, Glob

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

3. The renderer copies the bundled template script into `绘图复刻/scripts/`, runs it there, and writes outputs to `绘图复刻/outputs/`. 4. 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.

Read more
Ships withmathmodelagent

🤖📐专为数学建模设计的 Agent & skills ,自动完成数学建模,生成一份完整的可以直接提交的论文。 An Agent Designed for Mathematical Modeling ,Automatically complete mathmodel and generate a complete paper ready for submission.

Get the whole plugin
Stats
6,212
Stars
446
Forks
Active
Maintenance
TeX
Language
13d ago
Last commit
1y ago
Created
4h ago
Added

Repo: jihe520/mathmodelagent

Other skills on mathmodelagent.

1start-mathmodel
Skill

1start-mathmodel

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

2analysis-modeling
Skill

2analysis-modeling

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