Claude Skill
jihe520/MathModelAgent
MathModelAgent is an AI agent and Claude Skill that automates mathematical modeling and generates a complete, submission-ready paper. Built with Python and LLM.
Overview
Repository
Install this Skill
npx skills add jihe520/MathModelAgent --allRegistry
npx skills add jihe520/MathModelAgent --allgit clone https://github.com/jihe520/MathModelAgent.git # 克隆项目pip install uvnpm install -g pnpm
Summary
MathModelAgent is an AI agent and Claude Skill designed specifically for mathematical modeling. It automates the entire modeling process and generates a complete, submission-ready paper.
🤖📐专为数学建模设计的Agent与Claude Skill,可自动完成数学建模,并生成一份完整的、可直接提交的论文。
Key features
- Automated mathematical modeling pipeline
- Generates a complete, submission-ready paper
- Designed as both an agent and a Claude Skill
- Built with Python and LLM integration
- Streamlines the entire modeling workflow
Use cases
- Competition mathematical modeling (e.g., MCM/ICM)
- Academic research paper generation
- Rapid prototyping of mathematical models
- Educational tool for learning modeling techniques
- Automated report generation for data analysis
README excerpt
<h1 align="center">🤖 MathModelAgent 📐</h1> <p align="center"> <img src="./docs/icon.png" height="250px"> </p> <h4 align="center"> 专为数学建模设计的 Agent<br> 自动完成数学建模,生成一份完整的可以直接提交的论文。 </h4> <h5 align="center">简体中文 | <a href="README_EN.md">English</a></h5> ## 🌟 愿景: 3 天的比赛时间变为 1 小时 自动完整一份可以获奖级别的建模论文 <p align="center"> <img src="./docs/chat.png"> <img src="./docs/coder.png"> </p> ## ✨ 功能特性 - 🔍 自动分析问题,数学建模,编写代码,纠正错误,撰写论文 - 💻 Code Interpreter - local Interpreter: 基于 jupyter , 代码保存为 notebook 方便再编辑 - 云端 code interpreter: [E2B](https://e2b.dev/) 和 [daytona](https://app.daytona.io/) - 📝 生成一份编排好格式的论文 - 🤝 multi-agents: 建模手,代码手,论文手等 - 🔄 multi-llms: 每个 agent 设置不同的、合适的模型 - 🤖 支持所有模型: [litellm](https://docs.litellm.ai/docs/providers) - 💰 成本低:workflow agentless,不依赖 agent 框架 - 🧩 自定义模板:prompt inject 为每个 subtask 单独设置需求 - 🌐 Web Search: Agent 自主搜索互联网获取真实数据(Tavily API) - 📚 RAG 知识库: 从本地知识库检索建模方法、代码模板、论文写作参考(ChromaDB + Rerank) - 🤝 HIL 人机协作: 关键节点暂停等待用户审批,支持 6 种决策动作(confirm / edit / regenerate / ask / skip / abort) - 🛡️ 四层容错: 有限重试 → Fallback Hand Off → Evaluator Shadow Mode → Feedback Rerun --- --- 我在平台中托管了一个在线版本,方便使用,欢迎体验: https://mathmodel.top/home ## SKILLS 项目蒸馏成完全由 SKILLS 驱动 不再做 Harness 层 ### Intro MathModelAgent SKILL —— 直接在 Harness 中驱动的数学建模自动化方案. **💰 开源免费,接入任意模型** 完全开源免费,可接入任何模型。 **🧠 端到端自动化** 从问题分析、建模、编码、绘图到论文排版和验收,一条 `/1start-mathmodel` 命令全自动完成,中间阶段自动串联,无需人工干预。 **📄 17 套 Typst 论文模板** 内置中英文主流赛事模板(国赛、华数杯、华为杯、MCM/ICM 等),自动匹配赛事类型,生成排版精良、可直接提交的 PDF 论文。 **📐 内置建模知识库** 包含完整的建模规范、模型选择决策树(AHP、TOPSIS、ARIMA、GA 等)、常见易错模式和 MCM/ICM 评分标准,每个阶段自动参考,降低模型幻觉。 **✅ 9 步自动验收** 文本泄漏检测 → 数值一致性校验 → Typst 编译 → PDF 可视化检查,确保论文零低级错误。 **🔧 可组合、可扩展** 每个阶段是独立 Skill,可单独调用(如只跑分析、只写论文);模板和知识库可自由扩展;支持 Typst 生态排版。 ### Install & Usage 安装 SKILL ``` npx skills add jihe520/MathModelAgent