Install
openclaw skills install polito-notesConvert PDF lecture slides into comprehensive bilingual (IT+EN) markdown notes for Polito university courses. Use when the user sends a PDF and specifies a course — or asks to process lecture material into notes. Triggers on "appunti", "notes", "processa questo pdf", "materia", "lezione".
openclaw skills install polito-notesConvert a PDF into two markdown files: Italian (notes.md) and English (notes-en.md), placed in the correct course folder.
~/Documenti/github/polito/
├── first-year/
│ ├── first-semester/<course>/notes/
│ └── second-semester/<course>/notes/
├── second-year/
│ └── first-semester/<course>/notes/
Existing courses (check with ls — new ones may exist):
The user provides:
Two files in <course>/notes/<N-kebab-title>/:
notes.md — Italiannotes-en.md — English translation (not a literal translation: adapt phrasing to natural academic English while preserving identical structure and technical accuracy)N-titolo-in-kebab-case — N is the lecture number (provided by user or inferred from content/prior folders).
Both files follow this exact structure:
# [Title]
> **Course:** Course Name
> **Lecture:** N
> **Date:** YYYY-MM-DD
> **Source:** original-filename.pdf
## Overview
[2-3 sentences: what this lecture covers and how it connects to previous topics]
## Content
### [Section 1 — Name]
[Fluid narrative prose. NOT bullet-list dumps. Explain each concept with
connecting logic, context, and motivation before diving into details.]
[Formulas in LaTeX inline/block, each symbol explained verbally right after.]
[When a comparison, taxonomy, or parameter set appears → **table**]
[When a process, pipeline, architecture, or relationship between concepts
appears → **Mermaid diagram**]
### [Section 2 — Name]
...
## Key Concepts
| Concept | Definition | Formula / Note |
|---------|-----------|----------------|
| ... | ... | ... |
[Only at the end, as quick-reference. Does NOT replace the full explanations.]
## Connections
[Links to other lectures or courses when relevant.]
$$block$$ or $inline$. After each formula, explain every symbol in words.<filename>.bak (e.g., notes.md.bak, notes-en.md.bak).pdftotext or python script)notes.md (Italian) following the templatenotes-en.md (English) — same structure, natural academic EnglishAfter generating notes, the new markdown files will be automatically picked up by the local-rag skill during the next indexing run (daily cron at 9 AM). No manual action needed.
To search across all notes immediately:
~/.local/share/local-rag/venv/bin/python ~/.openclaw/workspace/skills/lookupmark-local-rag/scripts/query.py "attention mechanism in transformers" --top-n 5
polito/second-year/first-semester/large-language-models/notes/
├── 01-introduction-to-llms/
│ ├── notes.md # Italian
│ └── notes-en.md # English
├── 02-transformer-architecture/
│ ├── notes.md
│ └── notes-en.md
└── ...