Paper Equation Guide 标志

Paper Equation Guide

社区
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.

概览

发布者mkaremm80
代码仓库My-Skills-on-Claude
技能名称paper-equation-guide
星标数
91
复刻数
20
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 mkaremm80 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Paper Equation Guide AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/mkaremm80/My-Skills-on-Claude/tree/main/skills/paper-equation-guide
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

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
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Paper Equation Guide,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Paper Equation Guide。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Paper Equation Guide 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

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.

常见问题

Paper Equation Guide AI 技能有什么作用?

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.

为什么在 TypingMind 中使用 Paper Equation Guide?

因为您只需安装一次,就能搭配任何模型使用。Paper Equation Guide 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Paper Equation Guide?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/mkaremm80/My-Skills-on-Claude/tree/main/skills/paper-equation-guide。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Paper Equation Guide?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Paper Equation Guide 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Paper Equation Guide 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Paper Equation Guide AI 技能免费吗?

是的。mkaremm80 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇