lecture-to-study-guide — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited lecture-to-study-guide (Agent Skill) and scored it 96/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 1 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 1 flagged
The text {match} tells the agent to skip the normal "ask the user first" gate. Used adversarially it removes the human-in-the-loop check before destructive or sensitive actions, turning a normally-gated agent into a fire-and-forget executor.
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Produce a pedagogically structured study guide from lecture material — not a summary, a study-optimized document.
Trigger on any phrase pairing lecture material + a study/review/exam goal. Concrete cues:
Student voice (lead — higher frequency):
Teacher voice:
Required:
Optional (infer if absent — see table below):
Attempt inference first. Ask ONLY if both level AND source-type are unclear.
| Cue in user's phrasing | Likely level |
|---|---|
| "my 7th grader," "middle school," emoji, simple vocab | 6-8 |
| "AP ___," "honors," "SAT prep," "high school" | 9-12 |
| "my professor," "syllabus," "midterm," "lecture hall," "TA," intro-course names ("intro micro," "bio 101") | college (default) |
| "my PI," "qualifying exam," "seminar," "dissertation," advanced domain vocabulary | graduate |
| No markers, just raw notes | infer from vocabulary density; default college |
| Cue in user's phrasing | Likely source-type |
|---|---|
| "my notes," "typed up," "outline" | pasted prose notes |
| ".pdf," "slides," "deck," "slideshow," "lecture slides" | slide-deck PDF |
| "transcript," "YouTube," "recording," "VTT," "SRT," "captions," "Otter," "Zoom transcript" | transcript |
| Multiple files listed, "weeks 1-3," "chapters 4-6," "my last three lectures" | multi-lecture series |
| Both a slide deck AND a transcript mentioned | mixed slide + transcript |
If confidence is still low on BOTH dimensions, ask ONE question in this exact shape:
Quick check so I can calibrate this — (a) what's the level (e.g. 7th · 11th · college · grad), and (b) is this pasted notes, a slide deck, or a transcript?
Do not stack questions. Do not ask about exam format, length, framework, etc.
references/input-types.md.references/term-extraction.md — typographic (bold/italic/"quotes"), structural (slide titles, definition blocks), linguistic ("X is defined as…", "Y, also known as…"). Build a term → definition → source-location map.references/question-mix.md for templates.references/output-format.md. Validate: all sections present, TOC anchors resolve, Mermaid blocks syntactically valid.flashcards skill on this guide next for Anki-ready decks." Do NOT auto-invoke sibling skills.Single markdown file study-guide-<topic-slug>-<YYYY-MM-DD>.md with these sections, in order:
$...$, $$...$$).<details> blocks per question (default) or a trailing answer-key section (for printable/PDF output).| Level | Scaffolding | Question mix (recall/comprehension/application) | Cheat-sheet style |
|---|---|---|---|
| 6-8 | Heavy. Plain-language definitions for every term. Short sentences. Diagrams liberally. | 60 / 30 / 10 | Large type, spatial layout |
| 9-12 | Moderate. Define technical terms, assume general vocabulary. | 40 / 40 / 20 | Dense but still visual |
| College (default) | Terse. Assumes college vocabulary. | 30 / 40 / 30 | Information-dense single column |
| Graduate | Terse. Reminder-level summaries. Assumes domain vocabulary. | 20 / 30 / 50 | Formula/theorem-dense |
Exam-format adjustments (stack onto grade default): MCQ-heavy → +10% recall, −10% application. Essay → +15% comprehension, −15% recall. Problem-set → +20% application, −10% recall, −10% comprehension.
PDF and transcript ingestion is currently handled by Claude directly; dedicated parsers (pdf_extract.py for slide-boundary-sensitive decks, transcript_clean.py for VTT/SRT normalization) are planned. For V1, rely on Claude-native PDF and do the transcript cleanup in-prompt (strip timing noise, merge fragmented caption lines, preserve speaker labels if present). See references/input-types.md for per-input-shape workflow.
references/study-techniques.md — Cornell, SQ3R, Feynman patterns; informs cheat-sheet layout and concept-summary structure.references/term-extraction.md — term-identification heuristics + decision table.references/question-mix.md — question-type taxonomy, grade-calibrated ratios, templates.references/input-types.md — per-input-shape workflow (slide-heavy vs prose-heavy vs transcript vs mixed); slide-vs-prose heuristics.references/output-format.md — exact markdown skeleton + conventions.Load a reference only when its topic is active. Do not preload all references at the start.
| Setting | Default |
|---|---|
| Level | College (unless inferred otherwise) |
| Source-type | Infer from phrasing + content |
| Question mix | Per grade-calibration table |
| Answer-key style | <details> blocks per question (switch to trailing answer key on PDF/printable request) |
| Diagrams | Inline Mermaid |
| Flashcards / concept-map | NOT auto-invoked in V1. Suggest running the flashcards skill as a follow-up. |
| Output | Markdown file in user's cwd |
| PDF export | On request only, via shared/scripts/pdf_render.py |
User: "Turn these into a study guide — 10th grade bio, cell division. [pastes ~1500 words on mitosis]"
Inferred: level 9-12 (explicit "10th grade"), source-type pasted prose notes. No clarifying question needed.
Skill responds with a file starting:
# Study Guide: Mitosis & Cell Division
_Generated 2026-04-14 from pasted lecture notes. Level: 9-12._
## 1. Outline
- [2. Key Terms](#2-key-terms)
- [3. Concept Summaries](#3-concept-summaries)
- [3.1 Phases of Mitosis](#31-phases-of-mitosis)
- [3.2 Cytokinesis](#32-cytokinesis)
...
## 2. Key Terms
| Term | Definition | Source |
|---|---|---|
| Prophase | First phase of mitosis; chromatin condenses into visible chromosomes and the nuclear envelope breaks down. | Heading: Phases |
| Metaphase | Chromosomes align along the cell's equator, attached to spindle fibers at the centromere. | Heading: Phases |
...
## 6. Practice Questions
1. During which phase of mitosis do chromosomes align at the cell's equator? *(Term: metaphase)*
<details><summary>Answer</summary>
Metaphase.
</details>
2. Explain why the spindle apparatus is essential for mitosis. If it failed to form, what would happen? *(Concept: spindle)*
<details><summary>Answer</summary>
The spindle pulls sister chromatids apart during anaphase. Without it, chromosomes cannot separate evenly, producing daughter cells with the wrong chromosome count (aneuploidy).
</details>Full 7-section guide follows; cheat sheet is ≤ 700 words for grade 9-12. Closing suggestion: "Run the `flashcards` skill on this file to generate Anki-ready cards from the Key Terms and Practice Questions."
(expansion) so the student sees what came from the slide vs. what was filled in.flashcards or concept-map skills. V1 embeds inline Mermaid; flashcards are suggested as a follow-up, not generated inline.pdf_extract.py / transcript_clean.py parsers. Claude-native handling for now.quiz-generator.Every generated guide must satisfy:
references/question-mix.md (5-8 for <500 words, 10-15 for 500-5000, 15-20 for >5000 or multi-lecture).flashcards, concept-map, quiz-generator). Suggest, don't invoke.(expansion).~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.