Skip to content
Education
Skill

/teacher-to-skills

Distill a teacher into a coaching Skill. Turn their courses, books, video, audio, PDFs, slides, transcripts, OCR, notes, and long-form materials into source-grounded learning Skills that teach unseen concepts progressively with reliable terminal ASCII or SVG visuals, ask two

From plugin
teacher-to-skills
4841 skill

Claude Code

$ npx -y skills add JuneYaooo/teacher-to-skills --skill teacher-to-skills --agent claude-code

SKILL.md

teacher-to-skills.SKILL.md
name: teacher-to-skills
description: Distill a teacher into a coaching Skill. Turn their courses, books, video, audio, PDFs, slides, transcripts, OCR, notes, and long-form materials into source-grounded learning Skills that teach unseen concepts progressively with reliable terminal ASCII or SVG visuals, ask two end-of-lesson questions together by default, give focused feedback, schedule review, test transfer, and support independent work. Also use for CoursePackage migration, teacher-method extraction, learning paths, practice and assessment libraries, private learner-state workflows, reusable personal methods, and graduation evaluation.

Teacher-to-Skills

Distill a teacher's source material into a mentor Skill that can cite the source, demonstrate the teacher's method, guide practice, correct mistakes, and gradually reduce the learner's dependence on help.

Use this method:

**Capture → Cite → Compress → Connect → Codify → Coach → Practice → Consolidate → Transfer → Graduate**

Preserve evidence before synthesis. Require observable learner work before mastery. Keep immutable teacher assets separate from private learner state.

Read when needed

  • Pipeline, providers, schemas, recovery, and output layouts: [references/runtime.md](references/runtime.md)
  • Session routing, attempt-first assessment, feedback, and fading: [references/apprenticeship-protocol.md](references/apprenticeship-protocol.md)
  • Progressive concept teaching, SVG/ASCII explanation, and the two-question check: [references/micro-lesson-protocol.md](references/micro-lesson-protocol.md)
  • Claim and feedback provenance: [references/provenance-policy.md](references/provenance-policy.md)
  • Mastery transitions and review scheduling: [references/mastery-policy.md](references/mastery-policy.md)
  • Graduation evidence: [references/graduation-policy.md](references/graduation-policy.md)
  • External learner-state boundary: [references/external-learner-store-contract.md](references/external-learner-store-contract.md)

Product invariants

  • Trace teacher claims to source, lesson, timestamp, chunk, card, keyframe, or page.
  • Distinguish `direct_source`, `source_grounded_synthesis`, `cross_source_synthesis`, `mentor_inference`, learner evidence, external knowledge, and unsupported content.
  • Preserve conflicting sources and their conditions; never flatten disagreement into false consensus.
  • Treat TeacherModel as source-supported domain behavior, not a personality or consciousness clone.
  • Treat recognition, fluency, lesson completion, and one success as insufficient mastery evidence.
  • Require an observable attempt before updating capability state.
  • Teach one unseen capability with a plain-language model, precise explanation, useful ASCII/SVG visual, example, counterexample, and exactly two end-of-lesson questions presented together by default.
  • Advance at most one mastery state per successful episode.
  • Require changed-context H0 performance for transfer and delayed parallel-form success for retention.
  • Keep PracticeEpisodes append-only and rebuild MasteryState from events.
  • Store real learner data only in a host-provided external private directory.
  • Require explicit learner approval before promoting or installing a Personal Skill.
  • Keep high-risk learning educational, source-bounded, and distinct from professional qualification.

Detect source state

Choose the smallest workflow that preserves the requested evidence:

1. Raw video/audio: run capture, visual analysis for video, model-selected keyframes, distillation, audit, compilation, generation, and validation. 2. Video plus PDFs: include document parsing or reuse existing OCR. 3. Markdown/TXT/books/notes/OCR: skip media capture; build text chunks and evidence cards before compilation. 4. Existing transcripts, analyses, documents, or distillation: resume from the narrowest missing stage. 5. Existing CoursePackage 0.x: migrate to 1.0 before building teacher/runtime assets. 6. Existing CoursePackage 1.0: compile missing TeacherModel, graph, banks, MentorPackage, and Skill. 7. Multiple CoursePackages: migrate each, merge with namespaced IDs, preserve conflicts, then compile.

Do not rerun expensive capture when stable artifacts already exist and inputs have not changed.

Configure providers

Separate capability from configuration. Report missing configuration and the smallest viable fallback.

  • Audio transcription: `AUDIO_TRANSCRIBE_API_KEY`, `AUDIO_TRANSCRIBE_BASE_URL`, `AUDIO_TRANSCRIBE_MODEL`.
  • Video/vision: `TEACHER_TO_SKILLS_VISION_API_KEY`, `TEACHER_TO_SKILLS_VISION_BASE_URL`, `TEACHER_TO_SKILLS_VISION_MODEL`.
  • Text distillation: `TEACHER_TO_SKILLS_TEXT_API_KEY`, `TEACHER_TO_SKILLS_TEXT_BASE_URL`, `TEACHER_TO_SKILLS_TEXT_MODEL` when LLM distillation is enabled.
  • PDF/OCR submission: `MINERU_API_TOKEN`, unless existing OCR is reused.
  • Local media: `ffmpeg` and `ffprobe`.

If raw media needs an unavailable provider, stop before that capture stage. If transcripts, OCR, notes, or packages already exist, continue from them and report excluded modalities. Never store secrets in the repository or commit `.env`.

Run the full compiler

For media and documents:

python scripts/run_course_pipeline.py \
  --input-dir <course-media> \
  --documents-input <pdf-or-directory> \
  --notes-input <notes> \
  --course-name <course-name> \
  --skill-name <skill-name> \
  --mode mentor \
  --apprenticeship full \
  --practice-depth deep \
  --learner-state external \
  --output-dir ./dist

For text or books:

python scripts/run_course_pipeline.py \
  --text-input <markdown-txt-or-directory> \
  --course-name <course-name> \
  --mode mentor \
  --apprenticeship full \
  --output-dir ./dist

Use `--text-no-llm` for deterministic explicit-label extraction. Treat implicit teacher cognition from ordinary exposition as medium/low confidence and require review.

Compile existing materials

Build or migrate CoursePackage:

python scripts/bu
Read more
Stats
486
Stars
Active
Maintenance
Python
Language
Apache-2.0
License
Last commit
Created
Added

Repo: JuneYaooo/teacher-to-skills

@juneyaooo
Ships withteacher-to-skills

蒸馏你的老师,变成一个随时能问、会带你练的 Skill 把老师的课程、书、录音、讲义和批注交给它,它会提炼老师怎么看问题、怎么判断、怎么纠错,打包成一位有出处的 AI 老师:先示范,再让你动手,按老师的标准给反馈,直到你不再需要它。

Stars on GitHub

Momentum

stars in total
484
Star history of JuneYaooo/teacher-to-skills on GitHub, a chart by star-history.com

More skills from other plugins.

lesson-quiz

lesson-quiz

Test a learner on a single Claude Code tutorial lesson (01-10) with 10 questions, scoring answers and flagging weak spots. Use…

@luongnv89@luongnv89Install Skill
build-personal-skill

build-personal-skill

Evidence-based creation of a reusable personal course-making Skill from the user's own classroom and chat history. Use when the…

@thu-maic@thu-maicInstall Skill

Questions about teacher-to-skills.

Which coding agents can use teacher-to-skills?
teacher-to-skills installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.