Skip to main content
ClaudeWave
Skill1.3k repo starsupdated today

python-math

The python-math skill executes Python scripts within a designated workspace to perform mathematical computations and text processing tasks. Use this skill when you need to run quick Python calculations, generate sequences like Fibonacci numbers, perform arithmetic operations on data sets, or process text files, with results optionally saved as output files in the workspace.

Install in Claude Code
Copy
git clone --depth 1 https://github.com/trpc-group/trpc-agent-go /tmp/python-math && cp -r /tmp/python-math/examples/skillrun/skills/python_math ~/.claude/skills/python-math
Then start a new Claude Code session; the skill loads automatically.

SKILL.md

Overview

Run short Python scripts inside the skill workspace. Results can be
returned as text and saved as output files.

Examples

1) Print the first N Fibonacci numbers

   Command:

   python3 scripts/fib.py 10 > out/fib.txt

2) Sum a list of integers

   Command:

   python3 - <<'PY'
from sys import stdin
nums = [int(x) for x in stdin.read().split()]
print(sum(nums))
PY

Output Files

- out/fib.txt