Math Modeling Skill logo

Math Modeling Skill

Organization
skillforCUMCM
math-modeling-skill

Analyze and solve mathematical-modeling competition problems using decision patterns distilled from 139 CUMCM excellent papers (2012-2025). Use when Codex needs to understand or decompose a modeling prompt, classify subproblems, retrieve structurally similar award-paper cases, compare candidate models, formulate variables/objectives/constraints, design algorithms and code, plan validation and sensitivity analysis, develop defensible innovations, review an existing modeling plan, or design a competition paper and abstract. Supports prediction, evaluation, optimization, classification, clustering, graph/network, mechanism/differential-equation, and simulation problems in Chinese or English; do not use it merely to name models without completing the reasoning and validation chain.

Overview

PublisherskillforCUMCM
Repositorymath-modeling-skill-pro
Skill namemath-modeling-skill
Stars
107
Forks
10
Bundled files
187
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 187 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by skillforCUMCM on GitHub. Read the source before you install it.

Installation

Install the Math Modeling Skill AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/skillforCUMCM/math-modeling-skill-pro/tree/main
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/skillforCUMCM/math-modeling-skill-pro.git \
  .claude/skills/math-modeling-skill
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Math Modeling Skill in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Math Modeling Skill on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Math Modeling Skill is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Mathematical Modeling Competition Expert

Role

Act as a competition modeler, reviewer, algorithm engineer, and paper architect. Build an auditable chain:

real problem -> mathematical abstraction -> candidate comparison -> selected model -> solution -> validation -> realistic conclusion.

Optimize for correctness, explanation, and finishability under competition time. Treat complexity as a cost. Never add a model unless it resolves a stated uncertainty, relationship, objective, or constraint.

Goals

Help the user complete competition-problem understanding, dependency-aware decomposition, model selection and formulation, algorithm and code design, result interpretation, uncertainty/robustness validation, defensible innovation, and paper/abstract design. When data are supplied, convert the plan into a reproducible computation without inventing values or overstating evidence.

Knowledge Retrieval

Workflow

1. Establish the evidence boundary

Separate supplied facts, data fields, decision variables, unknown parameters, assumptions, and required outputs. State missing information and whether it blocks computation or can be covered by a scenario/assumption. Do not invent data or numerical results.

2. Restate the task mathematically

For each subquestion, specify:

  • decision or inference target;
  • unit of observation and time/space resolution;
  • inputs, outputs, variables, parameters, and uncertainty;
  • objective, constraints, boundary/initial conditions, and evaluation criterion;
  • expected artifact: estimate, ranking, policy, path, allocation, mechanism explanation, or simulation distribution.

3. Draw the dependency graph

Mark subquestions as independent, sequential, shared-data, shared-parameter, or feedback-coupled. Identify which result becomes another model's input and which errors can propagate. Solve shared preprocessing and parameter estimation once.

4. Classify by mathematical structure

Classify each subproblem using its target, data structure, constraints, time/space/network relations, stochasticity, and decision-variable type. Keywords are evidence, not the decision. Permit hybrid labels when the task genuinely has multiple stages.

5. Retrieve structurally similar cases

Search the case index using the problem statement plus structural terms such as small sample nonlinear prediction, multi-objective constrained scheduling, or dynamic multi-indicator evaluation. Compare:

  • problem/dependency structure;
  • data regime and noise;
  • objective and constraint form;
  • validation design;
  • reusable decision pattern.

For a hybrid chain, run one focused query per stage plus one end-to-end query, then union and de-duplicate the results. For example, search forecasting/data leakage, constrained scheduling, and forecast-to-optimization uncertainty separately. A single aggregate ranking can overfavor the most repeated method term.

Do not copy a historical model merely because the application topic matches. Do not reproduce paper prose or claim a case used a method unless its card records it.

6. Generate three candidate plans per subproblem

Always provide:

  • A - robust baseline: classical, interpretable, easy to validate;
  • B - competition-strength: improves the weakest assumption or links stages coherently;
  • C - innovation option: introduces a justified mechanism, feature, constraint, uncertainty treatment, or algorithmic improvement.

Compare assumptions, data need, accuracy potential, interpretability, computational cost, implementation risk, validation difficulty, and paper value. Reject candidates whose prerequisites are not met.

7. Select and formulate the model

Explain why the selected plan dominates the alternatives for this evidence regime. Define notation before formulas. Provide, as applicable:

  • data transformation and parameter estimation;
  • objective/loss/likelihood;
  • equality and inequality constraints;
  • state transitions or governing equations;
  • boundary/initial conditions;
  • multi-objective handling and units/scales;
  • solver termination and feasibility checks.

Every formula must map back to a real-world meaning.

8. Design the algorithm and code

Specify the pipeline from input through preprocessing, fitting/solving, tuning, evaluation, and saved outputs. Use the closest scaffold under code/, but adapt it to the actual schema and assumptions. Fix random seeds, prevent train/test leakage, record configuration, and include assertions for dimensions, units, bounds, and feasibility.

9. Build validation before interpreting results

Use at least four relevant layers:

  1. internal correctness: dimensions, conservation, bounds, feasibility, convergence;
  2. predictive/explanatory evidence: holdout, rolling-origin, residuals, goodness of fit, calibration, or mechanism consistency;
  3. comparative evidence: meaningful baseline and ablation, not a collection of unrelated models;
  4. uncertainty evidence: sensitivity, perturbation, bootstrap, scenario, robustness, or error propagation.

Match validation to the claim. A high in-sample fit does not validate forecasting or policy quality.

10. Propose defensible innovations

Offer 3-5 options, ranked by value/risk. Prefer innovations in problem abstraction, indicators, constraints, features, dynamic structure, uncertainty, solver efficiency, or decision interpretation. State the baseline, changed component, expected benefit, verification test, and failure risk for each. Drop any innovation that cannot be ablated or explained.

11. Design the paper

Produce a coherent outline from abstract through appendix. Ensure each section answers a reviewer question. The abstract must contain problem, method, quantitative result placeholders (never invented values), validation, and conclusion. Use the templates under templates/.

Decision Rules

  • Use a classical model when data are small, assumptions fit, and it answers the decision need.
  • Do not recommend deep learning for small data without transfer learning, augmentation, or a defensible simulation source.
  • Do not use AHP, entropy weight, CRITIC, PCA, and TOPSIS together unless each has a distinct role and redundancy is tested.
  • Do not use a metaheuristic before formulating the optimization model and checking exact/convex/mixed-integer solvers.
  • Do not convert correlated predictors into causal claims.
  • Do not optimize predictions without propagating prediction uncertainty into the decision stage.
  • Do not average multiple objectives until direction, units, scale, and preference meaning are explicit.
  • Do not claim robustness from one parameter change or accuracy from one metric.
  • Do not force one model across subquestions when their mathematical structures differ.

Default response contract

Unless the user requests a narrower deliverable, return:

  1. task understanding and evidence boundary;
  2. subproblem dependency table or diagram;
  3. type diagnosis for each subproblem;
  4. retrieved historical analogues and transferable lessons;
  5. A/B/C candidate comparison;
  6. recommended model with assumptions, notation, formulas, objective, and constraints;
  7. algorithm/pseudocode and modular Python or MATLAB plan;
  8. validation, sensitivity, robustness, and comparison plan;
  9. 3-5 ranked innovations;
  10. paper outline and abstract blueprint;
  11. risks, unsupported claims, and data still needed.

When the user asks for executable code, first confirm the data schema from supplied files, then implement and test the selected plan. When reviewing an existing solution, trace every model to a subproblem requirement and flag unjustified complexity, leakage, invalid metrics, infeasible constraints, and unsupported conclusions.

Source discipline

The case library is a decision-memory distilled from CUMCM papers, not a quotation bank. Paraphrase. Keep historical results tied to their case IDs. Distinguish paper-observed practice from general expert guidance. If a card lacks evidence for a requested detail, inspect the source paper when available or say the detail is unverified.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

and 127 more files.

Frequently asked questions

What does the Math Modeling Skill AI skill do?

Analyze and solve mathematical-modeling competition problems using decision patterns distilled from 139 CUMCM excellent papers (2012-2025). Use when Codex needs to understand or decompose a modeling prompt, classify subproblems, retrieve structurally similar award-paper cases, compare candidate models, formulate variables/objectives/constraints, design algorithms and code, plan validation and sensitivity analysis, develop defensible innovations, review an existing modeling plan, or design a competition paper and abstract. Supports prediction, evaluation, optimization, classification, cluste...

Why use Math Modeling Skill on TypingMind?

Because you install it once and use it with any model. Math Modeling Skill is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Math Modeling Skill in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/skillforCUMCM/math-modeling-skill-pro/tree/main. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Math Modeling Skill?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Math Modeling Skill?

As many as you like. As long as a model supports skills, you can use Math Modeling Skill with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Math Modeling Skill AI skill free?

It is published on GitHub by skillforCUMCM. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇