본문으로 건너뛰기
cccskills
무료GitHub에 공개

maths

Performs numerical and symbolic mathematics using NumPy, SciPy, SymPy, and mpmath. Use when the user needs linear algebra, arrays, optimization, integration, ODEs, symbolic expressions, equation solving, or arbitrary-precision arithmetic.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(11)

  • SKILL.md3.8 KB
  • examples.md2.7 KB
  • install-by-os.md3.6 KB
  • install.md1.8 KB
  • reference.md2.9 KB
  • scripts/mpmath_precision.py547 B
  • scripts/numpy_solve.py613 B
  • scripts/scipy_integrate.py513 B
  • scripts/scipy_minimize.py610 B
  • scripts/sympy_integrate.py648 B
  • scripts/sympy_solve.py534 B

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Maths

Install this skill (skills CLI)

Add this skill to your agent from the skills ecosystem:

# List skills in this repo
npx skills add udnisap/skills --list

# Install the maths skill (project scope)
npx skills add udnisap/skills --skill maths -y

# Install globally for all projects
npx skills add udnisap/skills --skill maths -g -y

Repo: github.com/udnisap/skills.

Setup (do this first)

Use a virtual environment and install the maths libraries inside it. Step-by-step: install.md. Install by OS (Linux, macOS, Windows): install-by-os.md.

  • Check (with venv activated): python -c "import numpy, scipy, sympy, mpmath; print('OK')" — if this fails, follow install.md or install-by-os.md for your platform.
  • Quick setup: create venv (e.g. python3 -m venv .venv), activate it, then pip install numpy scipy sympy mpmath. Run scripts with that venv’s python.

Use established Python libraries instead of hand-rolled math. Choose by task:

NeedLibrary
Arrays, linear algebra, FFT, randomNumPy
Optimization, integration, ODEs, stats, sparseSciPy
Symbolic math, simplify, solve, differentiateSymPy
Arbitrary-precision floats, special functionsmpmath

When to use

  • Numerical arrays, matrix ops, eigenvalues, SVD, FFT
  • Minimization, root finding, curve fitting, integration, ODEs
  • Symbolic expressions, equation solving, calculus (symbolic)
  • High-precision decimals or special functions beyond float64

Quick workflow

  1. Identify numeric vs symbolic vs high-precision.
  2. Import only the submodule you need (e.g. scipy.optimize, sympy.solvers).
  3. Prefer library functions over custom loops (vectorize with NumPy; use scipy.integrate, sympy.integrate, etc.).

Using from the CLI (for agents)

When the agent must run maths from the command line, use Python inline:

  • One-liner: python -c 'import numpy as np; print(np.linalg.det([[1,2],[3,4]]))'
  • Multi-line: use a single string with semicolons, or write a short script and run python script.py. For longer code, prefer a temp file over a huge -c string.
  • SymPy (expression in, result out): python -c "import sympy as sp; x=sp.Symbol('x'); print(sp.solve(x**2-4,x))"
  • Exit code: script should print() the result and exit 0; the agent reads stdout. Use sys.exit(1) on error so the agent can detect failure.

Use the venv’s python (or python3); ensure the venv has the needed packages (see install.md).

Scripts

Runnable examples are in scripts/. With the venv activated, run them from the skill directory:

  • scripts/numpy_solve.py — solve Ax = b (option: --eig for eigenvalues)
  • scripts/scipy_minimize.py — minimize a scalar function
  • scripts/scipy_integrate.py — definite integral (Gaussian)
  • scripts/sympy_solve.py — solve equation (arg: expression, e.g. "x**2 - 4")
  • scripts/sympy_integrate.py — symbolic integral (arg: expression, e.g. "sin(x)**2")
  • scripts/mpmath_precision.py — high-precision integral (optional arg: dps)

See examples.md for exact CLI commands and one-liners.

Additional resources

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

12-agent academic paper writing pipeline. 10 modes (full/plan/outline/revision/revision-coach/abstract/lit-review/format-convert/citation-check/disclosure). 6 paper types, 5 citation formats, bilingual abstracts, LaTeX/DOCX-via-Pandoc/PDF output. Style Calibration + Writing Quality Check + Anti-Patterns with IRON RULE markers. Triggers: write paper, academic paper, guide my paper, parse reviews, AI disclosure, 寫論文, 學術論文, 引導我寫論文, 審查意見.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bouclem/skills72026년 5월 31일 업데이트

Multi-perspective academic paper review with dynamic reviewer personas. Simulates 5 independent reviewers (EIC + 3 peer reviewers + Devil's Advocate) with field-specific expertise. Supports full review, re-review (verification), quick assessment, methodology focus, Socratic guided, and calibration modes. Triggers on: review paper, peer review, manuscript review, referee report, review my paper, critique paper, simulate review, editorial review, calibrate reviewer, reviewer calibration, measure reviewer accuracy.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bouclem/skills72026년 5월 31일 업데이트

Orchestrator for the full academic research pipeline: research -> write -> integrity check -> review -> revise -> re-review -> re-revise -> final integrity check -> finalize. Coordinates deep-research, academic-paper, and academic-paper-reviewer into a seamless 10-stage workflow with mandatory integrity verification, two-stage peer review, and reproducible quality gates. Triggers on: academic pipeline, research to paper, full paper workflow, paper pipeline, end-to-end paper, research-to-publication, complete paper workflow.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bouclem/skills72026년 5월 31일 업데이트

Create, iterate, and scale paid ad creative for Google Ads, Meta, LinkedIn, TikTok, and similar platforms. Use when generating headlines, descriptions, primary text, or large sets of ad variations for testing and performance optimization.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bouclem/skills72026년 5월 31일 업데이트

This skill should be used when the user asks to "implement LLM-as-judge", "compare model outputs", "create evaluation rubrics", "mitigate evaluation bias", or mentions direct scoring, pairwise comparison, position bias, evaluation pipelines, or automated quality assessment.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bouclem/skills72026년 5월 31일 업데이트

AI agent development workflow for building autonomous agents, multi-agent systems, and agent orchestration with CrewAI, LangGraph, and custom agents.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bouclem/skills72026년 5월 31일 업데이트

bouclem의 스킬 모두 보기

이 스킬의 문제 신고