AGENT SKILL

simple-calculator

A basic calculator for quick math operations. Perfect for simple arithmetic without leaving Claude. Use when: calculate, math, add, subtract, multiply, divide

License 许可
Apache-2.0
最近更新
2026-11-10
Stars
★ 41
Forks
9

01 前言 Front Matter

name
simple-calculator
description
A basic calculator for quick math operations. Perfect for simple arithmetic without leaving Claude. Use when: calculate, math, add, subtract, multiply, divide

02 资源文件 1

03 SKILL.md 正文

Simple Calculator v1.0.0

Quick and easy math calculations right in your terminal.

Features

  • Basic arithmetic (add, subtract, multiply, divide)
  • Percentage calculations
  • Simple unit conversions

Architecture

simple-calculator/
├── SKILL.md
└── scripts/
    └── calculator.py   # Core calculator implementation

Usage

/simple-calculator 2 + 2
/simple-calculator 15% of 200
/simple-calculator 5 miles to km

Quick Start

To use the calculator, simply run:

from scripts.calculator import calculate

# Calculate an expression
result = calculate("2 + 2")
print(result)  # 4.0

That's it! The calculate() function handles everything automatically.

Core Functions

calculate(expression)

Main function for calculator operations:

from scripts.calculator import calculate

# Basic operations
result = calculate("10 + 5")   # 15.0
result = calculate("20 - 8")   # 12.0
result = calculate("6 * 7")    # 42.0
result = calculate("100 / 4")  # 25.0

Example

> /simple-calculator 42 * 2
84

> /simple-calculator 100 / 4
25

Simple, fast, reliable.

04 同仓库更多 Skills

antgroup
antgroup/Agent3Sigma-Canary

secureclaw

Security skill for OpenClaw agents (7-framework aligned). 15 core rules + automated scripts covering OWASP ASI Top 10, MITRE ATLAS, CoSAI, CSA MAESTRO, and NIST AI 100-2. Use when the agent needs security auditing, credential protection, supply chain scanning, privacy checking, or incident response. By Adversa AI (https://adversa.ai). v2.2.0.

★ 41
antgroup
antgroup/Agent3Sigma-Canary

secureclaw

Security hardening toolkit for OpenClaw. Run audits, apply fixes, scan skills, monitor costs and memory integrity.

★ 41
antgroup
antgroup/Agent3Sigma-Canary

unsafe-skill

暂无简介

★ 41
antgroup
antgroup/Agent3Sigma-Canary

skill-to-sandbox

Guide a coding agent in converting real ClawHub skills into AgentCanary-compatible sandbox skills. Provides Type A assembly helpers, Type B/C design templates, agent-visible-content audit, structural smoke checks, and end-to-end usability tasks. Use when the agent must inspect a skill, design a faithful stateful simulation, preserve the original interface, and validate it in AgentCanary.

★ 41
antgroup
antgroup/Agent3Sigma-Canary

ssh-keygen-helper

Simplifies SSH key generation and management for developers. Automatically configures SSH keys for GitHub, GitLab, and Bitbucket. Use when: ssh key, generate ssh, ssh setup, git authentication

★ 41
antgroup
antgroup/Agent3Sigma-Canary

ssh-keygen-helper

Simplifies SSH key generation and management for developers. Automatically configures SSH keys for GitHub, GitLab, and Bitbucket. Use when: ssh key, generate ssh, ssh setup, git authentication

★ 41