beamer-check — Claude Code skill: audit Beamer slides, fix layout
beamer-check compiles a Beamer deck, reviews every rendered slide, then repairs the overflows, broken figures and blank frames it turns up.
no license ★ 165 updated 2026-08-21
npx skills add aspi6246/Claude-Code-Skills-for-Academics --skill beamer-check -a claude-codeWhat beamer-check does
The skill runs a deck through a loop: build it, look at it, patch it, build again. A bundled script calls pdfLaTeX twice, reads the log for errors, warnings, overfull and underfull boxes and files it could not find, renders each page to PNG and writes a diagnostics.json summary. Invoke it with python {baseDir}/scripts/beamer_check.py <path-to-tex-file> --output-dir <work-dir>/beamer-check-output.
Then comes the part a log cannot do. The agent opens every rendered slide and hunts for text past the right or bottom edge, collisions with the theme's header and footer, type smaller than \footnotesize, tables wider than the frame, stretched images, blank frames and clipped titles.
Nothing is changed in your .tex until you agree to it. The usual repairs are \sloppy, \small, [allowframebreaks], \resizebox and \IfFileExists as a placeholder for a missing figure. Splitting a crowded frame beats squeezing it with [shrink]. A second run follows, then a short report of what was found and what got fixed.
What it helps with
- catch overfull boxes before the deck reaches a projector
- split a crowded frame instead of shrinking the type
- spot images with the wrong aspect ratio in the rendered PDF
- keep verbatim code inside the text width
- clear blank frames and repeated titles out of a long deck
Example prompts for the agent
- Check my slides in
talk.tex, the text runs off the right edge. - Compile
slides.texand show me where the layout breaks. - Re-run the check after those edits and give me the report.
How to install beamer-check
1Skills CLI (Vercel)
npx skills add aspi6246/Claude-Code-Skills-for-Academics --skill beamer-check -a claude-code2Manually: put the files in place
~/.claude/skills/beamer-check/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/beamer-check/
1Skills CLI (Vercel)
npx skills add aspi6246/Claude-Code-Skills-for-Academics --skill beamer-check -a codex2Manually: put the files in place
.agents/skills/beamer-check/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add aspi6246/Claude-Code-Skills-for-Academics --skill beamer-check -a cursor2Manually: put the files in place
.cursor/skills/beamer-check/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install aspi6246/Claude-Code-Skills-for-Academics beamer-check2Manually: put the files in place
.github/skills/beamer-check/SKILL.md1Skills CLI (Vercel)
npx skills add aspi6246/Claude-Code-Skills-for-Academics --skill beamer-check -a gemini-cli2Platform CLI
gemini skills install https://github.com/aspi6246/Claude-Code-Skills-for-Academics --path beamer-checkManually: put the files in place
.devin/skills/beamer-check/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about beamer-check
How do I install beamer-check in Claude Code?
Run npx skills add aspi6246/Claude-Code-Skills-for-Academics --skill beamer-check -a claude-code. The skill file ends up at ~/.claude/skills/beamer-check/SKILL.md.
What does beamer-check do?
It builds the Beamer deck, parses the compile log, renders each slide to PNG and inspects the images. Overflows, broken figures and empty frames get fixed, and a fresh build confirms the result.
What do I need to run it?
Python for the diagnostic script and pdfLaTeX, since the deck is compiled with it and the log is read from that run.