python-math

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

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.

agentmods
npx agentmods add skills/trpc-group/trpc-agent-go/python_math
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.

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. Scan, not verified.
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 $0.00013 $0.00125
Opus 5 $0.00006 $0.00063
Sonnet 5 $0.00003 $0.00025
Haiku 4.5 $0.00001 $0.00013

Measured yesterday against content hash 42f6466dffde, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 yesterday.

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. yesterday 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,751 stars, last pushed 2d ago), licensed Apache-2.0. It adds 13 tokens to every session and 125 once invoked, about $0.0001 per session on Opus 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

a2a-adapter

Use when building A2A Protocol agents, converting AI agents from any framework (LangChain, CrewAI, n8n, LangGraph, Ollama, or custom) into A2A-compatible servers, or working with the a2a-adapter Python SDK.

hybroai/a2a-adapter · 59 tokens

mistake-reflection

Use when you discover you made a mistake — caught by the user, by a tool result, by your own re-reading, or by a failed check. Appends a structured entry to docs/ai/ailearnings.md and re-reads recent entries to avoid repeats.

a2aproject/a2a-python · 60 tokens

hephaestus-network

Use when the user types $hephaestus-network, /hep-network, or /agentlas-network, mentions @Hephaestus, or asks Agentlas to staff a durable goal from registered Local, owner Cloud, and public Hub agents or teams. The active host LLM staffs each turn; the exact roster remains goal-bound until explicit completion.

agentlas-ai/Agentlas-OS · 75 tokens

routing-card-authoring

Use whenever a build emits or repairs .agentlas/routing-card.json — the shared card contract for the single-agent builder, the team builder, and the packager. States what belongs in every field, which fields the hub can actually match on, and which fields silently break matching when a sentence leaks into them.

agentlas-ai/Agentlas-OS · 68 tokens

hephaestus-upload

Use when the user types $hephaestus-upload, /hep-upload, or /agentlas-upload, or asks to upload, publish, or list an Agentlas agent or team. Ask Cloud (private) vs Agentlas Hub (public) FIRST, then publish through the bundled Hephaestus gate.

agentlas-ai/Agentlas-OS · 67 tokens

agentlas-security-scan

Use when an agent folder must pass the Agentlas Cloud 2-stage security scan (static rules + BYOK LLM judgment) before private sync or public publish, or when asked to run/interpret hephaestus security scan.

agentlas-ai/Agentlas-OS · 53 tokens