Mental Modelsのロゴ

Mental Models

コミュニティ
panpanc
mental-models

List 10-20 mental models employed in a mathematical concept or theorem, and for each model list 5 other concepts or theorems that use the same model. Use when the user asks for "mental models behind X", "thinking frames for X", or "list mental models in X" without requiring evidence extraction from a source file.

概要

公開者panpanc
リポジトリmath-skills
スキル名mental-models
スター
42
フォーク
2
同梱ファイル
1
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 1個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

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

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

スキルの指示

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

List the transferable mental models used by a concept or theorem. Produce a structured markdown map with 10-20 models and exactly 5 transfer examples per model.

Perspective

Write as a top mathematician-educator who focuses on reusable reasoning patterns:

  • Name each model so a learner can remember and reapply it.
  • Keep models distinct (not paraphrased duplicates).
  • Treat "other concepts/theorems" as transfer evidence for the same thinking pattern.
  • Prefer concise, concrete statements over generic motivational prose.

Instructions

  1. Parse arguments: The user provides a concept or theorem in the standard runtime argument string variable named ARGUMENTS.

    • Optional count can be inferred from phrases like 10 mental models, 15 models, 20.
    • If no count is provided, default to 12.
    • Enforce the range 10..20 by clamping:
      • below 10 -> use 10
      • above 20 -> use 20
    • If no topic is identifiable, print: No concept or theorem found. Provide a target like "compactness" or "Cauchy-Schwarz theorem". and STOP.
  2. Build the model set:

    • Produce N distinct mental models for the target concept/theorem (N from step 1).
    • Each model must include:
      • a short canonical name
      • one compressed explanation
      • how it appears in the target concept/theorem
      • one boundary or failure mode (where this model can mislead)
    • Avoid near-duplicate models (for example, do not list both "local to global" and "patch local to global" as separate items unless the distinction is substantive).
  3. Attach transfer set for each model:

    • For every mental model, list exactly 5 other concepts/theorems that use the same model.
    • For each of the 5 items, include one sentence explaining the shared mechanism.
    • Prefer concrete named concepts/theorems, not broad subject names.
  4. Write markdown output:

    • Save as <topic_slug>_mental_models_map.md in the current working directory.
    • Writing constraints for math-bearing topics:
      • Use LaTeX only when the target genuinely benefits from symbolic notation.
      • Keep prose, labels, and conditions outside equations whenever possible.
      • Prefer short symbolic derivations or identities over sentence-like display equations.
      • Use a conservative command set and make every delimiter or environment balance within a single math span.
      • Do not put math inside fenced code blocks.
    • Use this structure:

Section 1 - Topic Snapshot

  • Target: <concept_or_theorem>
  • Requested models: <requested_or_default>
  • Final model count: <N>
  • Summary: 2-4 sentences on the dominant reasoning style in this topic.

Section 2 - Mental Models Catalog

For each model, use:

### Model #N - <model name>

- **Compressed model:** <1-2 sentences>
- **How it appears in <target>:** <1-2 sentences>
- **Boundary / failure mode:** <1 sentence>
- **Other concepts/theorems using this model (5):**
1. <concept/theorem 1> - <shared mechanism>
2. <concept/theorem 2> - <shared mechanism>
3. <concept/theorem 3> - <shared mechanism>
4. <concept/theorem 4> - <shared mechanism>
5. <concept/theorem 5> - <shared mechanism>
- **Transfer takeaway:** <one sentence the learner can reuse>

Section 3 - Reusable Playbook

  • Provide 5-8 compact rules of thumb for spotting and applying these models in new problems.
  1. Quality rules:

    • Total mental models is between 10 and 20 inclusive.
    • Every model has exactly 5 transfer items.
    • Keep model names and transfer examples non-generic and non-redundant.
    • Do not fabricate citations or pretend to quote source files.
  2. Verify before finishing:

    • Run the deterministic Markdown-math verifier used by the bottom-up skill:
      • python3 <repo_root>/.claude/skills/bottom-up/scripts/verify_markdown_math.py --strict-warnings <topic_slug>_mental_models_map.md
    • If the verifier reports failures, fix only the flagged math passages and rerun until it passes.
    • No unclosed fenced code blocks.
    • No unclosed LaTeX delimiters.
    • No LaTeX math inside fenced code blocks.
    • Confirm model count is in 10..20.
    • Confirm each model has exactly 5 transfer items.
    • Read the file and fix issues.
  3. Progress output:

    • After saving, print: Generated <N> mental models for <target>, each with 5 transfer concepts/theorems. Saved to <output_file>.
  4. Follow-up suggestions:

    • Print a short "What's next?" block with 2-3 commands using actual names from the generated file, for example:
      • /survey list 20 results that share the "<model_name>" pattern
      • /theorem <theorem_from_transfer_list>
      • /concept <concept_from_transfer_list>

Example usage

/mental-models compactness
/mental-models Cauchy-Schwarz theorem
/mental-models spectral theorem with 15 models

同梱ファイル

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

よくある質問

AIスキル「Mental Models」では何ができますか?

List 10-20 mental models employed in a mathematical concept or theorem, and for each model list 5 other concepts or theorems that use the same model. Use when the user asks for "mental models behind X", "thinking frames for X", or "list mental models in X" without requiring evidence extraction from a source file.

TypingMindでMental Modelsを使うメリットは何ですか?

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

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

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

Mental Modelsを使えるAIモデルはどれですか?

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

Mental Modelsは何個のAIモデルで使えますか?

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

AIスキル「Mental Models」は無料ですか?

panpancがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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