← Back to Skills Marketplace
cexfree

Calculator

by CexFree · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ✓ Security Clean
423
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install calculator-2
Description
This skill should be used when the user asks to "calculate", "compute", "do math", mentions arithmetic operations like "add", "subtract", "multiply", "divide...
README (SKILL.md)

Calculator Skill

A simple calculator skill that performs basic arithmetic operations.

When This Skill Applies

This skill activates when the user's request involves:

  • Basic arithmetic calculations (addition, subtraction, multiplication, division)
  • Math expressions evaluation
  • Number computation requests

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

  • Always show the calculation process
  • For division, check for division by zero and warn the user
  • Support chained operations (e.g., 1 + 2 * 3)
  • Follow standard mathematical order of operations (PEMDAS)
  • Return results with appropriate precision (avoid unnecessary decimal places)
Usage Guidance
This skill appears benign and self-contained for basic arithmetic. Before installing, consider whether you or the implementer might later add code that evaluates user input with an unsafe mechanism (for example, using a raw eval on arbitrary strings). If you plan to rely on this for more than simple math, confirm the implementation sanitizes/parses expressions safely and does not execute arbitrary code or access external resources.
Capability Analysis
Type: OpenClaw Skill Name: calculator-2 Version: 0.1.0 The skill bundle contains standard metadata and documentation for a basic calculator. The instructions in SKILL.md are limited to performing arithmetic operations and do not contain any malicious directives, prompt injection attempts, or suspicious network/file system requests.
Capability Assessment
Purpose & Capability
Name/description match the declared behavior: only basic arithmetic and expression evaluation. No unrelated env vars, binaries, or config paths are requested.
Instruction Scope
SKILL.md instructions are narrowly scoped to parsing expressions, performing step-by-step calculations, and returning results; it does not instruct the agent to read files, access external endpoints, or collect unrelated data.
Install Mechanism
No install spec or code files are present (instruction-only), so nothing is written to disk or downloaded during install.
Credentials
No environment variables, credentials, or config paths are required; requested access is proportionate to a calculator's needs.
Persistence & Privilege
Skill does not request always:true or other elevated persistence; normal autonomous invocation is allowed by platform defaults.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install calculator-2
  3. After installation, invoke the skill by name or use /calculator-2
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
- Initial release of the calculator skill, providing support for basic arithmetic operations: addition, subtraction, multiplication, and division. - Parses and evaluates user math expressions step by step, showing the calculation process. - Follows standard order of operations (PEMDAS) for chained and complex expressions. - Handles division by zero with a warning. - Returns results with appropriate precision, avoiding unnecessary decimal places.
Metadata
Slug calculator-2
Version 0.1.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Calculator?

This skill should be used when the user asks to "calculate", "compute", "do math", mentions arithmetic operations like "add", "subtract", "multiply", "divide... It is an AI Agent Skill for Claude Code / OpenClaw, with 423 downloads so far.

How do I install Calculator?

Run "/install calculator-2" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Calculator free?

Yes, Calculator is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Calculator support?

Calculator is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Calculator?

It is built and maintained by CexFree (@cexfree); the current version is v0.1.0.

💬 Comments