Visual Paper logo

Visual Paper

Community
amelieloher
visual-paper

Build an interactive, audited "visual paper" website from a mathematical LaTeX paper (optionally with a Lean formalisation) — a zoomable dependency graph of the proofs, exact statements and step-by-step proofs quoted from the source, audited summaries, clickable notation, interactive figures, Lean badges, and a public static deployment. Use when turning a finished or nearly finished paper into a companion website, re-syncing one to a revised paper, auditing its dependency links, or launching it alongside an arXiv posting.

Overview

Publisheramelieloher
Repositorymath-paper-skills
Skill namevisual-paper
Stars
48
Forks
5
Bundled files
8
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.

  • 8 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

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

Installation

Install the Visual Paper 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/amelieloher/math-paper-skills/tree/main/skills/visual-paper
  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/amelieloher/math-paper-skills.git /tmp/math-paper-skills
mkdir -p .claude/skills
cp -r /tmp/math-paper-skills/skills/visual-paper .claude/skills/visual-paper
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Visual Paper 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 Visual Paper 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 Visual Paper 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.

Build a Visual Paper

A visual paper is a static website that lets a reader enter a mathematical paper through the structure of its proofs. The reader starts at a map of sections and main theorems and clicks down to subsections, individual results, the exact statement, a proof idea, numbered proof steps and the paper's own text for each step. Symbols open their definitions; figures illustrate the key mechanisms; a Lean badge marks what is formalised.

The governing rule: the site never shows mathematics that no one checked. Paper text is shown only by hashed reference to the pinned source, never copied or retyped. Every sentence an agent writes is a claim that cites the source spans it rests on, and is audited by an independent auditor before the build will publish it.

Every rule below comes from building two such sites: the companion to Armstrong–Kuusi–Loher, Homogenization at a polynomial scale in high contrast, and the companion to Loher–Mooney–Mouhot, Döblin–Fourier cancellation and kinetic Aleksandrov estimates.

Throughout, authors means the paper's authors, who hold every approval gate (★); writers are the agents that write the site's content (see orchestration).

Lifecycle

Carry the project through these phases; each ends at a gate. Stop only at an author gate (★), a genuine mathematical question, or missing authority.

  1. Brief and decisions. Pin the source (TeX, macro files, .aux, .bbl; the Lean repository and commit if any). Record the locked decisions in a plan of record: scope (which theorems first), proof depth ("the paper's own proofs; no mathematics beyond the paper"), hosting (private preview now, public only on the authors' word), the private/public repository split, and the integrity controls. ★ Authors approve the plan.
  2. Foundations. Extraction to a span index, anchors, the macro table and render harness, every check script, the site scaffold, a private preview. Calibrate the auditors with a trial packet of planted errors before any real audit. → architecture, integrity and audit. ★ Authors review the look and navigation.
  3. Structure. Section and subsection map (L0/L1), then per section: result nodes (including inline definitions, key labelled estimates, named claims), curated dependency links, proof-step cuts, summaries, proof ideas, notation entries, and one-line figure proposals. Audit every claim; iterate until the ledger is green. → dependency graph. ★ Authors review L0/L1 and a sample.
  4. Notation layer. One entry per macro, wrapped at build time so every occurrence opens its definition card.
  5. Figures. Decide with the math-figures skill which visuals earn their place. Writers, acting as figure designers, propose specs with citations → audited → ★ authors approve the list → builders implement → a different auditor checks each build against its spec. → figures.
  6. External inputs and Lean (when the paper leans on an earlier paper, or has a formalisation). → external sources and Lean.
  7. Polish and launch. Reading mode, accessibility, sub-path safety, head metadata, licences, a public repository holding only the built site, and an arXiv watcher. → site and launch. ★ Authors choose the go-live moment.
  8. Maintenance. Re-sync to each revision of the paper, re-audit or record an explicit author waiver, audit the dependency links end to end, redeploy. → orchestration.

Non-negotiable controls

  • Anchors, not copies. Content files hold {file, start, end, sha256, label?} anchors; the build extracts text from the pinned source. A changed span voids every verdict that depends on it.
  • Deterministic TeX. One reviewed macro table; a harness renders every snippet and fails the build on any KaTeX error or unknown macro. Fix macros in the table, never in content.
  • Proof steps are cut points whose pieces concatenate exactly to the proof span.
  • Every agent sentence is a cited claim, rejected by schema if uncited, if it uses a symbol not in the notation table, or a numeral absent from its cited spans.
  • Independent blind audit by a different model family, with planted errors (canaries) whose key lives outside the repository; fail-closed ledger bound to the claim and span hashes. The orchestrator never overrules an auditor on mathematics.
  • Dependency links are curated and cited: mechanical \ref baseline, each drop justified, each addition anchored to the words that show the use.
  • Private until the authors decide. The source repository stays private; only the built site is ever published.

Working rules

  • Delegate reading of the paper; agents write files and return short reports. See orchestration for roles, briefs, worktrees and the failure modes met in practice.
  • Verify every UI change in real headless browsers, Chromium and WebKit (figures render, no page errors, no KaTeX errors, sub-path serving), before any preview or deploy. Reading files and unit tests alone have shipped a site with no figures, and Chromium alone missed figures that Safari showed broken.
  • Report paper-level problems found along the way (wrong section pointers, missing references, typos) to the authors as a list; do not silently paper over them on the site. Edit the paper only when asked.
  • Keep a change log in the plan of record for every approved deviation.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Visual Paper AI skill do?

Build an interactive, audited "visual paper" website from a mathematical LaTeX paper (optionally with a Lean formalisation) — a zoomable dependency graph of the proofs, exact statements and step-by-step proofs quoted from the source, audited summaries, clickable notation, interactive figures, Lean badges, and a public static deployment. Use when turning a finished or nearly finished paper into a companion website, re-syncing one to a revised paper, auditing its dependency links, or launching it alongside an arXiv posting.

Why use Visual Paper on TypingMind?

Because you install it once and use it with any model. Visual Paper 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 Visual Paper in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/amelieloher/math-paper-skills/tree/main/skills/visual-paper. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Visual Paper?

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 Visual Paper?

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

Is the Visual Paper AI skill free?

It is published on GitHub by amelieloher. Check the repository for licensing terms. 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 👇