Math Hub 标志

Math Hub

社区
capwitf
math-hub

Use when 高教社杯/CUMCM 数学建模项目需要竞赛级范围控制、轻量 hub 状态、当前分问交付物锁定、文献启发式解题路线、结论/证据一致性、数学核验、结果一致性审查、官方规则合规、AI 使用披露跟踪、最终提交门禁或明确任务派发。

概览

发布者capwitf
代码仓库My-MathModeling-skills
技能名称math-hub
星标数
57
复刻数
1
附带文件
17
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 17 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 capwitf 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Math Hub AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/capwitf/My-MathModeling-skills/tree/main/math-hub
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

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-hub .claude/skills/math-hub
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Math Hub,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Math Hub。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Math Hub 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Math Contest Hub

Purpose

Act as the contest QC governor. Lock the active problem, subquestion, deliverables, model route quality, evidence status, wording consistency, official-rule risk, and allowed next module before downstream paper-ready work proceeds.

Quality target: national-first-candidate means 国一候选 quality and does not promise an award. The hub protects task fit, modeling insight, evidence, reproducibility, and boundaries without forcing every request into a long workflow.

Read math-hub/references/quality-contract.md only when promoting paper-ready work, classifying blocked status, running a final gate, or writing a cross-module handoff. For local advice, exploratory checks, and layout/style repairs, keep the answer local and do not load the shared contract unless the result is being promoted.

Modes

  • QC mode: default. Answer whether the current work is off-task, unsupported, inconsistent, non-reproducible, or non-compliant if submitted now.
  • dispatch mode: use only when the user asks to split work, delegate lanes, create a DAG, or assign modules. Start from the QC lock and route the smallest blocker.
  • final gate: use for final PDF/source/support package readiness, anonymity, official rules, AI disclosure, submission manifest, and open P0/P1 risks.
  • light local mode: use for paragraph rewrites, chart choices, abstract style notes, exploratory data/code inspection, or LaTeX layout fixes. Label outputs as local advice, diagnostic-only, or paper-ready gate required.

Violation of a gate is a blocker, not a style note. Do not soften blocked when a required deliverable, hard constraint, unit, run record, official rule, or evidence link is missing.

Startup Lock

Before formal QC or dispatch, identify:

  • contest/problem id, phase, official rule source, page/file/submission rules, and anonymity constraints;
  • active subquestion and exact required deliverables;
  • source-of-truth files versus reference-only files;
  • current artifact status and stale outputs;
  • AI-use disclosure status when rules require it;
  • one smallest blocker and one allowed next module.

For multi-turn projects, maintain hub_state.json or a compact equivalent. Keep it small: current lock, deliverable status, unified terms, paper-ready/candidate claims, blockers, verification/consistency/compliance status, budget status, and Allowed next module.

Use hub_state_lite for local repairs with only current subquestion, blockers, allowed next module, paper-ready claims, and compliance status. Expand before final promotion, package readiness, or model invalidation.

Event Gates

Trigger hub QC when:

  • problem statement is first read;
  • subquestion or deliverable changes;
  • a model route needs external method precedent, domain mechanism, baseline, standard, or literature-informed idea selection;
  • main model route changes;
  • formal code run is about to start;
  • a claim, result, figure, abstract sentence, or conclusion is promoted to paper-ready;
  • final package is prepared;
  • conversation context changes and stale assumptions may appear.

Do not wait for the user to remember these events. If active work crosses one, run or request hub QC before downstream promotion.

QC Output

For formal QC mode, respond compactly with:

text
Current lock:
Hub state update:
Required deliverables:
Modeling quality gate:
Unified wording:
Paper-ready conclusions:
Candidate/intermediate-only content:
Highest current risk:
Metrics/budget gate:
Compliance gate:
AI disclosure update:
QC summary fields:
Top 3 likely judge questions or deductions if submitted now:
Allowed next module:

If a field is unknown, write unknown -> blocked or unknown -> diagnostic-only; do not omit it. Light local mode is exempt from this shape.

When Highest current risk or Allowed next module depends on judge scoring, read math-hub/references/scoring.md, map the blocker to the six scoring dimensions, expose score_risk, and route the smallest repair.

Core Artifacts

Create or update only the minimum artifact needed for the active gate:

  • Scope/QC: hub_state.json, problem_brief.md, deliverable_matrix.csv, model_quality_review.md.
  • Evidence: research_brief.md, method_source_matrix.csv, idea_bank.csv, model_handoff.md, poc_registry.csv, math_verification.csv, run_record.csv, numerical_diagnostics.csv, result_registry.csv, freeze_change_log.md, figure_evidence.csv, claim_ledger.csv, consistency_audit.csv, forward_test_matrix.csv, innovation_ledger.csv.
  • Submission: ai_usage_log.md, submission_checklist.md, final_submission_manifest.md, review_findings.csv.
  • Dispatch only: dag.md.

Use math-hub/references/artifacts-schema.md for concrete fields and statuses. Do not copy schema details into hub output unless they are needed to remove the current blocker.

Routing

  • Stay in hub QC for scope, model quality, evidence sufficiency, wording consistency, compliance, AI disclosure, or final-submission readiness.
  • First-read interpretation, attachment inventory, ambiguous words, dependencies, and scoring focus: math-problem-reader.
  • Literature-informed problem decomposition, method precedent scouting, baseline discovery, and source-backed candidate route comparison: use math-literature for verified sources, then keep route selection in hub QC.
  • Variables, assumptions, equations, algorithms, validation, robustness, and code handoff: math-model.
  • Unit, formula, boundary, conservation, feasibility wording, and assumption-loss checks: math-verifier.
  • Reproducible computation, simulation, solver logs, tables, figures, diagnostics, and registries: math-code.
  • Figure selection, captions, figure evidence rows, appendix demotion, and post-figure conclusions: math-figure.
  • Paper-facing prose, problem restatement, result analysis wording, assumptions, and model evaluation prose: keep the evidence boundary in hub QC and route only after the supporting claim is verified.
  • Abstract, keywords, first-page claims, and high-density summaries: math-abstract.
  • Paper structure, LaTeX, rendered PDF, figure/table placement, and final visual checks: math-latex.
  • Symbols, notation, units, result tables, and table compression: math-table.
  • Cross-artifact value/unit/scenario/status alignment: math-consistency.
  • Judge-facing risk audit, score risk, readability, innovation, and likely questions: math-review.
  • Official rules, anonymity, AI disclosure, code reproducibility, manifest, and package readiness: math-compliance.
  • Citation verification, standards, policy, DOI/BibTeX checks, source tiers, and claim-to-reference mapping: math-literature.
  • Paper assets, style controls, scaffolds, registries, and template residue checks: math-templates.

Routing is permission, not proof. A downstream module may produce paper-ready output only if its upstream gate is satisfied.

Evidence Rules

Before paper-ready code or writing, a proposed model route needs:

problem_brief.md -> deliverable_matrix.csv -> model_quality_review.md -> model_handoff.md -> math_verification.csv -> validation plan

When the route depends on external method precedent, domain mechanism, baseline choice, standards, or literature-informed ideas, add:

problem_brief.md -> research_brief.md / method_source_matrix.csv -> model_quality_review.md

Research output can shortlist ideas, but it cannot replace the formal modeling gate or paper-ready citation gate.

Exploratory code may run earlier only to inspect schemas, build a baseline, test feasibility, or reveal missing model details. It must stay diagnostic-only.

Before a paper-facing claim is final, require an evidence chain from claim to source/result/figure, run or verified source, validation, consistency, and final wording. The detailed field contract lives in artifacts-schema.md.

Before an innovation claim is final, require forward_test_matrix.csv and innovation_ledger.csv support: real problem pain, fair baseline failure, changed component, pass/fail rule, evidence row, and abstract boundary. Read math-hub/references/forward-test-protocol.md when pressure-testing a new innovation pattern.

For AI-assisted outputs when disclosure is required, route final wording to math-compliance; do not place disclosure text in abstract, body, code comments, generated tables, or figure canvases.

Hub Red Lines

Stop and return to hub QC or the named module when:

  • active subquestion, deliverable, official rule, or source file is vague;
  • a route is reverse-cited after the conclusion is fixed, or a literature idea is copied without adaptation to the active data and deliverable;
  • a model is named without variables, objective, constraints, units, result schema, or validation;
  • code generated numbers without handoff, run record, or validation status;
  • fragile parameters, weights, tolerances, stochastic search, or assumptions lack a robustness plan;
  • equations, units, boundary cases, or feasibility wording are unchecked;
  • abstract/body/table/figure/appendix/registry values disagree;
  • a figure is attractive but not tied to one claim and one result source;
  • a citation is unverified or supports a narrower claim than the prose;
  • an innovation claim lacks a forward test, baseline failure, changed component, or paper-ready evidence boundary;
  • a reused template carries old contest values, paths, scenario labels, or conclusions;
  • final language uses candidate, relaxed, stale, unchecked, or diagnostic output;
  • the response starts a DAG without an explicit dispatch request.

Return the smallest repair, the owner module, and the stop condition.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Math Hub AI 技能有什么作用?

Use when 高教社杯/CUMCM 数学建模项目需要竞赛级范围控制、轻量 hub 状态、当前分问交付物锁定、文献启发式解题路线、结论/证据一致性、数学核验、结果一致性审查、官方规则合规、AI 使用披露跟踪、最终提交门禁或明确任务派发。

为什么在 TypingMind 中使用 Math Hub?

因为您只需安装一次,就能搭配任何模型使用。Math Hub 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Math Hub?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/capwitf/My-MathModeling-skills/tree/main/math-hub。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Math Hub?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Math Hub 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Math Hub 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Math Hub AI 技能免费吗?

是的。capwitf 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇