mathmodel-figure-templates
하는 일
이 스킬은 MathModel LaTeX 샌드박스에서 쓰는 과학 시각화 템플릿을 위한 바로 실행 가능한 Python 스크립트를 제공합니다. 보고서에 쓸 표준 연구 스타일 그림이 필요한 학생과 연구자를 위한 스킬입니다.
사용하는 경우
- ✓보고서에 ROC 곡선이나 상관행렬 같은 표준 과학 차트가 필요할 때.
- ✓MathModel 도구가 나열한 그림 템플릿을 다시 만들고 싶을 때.
- ✓논문용으로 차트를 PNG, PDF, SVG 파일로 저장하고 싶을 때.
스킬 링크
https://github.com/jihe520/MathModelAgent/blob/main/skills/mathmodel-figure-templates/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“교차 검증 ROC 템플릿을 다시 만들고, 보고서 폴더에 PNG, PDF, SVG로 저장해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
스킬은 템플릿 ID로 맞는 템플릿을 찾고, 작업 공간에서 포함된 스크립트를 실행한 뒤 결과를 그림 폴더에 저장합니다. 결과 이미지 경로와, 편집할 수 있도록 복사된 스크립트를 돌려줍니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 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
- Match the requested chart in
references/figure-catalog.md. - 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
- The renderer copies the bundled template script into
绘图复刻/scripts/, runs it there, and writes outputs to绘图复刻/outputs/. - 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-combopaired-raincloudcv-roc-citaylor-diagramcorrelation-pairgridprediction-marginal-gridrf-tpe-surfacegrouped-corr-split-violingrouped-circular-heatmapurban-park-cooling-combonature-chord-diagram
When Customizing
If the user asks for changes, copy/run the nearest template first, then edit the copied file in 绘图复刻/scripts/. Preserve:
MPLCONFIGDIRbefore 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.
자주 묻는 질문
실제 데이터를 사용하나요?
설명에 따르면 포함된 스크립트는 시뮬레이션 데이터를 사용하므로, 원본 연구의 값을 정확히 재현하지는 않습니다.
파일은 어디에 저장되나요?
작업 공간의 그림 폴더에 PNG, PDF, SVG 파일로 저장됩니다.
템플릿 목록을 볼 수 있나요?
네, 렌더러에 목록 옵션이 있어 지원되는 모든 템플릿 ID를 보여 줍니다.
상세 정보
작성자의 원본 설명
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
인기도
- GitHub 스타
- 6.3k
- 순위
- #14375
- 라이선스
- —
- 업데이트
- 2026. 11. 2.
댓글
- …