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ファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 17個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    capwitfがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Math Hub」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

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

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをその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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでMath Hubを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にMath Hubを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Math Hubは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じ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.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Math Hub」では何ができますか?

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を読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Math Hubを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Math Hubで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもMath Hubを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Math Hub」は無料ですか?

はい。capwitfがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇