verymath/ai4math-writing/math-beamer
Claude Code and agent skill by verymath/ai4math-writing
- community
- ext:[{"type":"template","description":"Custom templates for code generation"}]
Checking that the SKILL.md file is still in the repository.
Use when creating, revising, or auditing source-grounded mathematical Beamer slide decks from papers, notes, proofs, lectures, experiments, or existing LaTeX slides across pure mathematics, applied mathematics, computational mathematics, statistics, optimization, geometry, topology, algebra, number theory, combinatorics, graph theory, logic, foundations, category theory, analysis, PDEs, dynamical systems, control theory, information theory, coding theory, cryptography, and teaching contexts.
Install
npx vskill@latest install verymath/ai4math-writing/math-beamerSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as verymath/ai4math-writing/math-beamer.
Math Beamer
Build and audit mathematical Beamer decks that are meant to be presented, compiled, and traced back to source material. This skill covers mathematical slide structure, not generic slide decoration.
Use When
Use this skill when the user wants to:
- turn a mathematical paper, lecture note, proof sketch, experiment log, or
theorem outline into a Beamer deck;
- revise an existing
.texBeamer project for mathematical clarity,
source-grounded claims, or build reliability;
- select a reusable template for a seminar, reading group, defense, course,
workshop, poster, or domain-specific math talk;
- audit theorem/proof/algorithm/formula/figure slides for notation,
assumptions, overclaiming, and layout risks;
- build a Chinese, English, or bilingual mathematics deck with reproducible
LaTeX commands.
Do not use this skill to invent results, prove unverified theorems, fabricate citations, or make institutional-branded templates public without checking license and logo rights.
Inputs
- Required: presentation goal, source packet, target audience, language, talk
duration or slide count, and preferred output folder.
- Optional: existing Beamer source, bibliography, figures, data files,
institutional style constraints, template choice, handout/poster mode, speaker notes, and compile command.
If the source packet is missing, produce a source request or an outline of needed evidence. Do not produce a full deck with unsupported claims.
Guided Interaction Contract
Default to guided mode unless the user explicitly requests autonomous execution or has already supplied an approved brief, template, outline, and sample direction.
- Work on one stage at a time. Ask only for decisions needed by the current
stage.
- End every guided response with a checkpoint containing:
- current stage;
- what was completed;
- the decision needed from the user;
- available responses:
approve,revise,reject,skip, orstop; - what will happen after approval.
- Do not interpret silence, a new attachment, or a general acknowledgement as
approval for a later stage.
- A user may combine stages only by explicitly providing the decisions for
each skipped checkpoint.
The following gates are mandatory in guided mode:
- Brief gate: confirm audience, language, duration, purpose, source of
truth, and output form.
- Style gate: show two or three suitable template candidates with cover
and content previews; wait for the user to choose one.
- Outline gate: present the talk thesis, section map, and slide budget;
wait for approval or revision.
- Sample gate: compile representative pages as described in Stage 4,
keeping the selected template's page types. Compare them with the selected previews, then show the result for approval of typography, density, and formula treatment within that template.
Do not build the full deck before all four gates have been approved or explicitly skipped.
For the first response:
- inspect the available source packet;
- report the source inventory, likely mathematical genre, and missing
evidence;
- ask only for missing brief-gate decisions;
- state the next checkpoint.
Do not select a final template, write a full outline, or generate a full deck in the first response unless the user explicitly requests autonomous execution.
Outputs
- Beamer source tree, usually
main.texplus figures, bibliography, and local
style files when needed.
- PDF build output when compilation is approved and tools are available.
slide-source-ledger.mdmapping slide claims, theorem statements, formulas,
algorithms, figures, and numeric results to sources.
- Build and layout report covering command, engine, warnings, errors,
references, citations, missing assets, fonts, and overfull boxes.
- Revision notes that distinguish mathematical meaning risks from mechanical
layout fixes.
Source Attribution
- Keep all slide-to-source mappings in
slide-source-ledger.md, including
theorem statements, formulas, figures, and numerical results.
- By default, do not add
Source: ...or来源:……lines at the bottom of
each slide, source footnotes, or repeated source bars. Do not turn ledger entries into visible slide text.
- Treat source placeholders in starter templates as prompts for the ledger;
omit those placeholders from the rendered slides. Preserve the template's title, author, and page-number footer without adding source text.
- Add visible source citations only when the user explicitly requests them.
Keep the ledger complete when visible citations are requested as well.
Template Selection
Start from templates/preview-gallery.md, then confirm metadata in templates/catalog.yaml. Inspect both the cover and first-content preview. Filter the catalog to two or three candidates and present each candidate with:
- template name and preview paths;
- visual character and mathematical genre fit;
- strengths, density risks, language, and build engine;
- a recommendation without silently making the final choice.
Wait for the style-gate decision before drafting the outline. Select the smallest template that matches the mathematical genre:
| Need | Template family | |
|---|---|---|
| General seminar | seminar-minimal-en, seminar-minimal-zh | |
| Theorem-heavy talk | theorem-proof-talk | |
| Paper reading group | reading-group-paper | |
| Optimization | optimization-talk | |
| Numerical analysis / scientific computing | numerical-analysis-talk | |
| Algorithms / complexity | algorithm-talk | |
| Probability / statistics | probability-statistics-talk | |
| Geometry / topology | geometry-topology-talk | |
| Algebra / number theory | algebra-number-theory-talk | |
| Combinatorics / graph theory | combinatorics-graph-talk | |
| Logic / foundations / category theory | logic-foundations-category-talk | |
| Core analysis | analysis-core-talk | |
| PDE | pde-analysis-talk | |
| Dynamical systems | dynamical-systems-talk | |
| Control systems | control-systems-talk | |
| Information / coding / cryptography | information-coding-crypto-talk | |
| Experiment or data report | data-experiment-results | |
| Chinese course lecture | course-lecture-zh | |
| Thesis defense | thesis-defense | |
| Workshop tutorial | workshop-tutorial | |
| Backup-heavy research talk | backup-heavy-talk | |
| Poster | beamerposter-a0 |
Institutional or downloaded templates are references until their license, branding, personal data, and build status are checked.
Preserve The Selected Template
The selected template defines the deck's layout as well as its colors. Apply these rules in guided mode, autonomous mode, and later revisions. Skipping a checkpoint does not discard an existing template choice.
- Record the selected template name, source path, cover/content previews, and
explicitly requested style changes in the existing brief or source packet. Reuse that choice when continuing the work.
- Read the recorded template source and its local style files. For bundled
templates, the entry point is templates/packs/<name>/main.tex; for supplied templates, use their actual entry point. Start the deck from those sources; replace the title, author, date, sections, and frame contents while retaining the template setup and layout commands. For an existing deck, continue from its source and approved style changes.
- Preserve the theme, color and font settings, aspect ratio, margins, cover
structure, frame-title treatment, headline, footline, navigation, and block styles. Keep the existing title-page mechanism, such as \titlepage. Content may use suitable text, formulas, figures, tables, or columns within that framework. Matching the palette alone is not template reuse.
- Treat requests to polish or improve layout as content adjustments within
the selected framework. Resolve overflow through shorter wording, formula line breaks, or additional frames while preserving mathematical meaning. Do not replace the cover, override template elements, or shrink global fonts to make the content fit.
- If the user explicitly requests a style change, apply that change and retain
the other template elements. If proposing a redesign, show the specific change for the user's decision before applying it. General approval of an outline or sample does not permit further template changes.
- If the corresponding source is unavailable, state that limitation before
reconstructing a layout; do not describe a reconstruction as reuse of the selected template.
Compare rendered samples and the final deck with the selected previews and approved samples using references/build-and-layout-audit.md. Correct unrequested style changes before delivery.
Guided Workflow
Stage 0: Source Intake
Inspect the source packet and identify the mathematical genre: theorem, proof, algorithm, computation, experiment, survey, lecture, defense, or poster. Separate confirmed sources from missing or conflicting evidence.
Stage 1: Brief Gate
Confirm audience, language, duration or slide count, presentation purpose, authoritative source, output folder, build permission, and institutional branding constraints. Recommend sensible defaults, but wait for approval.
Stage 2: Style Gate
Show two or three template candidates from the preview gallery. Explain the tradeoffs and wait for the user to select or revise the shortlist. If the user has already selected a template, carry that choice forward without asking them to select it again. Record it as described above.
Stage 3: Outline Gate
Create a talk thesis, section map, and slide budget. Keep most talks to two to four main sections unless the user requests a long lecture. Identify the role of each planned theorem, proof, algorithm, figure, or experiment frame. Wait for approval.
Stage 4: Sample Gate
Draft and compile at least one content-dense mathematical frame from the selected template's source, plus its cover with actual metadata when the template has a cover. For a single-page poster, use the compiled poster page. Compare the rendered pages with the selected previews before showing them. Keep the template's typography, colors, and page structure; review density, notation, and formula treatment within that layout. Wait for sample approval.
Stage 5: Full Deck
Extend the approved sample source into the full deck, retaining the selected template and explicit style changes. Build from source-grounded claims. Preserve assumptions, domains, quantifiers, theorem status, proof status, citations, and numeric results. Write or update slide-source-ledger.md while drafting, not after the fact. Apply the Source Attribution defaults when deciding what appears on slides.
Stage 6: Build And Audit
Compile with the appropriate engine:
- English default:
latexmk -pdf -interaction=nonstopmode -halt-on-error main.tex - Chinese or mixed CJK default:
latexmk -xelatex -interaction=nonstopmode -halt-on-error main.tex
Audit the log, PDF, references, citations, figures, fonts, overfull boxes, navigation, and frame density. Compare representative rendered pages with the selected template and approved samples, including the cover when present. Restore any unrequested template changes, including overrides introduced while fixing layout. Report any change that could affect mathematical meaning.
Stage 7: Delivery
Return the deck, evidence ledger, build report, unresolved risks, and focused revision options.
Mathematical Coverage Rules
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/math-beamer/SKILL.md
Popularity
- Repository stars
- 7
- 7-day trend score
- 10
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
templateCustom templates for code generation
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/verymath/ai4math-writing/math-beamer)