Mental Models logo

Mental Models

Community
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.

Overview

Publisherpanpanc
Repositorymath-skills
Skill namemental-models
Stars
42
Forks
2
Bundled files
1
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by panpanc on GitHub. Read the source before you install it.

Installation

Install the Mental Models AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/panpanc/math-skills/tree/main/.claude/skills/mental-models
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Mental Models in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Mental Models on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Mental Models is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Mental Models AI skill do?

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.

Why use Mental Models on TypingMind?

Because you install it once and use it with any model. Mental Models is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Mental Models in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/panpanc/math-skills/tree/main/.claude/skills/mental-models. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Mental Models?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Mental Models?

As many as you like. As long as a model supports skills, you can use Mental Models with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Mental Models AI skill free?

It is published on GitHub by panpanc. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇