Agent skill

Math Modeling Environment Doctor

by jihe520 in jihe520/MathModelAgent

Checks that the tools and Python packages needed for a math modeling paper workflow are installed and offers platform-specific install commands for anything missing.

No licenceAuto-check: notesDevelopment

SKILL.md written in Chinese; this summary is our English description.

Install Math Modeling Environment Doctor

skills CLI
$ npx skills add jihe520/MathModelAgent --skill doctor -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jihe520/MathModelAgent doctor --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jihe520/MathModelAgent.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/doctor .claude/skills/doctor && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
doctor
GitHub stars
6.2k
Token cost
~1.5k tokens
SKILL.md length
366 words
Files
1
Skills in repo
10
Repo updated
First seen
Licence
None found

At a glance

Checks that the tools and Python packages needed for a math modeling paper workflow are installed and offers platform-specific install commands for anything missing.

  • Works in 6 steps: :检测当前平台 → :检查所有工具 → :输出检查报告 → …
  • Setting up a new machine for the math modeling paper workflow
  • SKILL.md covers 检查项清单, 工作流程 and 注意事项
  • Calls brew, winget and apt

What it does

Run only when you ask for it, this skill audits the machine for everything the mathematical modeling workflow relies on and offers to install what is missing. It checks for the Typst and XeLaTeX paper compilers, Python 3, draw.io for exporting flowcharts to PDF, one of pdftoppm, mutool or magick for turning PDFs into PNGs for visual checks, and the Python packages numpy, scipy, pandas, matplotlib, scikit-learn and openpyxl.

It detects the platform and package manager first (brew on macOS, apt, dnf or pacman on Linux, winget, scoop or choco on Windows), prints a status report and separates required items from optional ones. Required are a paper compiler, either Typst or XeLaTeX, plus Python 3, numpy, pandas and matplotlib. Install commands are shown only for what is missing, and they are executed after you confirm.

When your agent uses it

  • Setting up a new machine for the math modeling paper workflow
  • Finding out whether a missing tool is why paper compilation or PDF checks fail
  • Getting the right install commands for Typst, XeLaTeX or the Python packages on Windows, macOS or Linux

Example prompts

  • “Run the doctor check and tell me what is missing for the math modeling workflow.”
  • “Show me the install commands for the missing Python packages, then run them once I agree.”
  • “Check whether Typst or XeLaTeX is available on this Windows machine.”

Requirements

  • Shell access to run the detection commands
  • A package manager such as brew, apt, winget or scoop
  • Pre-approved tools (allowed-tools): Bash(*), Read, Write

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. :检测当前平台
  2. :检查所有工具
  3. :输出检查报告
  4. :提供安装命令(按平台)
  5. :询问用户是否安装
  6. :最终摘要

What it can do on your machine

Read from SKILL.md and the folder at commit 03f4eb3. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash(*)
    • Read
    • Write

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • brew
    • winget
    • apt
    • dnf
    • python3
    • pip3
    • cargo
    • choco

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Math Modeling Environment Doctor loads about 1.5k tokens when it runs. Until then it costs about 17 tokens; SKILL.md has 366 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~17
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteRuns commands with sudoSKILL.md:140
    | Linux (apt) | `sudo apt install texlive-full` |
  • NoteRuns commands with sudoSKILL.md:141
    | Linux (dnf) | `sudo dnf install texlive-scheme-full` |
  • NoteRuns commands with sudoSKILL.md:142
    | Linux (arch) | `sudo pacman -S texlive` |
  • NoteRuns commands with sudoSKILL.md:153
    | Linux (apt) | `sudo apt install python3 python3-pip` |
  • NoteRuns commands with sudoSKILL.md:154
    | Linux (dnf) | `sudo dnf install python3 python3-pip` |
  • NoteRuns commands with sudoSKILL.md:178
    | Linux (apt) | `sudo apt install poppler-utils` |
  • NoteRuns commands with sudoSKILL.md:179
    | Linux (dnf) | `sudo dnf install poppler-utils` |
  • NoteRuns commands with sudoSKILL.md:187
    | Linux (apt) | `sudo apt install mupdf-tools` |
  • NoteRuns commands with sudoSKILL.md:195
    | Linux (apt) | `sudo apt install imagemagick` |
  • NoteRuns commands with sudoSKILL.md:196
    | Linux (dnf) | `sudo dnf install imagemagick` |

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 366 words (~1,453 tokens).

name
doctor
allowed-tools
Bash(*), Read, Write

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/doctor of jihe520/MathModelAgent.

Open the folder on GitHubat commit 03f4eb3

Compare with similar skills

Math Modeling Environment Doctor next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Math Modeling Environment Doctor compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Math Modeling Environment Doctor this skilljihe520/MathModelAgent6.2k—~1.5kAutomated safety check: NotesNone
AutoMCM-Pro for Codex CLIRealSeaberry/AutoMCM-Pro257—~1.6kAutomated safety check: PassMIT
AutoMCM-Pro Math Modeling AgentRealSeaberry/AutoMCM-Pro257—~8.5kAutomated safety check: PassMIT
Python Executorcortega26/chile-hub1132 repos~1.5kAutomated safety check: PassMIT
Memory Optimizationbenchflow-ai/skillsbench1.8k—~1.5kAutomated safety check: PassApache-2.0
Tushare Datazillionare/zillionare3212 repos~2.3kAutomated safety check: PassNone

Similar skills

  • AutoMCM-Pro for Codex CLI

    RealSeaberry/AutoMCM-Pro

    Runs a math modeling contest pipeline for CUMCM and MCM/ICM entries in Codex CLI, with git checkpoints, verified solver code and human review at each stage.

    257 GitHub stars~1.6k tokensUpdated 29 days ago
    Data & AnalyticsAuto-check passed
  • AutoMCM-Pro Math Modeling Agent

    RealSeaberry/AutoMCM-Pro

    Runs a math modeling competition entry end to end, in AI-led or human-led mode, with Git checkpoints and self-verified solver code before it enters the LaTeX paper.

    257 GitHub stars~8.5k tokensUpdated 29 days ago
    Research & ScienceAuto-check passed
  • Python Executor

    cortega26/chile-hub

    Execute Python code in a safe sandboxed environment via [inference.sh](https://inference.sh).

    113 GitHub starsUsed in 2 repos~1.5k tokens
    Data & AnalyticsAuto-check passed
  • Memory Optimization

    benchflow-ai/skillsbench

    Optimize Python code for reduced memory usage and improved memory efficiency.

    1.8k GitHub stars~1.5k tokensUpdated 2 mo ago
    DevelopmentAuto-check passed
  • Tushare Data

    zillionare/zillionare

    面向中文自然语言的 Tushare 数据研究技能。用于把“看看这只股票最近怎么样”“帮我查财报趋势”“最近哪个板块最强”“北向资金在买什么”“给我导出一份行情数据”这类请求,转成可执行的数据获取、清洗、对比、筛选、导出与简要分析流程。适用于 A 股、指数、ETF/基金、财务、估值、资金流、公告新闻、板块概念与宏观数据等研究场景。

    321 GitHub starsUsed in 2 repos~2.3k tokens
    Business, Finance & HRAuto-check passed
  • Senior Data Scientist

    Raidriar7170/hermes-skilleval

    World-class data science skill for statistical modeling, experimentation, causal inference, and advanced analytics.

    125 GitHub starsUsed in 5 repos~1.4k tokens
    Data & AnalyticsAuto-check passed

More from jihe520/MathModelAgent

All 10 skills in this repo
  • MathModel Figure Templates

    jihe520/MathModelAgent

    Renders ready-made scientific figure templates, such as raincloud plots, Taylor diagrams and chord diagrams, from bundled Python scripts in the MathModel sandbox.

    6.2k GitHub stars~627 tokensUpdated 7 days ago
    Auto-check: notes
  • Typst Author

    jihe520/MathModelAgent

    Generates, edits and debugs Typst (.typ) documents using the bundled Typst documentation as the source of truth, with formatting checks after each edit.

    6.2k GitHub starsUsed in 1 repo~2.3k tokens
    Auto-check passed
  • Rewrites a math modeling competition paper into an English EI conference submission, using a bundled IEEE LaTeX template, with evidence tracked back to the original paper.

    6.2k GitHub stars~688 tokensUpdated 7 days ago
    Auto-check passed
  • Math Modeling Paper Verifier

    jihe520/MathModelAgent

    Runs the final verification pass on a math-modeling competition paper written in Typst or LaTeX, checking structure, figures, numbers, leaks and compilation.

    6.2k GitHub stars~1.4k tokensUpdated 7 days ago
    Auto-check: notes
  • Math Modeling Workflow Starter

    jihe520/MathModelAgent

    Entry point for a math modeling competition project: asks about preferences, writes plan.md and todo.md, then calls stage skills for analysis, code, diagrams, paper and verification.

    6.2k GitHub stars~918 tokensUpdated 7 days ago
    Auto-check: notes
  • Math Modeling Problem Analysis

    jihe520/MathModelAgent

    Chinese-language stage that turns a math modeling contest problem and its data files into a modeling report with sub-problems, formulas and a task list for coding.

    6.2k GitHub stars~494 tokensUpdated 7 days ago
    Auto-check: notes

Categories

Questions about Math Modeling Environment Doctor

What does Math Modeling Environment Doctor do?

Checks that the tools and Python packages needed for a math modeling paper workflow are installed and offers platform-specific install commands for anything missing. Run only when you ask for it, this skill audits the machine for everything the mathematical modeling workflow relies on and offers to install what is missing.io for exporting flowcharts to PDF, one of pdftoppm, mutool or magick for turning PDFs into PNGs for visual checks, and the Python packages numpy, scipy, pandas, matplotlib, scikit-learn and openpyxl.

When should I use Math Modeling Environment Doctor?

Math Modeling Environment Doctor fits situations like: setting up a new machine for the math modeling paper workflow; finding out whether a missing tool is why paper compilation or PDF checks fail; getting the right install commands for Typst, XeLaTeX or the Python packages on Windows, macOS or Linux.

How do I install Math Modeling Environment Doctor in Claude Code?

Run `npx skills add jihe520/MathModelAgent --skill doctor -a claude-code`. Or copy the skill folder (skills/doctor in jihe520/MathModelAgent) into .claude/skills/doctor in your project. Claude Code loads it when a task matches its description.

How do I install Math Modeling Environment Doctor in Codex?

Run `npx skills add jihe520/MathModelAgent --skill doctor -a codex`. Or copy the skill folder (skills/doctor in jihe520/MathModelAgent) into .agents/skills/doctor in your project. Codex loads it when a task matches its description.

Can I use Math Modeling Environment Doctor in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jihe520/MathModelAgent --skill doctor -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/doctor, .gemini/skills/doctor, .github/skills/doctor and .opencode/skills/doctor in your project.

What does Math Modeling Environment Doctor need to run?

Going by SKILL.md and its folder, Math Modeling Environment Doctor needs the command-line tools its instructions call (brew, winget, apt, dnf, python3 and pip3). Our summary lists: Shell access to run the detection commands; A package manager such as brew, apt, winget or scoop. Its frontmatter pre-approves these tools: Bash(*), Read, Write.

Does Math Modeling Environment Doctor access the network?

SKILL.md names 1 domain. As links in the text: github.com. This is read from the text; nothing was executed.

Is Math Modeling Environment Doctor safe to install?

Our automated static check of SKILL.md found notes only (runs commands with sudo), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Math Modeling Environment Doctor use?

No licence was found for Math Modeling Environment Doctor or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Math Modeling Environment Doctor use?

About 1.5k tokens (SKILL.md is roughly 5.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Math Modeling Environment Doctor?

Skills that share tags, products or a category with Math Modeling Environment Doctor: AutoMCM-Pro for Codex CLI (RealSeaberry/AutoMCM-Pro, 257 stars), AutoMCM-Pro Math Modeling Agent (RealSeaberry/AutoMCM-Pro, 257 stars), Python Executor (cortega26/chile-hub, 113 stars) and Memory Optimization (benchflow-ai/skillsbench, 1.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Math Modeling Environment Doctor?

jihe520 (a GitHub user) maintains it in jihe520/MathModelAgent, which has 6,184 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on October 3, 2026.

Source: jihe520/MathModelAgent on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.