math-tools
Deterministic mathematical computation using SymPy. Use for ANY math operation requiring exact/verified results - basic arithmetic, algebra (simplify, expand, factor, solve equations), calculus (derivatives, integrals, limits, series), linear algebra (matrices, determinants,
Installation
Pick a client and clone the repository into its skills directory.
Installation
About this skill
Deterministic mathematical computation using SymPy. Use for ANY math operation requiring exact/verified results - basic arithmetic, algebra (simplify, expand, factor, solve equations), calculus (derivatives, integrals, limits, series), linear algebra (matrices, determinants, eigenvalues), trigonometry, number theory (primes, GCD/LCM, factorization), and statistics. Ensures mathematical accuracy by using symbolic computation rather than LLM estimation.
How to use
Zainstaluj skill math-tools w swoim środowisku Claude lub Copilot, dodając go do katalogu pluginów.
Uruchom skrypt kalkulatora z wybraną operacją i argumentami, korzystając z polecenia python scripts/math_calculator.py [operacja] [argumenty]. Na przykład: python scripts/math_calculator.py add 5 3 2 zwróci 10, a python scripts/math_calculator.py divide 10 4 zwróci dokładny wynik 5/2 zamiast przybliżenia.
Do operacji algebraicznych użyj poleceń simplify, expand, factor lub solve. Przykład: python scripts/math_calculator.py simplify "(x2 - 1)/(x - 1)" uprości wyrażenie do x + 1, a python scripts/math_calculator.py solve "x2 - 5*x + 6" x rozwiąże równanie kwadratowe.
Dla obliczeń bardziej zaawansowanych, takich jak pochodne, całki czy operacje na macierzach, przekaż odpowiednią operację z wyrażeniem matematycznym jako argument.
Każdy wynik zwracany jest w formacie JSON zawierającym pole result (wynik symboliczny), latex (zapis LaTeX) oraz numeric (wartość numeryczna), co pozwala na łatwe wykorzystanie wyniku w dalszych obliczeniach lub prezentacji.