Logo von Math Model

Math Model

Community
capwitf
math-model

Use when 高教社杯/CUMCM 数学建模任务需要变量、假设、公式、约束、算法、验证设计、鲁棒性规划、灵敏度分析、结果 schema,或基于题面和本地证据的代码交接。

Add to TypingMind

Übersicht

Herausgebercapwitf
RepositoryMy-MathModeling-skills
Skill-Namemath-model
Sterne
57
Forks
1
Mitgelieferte Dateien
2
LizenzMIT
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • Mitgelieferte Dateien: 2

    Skripte, Vorlagen und Referenzmaterial, die das Modell bei der Arbeit lesen kann. Die Dateien sind schreibgeschützt und werden niemals ausgeführt.

  • Open Source

    Von capwitf auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Math Model in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/capwitf/My-MathModeling-skills/tree/main/math-model
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/capwitf/My-MathModeling-skills.git /tmp/My-MathModeling-skills
mkdir -p .claude/skills
cp -r /tmp/My-MathModeling-skills/math-model .claude/skills/math-model
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Math Model in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Math Model automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Math Model nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

竞赛建模

用途

Turn the locked problem brief into a problem-driven model route: variables, constraints, assumptions, units, objective/mechanism, validation, robustness plan, result schema, and code handoff.

Read math-hub/references/quality-contract.md only when promoting a route to paper-ready, classifying blocked status, preparing a final gate, or writing a cross-module handoff. For exploratory model sketches, keep the boundary local and do not load the shared contract by default.

Do not choose an algorithm because it sounds advanced. First state what mathematical problem the subquestion is, then choose the simplest route that can answer the required deliverable.

Required Inputs

  • problem_brief.md and deliverable_matrix.csv, or an equivalent current lock from math-problem-reader/math-hub;
  • active subquestion, input data, assumptions, limits, and expected output;
  • known units, source files, and official constraints;
  • research_brief.md or method_source_matrix.csv when the route was literature-informed or when multiple source-backed candidate routes were scouted;
  • prior model version if this is a revision.

If these are missing, return to math-problem-reader or math-hub instead of inventing the task.

Modeling Flow

  1. Restate the subquestion as inputs, limits, decision object, and outputs.
  2. Name the mechanism or mathematical family before naming software or algorithms.
  3. Define variables, domains, units, assumptions, objective, constraints, and boundary conditions.
  4. Select one main route; keep secondary methods subordinate.
  5. If prior research produced candidates, compare their task fit, data fit, validation burden, and citation boundary before selecting the main route.
  6. Add a baseline or reference scheme before advanced claims.
  7. Define validation tier: direct check, scenario check, robustness-required, or diagnostic-only.
  8. Write the result schema and paper figure/table plan.
  9. Prepare model_handoff.md for math-code and math_verification.csv expectations for math-verifier.

Record method choice rationale with evidence id, baseline defect, and boundary: do not copy AI suggestions or write only "works better"; name the data, PoC, baseline failure, and condition under which the chosen route is valid.

Route Triage

  • Discrete decisions with coupled binary logic may use MILP/MIP, but never as a generic wrapper.
  • Flow, assignment, scheduling, and staged decisions should consider network flow, DP, or greedy/baseline logic before generic MILP.
  • Continuous resource allocation should consider LP/QP/convex/nonlinear programming according to structure.
  • Geometry/physics tasks need derivation, direct numerical evaluation, or simulation according to the mechanism.
  • Ranking/evaluation tasks need indicator design, weighting rationale, and sensitivity.
  • Uncertainty tasks need scenario, robust, stochastic, or sensitivity analysis.
  • Simulation is appropriate only when time evolution, events, queues, Monte Carlo uncertainty, agents, or spatial/temporal discretization are part of the problem mechanism.

For simulation, include state variables, initialization, boundary conditions, event rules, seeds/replications when stochastic, calibration/back-test when data allow it, and a downgrade rule when sensitivity fails.

Robustness Plan

Every subquestion needs a validation tier:

  • direct-check: unit, balance, accounting, boundary, or formula substitution is enough.
  • scenario-check: compare named scenarios, stress cases, or baselines.
  • robustness-required: conclusion depends on weights, thresholds, fitted parameters, solver tolerances, stochastic search, or fragile assumptions.
  • diagnostic-only: check reduces uncertainty but cannot support final wording.

A robustness plan must name varied inputs, tested range, baseline, stability metric, pass/fail criterion, and downgrade rule.

PoC Gate

Before a computational route can support paper_ready evidence, require a poc_registry.csv row for each main or baseline candidate: a <=30-line PoC script or command run on a real data slice or real attachment-derived sample, with input path, command, candidate id, output number or failure verdict, and status. A synthetic-data PoC may guide modeling, but it stays diagnostic-only and cannot support paper_ready promotion.

If a candidate failed its PoC or is rejected after comparison, keep poc_registry.csv.status as passed/failed/blocked/diagnostic-only, record failure_reason, and mark the deprecated route in model_handoff.md; any remaining reference to it is diagnostic-only. A rejected method must not remain as a backup main conclusion; paper wording is blocked until the surviving route has passed real-data evidence.

Code Handoff

The code handoff in model_handoff.md is blocked if implementation would need to invent a parameter, threshold, unit, solver tolerance, output schema, feasibility label, or missing constraint. Keep the route inside math-model until these are explicit.

Minimum handoff content:

  • active subquestion and deliverable;
  • variables, constraints, units, assumptions, and objective/mechanism;
  • input files and trusted columns;
  • PoC ids from poc_registry.csv, including which candidate passed, failed, or stayed diagnostic-only;
  • algorithm or solver route with parameters and tolerances;
  • output tables/figures and expected filenames;
  • validation and robustness checks;
  • paper-ready versus diagnostic-only boundaries.

When a route is replaced, publish a new model_handoff.md version with changed assumptions/variables/constraints and which prior claims or runs are no longer paper-ready.

Verification Handoff

Before paper-ready promotion, provide enough structure for math-verifier:

  • formula list, units, domains, and boundary cases;
  • feasibility wording and hard constraints;
  • assumptions that may fail;
  • expected rows for math_verification.csv.

If these are missing, keep the route blocked or diagnostic-only.

Output Contract

Return:

  • model route and why it fits the subquestion;
  • source-backed route rationale and adaptation boundary when prior research was used;
  • variables, constraints, units, assumptions, and objective/mechanism;
  • validation tier and robustness plan;
  • result schema and figure/table plan;
  • model_handoff.md content or edits;
  • blockers and the next owner module.

Return to hub: math-hub.

Red Lines

  • Do not model before deliverables and attachments are understood.
  • Do not use a method name as the model.
  • Do not treat a literature idea as the selected model until it is adapted to current deliverables, data, units, constraints, and validation.
  • Do not omit units, domains, hard constraints, or feasibility conditions.
  • Do not hand code a model that requires guessing.
  • Do not promote simulation, optimization, ranking, or fitted results without validation and downgrade rules.
  • Do not strengthen another subquestion to hide an uncovered deliverable.

Mitgelieferte Dateien

Das Modell liest diese Dateien bei Bedarf, während der Skill geladen ist. Sie werden als lesbare Dateien bereitgestellt und niemals ausgeführt.

Häufig gestellte Fragen

Was macht der KI-Skill Math Model?

Use when 高教社杯/CUMCM 数学建模任务需要变量、假设、公式、约束、算法、验证设计、鲁棒性规划、灵敏度分析、结果 schema,或基于题面和本地证据的代码交接。

Warum Math Model in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Math Model besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Math Model in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/capwitf/My-MathModeling-skills/tree/main/math-model ein. TypingMind liest die Datei SKILL.md, bündelt die zugehörigen Dateien und installiert alles als Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Math Model nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Math Model verwenden?

So viele Sie möchten. In TypingMind können Sie Math Model mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Math Model kostenlos?

Ja. Der Skill wird von capwitf auf GitHub unter der Lizenz MIT veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇