# Python Math

> Python Math is an Agent Skill for documents published in the trpc-group/trpc-agent-go repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Small Python utilities for math and text files.

- Skill name: `python-math`
- Category: [Documents](https://www.openparable.com/skill/documents/1)
- Source: https://github.com/trpc-group/trpc-agent-go/blob/HEAD/examples/skillrun/skills/python_math/SKILL.md
- Repository: trpc-group/trpc-agent-go (1,546 GitHub stars when collected)

## 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

---

Source: https://www.openparable.com/skill/documents/python-math (OpenParable). Cite the canonical URL above.
