Skip to content
Back to search

cheatsheet-generator-skill

Turn your course slides and PDFs into dense, exam-ready LaTeX cheatsheets.

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/evan715823--cheatsheet-generator-skill/badge.svg)](/listings/evan715823--cheatsheet-generator-skill)

HTML

<a href="/listings/evan715823--cheatsheet-generator-skill"><img src="/api/listings/evan715823--cheatsheet-generator-skill/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

Install

npx skills add https://github.com/Evan715823/cheatsheet-generator-skill

Then install Python dependencies:

pip install flask python-pptx pymupdf

Use

1. `cd` into a folder containing your course materials (PDFs, slides, notes) 2. Run Claude Code and type:

   generate a cheatsheet for my exam based on the <your material files>

Or use the slash command directly:

   /cheatsheet-generator

3. A browser window opens — configure your cheatsheet layout, select files, pick a color scheme 4. Claude reads all materials and generates `cheatsheet.tex` 5. Another browser window opens — request edits in natural language until you're happy 6. Upload `cheatsheet.tex` to [Overleaf](https://www.overleaf.com), compile with **XeLaTeX**

---

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 188 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. # 📄 Claude Cheatsheet Generator
  2. > Turn your course slides and PDFs into **dense, exam-ready LaTeX cheatsheets** — powered by [Claude Code](https://docs.anthropic.com/en/docs/claude-code).
  3. One command. Browser-based config. AI-generated LaTeX. Iterative editing loop. Done.
  4. ```
  5. you: /cheatsheet-generator
  6. ↓
  7. ┌─────────────────────────────────────────────────────────┐
  8. │ Phase 1: Configure in browser │
  9. │ → paper size, columns, colors, font, file selection │
  10. ├─────────────────────────────────────────────────────────┤
  11. │ Phase 2: Claude reads your materials & generates .tex │
  12. │ → PDFs, PPTX, Markdown, images — all supported │
  13. ├─────────────────────────────────────────────────────────┤
  14. │ Phase 3: Live editor in browser │
  15. │ → request changes in natural language, Claude edits │
  16. └─────────────────────────────────────────────────────────┘
  17. ↓
  18. cheatsheet.tex — ready for Overleaf (XeLaTeX)
  19. ```
  20. ---
  21. ## 📸 Examples
  22. Generated cheatsheets — compiled in Overleaf with XeLaTeX:
  23. <img src="skills/cheatsheet-generator/examples/screenshots/example_1.png" alt="Generated cheatsheet example 1: Mathematical Optimization" width="100%">
  24. <img src="skills/cheatsheet-generator/examples/screenshots/example_3.png" alt="Generated cheatsheet example 3: Distributed Systems" width="100%">
  25. <img src="skills/cheatsheet-generator/examples/screenshots/example_2.png" alt="Generated cheatsheet example 2: Machine Learning" width="100%">
  26. > Sample materials are available in [`skills/cheatsheet-generator/examples/sample_materials/`](skills/cheatsheet-generator/examples/sample_materials/) — try them yourself!
  27. ---
  28. ## ✨ Features
  29. - **Multi-format input** — reads PDFs (with images/diagrams), PPTX (text + embedded media), Markdown, plain text, and images (PNG/JPG)
  30. - **Browser-based configuration** — clean UI to set paper size, columns (2–6), font, margins, color scheme, detail level, and select which files to include
  31. - **5 color schemes** — Classic, Ocean, Forest, Sunset, Mono — all designed for print readability
  32. - **Extreme density** — fills every inch of the page with color-coded, abbreviated, formula-heavy content
  33. - **Smart organization** — groups by topic hierarchy, not source file order; prioritizes exam-focus topics
  34. - **Iterative editing** — browser-based editor where you describe changes in plain English (or attach images); Claude applies them live
  35. - **Image-aware** — upload screenshots of formulas or diagrams during editing; Claude sees and incorporates them
  36. - **XeLaTeX-ready** — output compiles directly in Overleaf with custom fonts
  37. ---
  38. ## 🚀 Quick Start
  39. ### Install
  40. ```bash
  41. npx skills add https://github.com/Evan715823/cheatsheet-generator-skill
  42. ```
  43. Then install Python dependencies:
  44. ```bash
  45. pip install flask python-pptx pymupdf
  46. ```
  47. ### Use
  48. 1. `cd` into a folder containing your course materials (PDFs, slides, notes)
  49. 2. Run Claude Code and type:
  50. ```
  51. generate a cheatsheet for my exam based on the <your material files>
  52. ```
  53. Or use the slash command directly:
  54. ```
  55. /cheatsheet-generator
  56. ```
  57. 3. A browser window opens — configure your cheatsheet layout, select files, pick a color scheme
  58. 4. Claude reads all materials and generates `cheatsheet.tex`
  59. 5. Another browser window opens — request edits in natural language until you're happy
  60. 6. Upload `cheatsheet.tex` to [Overleaf](https://www.overleaf.com), compile with **XeLaTeX**
  61. ---
  62. ## 🎨 Color Schemes
  63. | Classic | Ocean | Forest | Sunset | Mono |
  64. |:---:|:---:|:---:|:---:|:---:|
  65. | 🔵 Deep blue | 🌊 Royal blue | 🌲 Forest green | 🌅 Burnt orange | ⬛ Slate gray |
  66. | Cyan / Purple | Teal / Indigo | Teal / Brown | Crimson / Magenta | Blue-gray tones |
  67. | Green | Sea green | Olive | Amber | Cool gray |
  68. All schemes include yellow highlight for critical formulas.
  69. ---
  70. ## ⚙️ Configuration Options
  71. | Category | Options |
  72. |---|---|
  73. | **Paper** | Letter, A4, A3 |
  74. | **Orientation** | Landscape, Portrait |
  75. | **Columns** | 2 – 6 |
  76. | **Font size** | 4 – 8 pt |
  77. | **Font** | Verdana, Arial, Helvetica Neue, Times New Roman, Courier New, CMU Serif |
  78. | **Margins** | 2 – 12 mm |
  79. | **Detail level** | Concise (bullets only), Moderate (short explanations), Detailed (derivations + examples) |
  80. | **Content toggles** | Include proofs, examples, derivations |
  81. | **Exam focus** | Free-text field to prioritize specific topics |
  82. ---
  83. ## 📁 Project Structure
  84. ```
  85. skills/cheatsheet-generator/
  86. ├── SKILL.md # Claude Code skill definition (orchestrator)
  87. ├── scripts/
  88. │ ├── config_server.py # Phase 1: browser config form server
  89. │ └── editor_server.py # Phase 3: iterative editing server
  90. ├── templates/
  91. │ ├── cheatsheet_base.tex # Parameterized LaTeX template
  92. │ ├── config_form.html # Configuration UI
  93. │ └── editor_ui.html # Editing/preview UI
  94. └── examples/
  95. ├── sample_output.tex # Reference cheatsheet (compilable)
  96. ├── sample_materials/ # Sample PDFs to try the skill
  97. └── screenshots/ # README images
  98. ```
  99. ---
  100. ## 🔧 How It Works
  101. ### Phase 1 — Configure
  102. 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.
  103. ### Phase 2 — Generate
  104. Claude reads every selected file:
  105. - **PDFs** — read directly (text + images via multimodal vision)
  106. - **PPTX** — extracts text via `python-pptx` + all embedded images
  107. - **Markdown/Text** — read directly
  108. - **Images** — read directly (Claude is multimodal)
  109. Then 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.
  110. ### Phase 3 — Edit
  111. Another Flask server launches with a split-panel editor:
  112. - **Left**: LaTeX source with syntax highlighting + optional PDF preview
  113. - **Right**: natural language edit requests + image upload + change history
  114. 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**.
  115. ---
  116. ## 💡 Tips
  117. - **Compile with XeLaTeX** in Overleaf (not pdfLaTeX) — required for `fontspec` custom fonts
  118. - **Exam focus** field is powerful — write "focus on: gradient descent, bias-variance tradeoff" and those topics get more space
  119. - **Image upload in editor** — screenshot a formula from your textbook, paste/drag it into the editor, and ask Claude to add it
  120. - **Multiple cheatsheets** — run the skill in different folders for different courses; each gets its own `cheatsheet.tex`
  121. - Install `latexmk` and `pdftoppm` for live PDF preview in the editor (optional)
  122. ---
  123. ## 📋 Requirements
  124. | Dependency | Required | Purpose |
  125. |---|:---:|---|
  126. | Claude Code | ✅ | AI engine |
  127. | Python 3.8+ | ✅ | Server scripts |
  128. | Flask | ✅ | Web servers |
  129. | python-pptx | ⚠️ | PPTX reading (install if you have slides) |
  130. | pymupdf | ⚠️ | PDF text extraction fallback |
  131. | latexmk + pdftoppm | ❌ | Optional: live PDF preview in editor |
  132. ---
  133. ## 📄 License
  134. MIT
  135. ---

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.