Skill · #386 trending skills repo
Stem Notes
Shass27/stem-notes
A Claude skill that transforms STEM lecture slides, textbooks, problem sheets, and documents into LaTeX formula sheets, fully worked solutions, and summary notes. Automates the creation of professional study materials from any PDF, image, or office file.
- Stars
- 24
- This week
- +0
- Forks
- 1
- Open issues
- 0
- Skills inside
- 1
Get started
Install the skills
npx skills add Shass27/stem-notesInstalls into Claude Code, Codex, Cursor, OpenCode and the other agents it finds on your machine.
git clone --depth 1 https://github.com/Shass27/stem-notes.git /tmp/stem-notes
cp -r /tmp/stem-notes ~/.claude/skills/stem-notesClaude Code reads ~/.claude/skills/ (or .claude/skills/ in a project). Other agents read the same SKILL.md format from their own skills folder.
Inside this repo
1 skill
Documentation
README
stem-notes
A Claude Code skill that turns STEM source material (lecture slides, textbook chapters, scanned problem sheets, images, PowerPoint/Word files) into LaTeX study documents: formula/definition sheets, fully worked problem solutions, and summary notes.
How it works
The user is driven through the whole process with multiple-choice questions
(AskUserQuestion) — nothing is generated silently. The skill:
- Inventories the given sources (PDF, PNG/JPG, PPTX/DOCX) and checks whether each PDF is text-based or scanned.
- Checks for required tooling (
poppler,soffice,tectonic/pdflatex) and asks before installing anything. - Asks intake questions: which outputs to generate, output location, visual style, and per-output questions (density, scope, depth, ordering, etc.).
- For a whole book, offers to build a reusable knowledge skill first (see Workflows below) instead of reading every page.
- Reads every source page/slide/image in full.
- Extracts figures from PDFs (
pdfimagesfor embedded raster images, page-render + crop for vector diagrams) into afigures/folder with an index, and asks whether to insert them, catalog them for later, or skip. - Solves and verifies every problem in scope, checking non-trivial numbers with a short Python script, and flags any discrepancy with a printed answer instead of silently matching it.
- Writes ASCII-only
.texfiles from the templates intemplates/. - Optionally compiles to PDF (
tectonicorlatexmk), fixing errors until it compiles cleanly. - Reports what was written, what was skipped, and any discrepancies found.
Layout
SKILL.md— the workflow the skill follows, step by step.references/questions.md— the MCQ question bank used for intake.references/tooling.md— required tools, install commands/sizes, and the shell commands used to inspect/convert sources.references/style-guide.md— layout, labelling, and solution-format rules for each output type.templates/formula_sheet.tex— formula/definition sheet preamble.templates/solutions.tex— worked-solutions preamble.templates/summary_notes.tex— summary-notes preamble.
Workflows
Lecture slides / problem sheets -> notes (the default flow): point the
skill at your source files, answer the intake questions, get .tex files
(and figures, if any) back.
Book -> knowledge skill -> notes: for a whole textbook, stem-notes asks whether to build a reusable knowledge skill first with book-to-skill, rather than reading every page. This workflow step, and the tool it calls, is the work of virgiliojr94 — credit for it belongs to them, not to stem-notes:
git clone https://github.com/virgiliojr94/book-to-skill ~/.claude/skills/book-to-skill
# or: npx skills add virgiliojr94/book-to-skill
- Run book-to-skill on the book (e.g.
/book-to-skill book.pdf my-book) to get a knowledge skill (SKILL.md,chapters/*.md,cheatsheet.md,glossary.md) — seeanderson-flightorcallister-materials-sciencefor examples already in this skills folder. - Run stem-notes on that generated skill's files to produce formula sheets, worked solutions, or summary notes from it.
- Keep using the generated book skill afterwards on its own (
/my-book <topic>) for questions, worked problems, or more notes — it isn't single-use.
If you already have that book skill installed under a different name, or
prefer a different converter skill entirely, stem-notes asks and remembers
your choice in the Book skill: line of SKILL.md.
Figures: extracted PDF figures land in latex/figures/ with a
figures.md index. You can ask later, e.g. "add figure p12-1 to the summary
notes", without re-running extraction.
Output
By default, generated .tex files (and PDFs, if compiled) are written to a
latex/ subfolder next to the source files, unless the user chooses
otherwise. Extracted figures go in latex/figures/.
License
MIT — see LICENSE.
Releases