calculator · v1.0 · 2026-01-31 · sha256 90f373a6980fd61a
calculator v1.0A
Immutable. This exact content is served forever at /api/v1/blob/90f373a6980fd61a.
---
name: calculator
description: A simple calculator that can add, subtract, multiply, and divide numbers. Use when the user needs to perform basic arithmetic operations.
license: MIT
metadata:
author: skillLite
version: "1.0"
---
# Calculator Skill
A simple calculator that performs basic arithmetic operations.
## Usage
Provide an operation and two numbers to get the result.
### Examples
- Add: `{"operation": "add", "a": 5, "b": 3}` → `8`
- Subtract: `{"operation": "subtract", "a": 10, "b": 4}` → `6`
- Multiply: `{"operation": "multiply", "a": 6, "b": 7}` → `42`
- Divide: `{"operation": "divide", "a": 20, "b": 4}` → `5`
## Runtime
```yaml
input_schema:
type: object
properties:
operation:
type: string
description: "The operation to perform: add, subtract, multiply, divide"
enum: [add, subtract, multiply, divide]
a:
type: number
description: First operand
b:
type: number
description: Second operand
required: [operation, a, b]
```