⚙️ Python_math

This skill runs small Python scripts inside the workspace, returning results as text or output files for easy automation.

QUICK INSTALL
npx playbooks add skill trpc-group/trpc-agent-go --skill python_math

Python_math instructions

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

  1. 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

Related Skills

Get the best new skills
in your inbox

Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.