Codex Mathのロゴ

Codex Math

コミュニティ
morankor
codex-math

Codexで、反証可能性を重視した数学ワークフローを実行します。証明の検証、難しい証明の作成、予想の検討、反例の探索、証明の欠落の可能性の精査を行います。重要な定理の確認、証明の失敗、予想、独立した検証、「この証明を監査して」「反例を見つけて」「この主張を検討して」「数学的に正しいか検証して」といった依頼に使用します。

Add to TypingMind

概要

公開者morankor
リポジトリtheorist-toolbox
スキル名codex-math
スター
92
フォーク
23
同梱ファイル
1
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 1個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/morankor/theorist-toolbox/tree/master/codex/.agents/skills/codex-math
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

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

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/morankor/theorist-toolbox.git /tmp/theorist-toolbox
mkdir -p .claude/skills
cp -r /tmp/theorist-toolbox/codex/.agents/skills/codex-math .claude/skills/codex-math
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Codex Math

Use Codex as an adversarial mathematical co-processor. The goal is not to sound convincing; the goal is to separate proved facts, real gaps, false alarms, and promising leads.

Treat every generated argument as a lead, not a verdict. A proof that looks polished can still be false. A reviewer objection can still be a false positive. Triage every finding.

Mode Selection

  • Verify when the user provides a proof, theorem, lemma, or paper section and wants an audit.
  • Write when the user provides a precise result and asks for a proof.
  • Explore when the result may be false, under-specified, or hard enough that counterexample search and sufficient conditions are valuable.

For high-stakes claims, use two passes: one constructive pass and one hostile pass. In Codex environments that expose subagents, spawn independent verifier/explorer agents only when the user explicitly asks for parallel or independent agents.

Verify Mode

  1. Extract the exact statement, hypotheses, definitions, and proof block.
  2. Build a dependency list: equations, lemmas, citations, domain restrictions, and hidden regularity assumptions.
  3. Walk the proof step by step. Classify each step as:
    • OK: justified by a definition, prior result, explicit algebra, or standard theorem.
    • GAP: a necessary implication is missing.
    • ERROR: the step is false, with a counterexample or algebraic correction.
    • UNCLEAR: the step might be right but needs a missing definition, citation, or convention.
  4. Check signs, dimensions, boundary cases, quantifiers, and whether examples are being used as proof.
  5. Triage findings. Report only issues you can explain concretely.

Verification output:

markdown
## Verdict
PASS | PASS WITH CAVEATS | FAIL | INCONCLUSIVE

## Findings
1. Severity: blocking | major | minor
   Location:
   Issue:
   Why it matters:
   Suggested fix:

## Checked
- Definitions:
- Algebra/signs:
- Edge cases:
- Citations or external results:

Write Mode

  1. Restate the theorem with full domains and quantifiers.
  2. Identify the most likely proof strategy and at least one fallback strategy.
  3. Draft the proof using the math-proof discipline: explicit steps, algebra, signs, and edge cases.
  4. Run an adversarial self-audit of the proof before returning it.
  5. Mark any unresolved step as conjectural or open. Do not hide it inside prose.

After writing, recommend an independent verification pass for important results.

Explore Mode

Use when the truth of a claim is uncertain.

  1. State the exact conjecture and all domains.
  2. Search for counterexamples before trying to prove the strongest version.
  3. Try special cases only as evidence; never conclude the general result from them.
  4. If the global claim fails, identify the boundary: sufficient conditions, necessary conditions, or a weaker true statement.
  5. Use deterministic computation when useful. For numerical exploration, save code and make the counterexample reproducible.

Exploration output:

markdown
## Current Status
Likely true | likely false | true under conditions | unresolved

## Evidence
- Analytic:
- Numerical:
- Counterexamples:

## Next Proof Target
<the strongest clean statement that appears defensible>

Prompt Quality Checklist

Before verifying or exploring, make sure the prompt or extracted context includes:

  • the exact claim,
  • all notation and domains,
  • the relevant definitions and equations,
  • what has already been tried,
  • what counts as a valid proof or counterexample.

When context is missing, ask for it or explicitly state the assumption you are making.

同梱ファイル

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

よくある質問

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

Codexで、反証可能性を重視した数学ワークフローを実行します。証明の検証、難しい証明の作成、予想の検討、反例の探索、証明の欠落の可能性の精査を行います。重要な定理の確認、証明の失敗、予想、独立した検証、「この証明を監査して」「反例を見つけて」「この主張を検討して」「数学的に正しいか検証して」といった依頼に使用します。

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

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

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

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

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

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

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

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

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

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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