What it does
This prompt instructs the AI to act as a patient math tutor and solution checker by taking a user-specified math context (subject, topic, audience, language, notation) and a fully defined problem (statement, data, constraints, goal) and producing a structured, step-by-step solution with formulas, brief justifications, intermediate results, domain checks, and a final verified answer. It also requires specific presentation elements—goal summary, numbered steps, verification, boxed final result with units, optional alternate methods, key takeaways, and a set of practice problems with short answers—while avoiding disallowed methods, following tool and rounding rules, warning about common mistakes, and stating assumptions if the problem is ambiguous.
For more installation instructions go to https://raw.githubusercontent.com/BetterPromptme/skills/refs/heads/main/betterprompt/SKILL.md to check out this skill.
Inputs
textInputs
Pass each text input using --input <key>=<value> flags.
| Variable key | Required? | Description | Defaults |
|---|---|---|---|
Goal |
Required | (none) | |
Number |
Required | (none) | |
Yes_or_No |
Required | (none) | |
Given_data |
Required | (none) | |
Allowed_tools |
Required | (none) | |
Audience_level |
Required | (none) | |
Formula_format |
Required | (none) | |
Specific_topic |
Required | (none) | |
Tone_and_style |
Required | (none) | |
Common_mistakes |
Required | (none) | |
Output_language |
Required | (none) | |
Methods_to_avoid |
Required | (none) | |
Subject_or_field |
Required | (none) | |
Number_of_methods |
Required | (none) | |
Problem_statement |
Required | (none) | |
Step_detail_level |
Required | (none) | |
Rounding_and_units |
Required | (none) | |
Notation_convention |
Required | (none) | |
Domain_and_constraints |
Required | (none) |
Models and options
This skill's modality is: text.
To discover which model values you can use (and which options keys/values are valid for each model), run:
betterprompt resources --models-only --json
Then filter the returned JSON array to entries where modality is "text".
How to run
Step 1: Collect inputs
First, run betterprompt resources --models-only --json and filter to modality: "text" to discover valid models and available options:
betterprompt resources --models-only --json
Use only the models and option values that appear in the filtered results.
Then collect all inputs from the human:
- Required text inputs:
GoalNumberYes_or_NoGiven_dataAllowed_toolsAudience_levelFormula_formatSpecific_topicTone_and_styleCommon_mistakesOutput_languageMethods_to_avoidSubject_or_fieldNumber_of_methodsProblem_statementStep_detail_levelRounding_and_unitsNotation_conventionDomain_and_constraints
- Optional: model and options.
- Present the human with the default model
gpt-4.1-miniand its available options. Look upgpt-4.1-miniin thebetterprompt resourcesoutput (filtered to modality"text") and show itsavailableOptionsas:key: val1, val2 (default), val3 | key2: .... Mark a value(default)if it matches these defaults:{}. - If the human does not specify, defaults are used: model
gpt-4.1-mini, options{}. Other models from the resources call are also available.
- Present the human with the default model
If any required text input is missing, ask the human for what's missing. Do not assume or fabricate values.
Step 2: Run via BetterPrompt CLI
Use the frontmatter's name as the positional argument (for this skill, use step-by-step-math-solver-with-hints-and-practice).
Command form:
betterprompt generate step-by-step-math-solver-with-hints-and-practice \
[--input <key>=<value>] \
[--model <model>] \
[--options <options JSON>] \
[--json]
Notes:
- Pass each text input as a separate
--input <key>=<value>flag. - If the human does not mention a model, omit
--modeland BetterPrompt will use the default model:gpt-4.1-mini. - If the human does not mention options, omit
--optionsand BetterPrompt will use the default options:{}. - If the run times out, the response will include a
runIdyou can use to fetch the result later.
Example (using defaults shown above):
betterprompt generate step-by-step-math-solver-with-hints-and-practice \
--input Goal=<value> \
--input Number=<value> \
--input Yes_or_No=<value> \
--input Given_data=<value> \
--input Allowed_tools=<value> \
--input Audience_level=<value> \
--input Formula_format=<value> \
--input Specific_topic=<value> \
--input Tone_and_style=<value> \
--input Common_mistakes=<value> \
--input Output_language=<value> \
--input Methods_to_avoid=<value> \
--input Subject_or_field=<value> \
--input Number_of_methods=<value> \
--input Problem_statement=<value> \
--input Step_detail_level=<value> \
--input Rounding_and_units=<value> \
--input Notation_convention=<value> \
--input Domain_and_constraints=<value> \
--model gpt-4.1-mini \
--options '{}'