Skip to main content
ClaudeWave
Skill1.3k estrellas del repoactualizado yesterday

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.

Instalar en Claude Code
Copiar
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
Después abre una sesión nueva de Claude Code; el skill carga automáticamente.

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