Turn your course slides and PDFs into dense, exam-ready LaTeX cheatsheets — powered by Claude Code. One command. Browser-based config. AI-generated LaTeX. Iterative editing loop. Done.
$ npx -y skills add evan715823/cheatsheet-generator-skill --agent claude-code
What's inside
Turn your course slides and PDFs into dense, exam-ready LaTeX cheatsheets — powered by Claude Code.
One command. Browser-based config. AI-generated LaTeX. Iterative editing loop. Done.
you: /cheatsheet-generator
↓
┌─────────────────────────────────────────────────────────┐
│ Phase 1: Configure in browser │
│ → paper size, columns, colors, font, file selection │
├─────────────────────────────────────────────────────────┤
│ Phase 2: Claude reads your materials & generates .tex │
│ → PDFs, PPTX, Markdown, images — all supported │
├─────────────────────────────────────────────────────────┤
│ Phase 3: Live editor in browser │
│ → request changes in natural language, Claude edits │
└─────────────────────────────────────────────────────────┘
↓
cheatsheet.tex — ready for Overleaf (XeLaTeX)
Generated cheatsheets — compiled in Overleaf with XeLaTeX:
Sample materials are available in
skills/cheatsheet-generator/examples/sample_materials/— try them yourself!
npx skills add https://github.com/Evan715823/cheatsheet-generator-skill
Then install Python dependencies:
pip install flask python-pptx pymupdf
cd into a folder containing your course materials (PDFs, slides, notes)generate a cheatsheet for my exam based on the <your material files>
Or use the slash command directly:
/cheatsheet-generator
cheatsheet.texcheatsheet.tex to Overleaf, compile with XeLaTeX| Classic | Ocean | Forest | Sunset | Mono |
|---|---|---|---|---|
| 🔵 Deep blue | 🌊 Royal blue | 🌲 Forest green | 🌅 Burnt orange | ⬛ Slate gray |
| Cyan / Purple | Teal / Indigo | Teal / Brown | Crimson / Magenta | Blue-gray tones |
| Green | Sea green | Olive | Amber | Cool gray |
All schemes include yellow highlight for critical formulas.
| Category | Options |
|---|---|
| Paper | Letter, A4, A3 |
| Orientation | Landscape, Portrait |
| Columns | 2 – 6 |
| Font size | 4 – 8 pt |
| Font | Verdana, Arial, Helvetica Neue, Times New Roman, Courier New, CMU Serif |
| Margins | 2 – 12 mm |
| Detail level | Concise (bullets only), Moderate (short explanations), Detailed (derivations + examples) |
| Content toggles | Include proofs, examples, derivations |
| Exam focus | Free-text field to prioritize specific topics |
skills/cheatsheet-generator/
├── SKILL.md # Claude Code skill definition (orchestrator)
├── scripts/
│ ├── config_server.py # Phase 1: browser config form server
│ └── editor_server.py # Phase 3: iterative editing server
├── templates/
│ ├── cheatsheet_base.tex # Parameterized LaTeX template
│ ├── config_form.html # Configuration UI
│ └── editor_ui.html # Editing/preview UI
└── examples/
├── sample_output.tex # Reference cheatsheet (compilable)
├── sample_materials/ # Sample PDFs to try the skill
└── screenshots/ # README images
A local Flask server launches and opens a browser form. You configure layout (paper, columns, font, margins), content settings (detail level, proofs, examples), select a color scheme, and pick which files to include. Submitting writes .cheatsheet_config.json and the server exits.
Claude reads every selected file:
python-pptx + all embedded imagesThen generates a complete cheatsheet.tex using the base template with your config values. Content is organized by topic, color-coded with semantic commands (\concept{}, \process{}, \category{}, \important{}), and packed to fill the entire page.
Another Flask server launches with a split-panel editor:
The server uses a blocking HTTP protocol — no polling, no file watching. When you submit a request, Claude reads the current .tex, applies your change, and posts the result back. Repeat until satisfied, then click Done.
fontspec custom fontscheatsheet.texlatexmk and pdftoppm for live PDF preview in the editor (optional)| Dependency | Required | Purpose |
|---|---|---|
| Claude Code | ✅ | AI engine |
| Python 3.8+ | ✅ | Server scripts |
| Flask | ✅ | Web servers |
| python-pptx | ⚠️ | PPTX reading (install if you have slides) |
| pymupdf | ⚠️ | PDF text extraction fallback |
| latexmk + pdftoppm | ❌ | Optional: live PDF preview in editor |
MIT
.gitignore
LICENSE
README.md
skills/
cheatsheet-generator/
examples/
sample_materials/
test (1).pdf
test (2).pdf
test (3).pdf
sample_output.tex
screenshots/
example_1.png
example_2.png
example_3.png
scripts/
config_server.py
editor_server.py
SKILL.md
templates/
cheatsheet_base.tex
config_form.html
editor_ui.htmlFAQ
cheatsheet-generator-skill is a Claude Code plugin with 1 hand-picked skill for education work, indexed on Flowy. Install it with the command on its page. It includes cheatsheet-generator. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.