dgriffin831

simple-math

Perform basic arithmetic operations safely using standard operators without eval or exec

dgriffin831 3 1 Actualitzat fa 8 mesos

Recursos

2
GitHub

Instal·la

npx skillscat add dgriffin831/clawhub-skills/simple-math

Instal·la des del registre de SkillsCat.

Sobre aquest 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.