Paper Equation Guide logo

Paper Equation Guide

Community
mkaremm80
paper-equation-guide

Explain every equation of a research paper in a colored PDF guide: labeled equation terms, plain meaning, worked numeric examples, helper drawings and simulation checks. Use when asked to explain a paper's math.

Overview

Publishermkaremm80
RepositoryMy-Skills-on-Claude
Skill namepaper-equation-guide
Stars
91
Forks
20
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by mkaremm80 on GitHub. Read the source before you install it.

Installation

Install the Paper Equation Guide AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/mkaremm80/My-Skills-on-Claude/tree/main/skills/paper-equation-guide
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/mkaremm80/My-Skills-on-Claude.git /tmp/My-Skills-on-Claude
mkdir -p .claude/skills
cp -r /tmp/My-Skills-on-Claude/skills/paper-equation-guide .claude/skills/paper-equation-guide
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Paper Equation Guide in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Paper Equation Guide on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Paper Equation Guide is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Paper Equation Guide

Turn the mathematics of any research paper (PDF or LaTeX) into a colored, easy-to-read PDF guide. Every equation is shown with each term highlighted in color and labeled with an arrow, then explained in plain words, derived briefly, illustrated with real numbers and (when useful) a drawing, and checked by simulation.

Writing style: English, short sentences, simple words (B2 level), professional. Numbers quoted from the paper must match the paper. Numbers from your own worked example must be clearly labeled as an illustration (state the parameters and that one example realization or fixed seed is used).

Step 1 - Read and map the math

  1. Read the whole paper. List every numbered equation, proposition/lemma/theorem, the key unnumbered formulas (cost/complexity, metrics such as reduction %, confidence intervals, normalized quantities), and every symbol with its meaning and nominal value.
  2. Build the equation map: which equation feeds which (e.g., model -> estimator -> score -> decision; geometry -> dimension -> rule). Note what each proposition explains.
  3. Note notation problems for the authors (same symbol used for two things, undefined symbols, inconsistent figure vs. text notation). Report them in a small "notation point" box.

Step 2 - Compute worked examples and verify

  • Pick one small, representative operating point from the paper (its nominal parameters). Write a Python script (numpy/scipy) that computes, for each equation, concrete example values (e.g., matrix entries, posterior mean/variance at a few indices, scores, probabilities, eigenvalues and cumulative energy, cost counts).
  • Look for a teaching example that shows WHY an equation is needed (e.g., two cases with the same mean but different outage; an adjacent next choice showing clustering).
  • Verify every closed-form result by Monte Carlo (about 1e6 samples) or direct computation, and record formula vs. simulation in a table.
  • Do NOT name a Python script numbers.py (it shadows the standard library module and breaks numpy). Use names like eq_numbers.py.

Step 3 - Helper drawings

With matplotlib (STIXGeneral font, mathtext stix, pdf.fonttype=42, about 6.6 x 3.3 in, 10-11 pt):

  • a plot that shows the meaning of a model equation (e.g., correlation vs. distance),
  • what the estimator believes after a few measurements (true value vs. predicted, and uncertainty),
  • how a probability formula depends on its inputs (with the teaching example marked),
  • spectrum / cumulative energy for a dimension definition. Add notes with ax.annotate(..., arrowprops=dict(arrowstyle='-|>', color='#C0392B'), bbox=dict(boxstyle='round,pad=0.3', fc='#FFF8E1', ec='#E09F3E')). Put notes in empty areas, increase ylim to create headroom, move legends away from data. Render each plot to PNG (pdftoppm -r 70) and check for overlaps before using it. For rank/size arguments, draw simple TikZ matrix shapes (wide vs. tall rectangle) instead of a plot.

Step 4 - Labeled equations (annotate-equations)

Use the LaTeX package annotate-equations (needs two or more pdflatex runs):

latex
\usepackage{annotate-equations}
\renewcommand{\eqnhighlightheight}{\mathstrut}
\renewcommand{\eqnannotationfont}{\bfseries\small}
...
\vspace*{2.2em}
\begin{equation*}
\eqnmarkbox[teal]{mu}{\bm\mu}=\eqnmarkbox[blue]{c}{\mathbf C}\,\eqnmarkbox[orange]{a}{\mathbf A^{-1}}\,\eqnmarkbox[red]{y}{\mathbf y}
\end{equation*}
\annotate[yshift=1.2em]{above,left}{mu}{best guess}
\annotate[yshift=-1.2em]{below,right}{y}{measured data}
\vspace*{2.0em}

Rules that avoid collisions:

  • Wrap each labeled equation in a titled tcolorbox and reserve space with \vspace*{2.2em} before and \vspace*{2.0em} after (more if labels are stacked).
  • Alternate labels above/below and left/right; never put two labels on the same side at the same height next to each other. When needed, stack them with a larger yshift (e.g., 2.6em).
  • Keep labels short (3-6 words). Long equations: split into two displayed lines (e.g., mean on one line, covariance on the next), each with its own labels.
  • Labels must not cross the box edge: use left labels for left terms and right labels for right terms, and shorten text if needed.

Step 5 - Build the colored PDF

LaTeX article, A4, helvet sans, xcolor[table], tcolorbox[most], tikz (arrows.meta, positioning, calc, fit, backgrounds), booktabs, tabularx, xltabular, enumitem, titlesec, fancyhdr, float, caption, needspace, bm, annotate-equations. Colors: navy #1B3A5C, teal #00798C, rosered #D1495B, amber #E09F3E, leaf #2E8B57, plum #6A4C93. Boxes: verdict (teal), goodbox (green, small example), notebox (amber, where it comes from / notes), eqbox (navy title, the labeled equation). Define \newcolumntype{P}[1]{>{\raggedright\arraybackslash}p{#1}} and pass box titles as title={#1}.

Structure:

  1. Cover banner (navy band): "How to Read Every Equation in the Paper", paper title, date.
  2. Equation map (TikZ grid, absolute positions such as \def\dx{33mm}\def\dy{21mm}, boxes about 26 mm wide, straight arrows only, no crossings, short arrow labels) + one-line story + "how each section is built" note.
  3. All symbols in one table (symbol | simple meaning | value in paper) + notation-point box.
  4. One section per equation / proposition: labeled equation box -> "In plain words" -> "Where it comes from" (2-3 lines, when a derivation exists) -> helper drawing -> "Small example" with real numbers -> "Why the paper needs it".
  5. Cost/complexity formulas with an operation-count example.
  6. Table of the formulas behind the reported numbers (reduction %, CI with the t value, normalized metrics) with one example each from the paper.
  7. Checked by simulation table (formula vs. simulation) and a short statement of correctness; report any error found.
  8. Summary: one line per equation. Use \clearpage before major sections that hold big boxes and \Needspace{12\baselineskip} before smaller headings to avoid orphan headings.

Compile 3 times (pdflatex -interaction=nonstopmode). Missing packages: apt-get update && apt-get install -y texlive-latex-extra texlive-fonts-extra texlive-science texlive-pictures. If newtxmath fails with binhex.tex not found, use mathptmx.

Step 6 - Check before sending

  • Crop every equation box from the PDF (PyMuPDF page.search_for(title) then get_pixmap(clip=...)) and look at them stacked: no overlapping labels, no label outside the box, no text hidden.
  • Render all pages into a montage and check the equation map and page breaks.
  • Confirm all paper numbers match the paper and all example numbers match the script output.
  • Deliver the PDF with SendUserFile and summarize what each section contains, plus any notation issue or error found. Number new versions (v2, v3, ...) when the user asks for changes.

Frequently asked questions

What does the Paper Equation Guide AI skill do?

Explain every equation of a research paper in a colored PDF guide: labeled equation terms, plain meaning, worked numeric examples, helper drawings and simulation checks. Use when asked to explain a paper's math.

Why use Paper Equation Guide on TypingMind?

Because you install it once and use it with any model. Paper Equation Guide is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Paper Equation Guide in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/mkaremm80/My-Skills-on-Claude/tree/main/skills/paper-equation-guide. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Paper Equation Guide?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Paper Equation Guide?

As many as you like. As long as a model supports skills, you can use Paper Equation Guide with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Paper Equation Guide AI skill free?

Yes. It is published on GitHub by mkaremm80 under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇