360 Secure SkillHub
360 安全技能中心

Calc Tool

该 Skill 提供 calc-tool 命令行计算能力,可处理基本算术、三角函数(sin、cos、tan)、单位换算和表达式分组;包内含 scripts/calc.py 脚本,运行环境涉及 bash 与 python3。

dinghaibin
dinghaibin
热度 32.14
最近更新 2026-05-18 11:48:13
分类:效率依赖:代码执行

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add calc-tool
Metadata
name
calc-tool
description
Perform mathematical calculations from the command line. Arithmetic, trig, and unit conversion.

Calc Tool - CLI Calculator

Command-line calculator supporting arithmetic, trig, and unit conversion.

Quick Start

calc-tool '2 + 2'

Features

  • Basic arithmetic
  • Trig functions (sin, cos, tan)
  • Unit conversion
  • Expression grouping

Examples

calc-tool '2 + 2'
calc-tool 'sin(45) * 10'
calc-tool '100 cm to inches'

See Also

  • Related documentation: man bc (if available)