Logo Math Hub

Math Hub

Cộng đồng
capwitf
math-hub

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

Tổng quan

Nhà phát hànhcapwitf
Kho mãMy-MathModeling-skills
Tên kỹ năngmath-hub
Sao
57
Bản fork
1
Tệp đi kèm
17
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 17 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được capwitf công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Math Hub trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/capwitf/My-MathModeling-skills/tree/main/math-hub
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Math Hub trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Math Hub ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Math Hub với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Math Hub làm được gì?

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

Vì sao nên dùng Math Hub trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Math Hub là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Math Hub trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/capwitf/My-MathModeling-skills/tree/main/math-hub. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Math Hub?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Math Hub với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Math Hub với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Math Hub có miễn phí không?

Có. Kỹ năng này được capwitf phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇