python-math

python-math is a skill for Claude Code, Codex from trpc-group/trpc-agent-go. It costs 13 tokens per session (125 once invoked), scanned A, original, Apache-2.0.

A small collection of Python utilities for running simple calculations and text-file tasks. It includes examples such as generating Fibonacci numbers and summing numbers from input.

In plain words
What is it for?
Use it to run short Python programs and save their text results in the skill’s output directory.
Why use it?
It provides ready-made commands for small jobs that would otherwise require writing a temporary script.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to run short Python programs and save their text results in the skill’s output directory.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/trpc-group/trpc-agent-go/python_math
About the project

tRPC-Agent-Go is a Go framework for building AI agent applications with language models, graph-based workflows, tools, memory, retrieval, evaluation, and observability. Go developers use it to create deployable agent systems that can integrate with A2A, AG-UI, and MCP. The catalogue add-ons provide reusable workflows and agent integrations for the framework.

trpc-group/trpc-agent-go · 1,863 stars · on GitHub · trpc-group.github.io

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add trpc-group/trpc-agent-go --skill python_math
Clone the repo
git clone --depth 1 https://github.com/trpc-group/trpc-agent-go

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for python-math

README.md
[![agentmods](https://agentmods.dev/badge/skills/trpc-group/trpc-agent-go/python_math/github.svg)](https://agentmods.dev/skills/trpc-group/trpc-agent-go/python_math)
Your own site
<a href="https://agentmods.dev/skills/trpc-group/trpc-agent-go/python_math"><img src="https://agentmods.dev/badge/skills/trpc-group/trpc-agent-go/python_math/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for python-math

Your own site · 80×15
<a href="https://agentmods.dev/skills/trpc-group/trpc-agent-go/python_math"><img src="https://agentmods.dev/badge/skills/trpc-group/trpc-agent-go/python_math.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 125 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00013 $0.00125
Opus 5.5 $0.00005 $0.00050
Sonnet 5.5 $0.00003 $0.00025
Haiku 4.5 $0.00001 $0.00013

Measured 1mo ago against content hash 42f6466dffde, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

python-math scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/fib.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

examples/skillrun/skills/python_math/SKILL.md · 32 lines

What it actually says

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
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 32 lines · 13 tokens per session scan A 42f6466dffde

Subscribe to this mod's changes

python-math is a skill published in the GitHub repository trpc-group/trpc-agent-go (1,863 stars, last pushed yesterday), licensed Apache-2.0. It adds 13 tokens to every session and 125 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

biopython

Comprehensive molecular biology toolkit. Use for sequence manipulation, file parsing (FASTA/GenBank/PDB), phylogenetics, and programmatic NCBI/PubMed access (Bio.Entrez). Best for batch processing, custom bioinformatics pipelines, BLAST automation. For quick lookups use gget; for multi-service integration use…

synthetic-sciences/openscience · 76 tokens

jupyter-notebook

Iterative Python via live Jupyter kernel (hamelnb).

NousResearch/hermes-agent · 18 tokens

stack-trace-python-probe

Internal helper for meta-stack-trace-investigator. Use when a Python traceback needs Python-specific root-cause checks, pytest reproducer guidance, and defensive patch targets.

opensquilla/opensquilla · 40 tokens

geopandas-spatial

Geospatial and climate data analysis with geopandas and xarray. Use when: (1) geographic vector data analysis, (2) climate and weather NetCDF data, (3) spatial joins and overlay operations, (4) map visualization, (5) CRS transformations and area calculations. NOT for: satellite imagery ML (use rasterio/torchgeo)…

beita6969/ScienceClaw · 96 tokens

pymatgen-materials

Materials science computation with pymatgen. Use when: (1) crystal structure creation and manipulation, (2) phase diagram construction, (3) electronic structure analysis, (4) symmetry and space group operations, (5) VASP input/output parsing. NOT for: molecular chemistry (use rdkit-chemistry), protein structure (use…

beita6969/ScienceClaw · 91 tokens

rdkit-chemistry

Molecular chemistry operations via RDKit. Use when: user asks about molecular structures, SMILES, chemical properties, or fingerprints. NOT for: reaction databases or wet lab protocols.

beita6969/ScienceClaw · 42 tokens