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
npx skills add rand/cc-polymath --skill discover-math -a claude-codeWhat 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-code2Manually: put the files in place
~/.claude/skills/discover-math/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/discover-math/
1Skills CLI (Vercel)
npx skills add rand/cc-polymath --skill discover-math -a codex2Manually: put the files in place
.agents/skills/discover-math/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add rand/cc-polymath --skill discover-math -a cursor2Manually: put the files in place
.cursor/skills/discover-math/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install rand/cc-polymath skills/discover-math2Manually: put the files in place
.github/skills/discover-math/SKILL.md1Skills CLI (Vercel)
npx skills add rand/cc-polymath --skill discover-math -a gemini-cli2Platform CLI
gemini skills install https://github.com/rand/cc-polymath --path skills/discover-mathManually: put the files in place
.devin/skills/discover-math/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add rand/cc-polymath --skill discover-math -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
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