math-model-selector

Routes problems to appropriate mathematical frameworks using expert heuristics

Best use case

math-model-selector is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Routes problems to appropriate mathematical frameworks using expert heuristics

Teams using math-model-selector should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/math-model-selector/SKILL.md --create-dirs "https://raw.githubusercontent.com/foryourhealth111-pixel/Vibe-Skills/main/bundled/skills/math-model-selector/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/math-model-selector/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How math-model-selector Compares

Feature / Agentmath-model-selectorStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Routes problems to appropriate mathematical frameworks using expert heuristics

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Math Model Selector

## When to Use

Trigger on phrases like:
- "what math should I use"
- "which mathematical framework"
- "how do I model this"
- "what kind of problem is this"
- "formalize this problem"

Use when user has a problem but doesn't know which mathematical domain applies.

## Process

Guide user through decision tree using Polya-style questions:

### 1. Identify the quantity
**Ask:** "What quantity or phenomenon are you trying to understand?"
- Physics problem -> conservation laws, differential equations
- Economics -> equilibrium, optimization
- Data patterns -> statistics, regression

### 2. Characterize change
**Ask:** "What changes, and how does it change?"
- Discrete steps -> difference equations, recurrences
- Continuous rate -> ODEs
- Rate of rate matters -> 2nd order ODEs
- Spatial variation -> PDEs

### 3. Check for uncertainty
**Ask:** "Is there randomness or uncertainty involved?"
- Deterministic -> standard analysis
- Epistemic uncertainty -> Bayesian methods
- Random process -> probability theory, stochastic processes

### 4. Optimization check
**Ask:** "Are you optimizing something?"
- Convex objective -> linear/quadratic programming
- Non-convex -> gradient descent, evolutionary methods
- Discrete choices -> combinatorics, integer programming

### 5. Answer precision
**Ask:** "What level of answer do you need?"
- Rough estimate -> dimensional analysis
- Qualitative behavior -> phase portraits, stability
- Numerical answer -> simulation
- Exact closed form -> analytical methods

## Key Questions to Ask

1. What changes? (discrete vs continuous)
2. What causes the change? (rate dependencies)
3. What's random? (uncertainty type)
4. What's being optimized? (objective function)
5. How precise? (qualitative vs quantitative)

## Output Format

```
Framework Recommendation:
- Primary: [framework name]
- Why: [one-sentence justification]

Starting Point:
- Key equations: [relevant formulas]
- Initial approach: [first step]

Tools to Use:
- [specific script or computation tool]

Related Skills:
- [domain skill to activate next]
```

## Example Interaction

```
User: I want to model how a rumor spreads through a population

Claude: Let me help you find the right framework.

Q1: What quantity are we tracking?
> Number of people who heard the rumor over time.

Q2: What causes it to change?
> Spread rate depends on who knows and who doesn't.

Q3: Is there randomness?
> Assume deterministic (average behavior) for now.

Q4: Optimizing anything?
> No, just understanding dynamics.

Q5: What precision?
> Qualitative behavior, maybe predict peak rate.

Framework Recommendation:
- Primary: First-order ODE (logistic growth)
- Why: Rate depends on current state nonlinearly

Starting Point:
- dN/dt = r * N * (1 - N/K)
- N = heard count, K = population, r = spread rate

Tools:
- sympy_compute.py solve (equilibrium)
- Phase line for qualitative behavior

Related Skills:
- math/math-intuition-builder (understand the model)
- odes-pdes/first-order-odes (solve it)
```

## Co-activates

After framework selection, suggest:
- **math-intuition-builder** - to understand the framework
- **Relevant domain skill** - for actual computation
- **math-mode** - for symbolic verification

Related Skills

training-machine-learning-models

1174
from foryourhealth111-pixel/Vibe-Skills

Build train machine learning models with automated workflows. Analyzes datasets, selects model types (classification, regression), configures parameters, trains with cross-validation, and saves model artifacts. Use when asked to "train model" or "evalua... Trigger with relevant phrases based on skill purpose.

statsmodels

1174
from foryourhealth111-pixel/Vibe-Skills

Statistical modeling toolkit. OLS, GLM, logistic, ARIMA, time series, hypothesis tests, diagnostics, AIC/BIC, for rigorous statistical inference and econometric analysis.

statistics-math

1174
from foryourhealth111-pixel/Vibe-Skills

Statistics, probability, linear algebra, and mathematical foundations for data science

security-threat-model

1174
from foryourhealth111-pixel/Vibe-Skills

Repository-grounded threat modeling that enumerates trust boundaries, assets, attacker capabilities, abuse paths, and mitigations, and writes a concise Markdown threat model. Trigger only when the user explicitly asks to threat model a codebase or path, enumerate threats/abuse paths, or perform AppSec threat modeling. Do not trigger for general architecture summaries, code review, or non-security design work.

pymc-bayesian-modeling

1174
from foryourhealth111-pixel/Vibe-Skills

Bayesian modeling with PyMC. Build hierarchical models, MCMC (NUTS), variational inference, LOO/WAIC comparison, posterior checks, for probabilistic programming and inference.

mathematical-logic-expert

1174
from foryourhealth111-pixel/Vibe-Skills

Expert in formal logic, model theory, computability, and foundations of mathematics

math

1174
from foryourhealth111-pixel/Vibe-Skills

Unified math capabilities - computation, solving, and explanation. I route to the right tool.

math-tools

1174
from foryourhealth111-pixel/Vibe-Skills

Deterministic mathematical computation using SymPy. Use for ANY math operation requiring exact/verified results - basic arithmetic, algebra (simplify, expand, factor, solve equations), calculus (derivatives, integrals, limits, series), linear algebra (matrices, determinants, eigenvalues), trigonometry, number theory (primes, GCD/LCM, factorization), and statistics. Ensures mathematical accuracy by using symbolic computation rather than LLM estimation.

explaining-machine-learning-models

1174
from foryourhealth111-pixel/Vibe-Skills

Build this skill enables AI assistant to provide interpretability and explainability for machine learning models. it is triggered when the user requests explanations for model predictions, insights into feature importance, or help understanding model behavior... Use when appropriate context detected. Trigger with relevant phrases based on skill purpose.

evaluating-machine-learning-models

1174
from foryourhealth111-pixel/Vibe-Skills

Build this skill allows AI assistant to evaluate machine learning models using a comprehensive suite of metrics. it should be used when the user requests model performance analysis, validation, or testing. AI assistant can use this skill to assess model accuracy, p... Use when appropriate context detected. Trigger with relevant phrases based on skill purpose.

evaluating-code-models

1174
from foryourhealth111-pixel/Vibe-Skills

Evaluates code generation models across HumanEval, MBPP, MultiPL-E, and 15+ benchmarks with pass@k metrics. Use when benchmarking code models, comparing coding abilities, testing multi-language support, or measuring code generation quality. Industry standard from BigCode Project used by HuggingFace leaderboards.

zinc-database

1174
from foryourhealth111-pixel/Vibe-Skills

Access ZINC (230M+ purchasable compounds). Search by ZINC ID/SMILES, similarity searches, 3D-ready structures for docking, analog discovery, for virtual screening and drug discovery.