math-router

Route natural language math requests to deterministic command-line interface commands.

8|1|Updated Jan 4, 2026
One-click install
npx skills add https://github.com/scooter-lacroix/Maestro --skill math-router
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: math-router
Source: https://github.com/scooter-lacroix/Maestro/tree/main/maestro/skills/math/math-router
Command: npx skills add https://github.com/scooter-lacroix/Maestro --skill math-router

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires uv, and includes scripts (resource) components.

What problem does it solve?

This Skill acts as a deterministic router, translating natural language math requests into precise command-line instructions for specialized math tools. It eliminates the need to memorize or look up specific commands for various mathematical operations.

Core Features & Use Cases

  • Intent Mapping: Accurately maps user intents like "integrate", "solve", "plot", or "convert" to the correct underlying script and arguments.
  • Argument Extraction: Parses user requests to extract necessary parameters for mathematical functions (e.g., equations, variables, bounds).
  • Use Case: A user asks "plot sin(x) from 0 to 2pi". The router identifies this as a plotting task, determines the plot2d command is appropriate, and generates the exact execution string: uv run python scripts/plot.py plot2d "sin(x)" --lower 0 --upper "2*pi".

Quick Start

Use the math-router skill to get the CLI command for integrating sin(x) from 0 to pi.

Frequently Asked Questions about math-router

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert natural language math requests into CLI commands?

To convert natural language math requests into CLI commands, use intent mapping to translate phrases like "integrate" or "plot" into deterministic command-line instructions. This router parses user requests to extract necessary parameters for mathematical functions.

What is the best way to run SymPy operations from natural language input?

The best way to run SymPy operations from natural language input is using a deterministic router to map intents to specific command-line interface commands. It accurately maps user intents like integrate, differentiate, or solve to the correct underlying script and arguments.

Does the math-router support unit conversions and equation solving?

Yes, the router supports unit conversions and equation solving by routing intents to specialized libraries. It handles a wide range of mathematical operations including integration, plotting, and unit conversions across libraries like Pint, Shapely, and Z3.

Do I need uv installed to execute routed math command-line instructions?

Yes, you need uv installed to execute routed math command-line instructions. The router generates exact execution strings utilizing uv to run Python scripts, such as generating `uv run python scripts/plot.py` for plotting tasks.

How do I plot a function like sin(x) using a natural language interface?

To plot a function like sin(x) using a natural language interface, the router identifies the plotting task, determines the plot2d command is appropriate, and generates the exact execution string with extracted lower and upper bounds.

What are the limitations of using natural language intent recognition for math operations?

A key limitation of using natural language intent recognition for math operations is that it requires precise argument extraction for accurate command generation. Ambiguous phrasing may result in incorrect mapping to the underlying script and arguments.