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
Copygit 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-mathThen start a new Claude Code session; the skill loads automatically.
Definition
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
More from this repository
blogSkill
enSkill
zhSkill
artifact_demoSkill
Demo skill that writes an output file and persists it as an artifact.
news-query-agentSubagent
Answer news queries with a fixed demo response.
weather-querySkill
Answer weather queries with a fixed demo response.
contact-lookup-agentSubagent
Look up contact phone numbers with fixed demo data.
write-okSkill
Write a deterministic OK file to out/ok.txt.