Skip to main content
skill CX Codex

discover-math — Claude Code skill for math: features and setup

The discover-math skill routes math and algorithm work to relevant skills in its category. Use it to find focused material for a problem and load it as needed.

MIT 146 installs ★ 193 updated 2026-02-28

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add rand/cc-polymath --skill discover-math -a claude-code
Open on GitHub

What discover-math does

discover-math acts as a gateway to math and algorithm skills. It activates for work involving topics such as linear algebra, calculus, optimization, statistics, probability, numerical methods, theorems, and proofs.

The category index lists 11 skills, including options for number theory, topology, and optimization. Read ../math/INDEX.md for the overview, then load a specific file such as ../math/linear-algebra-computation.md. The category overview is a separate step, so the gateway does not itself display every skill’s details.

What it helps with

  • find a skill for matrix computations
  • connect an algorithm task to relevant math material
  • browse the available math skills
  • load resources on topology or number theory

Example prompts for the agent

  • Find a skill for matrix computations and load it.
  • Show me the math category overview from ../math/INDEX.md.
  • Help me choose a skill for a numerical methods task.

How to install discover-math

1Skills CLI (Vercel)

npx skills add rand/cc-polymath --skill discover-math -a claude-code

2Manually: put the files in place

~/.claude/skills/discover-math/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/discover-math/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about discover-math

How do I install discover-math in Claude Code?

Run npx skills add rand/cc-polymath --skill discover-math -a claude-code. The skill file is at ~/.claude/skills/discover-math/SKILL.md.

What does discover-math do?

It activates during math-related work and points to relevant skills. Use ../math/INDEX.md to browse the category.

Which math skills can discover-math lead me to?

Its category lists 11 skills, covering areas such as linear algebra, number theory, numerical methods, optimization, and topology.

Source text

SKILL.md · MIT
---
name: discover-math
description: Automatically discover mathematics and algorithm skills when working with linear algebra, calculus, optimization, statistics, probability, numerical methods, category theory, or topology. Activates for math development tasks.
license: MIT
metadata:
  author: rand
  version: "4.0"
compatibility: Designed for Claude Code. Compatible with any agent supporting the Agent Skills format.
---

# Math Skills Discovery

Provides automatic access to comprehensive math skills.

## When This Skill Activates

This skill auto-activates when you're working with:
- mathematics
- algorithms
- linear algebra
- calculus
- topology
- category theory
- proofs
- theorems

## Available Skills

### Quick Reference

The Math category contains 11 skills:

1. **abstract-algebra**
2. **category-theory-foundations**
3. **differential-equations**
4. **linear-algebra-computation**
5. **number-theory**
6. **numerical-methods**
7. **optimization-algorithms**
8. **probability-statistics**
9. **set-theory**
10. **topology-algebraic**
11. **topology-point-set**

### Load Full Category Details

For complete descriptions and workflows:

Read ../math/INDEX.md


This loads the full Math category index with:
- Detailed skill descriptions
- Usage triggers for each skill
- Common workflow combinations
- Cross-references to related skills

### Load Specific Skills

Load individual skills as needed:

Read ../math/abstract-algebra.md
Read ../math/category-theory-foundations.md
Read ../math/differential-equations.md
Read ../math/linear-algebra-computation.md
Read ../math/number-theory.md


## Progressive Loading

This gateway skill enables progressive loading:
- **Level 1**: Gateway loads automatically (you're here now)
- **Level 2**: Load category INDEX.md for full overview
- **Level 3**: Load specific skills as needed

## Usage Instructions

1. **Auto-activation**: This skill loads automatically when Claude Code detects math work
2. **Browse skills**: Run `Read ../math/INDEX.md` for full category overview
3. **Load specific skills**: Use bash commands above to load individual skills


**Next Steps**: Run `Read ../math/INDEX.md` to see full category details.

© rand · MIT · rand/cc-polymath

Similar skills

All skills for Science and research →

From the same set19

The whole set →
anti-slop anti-slop flags generic AI-made patterns in prose, source and interfaces, then points at what to change. Useful before you hand off generated work. CX Codex +1 769installs discover-frontend discover-frontend is a skill that loads the file a frontend task needs — React patterns, Next.js routing, forms or accessibility — instead of the whole index. CX Codex +1 216installs discover-research discover-research maps research tasks to relevant methodology skills, from study planning to literature synthesis. Useful when an agent needs to choose which research guidance to load. CX Codex +1 201installs elegant-design The elegant-design skill guides the design of accessible, responsive interfaces with chat, terminals, and code display. Use it when building web apps or developer tools. CX Codex +1 186installs discover-ml discover-ml loads 42 ML skills from rand/cc-polymath when the agent detects PyTorch, DSPy, RAG, fine-tuning or diffusion model keywords. CX Codex +1 134installs discover-database discover-database routes agent workflows to tailored guides for SQL, NoSQL, connection pooling, and caching patterns. CX Codex +1 125installs discover-networking The discover-networking skill detects networking work and points agents to related skills in cc-polymath. Use it for tasks involving protocols, connectivity, proxies, or network resilience. CX Codex +1 120installs discover-cryptography discover-cryptography — a skill that automatically brings cryptography knowledge into view when you work with encryption, TLS, certificates, or PKI. Loads on demand without bloating context. CX Codex +1 118installs

Project sponsors

Companies that keep this analytics open