Saltar al contenido
Skillpedia
Imágenes e íconos6,3 mil · #14375

mathmodel-figure-templates

Qué hace

Esta skill ofrece scripts de Python listos para ejecutar con plantillas de visualización científica usadas en el entorno LaTeX de MathModel. Está pensada para estudiantes e investigadores que necesitan figuras de estilo científico estándar para un informe.

Cuándo usarla

  • ✓Cuando necesitas un gráfico científico estándar, como una curva ROC o una matriz de correlación, para un informe.
  • ✓Cuando quieres reproducir una plantilla de figura que lista la herramienta MathModel.
  • ✓Cuando quieres guardar el gráfico en archivos PNG, PDF y SVG para un artículo.

Link de la skill

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

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/jihe520/MathModelAgent/blob/main/skills/mathmodel-figure-templates/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Reproduce la plantilla de ROC de validación cruzada y guárdala en PNG, PDF y SVG en la carpeta de mi informe.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

La skill busca la plantilla correspondiente por su ID, ejecuta el script incluido en tu espacio de trabajo y guarda los resultados en una carpeta de figuras. Devuelve las rutas de las imágenes y una copia del script para que lo edites.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de 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.

Preguntas frecuentes

¿Usa mis datos reales?

La descripción indica que los scripts incluidos usan datos simulados, así que los valores no reproducen exactamente un estudio de origen.

¿Dónde se guardan los archivos?

Los resultados van a una carpeta de figuras de tu espacio de trabajo, en archivos PNG, PDF y SVG.

¿Puedo ver la lista de plantillas?

Sí, el renderizador tiene una opción de lista que muestra todos los ID de plantilla compatibles.

Detalles

Descripción original del autor

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

Popularidad

Estrellas en GitHub
6,3 mil
Posición en el ranking
#14375
Licencia
—
Actualizada
2/11/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas