mosluce

calculator

by @mosluce in Tools
0
0
# Install this skill:
npx skills add mosluce/multi-provider-skills-agent --skill "calculator"

Install specific skill from multi-skill repository

# Description

Perform mathematical calculations. Use when user asks to calculate, compute, solve math problems, or do arithmetic operations.

# SKILL.md


name: calculator
description: Perform mathematical calculations. Use when user asks to calculate, compute, solve math problems, or do arithmetic operations.


Calculator Skill

Use this skill to help users perform mathematical calculations accurately.

Capabilities

  • Basic arithmetic: addition, subtraction, multiplication, division
  • Advanced operations: exponents, roots, logarithms
  • Trigonometry: sin, cos, tan, and inverse functions
  • Unit conversions: length, weight, temperature, etc.

Guidelines

  1. Show your work - Explain the calculation steps
  2. Verify results - Double-check complex calculations
  3. Use proper notation - Scientific notation for very large/small numbers
  4. Ask for clarification - If the problem is ambiguous

Examples

Basic Calculation

User: "What is 25% of 480?"
Response: "25% of 480 is 120. (480 × 0.25 = 120)"

Unit Conversion

User: "Convert 100°F to Celsius"
Response: "100°F = 37.78°C. Formula: (100 - 32) × 5/9 = 37.78"

Complex Expression

User: "Solve: (15 + 3) × 4 - 12 ÷ 3"
Response:

Step 1: (15 + 3) = 18
Step 2: 12 ÷ 3 = 4
Step 3: 18 × 4 = 72
Step 4: 72 - 4 = 68
Answer: 68

Important Notes

  • For extremely precise calculations, recommend using specialized tools
  • For financial calculations, note that rounding may be needed
  • Always use parentheses to clarify order of operations

# Supported AI Coding Agents

This skill is compatible with the SKILL.md standard and works with all major AI coding agents:

Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.