Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
athola avatar

Math Review

  • 106 installs
  • 325 repo stars
  • Updated August 2, 2026
  • athola/claude-night-market

Install math-review when your agent or backend relies on derivations, approximations, or probabilistic formulas and you need a structured pass before you trust the numbers.

About

math-review is an agent skill for solo builders who ship code where the math must be right—not merely plausible. It walks you through derivation verification: re-derive critical formulas symbolically, compare implementations to notebook checks (for example SymPy gradients), and validate probabilistic steps before they drive product logic. It then challenges approximations you often skip in a hurry: series truncation order and error, linearization validity, surrogate models against ground truth, and documented bounds tested at edges of the domain. The tone fits indie ML, simulation, pricing, and scientific backends where a wrong gradient or Bayes step is expensive. Use it during prototype review, while documenting model assumptions, or as a structured pre-ship review when formulas and numerics underpin your feature. It does not replace a full formal V&V program, but it gives your coding agent a repeatable checklist aligned with recognized modeling standards.

  • Symbolic verification workflow using SymPy, Mathematica, or Maple against handwritten algebra and calculus
  • Probabilistic reasoning checks: conditional probability, Bayes rule, expectations, variances, and distribution propertie
  • Approximation audit: series truncation order, linearization domains, surrogate vs ground-truth comparison
  • Error-bound derivation with empirical checks at domain boundaries and worst-case scenarios
  • Grounded in NASA-STD-7009 and ASME V&V 20 modeling and simulation verification expectations

Math Review by the numbers

  • 106 all-time installs (skills.sh)
  • Ranked #817 of 2,064 Data Science & ML skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/athola/claude-night-market --skill math-review

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs106
repo stars325
Security audit3 / 3 scanners passed
Last updatedAugust 2, 2026
Repositoryathola/claude-night-market

What it does

Install math-review when your agent or backend relies on derivations, approximations, or probabilistic formulas and you need a structured pass before you trust the numbers.

Files

SKILL.mdMarkdownGitHub ↗

Table of Contents

Mathematical Algorithm Review

Intensive analysis ensuring numerical stability and alignment with standards.

Quick Start

/math-review

Verification: Run the command with --help flag to verify availability.

When To Use

  • Changes to mathematical models or algorithms
  • Statistical routines or probabilistic logic
  • Numerical integration or optimization
  • Scientific computing code
  • ML/AI model implementations
  • Safety-critical calculations

When NOT To Use

  • General algorithm review -

use architecture-review

  • Performance optimization - use parseltongue:python-performance
  • General algorithm review -

use architecture-review

  • Performance optimization - use parseltongue:python-performance

Required TodoWrite Items

1. math-review:context-synced 2. math-review:requirements-mapped 3. math-review:derivations-verified 4. math-review:stability-assessed 5. math-review:evidence-logged 6. math-review:findings-verified

Core Workflow

1. Context Sync

pwd && git status -sb && git diff --stat origin/main..HEAD

Verification: Run git status to confirm working tree state. Enumerate math-heavy files (source, tests, docs, notebooks). Classify risk: safety-critical, financial, ML fairness.

2. Requirements Mapping

Translate requirements → mathematical invariants. Document pre/post conditions, conservation laws, bounds. Load: modules/requirements-mapping.md

3. Derivation Verification

Re-derive formulas using CAS. Challenge approximations. Cite authoritative standards (NASA-STD-7009, ASME VVUQ). Load: modules/derivation-verification.md

4. Stability Assessment

Evaluate conditioning, precision, scaling, randomness. Compare complexity. Quantify uncertainty. Load: modules/numerical-stability.md

5. Proof of Work

pytest tests/math/ --benchmark
jupyter nbconvert --execute derivation.ipynb

Verification: Run pytest -v tests/math/ to verify. Log deviations, recommend: Approve / Approve with actions / Block. Load: modules/testing-strategies.md

6. Verify Findings Are Grounded (math-review:findings-verified)

Every issue must cite a real location and a verbatim anchor. Write findings to .review/findings.json and confirm each citation resolves:

python plugins/imbue/scripts/citation_verifier.py \
  --findings .review/findings.json --repo-root .

Drop or label UNVERIFIED any finding the verifier fails (exit 1); only verified findings enter the report. See Skill(imbue:review-core) Step 5 for the protocol and Skill(imbue:structured-output) for the finding schema.

Progressive Loading

Default (200 tokens): Core workflow, checklists +Requirements (+300 tokens): Invariants, pre/post conditions, coverage analysis +Derivation (+350 tokens): CAS verification, standards, citations +Stability (+400 tokens): Numerical properties, precision, complexity +Testing (+350 tokens): Edge cases, benchmarks, reproducibility

Total with all modules: ~1600 tokens

Essential Checklist

Correctness: Formulas match spec | Edge cases handled | Units consistent | Domain enforced Stability: Condition number OK | Precision sufficient | No cancellation | Overflow prevented Verification: Derivations documented | References cited | Tests cover invariants | Benchmarks reproducible Documentation: Assumptions stated | Limitations documented | Error bounds specified | References linked

Output Format

## Summary
[Brief findings]

## Context
Files | Risk classification | Standards

## Requirements Analysis
| Invariant | Verified | Evidence |

## Derivation Review
[Status and conflicts]

## Stability Analysis
Condition number | Precision | Risks

## Issues
[M1] [Title]
- Location: file.py:123
- Anchor: `verbatim source text at line 123`
- Issue: [what is wrong] | Fix: [remediation] | Evidence: [E1]

## Recommendation
Approve / Approve with actions / Block

Every issue's Anchor is the exact source text at Location; it is what citation_verifier.py re-reads to prove the finding is real. Verification: Run the command with --help flag to verify availability.

Exit Criteria

  • Context synced, requirements mapped, derivations verified, stability assessed, evidence logged with citations
  • Every reported issue carries a Location + verbatim Anchor, and citation_verifier.py confirmed all citations (exit 0) or unverified issues were dropped or labeled UNVERIFIED

Related skills

FAQ

Is Math Review safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

Data Science & MLanalyticspipelines

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.