Capture lesson content from images/PDF/DOCX, run OCR (DeepSeek-OCR), extract example questions, summarize classroom discussion, and prepare lesson-first post-class diagnostics. Use when teachers provide lesson materials or discuss classroom content.
Use this skill when the teacher provides lesson materials (images/PDF/DOCX) or describes classroom content. The goal is to OCR/parse the materials, extract example questions, and produce a structured lesson summary and discussion notes that can drive post-class diagnostics and homework.
Ingest sources
data/lessons/<lesson_id>/sources/.references/lesson_io.md).Extract text
references/ocr_pipeline.md).scripts/lesson_capture.py handles OCR + extraction end-to-end.Build artifacts
ocr/ and cleaned text under text/.Extract example questions
examples.csv with example_id, stem_text, options, source_ref, page.references/extract_rules.md for heuristics.Summarize classroom content
class_discussion.md.references/discussion_template.md.Knowledge point candidates
data/knowledge/knowledge_point_map.csv.Lesson-first post-class diagnostic
generate_postclass_diagnostic.py with --discussion-notes and --student-notes.Write-back rules
class_discussion.md (structured classroom summary)lesson_summary.md (lesson digest + key misconceptions)examples.csv (example questions index)lesson_review.md (visual review report for OCR + examples)python3 skills/physics-lesson-capture/scripts/lesson_capture.py \\
--lesson-id L2403_2026-02-04 \\
--topic \"静电场综合\" \\
--sources /path/to/lesson.pdf /path/to/example.png \\
--discussion-notes /path/to/class_discussion.md
Optional:
--lesson-plan to include teacher plan (PDF/DOCX/MD)--force-ocr to OCR even text-based PDFs--ocr-mode FREE_OCR|GROUNDING|OCR_IMAGEReview report:
python3 skills/physics-lesson-capture/scripts/lesson_review_report.py \\
--lesson-id L2403_2026-02-04 \\
--render-pdf
Confirm KP candidates from the review:
python3 skills/physics-lesson-capture/scripts/confirm_kp_candidates.py \\
--lesson-id L2403_2026-02-04
Apply confirmed KP candidates to knowledge_point_map.csv:
python3 skills/physics-lesson-capture/scripts/apply_kp_to_question_map.py \\
--lesson-id L2403_2026-02-04