Routes problems to appropriate mathematical frameworks using expert heuristics
Trigger on phrases like:
Use when user has a problem but doesn't know which mathematical domain applies.
Guide user through decision tree using Polya-style questions:
Ask: "What quantity or phenomenon are you trying to understand?"
Ask: "What changes, and how does it change?"
Ask: "Is there randomness or uncertainty involved?"
Ask: "Are you optimizing something?"
Ask: "What level of answer do you need?"
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]
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)
After framework selection, suggest: