Perform basic arithmetic operations safely using standard operators without eval or exec
Resources
2Install
npx skillscat add dgriffin831/clawhub-skills/simple-math Install via the SkillsCat registry.
About this skill
The simple-math skill safely computes addition, subtraction, multiplication, and division using standard Python operators, avoiding eval or exec. It prevents code injection and ensures input validation. Agents should use it when handling user‑requested arithmetic calculations.
SKILL.md
Simple Math Skill
Performs basic arithmetic operations safely.
Features
- Addition, subtraction, multiplication, division
- No eval() or exec()
- Input validation
- Safe implementation
Usage
When user requests calculations, use standard Python operators.
Example
User: "What's 25 + 17?"
Agent: uses simple-math skill The result is 42.