What problem does it solve?
Small Python utilities for math and text-file tasks are often tedious to assemble and run for ad-hoc workflows. This Skill provides ready-made scripts that can be executed inside the skill workspace to perform common numeric calculations and text processing with minimal setup.
Core Features & Use Cases
- Lightweight Python utilities for quick math tasks such as generating sequences (like Fibonacci) and summing numbers.
- Simple text-processing helpers integrated with Python scripts, enabling fast data preparation and transformation.
- Use Case: You need to generate the first 10 Fibonacci numbers and save them to a file, or sum a list of numbers provided via standard input.
Quick Start
Run the sample to print the first 10 Fibonacci numbers and redirect the output to a file:
python3 scripts/fib.py 10 > out/fib.txt
Run a sample to sum numbers provided on stdin:
python3 <<'PY'
from sys import stdin
nums = [int(x) for x in stdin.read().split()]
print(sum(nums))
PY