python-math
Execute custom Python scripts for mathematical tasks or text file manipulation within the workspace.
Install
mkdir -p .claude/skills/python-math && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/8830" && unzip -o skill.zip -d .claude/skills/python-math && rm skill.zipInstalls to .claude/skills/python-math
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Small Python utilities for math and text files.Key capabilities
- →Execute Python scripts within a workspace
- →Process text data using custom logic
- →Generate numeric sequences
- →Redirect script output to text files
How it works
The skill executes provided Python code in the workspace and captures standard output. Results can be directed into specific files for storage.
Inputs & outputs
When to use python-math
- →Calculating mathematical values from text data
- →Processing large text files with custom logic
- →Generating numeric sequences
About this skill
Overview
Run short Python scripts inside the skill workspace. Results can be returned as text and saved as output files.
Examples
-
Print the first N Fibonacci numbers
Command:
python3 scripts/fib.py 10 > out/fib.txt
-
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
When not to use it
- →Tasks requiring external Python libraries not present in the environment
- →Complex applications requiring persistent state or database connections
Prerequisites
Limitations
- →Limited to short scripts
- →Requires manual script creation
How it compares
It automates the execution and file redirection of Python scripts directly within the assistant's workspace instead of requiring manual local execution.
Compared to similar skills
python-math side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| python-math (this skill) | 0 | 9mo | Review | Beginner |
| streamlit | 86 | 9mo | No flags | Intermediate |
| jupyter-notebook | 30 | 6mo | Review | Intermediate |
| backtesting-frameworks | 17 | 2mo | No flags | Advanced |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by trpc-group
View all by trpc-group →You might also like
streamlit
sverzijl
When working with Streamlit web apps, data dashboards, ML/AI app UIs, interactive Python visualizations, or building data science applications with Python
jupyter-notebook
davila7
Use when the user asks to create, scaffold, or edit Jupyter notebooks (`.ipynb`) for experiments, explorations, or tutorials; prefer the bundled templates and run the helper script `new_notebook.py` to generate a clean starting notebook.
backtesting-frameworks
wshobson
Build robust backtesting systems for trading strategies with proper handling of look-ahead bias, survivorship bias, and transaction costs. Use when developing trading algorithms, validating strategies, or building backtesting infrastructure.
pdf-processing-pro
davila7
Production-ready PDF processing with forms, tables, OCR, validation, and batch operations. Use when working with complex PDF workflows in production environments, processing large volumes of PDFs, or requiring robust error handling and validation.
llava
zechenzhangAGI
Large Language and Vision Assistant. Enables visual instruction tuning and image-based conversations. Combines CLIP vision encoder with Vicuna/LLaMA language models. Supports multi-turn image chat, visual question answering, and instruction following. Use for vision-language chatbots or image understanding tasks. Best for conversational image analysis.
cocoindex
cocoindex-io
Comprehensive toolkit for developing with the CocoIndex library. Use when users need to create data transformation pipelines (flows), write custom functions, or operate flows via CLI or API. Covers building ETL workflows for AI data processing, including embedding documents into vector databases, building knowledge graphs, creating search indexes, or processing data streams with incremental updates.