Logo van My Mathmodel Agent

My Mathmodel Agent

Community
chengyike20110519-create
my-mathmodel-agent

Evidence-driven mathematical modeling contest workflow for Claude Code: decompose a problem, select baseline/primary/fallback model routes, validate PoCs, run reproducible Python/AMPL experiments, freeze results, write LaTeX or Typst papers, render, and audit every claim. Use for CUMCM, MCM/ICM, HiMCM, and similar contests; not for casual homework or one-off coding questions.

Overzicht

Uitgeverchengyike20110519-create
RepositoryMathModelRun
Skillnaammy-mathmodel-agent
Sterren
113
Forks
3
Meegeleverde bestanden
Alleen instructies
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door chengyike20110519-create op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill My Mathmodel Agent in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/chengyike20110519-create/MathModelRun/tree/main/.claude/skills/my-mathmodel-agent
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/chengyike20110519-create/MathModelRun.git /tmp/MathModelRun
mkdir -p .claude/skills
cp -r /tmp/MathModelRun/.claude/skills/my-mathmodel-agent .claude/skills/my-mathmodel-agent
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel My Mathmodel Agent in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt My Mathmodel Agent automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is My Mathmodel Agent niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

MathModel Run

Use this skill when working on Chinese or international mathematical modeling contest projects that need a reproducible path from problem files to defensible decisions and, later, a defensible paper.

Default user experience

The primary product is not one-click paper generation. First identify the current blocker, compare model routes, run the smallest useful validation, and write a critique report when the evidence is weak. Unless the user explicitly asks for a complete paper, return a bounded work package instead:

  1. current blocker;
  2. why it blocks later work;
  3. smallest next action;
  4. acceptance criteria;
  5. exact fallback if it fails.

Paper writing is a controlled downstream action. Use only verified and frozen results, and prefer a problem card, model decision card, experiment plan, critique report, result explanation, or single section when that is enough.

Structure papers from evidence

Use exemplar papers to extract useful decisions, not to copy headings or named methods. Map every prompt deliverable to a section, then organize the paper as problem and scope, data and assumptions, one section per major model or task, validation and robustness, and conclusion. A strong model route often has a simple baseline, a primary mechanism model, an ordered simulation algorithm, direct requested outputs, and an interpretation with explicit limits. Add only the parts supported by the current problem and evidence.

Make model states and transitions visible with a workflow or state diagram. Choose figures by the question they answer: maps or spatial small multiples for geometry, time series for forcing and growth, distributions or intervals for randomness, and sensitivity or ablation plots for robustness. Keep colors and state names consistent. A representative run may illustrate a pattern, but statistical claims must use the declared replicate set. Label sourced data, assumed parameters, and model-generated outputs separately. Do not add a Leslie matrix, cellular automaton, AHP, TOPSIS, radar chart, or other named technique unless it is necessary and independently checkable. Page count must come from a complete argument rather than empty headings or decorative plots.

This is the Claude Code skill entry point. For Codex, use my-mathmodel-agent/SKILL.md in the repository root.

For quantitative Python figures, read the shared my-mathmodel-agent/references/python-figures.md from the repository root and use my-mathmodel-agent/scripts/figure_tools.py as an adaptable plotting helper. Plan evidence-driven combinations, use native axes and intended manuscript dimensions, and inspect actual exports before claiming visual quality. Update requested active figures in place so their original links show the revision.

For substantial result charts, use the shared my-mathmodel-agent/references/data-figure-agent.md and its reference-figure lessons. Delegate to mathmodel-data-figure when appropriate and keep review independent. AI workflow images follow the shared ai-workflow-gate.md: freeze implemented labels and topology, then verify every actual label/arrow. Use my-mathmodel-agent/scripts/figure_gate.py and its review template to block pending, unresolved or stale reviews. Standalone approval precedes insertion; final paper approval also inspects the actual rendered page. Update original active files rather than creating unsolicited numbered alternatives.

Startup ritual

  1. Read state.json, project_manifest.json, and PROGRESS.md.
  2. Find the first gate whose value is false.
  3. Read only the stage contract needed for that gate.
  4. Work on one gate at a time and update the durable handoff log.

Stage machine

text
S0 PREFLIGHT  → S1 ANALYZE  → S2 ROUTE  → S3 DATA_PLAN
→ S4 METHOD_POC  → S5 EXPERIMENT  → S6 FREEZE
→ S7 WRITE  → S8 RENDER  → S9 AUDIT  → READY

The required state gates are:

text
input_snapshot
problem_decomposed
model_route_selected
data_plan_ready
method_validated
experiments_reproduced
results_frozen
paper_written
pdf_verified
audit_passed

Every gate starts false. A gate becomes true only after independent, reproducible evidence exists in audit/gate_evidence.json. Evidence is labeled STRUCTURAL, RUNTIME, or VISUAL; structural checks alone cannot open runtime or visual gates. A fallback renderer must be identified and cannot be called submission-compliant without an explicit format check.

Core contracts

  • Each subproblem gets planning/problem_analysis.json with observable acceptance criteria.
  • Each model route records baseline, primary_model, fallback_model, rejected alternatives, and a validation plan.
  • Each experiment run records command, input hash, parameters, seed, environment, metrics, logs, and outputs.
  • Paper numbers may only come from frozen_numbers.json.
  • Each paper claim maps through paper/evidence_map.json to a frozen value, figure, or run.
  • Each paper contains a labeled Workflow/工作流 section or equivalent figure, mapped step-by-step in paper/workflow.json.
  • Every PDF page is checked in paper/render_log.json.
  • Final readiness requires zero hard errors in audit/final_report.md and a hashed audit/package_manifest.json with caches, secrets, personal paths, and obsolete duplicates excluded.

Role subagents

Invoke the role agents under .claude/agents/:

  • mathmodel-analyst: decompose problem facts, assumptions, ambiguities, and acceptance criteria.
  • mathmodel-modeler: define symbols, assumptions, objectives, constraints, and model routes.
  • mathmodel-coder: implement reproducible experiments and logs.
  • mathmodel-writer: assemble the paper only from frozen evidence.
  • mathmodel-reviewer: independently reproduce evidence and audit the project.

Recovery

Return to the earliest invalid gate:

  • question or data scope → S1
  • model route → S2
  • data leakage or units → S3
  • PoC → S4
  • experiment or solver status → S5
  • numbers → S6
  • claim or evidence mismatch → S7
  • compile or layout → S8

Use the recorded fallback instead of silently changing the model. Append KEEP/CUT/DEFER/PIVOT/ACCEPT_RISK decisions to planning/decision_log.jsonl.

Completion behavior

Do not claim completion because code ran, a solver returned success, or a PDF compiled. Report stage, artifacts, reproduced evidence, risks, and next entry point. Completion requires all gates true and a final independent audit with zero hard errors.

For detailed stage instructions, read my-mathmodel-agent/references/workflow-contract.md. For machine-readable JSON shapes, read my-mathmodel-agent/references/artifact-contracts.md. For final review scoring, read my-mathmodel-agent/references/evaluation-rubric.md.

When updating a user-requested file, replace the current version at its original path and remove obsolete content or duplicate old versions. If upstream inputs, code, parameters, environment, or templates change, invalidate downstream gates and rerun the affected evidence.

Veelgestelde vragen

Wat doet de AI-skill My Mathmodel Agent?

Evidence-driven mathematical modeling contest workflow for Claude Code: decompose a problem, select baseline/primary/fallback model routes, validate PoCs, run reproducible Python/AMPL experiments, freeze results, write LaTeX or Typst papers, render, and audit every claim. Use for CUMCM, MCM/ICM, HiMCM, and similar contests; not for casual homework or one-off coding questions.

Waarom My Mathmodel Agent gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. My Mathmodel Agent bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik My Mathmodel Agent in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/chengyike20110519-create/MathModelRun/tree/main/.claude/skills/my-mathmodel-agent. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen My Mathmodel Agent gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met My Mathmodel Agent gebruiken?

Zoveel als je wilt. Je kunt My Mathmodel Agent gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill My Mathmodel Agent gratis?

Ja. Deze skill is door chengyike20110519-create op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇