Math Templatesのロゴ

Math Templates

コミュニティ
capwitf
math-templates

Use when 高教社杯/CUMCM mathematical modeling work needs lightweight reusable paper assets, national-prize style paragraph templates, section controls, per-question code/plot/test scaffolds, evidence registries, paper fragments, reproduction scripts, or safe reuse of prior contest project structure without copying old problem-specific content.

概要

公開者capwitf
リポジトリMy-MathModeling-skills
スキル名math-templates
スター
57
フォーク
1
同梱ファイル
23
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

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

  • 23個の同梱ファイル

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

  • オープンソース

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

インストール

AIスキル「Math Templates」を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-templates
  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-templates .claude/skills/math-templates
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

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

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

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Math Modeling Templates

Purpose

Provide lightweight reusable assets for 高教社杯/CUMCM-style mathematical modeling papers and support packages. Use the assets to preserve good structure, not to import old conclusions.

Core rule: reuse structure, not old content. Unless the user explicitly says prior contest material is current source evidence, do not copy old problem names, numbers, scenario labels, file paths, figure titles, or conclusions into a new project.

National-first quality gate: 国一候选 is a quality target, not an award promise (不承诺获奖). Template use is acceptable only when it helps the current paper show 题目贴合, 建模洞察, 证据可信, 可复现, and 边界清楚. A template sentence, old project scaffold, or chart script cannot replace current evidence.

Language/output boundary: skill reasoning, template selection, schemas, code scaffolds, algorithms, file names, registry statuses, LaTeX commands, English literature terms, and official rule quotations may stay English; 该英文就用英文. Paper-facing deliverables should default to Chinese contest prose: paper body, abstract snippets, copyable paragraph templates, project manifests, and reproduction user messages. Do not sacrifice model judgment, evidence chains, reproducibility, or terminology precision for localization (不因中文化牺牲).

Exact boundary for audits: the skill's internal 判断 may use English; only final 产出 inside paper-facing 交付文件 defaults to Chinese. Keep 算法名, 字段, code identifiers, and 官方规则原文 unchanged when precision would otherwise be lost.

Default to light asset library mode. Load or copy only the asset the user needs: style profile, section controls, paragraph phrases, code scaffold, chart template, evidence registry, or reproduction helper. Do not impose a project-management workflow unless the user asks to build or reorganize a full project.

Asset Root

Reusable project assets live in:

assets/contest-project-template/

Use them when the user asks to:

  • start a contest project;
  • reuse code or paper assets from a prior project;
  • create per-question computation, plotting, or test scaffolds;
  • standardize results/qX, registries, figure plans, or paper fragments;
  • create national-prize style paper sections or paragraph phrasing;
  • borrow contest writing patterns without copying old content;
  • prepare a reproducible support package.

Reference Routing

Open only the smallest relevant reference:

NeedOpen
Asset inventory or categorizationreferences/asset-library-index.md
Safe copying or rewriting of templatesreferences/template-usage.md
Patterns from prior contest projectsreferences/prior-contest-patterns.md
Official-exemplar style observationsreferences/official-exemplar-notes.md
Paper style only, no project structurereferences/national-prize-style-profile.md
Section labels, bold subquestion labels, colon spacing, 总分 structurereferences/section-format-controls.md
Assumptions, model evaluation, framework advantages, limitations, extension wordingreferences/assumption-evaluation-controls.md
Plain contest prose, empty-phrase removal, numbers/units, judge readabilityreferences/contest-language-guardrails.md
Problem analysis, model-building, result, validation, and evaluation paragraph flowreferences/paragraph-flow.md

Optional Full Scaffold

Use this only when the user asks to build or reorganize a full contest project. If they only need writing style, paragraph phrases, paper skeletons, or chart templates, skip this section.

  1. Check the current problem statement, official rules, data files, and required subquestions.
  2. Create only needed folders such as data/raw, q1/src, q1/tests, results/q1, paper/fragments, logs, and tmp.
  3. Copy only the needed files from assets/contest-project-template/.
  4. Rename problem_template to the active subquestion folder, such as q1 or q2.
  5. Replace placeholder schemas with current data columns, units, constraints, and output tables.
  6. Add or update evidence registries: run_record.csv, result_registry.csv, figure_evidence.csv, and numerical_diagnostics.csv.
  7. Keep official outputs under results/qX/; exploratory files stay out of final registries unless promoted by math-hub.
  8. Build paper/fragments/qX.md only from verified result tables and figure evidence.
  9. Add tests before a new compute or plot script supports a paper claim.

Asset Selection

NeedAsset
New subquestion computationproblem_template/src/compute_template.py
New subquestion plottingproblem_template/src/plot_template.py
Regression test scaffoldproblem_template/tests/test_pipeline_template.py
Reproduce official runsreproduce_all.py
Paper fragment handoffpaper/fragments/fragment_protocol.md
Subquestion writing guidepaper/problem_guide_template.md
National-prize paper section skeletonpaper/section_templates_national.md
National-prize paragraph phrasespaper/paragraph_phrases_national.md
Registry seedsregistries/*.csv

Reuse Safety

  • Prior-project audit: separate reusable structure from problem-specific residue.
  • Path audit: remove absolute local paths before reuse or packaging.
  • Evidence audit: any template output that may enter the paper needs a registry row or verified source.
  • Figure audit: any main-body figure template needs a figure plan/evidence row before paper use.
  • Paper audit: fragments may cite only results/qX, figure evidence, checked formulas, and verified rules.
  • Submission audit: reproduction scripts must run from the project root and must not depend on hidden local files.

Output Contract

Return only what the current request needs:

  • copied or created template paths;
  • reused structure patterns;
  • placeholders still needing current problem facts;
  • tests or validation commands run;
  • old-template residue removed or still open;
  • evidence-chain or submission risks, returned to math-hub when they affect paper-ready status.

同梱ファイル

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

よくある質問

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

Use when 高教社杯/CUMCM mathematical modeling work needs lightweight reusable paper assets, national-prize style paragraph templates, section controls, per-question code/plot/test scaffolds, evidence registries, paper fragments, reproduction scripts, or safe reuse of prior contest project structure without copying old problem-specific content.

TypingMindでMath Templatesを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Math Templatesはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにMath Templatesをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/capwitf/My-MathModeling-skills/tree/main/math-templatesを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

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

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

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

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

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

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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