Skip to content
Agent Orchestration
Skill

/calculator

Math calculations and unit conversions

BOOST
From plugin
wirken
19321 skills
Install
$ npx -y skills add gebruder/wirken --skill calculator --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/calculator

Context preview

The summary Claude sees to decide when to auto-load this skill.

Math calculations and unit conversions

SKILL.md

calculator.SKILL.md
name: calculator
description: Math calculations and unit conversions
disable-model-invocation: false
permissions:
  tools:
    allow: [exec]
  egress:
    mode: deny
  inference:
    allow: ["*"]

Calculator

Perform calculations using shell tools.

Arithmetic

  • Basic math: `echo "scale=4; 355/113" | bc -l`
  • Percentages: `echo "scale=2; 847 * 0.15" | bc -l`
  • Powers: `echo "2^32" | bc`
  • Square root: `echo "scale=4; sqrt(2)" | bc -l`

Python (if available)

For complex math: `python3 -c "import math; print(math.log2(1024))"`

Unit conversions

  • Bytes to human: `numfmt --to=iec 1073741824` (gives 1.0G)
  • Human to bytes: `numfmt --from=iec 4G` (gives 4294967296)
  • Temperature: `python3 -c "c=37; print(f'{c}C = {c*9/5+32}F')"`

Date math

  • Days between dates: `echo $(( ($(date -d 2025-12-31 +%s) - $(date +%s)) / 86400 )) days`
  • Date in N days: `date -d "+30 days" +%Y-%m-%d`
  • Timestamp to date: `date -d @1700000000`
Ships withwirken

Wirken is the enterprise gateway for autonomous agents: the switchboard between your team's messaging channels and the AI agents working on their behalf.

Get the whole plugin
Stats
193
Stars
10
Forks
Active
Maintenance
Rust
Language
MIT
License
8h ago
Last commit
7mo ago
Created
3h ago
Added

Repo: gebruder/wirken

Other skills on wirken.