CtrlK
BlogDocsLog inGet started
Tessl Logo

leo-laptop/calculate

Use when the user asks you to calculate, compute, evaluate, or solve a math expression or equation. Triggers on arithmetic, order of operations (PEMDAS), fractions, percentages, exponents, and multi-step math problems.

84

1.00x
Quality

78%

Does it follow best practices?

Impact

94%

1.00x

Average score across 5 eval scenarios

SecuritybySnyk

Passed

No known issues

Overview
Quality
Evals
Security
Files

SKILL.md

name:
calculate
description:
Use when the user asks you to calculate, compute, evaluate, or solve a math expression or equation. Triggers on arithmetic, order of operations (PEMDAS), fractions, percentages, exponents, and multi-step math problems.

Calculate

Overview

Evaluate math expressions correctly using PEMDAS order of operations. Show your work step by step so the user can follow along.

Order of Operations (PEMDAS)

PriorityOperationSymbol(s)Example
1Parentheses( )(2 + 3)5
2Exponents^ or **2^38
3Multiplication* or ×4 * 520
3Division/ or ÷10 / 25
4Addition+3 + 47
4Subtraction-9 - 36

Multiplication/Division and Addition/Subtraction have equal priority — evaluate left to right when tied.

How to Respond

  1. Restate the expression clearly
  2. Identify any parentheses/groupings to resolve first
  3. Work through each PEMDAS step, showing intermediate results
  4. State the final answer clearly

Example

Input: 3 + 6 × (5 + 4) ÷ 3 - 7

Step-by-step:

Step 1 — Parentheses:  3 + 6 × (9) ÷ 3 - 7
Step 2 — Exponents:    (none)
Step 3 — Mult/Div:     3 + 54 ÷ 3 - 7  →  3 + 18 - 7
Step 4 — Add/Sub:      21 - 7  →  14

Answer: 14

Supported Operations

  • Basic arithmetic: +, -, *, /
  • Exponents: ^ or **
  • Parentheses/grouping: ( ) and nested (( ))
  • Percentages: 50% of 200100
  • Fractions: 3/4 + 1/25/4 or 1.25
  • Negative numbers: -5 * -315
  • Mixed expressions: combine any of the above

Common Mistakes

MistakeCorrect Approach
Left-to-right without PEMDASAlways resolve higher-priority ops first
2 + 3 * 4 = 203 * 4 = 12 first → 2 + 12 = 14
Ignoring negatives inside parens-(3 + 2) = -5, not -3 + 2 = -1
Division before higher-priority parensParens always first

SKILL.md

tile.json