cheatsheet-generator

cheatsheet-generator is a skill for Claude Code from Evan715823/cheatsheet-generator-skill. It costs 67 tokens per session (3,223 once invoked), scanned C, original, MIT.

A tool that turns course materials such as PDFs, presentations, notes, and images into compact LaTeX exam cheatsheets. LaTeX is a document system commonly used for technical and academic documents.

In plain words
What is it for?
Use it to scan selected course files, extract their content, and produce a color-coded cheatsheet that can compile in Overleaf with XeLaTeX.
Why use it?
It condenses study material into a printable reference sheet instead of requiring manual extraction and formatting.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to scan selected course files, extract their content, and produce a color-coded cheatsheet that can compile in Overleaf with XeLaTeX.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/evan715823/cheatsheet-generator-skill/cheatsheet-generator
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Evan715823/cheatsheet-generator-skill --skill cheatsheet-generator
Clone the repo
git clone --depth 1 https://github.com/Evan715823/cheatsheet-generator-skill

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cheatsheet-generator

README.md
[![agentmods](https://agentmods.dev/badge/skills/evan715823/cheatsheet-generator-skill/cheatsheet-generator/github.svg)](https://agentmods.dev/skills/evan715823/cheatsheet-generator-skill/cheatsheet-generator)
Your own site
<a href="https://agentmods.dev/skills/evan715823/cheatsheet-generator-skill/cheatsheet-generator"><img src="https://agentmods.dev/badge/skills/evan715823/cheatsheet-generator-skill/cheatsheet-generator/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cheatsheet-generator

Your own site · 80×15
<a href="https://agentmods.dev/skills/evan715823/cheatsheet-generator-skill/cheatsheet-generator"><img src="https://agentmods.dev/badge/skills/evan715823/cheatsheet-generator-skill/cheatsheet-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,223 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 12 Apr 2026
  • Snyk pass 12 Apr 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00067 $0.03223
Opus 5 $0.00034 $0.01612
Sonnet 5 $0.00013 $0.00645
Haiku 4.5 $0.00007 $0.00322

Measured 10d ago against content hash 4713c4f9a9d0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade C, and why

cheatsheet-generator scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/config_server.py, scripts/editor_server.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf "<WORKDIR>/output/.rendered" "<WORKDIR>/output/.uploads" "<WORKDIR>/output/.converted"

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s http://127.0.0.1:<PORT>/wait_for_request
skills/cheatsheet-generator/SKILL.md · 340 lines

How it starts

The opening of the file, as written. The whole thing — 340 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Cheatsheet Generator

You are a cheatsheet generation assistant. Help a university student turn course materials into a dense, color-coded LaTeX cheatsheet that compiles in Overleaf (with XeLaTeX).

The skill directory is ${CLAUDE_SKILL_DIR}. The working directory is the current working directory unless $ARGUMENTS specifies a different path.

Execute the three phases below in order.


Phase 1: Configuration Collection

Step 1.1 — Scan for materials

Use Glob to find all supported files in the working directory: **/*.pptx, **/*.pdf, **/*.md, **/*.txt, **/*.png, **/*.jpg, **/*.jpeg

Step 1.2 — Launch config server

python "${CLAUDE_SKILL_DIR}/scripts/config_server.py" --workdir "<WORKDIR>"

This blocks until the user submits the form and exits.

Step 1.3 — Read config

Read <WORKDIR>/output/.cheatsheet_config.json.


Phase 2: Read Materials & Generate LaTeX

Step 2.1 — Read all materials

Read every file the user selected. Use the approach below for each file type:

  • PDF files: Use pymupdf (fitz) for both text and visual extraction:
    1. Text extraction — extract all text from every page:
      PYTHONIOENCODING=utf-8 python -c "
      import fitz, sys
      doc = fitz.open(sys.argv[1])
      for i, page in enumerate(doc):
          text = page.get_text()
          if text.strip():
              print(f'=== PAGE {i+1} ===')
              print(text)
      " "<FILE_PATH>"
      
    2. Page rendering — render pages with diagrams, charts, or handwritten content as PNG images, then Read them visually (you are multimodal):
      python -c "
      import fitz, os, sys
      doc = fitz.open(sys.argv[1])
      out_dir = os.path.splitext(sys.argv[1])[0] + '_pages'
      os.makedirs(out_dir, exist_ok=True)
      for i, page in enumerate(doc):
          pix = page.get_pixmap(dpi=200)
          out = os.path.join(out_dir, f'page_{i+1:03d}.png')
          pix.save(out)
          print(out)
      " "<FILE_PATH>"
      
      Then use the Read tool on the rendered PNGs to see diagrams, formulas written in images, charts, and handwritten content. For large PDFs (>20 pages), only render pages that likely contain visual content (diagrams, figures) — skip text-heavy pages already captured by step 1.

Read the full file on GitHub · 340 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 340 lines · 67 tokens per session scan C 4713c4f9a9d0

Subscribe to this mod's changes

cheatsheet-generator is a skill published in the GitHub repository Evan715823/cheatsheet-generator-skill (191 stars, last pushed 5mo ago), licensed MIT. It adds 67 tokens to every session and 3,223 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it C with 2 findings (recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

brief-compliance-check

Check a LaTeX coursework submission against the requirements in a supplied PDF assessment brief. Use when verifying format, required sections, word limits, or deliverables before submission. Not for general prose proofreading; use $proofread.

flonat/flonat-research · 50 tokens

template-textbook

Modular fillable textbook scaffold — parts/chapters/labs/question banks from config.yaml, auto-numbering, deterministic figures, structural contract enforcement.

docxology/template · 34 tokens

beamer-presentation

Create academic presentations in Beamer with professional themes.

meleantonio/awesome-econ-ai-stuff · 14 tokens

fill-in-notes

Turn a textbook chapter, lecture, or paper into beautiful "fill-in" study notes — written to be READ (clean statements, intuition) yet engineered to be FILLED (blanks, proof skeletons, "your turn" computations) so the reader learns by active recall. Notes are typeset with the Loom XeLaTeX class in this repo. Use when…

Polaris-Aeterna/loom-notes · 187 tokens

pptx-import

A method for adding an uploaded PowerPoint presentation to an existing classroom as extra pages while keeping the slides' original layout. PowerPoint is Microsoft's presentation file format.

THU-MAIC/OpenMAIC · 125 tokens

blog-notebooklm

Query Google NotebookLM notebooks for source-grounded, citation-backed answers from user-uploaded documents. Manages notebook library, handles Google authentication, and supports smart discovery. Works standalone via /blog notebooklm or internally from blog-write and blog-researcher for source-grounded research…

AgriciDaniel/claude-blog · 109 tokens