integer-calculator
БесплатноЗапускает вложенные скриптыНе проверенCalculate addition, subtraction, multiplication and division of two integers via a Python script.
от bing0109389 установок в других каталогахОб этом скилле
Integer Calculator
This skill calculates the addition, subtraction, multiplication or division of two integers by calling a local Python script.
Usage
When the user asks to perform arithmetic on two integers, run the following command:
python3 scripts/calculator.py
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| num1 | int | Yes | First integer |
| num2 | int | Yes | Second integer |
| operation | string | Yes | add, sub, mul, div |
Examples
Addition:
python3 scripts/calculator.py 3 5 add
# Output: 8
Subtraction:
python3 scripts/calculator.py 10 4 sub
# Output: 6
Multiplication:
python3 scripts/calculator.py 3 5 mul
# Output: 15
Division:
python3 scripts/calculator.py 10 4 div
# Output: 2.5
Notes
- Supported operations:
add,sub,mul,div. - Both inputs must be valid integers.
- Division returns a float result; dividing by zero will return an error message to stderr and exit with code 1.
- The script prints only the numeric result to stdout for easy parsing.
Установить integer-calculator в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл integer-calculator?
Calculate addition, subtraction, multiplication and division of two integers via a Python script.
Как установить скилл integer-calculator?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл integer-calculator запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic