Agent skill

Discover Math

by rand in rand/cc-polymath

Automatically discover mathematics and algorithm skills when working with linear algebra, calculus, optimization, statistics, probability, numerical methods, category theory, or topology.

MITAuto-check passedResearch & Science

Install Discover Math

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

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install rand/cc-polymath discover-math --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/rand/cc-polymath.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/discover-math .claude/skills/discover-math && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
discover-math
GitHub stars
181
Token cost
~547 tokens
SKILL.md length
192 words
Files
1
Skills in repo
26
Repo updated
First seen
Licence
MIT

At a glance

Automatically discover mathematics and algorithm skills when working with linear algebra, calculus, optimization, statistics, probability, numerical methods, category theory, or topology.

  • Works in 11 steps: abstract-algebra → category-theory-foundations → differential-equations → …
  • Tasks that involve Math and symbolic computation
  • SKILL.md covers When This Skill Activates, Available Skills, Progressive Loading and Usage Instructions
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Discover Math is an agent skill from rand/cc-polymath. 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.

Its SKILL.md is about 550 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: Designed for Claude Code. Compatible with any agent supporting the Agent Skills format.

It sits in Research & Science, covering Math and symbolic computation and Statistics. The repository describes itself as: Claude Code skills and workflows, optimized for context-efficiency and skill quality. Skills ranging from cloud infrastructure to design to advanced maths. The licence is MIT.

When your agent uses it

  • Tasks that involve Math and symbolic computation
  • Tasks that involve Statistics

Example prompts

  • “/discover-math”

Requirements

  • Compatibility (from SKILL.md): Designed for Claude Code. Compatible with any agent supporting the Agent Skills format.

Workflow steps

11 steps, taken from the first numbered list in SKILL.md.

  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

What it can do on your machine

Read from SKILL.md and the folder at commit baa2df1. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Designed for Claude Code. Compatible with any agent supporting the Agent Skills format.

    From compatibility in the SKILL.md frontmatter.

Context cost

Discover Math loads about 547 tokens when it runs. Until then it costs about 60 tokens; SKILL.md has 192 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~60
When it runs · the whole SKILL.md, loaded when a task matches
~547

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from rand/cc-polymath at commit baa2df1, republished under its MIT licence (© rand). 192 words, ~547 tokens.

Download SKILL.mdSave it as .claude/skills/discover-math/SKILL.md (or your agent's skills folder).
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.
compatibility
Designed for Claude Code. Compatible with any agent supporting the Agent Skills format.
license
MIT
metadata.author
rand
metadata.version
4.0

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. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/discover-math of rand/cc-polymath.

Open the folder on GitHubat commit baa2df1

Compare with similar skills

Discover Math next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Discover Math compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Discover Math this skillrand/cc-polymath181—~547Automated safety check: PassMIT
Numerical Methodsbrycewang-stanford/Auto-Empirical-Research-Skills4.5k—~1.9kAutomated safety check: PassCustom licence
Math SolverFerroxLabs/wayland608—~4.3kAutomated safety check: PassApache-2.0
Math Toolsananddtyagi/cc-marketplace6872 repos~1.3kAutomated safety check: PassNone
Manuscript Statistics AuditYuan1z0825/nature-skills46k2 repos~2.1kAutomated safety check: PassApache-2.0
Math Modeling SolverLupynow/math-modeling-skills416—~2.1kAutomated safety check: PassMIT

Similar skills

  • Numerical Methods

    brycewang-stanford/Auto-Empirical-Research-Skills

    Numerical algorithms and computational techniques for statistics

    4.5k GitHub stars~1.9k tokensUpdated 2 days ago
    Research & ScienceAuto-check passed
  • Math Solver

    FerroxLabs/wayland

    Math problem solving and explanation skill providing step-by-step solutions, concept explanations from algebra through calculus and statistics, word problem strategies, visualization techniques…

    608 GitHub stars~4.3k tokensUpdated yesterday
    Research & ScienceAuto-check passed
  • Math Tools

    ananddtyagi/cc-marketplace

    Deterministic mathematical computation using SymPy. An agent skill from ananddtyagi/cc-marketplace.

    687 GitHub starsUsed in 2 repos~1.3k tokens
    Research & ScienceAuto-check passed
  • Manuscript Statistics Audit

    Yuan1z0825/nature-skills

    Audits or rewrites the statistical reporting in a manuscript: experimental units, replication, tests, uncertainty and figure legends, without inventing missing details.

    46k GitHub starsUsed in 2 repos~2.1k tokens
    Research & ScienceAuto-check passed
  • Math Modeling Solver

    Lupynow/math-modeling-skills

    数学建模竞赛解题全流程指导。覆盖国赛(CUMCM)和美赛(MCM/ICM)全部题型(A-F),提供12种问题本质分析、95+场景模型决策矩阵、5本算法Cookbook、11本完整例题Playbook、22个Python+7个MATLAB可运行代码模板。与math-modeling-paper形成"解题→写作"配对。当用户提及建模思路、选什么模型、怎么建模、赛题求解、粘贴赛题文本、美赛/国赛题目分…

    416 GitHub stars~2.1k tokensUpdated 2 mo ago
    Research & ScienceAuto-check passed
  • JS Perf Investigation

    SAP/project-foxhound

    Official

    Structured performance opportunity investigation for SpiderMonkey (the Firefox JavaScript engine).

    180 GitHub starsUsed in 1 repo~4.1k tokens
    Research & ScienceAuto-check passed

More from rand/cc-polymath

All 26 skills in this repo
  • Anti Slop

    rand/cc-polymath

    Comprehensive toolkit for detecting and eliminating "AI slop" - generic, low-quality AI-generated patterns in natural language, code, and design.

    181 GitHub stars~2.9k tokensUpdated 7 mo ago
    Auto-check passed
  • Typed Holes Refactor

    rand/cc-polymath

    Refactor codebases using Design by Typed Holes methodology - iterative, test-driven refactoring with formal hole resolution, constraint propagation, and continuous validation.

    181 GitHub stars~5.6k tokensUpdated 7 mo ago
    Auto-check passed
  • Discover Agentic

    rand/cc-polymath

    Automatically discover agentic workflow skills when building AI agents, implementing tool use patterns, managing context windows, decomposing complex tasks, or designing multi-step autonomous…

    181 GitHub starsUsed in 1 repo~1.4k tokens
    Auto-check passed
  • Elegant Design

    rand/cc-polymath

    Create world-class, accessible, responsive interfaces with sophisticated interactive elements including chat, terminals, code display, and streaming content.

    181 GitHub stars~2.7k tokensUpdated 7 mo ago
    Auto-check passed
  • Discover API

    rand/cc-polymath

    Automatically discover API design skills when working with REST APIs, GraphQL schemas, API authentication, OAuth, JWT, rate limiting, API versioning, error handling, or endpoint design.

    181 GitHub starsUsed in 1 repo~1.5k tokens
    Auto-check passed
  • Discover Database

    rand/cc-polymath

    Automatically discover database skills when working with SQL, PostgreSQL, MongoDB, Redis, database schema design, query optimization, migrations, connection pooling, ORMs, or database selection.

    181 GitHub stars~2k tokensUpdated 7 mo ago
    Auto-check passed

Questions about Discover Math

What does Discover Math do?

Automatically discover mathematics and algorithm skills when working with linear algebra, calculus, optimization, statistics, probability, numerical methods, category theory, or topology. Discover Math is an agent skill from rand/cc-polymath. Automatically discover mathematics and algorithm skills when working with linear algebra, calculus, optimization, statistics, probability, numerical methods, category theory, or topology.

When should I use Discover Math?

Discover Math fits situations like: tasks that involve Math and symbolic computation; tasks that involve Statistics.

How do I install Discover Math in Claude Code?

Run `npx skills add rand/cc-polymath --skill discover-math -a claude-code`. Or copy the skill folder (skills/discover-math in rand/cc-polymath) into .claude/skills/discover-math in your project. Claude Code loads it when a task matches its description.

How do I install Discover Math in Codex?

Run `npx skills add rand/cc-polymath --skill discover-math -a codex`. Or copy the skill folder (skills/discover-math in rand/cc-polymath) into .agents/skills/discover-math in your project. Codex loads it when a task matches its description.

Can I use Discover Math in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add rand/cc-polymath --skill discover-math -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/discover-math, .gemini/skills/discover-math, .github/skills/discover-math and .opencode/skills/discover-math in your project.

What does Discover Math need to run?

SKILL.md names no scripts, command-line tools or credentials: Discover Math is instructions for the agent only. Compatibility (from SKILL.md): Designed for Claude Code. Compatible with any agent supporting the Agent Skills format..

Does Discover Math access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Discover Math safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Discover Math use?

Discover Math is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Discover Math use?

About 547 tokens (SKILL.md is roughly 2.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Discover Math?

Skills that share tags, products or a category with Discover Math: Numerical Methods (brycewang-stanford/Auto-Empirical-Research-Skills, 4.5k stars), Math Solver (FerroxLabs/wayland, 608 stars), Math Tools (ananddtyagi/cc-marketplace, 687 stars) and Manuscript Statistics Audit (Yuan1z0825/nature-skills, 46k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Discover Math?

rand (a GitHub user) maintains it in rand/cc-polymath, which has 181 GitHub stars. The repository holds 26 skills in this directory. The repository was last updated on February 28, 2026.

Source: rand/cc-polymath on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.