Calculator Skill
name: calculator
by cexfree · published 2026-03-22
$ claw add gh:cexfree/cexfree-calculator-2---
name: calculator
description: This skill should be used when the user asks to "calculate", "compute", "do math", mentions arithmetic operations like "add", "subtract", "multiply", "divide", or asks questions like "what is 1+1". Provides basic arithmetic calculation capabilities.
version: 1.0.0
---
# Calculator Skill
A simple calculator skill that performs basic arithmetic operations.
When This Skill Applies
This skill activates when the user's request involves:
Instructions
When this skill is activated:
1. Parse the mathematical expression from the user's request
2. Perform the calculation step by step
3. Return the result clearly
Supported Operations
| Operation | Symbol | Example | Result |
|-----------|--------|-------------|--------|
| Addition | + | 1 + 1 | 2 |
| Subtraction | - | 10 - 3 | 7 |
| Multiplication | * | 4 * 5 | 20 |
| Division | / | 20 / 4 | 5 |
Example
**User**: What is 1 + 1?
**Steps**:
1. Parse expression: `1 + 1`
2. Perform addition: `1 + 1 = 2`
3. Return result: **2**
Rules
More tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...