simple-math

Community

Safe math operations without eval or exec.

Authordgriffin831
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill enables safe arithmetic calculations by using Python's operator module instead of eval or exec, preventing code execution risks when handling user-provided expressions.

Core Features & Use Cases

  • Safe arithmetic with standard operators (+, -, *, /) using the operator module.
  • Input validation to ensure numeric operands are provided.
  • Use Case: Integrate into chat agents to perform quick, reliable calculations for user queries without executing arbitrary code.

Quick Start

Use the simple-math skill to calculate 25 + 17. The result is 42.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: simple-math
Download link: https://github.com/dgriffin831/clawhub-skills/archive/main.zip#simple-math

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.