Agent skill

Math Reasoning

by lingzhi227 in lingzhi227/agent-research-skills

Formal mathematical reasoning for research papers — derive equations, write proofs, formalize problem settings, select statistical tests, and generate LaTeX math notation.

No licenceAuto-check passedData & Analytics

Install Math Reasoning

skills CLI
$ npx skills add lingzhi227/agent-research-skills --skill math-reasoning -a claude-code

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

GitHub CLI
$ gh skill install lingzhi227/agent-research-skills math-reasoning --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/lingzhi227/agent-research-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/math-reasoning .claude/skills/math-reasoning && 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
math-reasoning
GitHub stars
386
Token cost
~639 tokens
SKILL.md length
211 words
Files
3 (incl. references)
Skills in repo
31
Repo updated
First seen
Licence
None found

At a glance

Formal mathematical reasoning for research papers — derive equations, write proofs, formalize problem settings, select statistical tests, and generate LaTeX math notation.

  • The user needs mathematical derivations
  • SKILL.md covers Input, Tasks, References and Rules, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Notation tables

What it does

Math Reasoning is an agent skill from lingzhi227/agent-research-skills. Formal mathematical reasoning for research papers — derive equations, write proofs, formalize problem settings, select statistical tests, and generate LaTeX math notation. Use when the user needs mathematical derivations, theorem proofs, notation tables, or statistical analysis formalization.

Its SKILL.md is about 640 tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/notation-guide.md` and `references/proof-templates.md`).

It sits in Data & Analytics, covering Statistics and LaTeX. It works with LaTeX. The repository describes itself as: Skills for Claude Code — deep-research: systematic academic literature review.

When your agent uses it

  • The user needs mathematical derivations
  • Notation tables
  • Statistical analysis formalization

Example prompts

  • “/math-reasoning”

What it can do on your machine

Read from SKILL.md and the folder at commit 9e6c085. 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.

Context cost

Math Reasoning loads about 639 tokens when it runs, and up to ~2.4k if it reads all its reference files. Until then it costs about 77 tokens; SKILL.md has 211 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~77
When it runs · the whole SKILL.md, loaded when a task matches
~639
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.4k

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

Without a licence we can't republish the file, so here is its outline and opening line. It has 211 words (~639 tokens).

“Perform rigorous mathematical reasoning and produce publication-quality LaTeX output.”

— opening of SKILL.md by lingzhi227
name
math-reasoning
argument-hint
task-or-context

Read the full SKILL.md on GitHub

Files

SKILL.md and 2 other files (references) in skills/math-reasoning of lingzhi227/agent-research-skills.

  • SKILL.md
  • references/notation-guide.md
  • references/proof-templates.md

Open the folder on GitHubat commit 9e6c085

Compare with similar skills

Math Reasoning 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.

Math Reasoning compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Math Reasoning this skilllingzhi227/agent-research-skills386—~639Automated safety check: PassNone
Oleafly Review ManuscriptOleafly/Oleafly209—~2.3kAutomated safety check: PassMIT
Exploratory Data AnalysisOleafly/Oleafly2092 repos~3.4kAutomated safety check: NotesMIT
Experimental DesignOleafly/Oleafly2093 repos~3.5kAutomated safety check: NotesMIT
Review RevisionM1n-n9/paper-lifecycle692—~2.3kAutomated safety check: PassNone
Tables And Figuresbrycewang-stanford/Auto-Empirical-Research-Skills4.5k—~1.7kAutomated safety check: PassCustom licence

Similar skills

  • Run a referee-grade review of the manuscript in the open project without changing a single manuscript file.

    209 GitHub stars~2.3k tokensUpdated today
    Research & ScienceAuto-check passed
  • Perform bounded, local exploratory analysis of explicitly supported scientific files.

    209 GitHub starsUsed in 2 repos~3.4k tokens
    Data & AnalyticsAuto-check: notes
  • Experimental Design

    Oleafly/Oleafly

    Design experiments and studies BEFORE data is collected — choosing a design, randomizing, blocking, and laying out treatment combinations so results are interpretable.

    209 GitHub starsUsed in 3 repos~3.5k tokens
    Research & ScienceAuto-check: notes
  • Review Revision

    M1n-n9/paper-lifecycle

    Review and revise academic papers with a senior-reviewer workflow.

    692 GitHub stars~2.3k tokensUpdated 3 mo ago
    Documents & OfficeAuto-check passed
  • Tables And Figures

    brycewang-stanford/Auto-Empirical-Research-Skills

    A skill your agent uses when generating a LaTeX results table, creating a figure for a paper, formatting descriptive statistics, preparing regression output for publication, or producing…

    4.5k GitHub stars~1.7k tokensUpdated 4 days ago
    Documents & OfficeAuto-check passed
  • Math Unicode

    hashgraph-online/awesome-codex-plugins

    A skill your agent uses when a response needs mathematical notation (equations, filters, set-builder notation, statistics, calculus, linear algebra, logic, ratios, drops, counts) and the output goes…

    1.3k GitHub stars~4.5k tokensUpdated today
    Documents & OfficeAuto-check passed

More from lingzhi227/agent-research-skills

All 31 skills in this repo
  • Backward Traceability

    lingzhi227/agent-research-skills

    Makes each number in a LaTeX paper link back to the code line that produced it, using hypertarget and hyperlink tags and compile-time `\num` formulas.

    386 GitHub stars~802 tokensUpdated 7 mo ago
    Auto-check passed
  • Statistical Data Analysis

    lingzhi227/agent-research-skills

    Writes statistical analysis code for experimental data, runs it through a four-round review, and reports effect sizes, p-values and confidence intervals.

    386 GitHub stars~886 tokensUpdated 7 mo ago
    Auto-check passed
  • Excalidraw Canvas Toolkit

    lingzhi227/agent-research-skills

    Draws and refines Excalidraw diagrams on a live canvas through MCP tools or a REST API, with screenshots, file import and export, snapshots and Mermaid conversion.

    386 GitHub stars~3.8k tokensUpdated 7 mo ago
    Auto-check passed
  • Research Experiment Designer

    lingzhi227/agent-research-skills

    Plans research experiments in four progressive stages, from a first working implementation through baseline tuning and creative research to ablation studies.

    386 GitHub stars~752 tokensUpdated 7 mo ago
    Auto-check passed
  • Scientific Figure Generation

    lingzhi227/agent-research-skills

    Generates publication-quality scientific figures with matplotlib or seaborn through query expansion, a run-and-retry coding loop and a visual check of the rendered PNG.

    386 GitHub stars~809 tokensUpdated 7 mo ago
    Auto-check passed
  • Research Idea Generation

    lingzhi227/agent-research-skills

    Generates and iteratively refines research ideas for a given area, checking each one's novelty against Semantic Scholar and arXiv, and scoring it on interestingness, feasibility and novelty.

    386 GitHub stars~747 tokensUpdated 7 mo ago
    Auto-check passed

Works with

Questions about Math Reasoning

What does Math Reasoning do?

Formal mathematical reasoning for research papers — derive equations, write proofs, formalize problem settings, select statistical tests, and generate LaTeX math notation. Math Reasoning is an agent skill from lingzhi227/agent-research-skills. Formal mathematical reasoning for research papers — derive equations, write proofs, formalize problem settings, select statistical tests, and generate LaTeX math notation.

When should I use Math Reasoning?

Math Reasoning fits situations like: the user needs mathematical derivations; notation tables; statistical analysis formalization.

How do I install Math Reasoning in Claude Code?

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

How do I install Math Reasoning in Codex?

Run `npx skills add lingzhi227/agent-research-skills --skill math-reasoning -a codex`. Or copy the skill folder (skills/math-reasoning in lingzhi227/agent-research-skills) into .agents/skills/math-reasoning in your project. Codex loads it when a task matches its description.

Can I use Math Reasoning 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 lingzhi227/agent-research-skills --skill math-reasoning -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/math-reasoning, .gemini/skills/math-reasoning, .github/skills/math-reasoning and .opencode/skills/math-reasoning in your project.

What does Math Reasoning need to run?

SKILL.md names no scripts, command-line tools or credentials: Math Reasoning is instructions for the agent only.

Does Math Reasoning 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 Math Reasoning 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 Math Reasoning use?

No licence was found for Math Reasoning or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Math Reasoning use?

About 639 tokens (SKILL.md is roughly 2.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.7k tokens, read only when the agent opens those files.

What are the alternatives to Math Reasoning?

Skills that share tags, products or a category with Math Reasoning: Oleafly Review Manuscript (Oleafly/Oleafly, 209 stars), Exploratory Data Analysis (Oleafly/Oleafly, 209 stars), Experimental Design (Oleafly/Oleafly, 209 stars) and Review Revision (M1n-n9/paper-lifecycle, 692 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Math Reasoning?

lingzhi227 (a GitHub user) maintains it in lingzhi227/agent-research-skills, which has 386 GitHub stars. The repository holds 31 skills in this directory. The repository was last updated on February 27, 2026.

Source: lingzhi227/agent-research-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.