REA
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Distill your teacher into a source-backed Skill that teaches you until you can work on your own.
作者提供的原文
如果你是作者,可把这段代码贴到 README。徽章会链接回本页。
[](https://mcp.popnx.com/en/skills/juneyaooo-teacher-to-skills)在同一工作中把 AI 连到服务的 MCP
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Codebase intelligence for TypeScript and JavaScript, exposed as structured MCP analysis tools.
MCP server for terminal commands, file operations, and process management
同类工作,排序与 Skill 列表相同
| 本项 teacher-to-skills | rea | andrej-karpathy-skills | graphify | MoneyPrinterTurbo | |
|---|---|---|---|---|---|
| 作者 | JuneYaooo | morluto | multica-ai | Graphify-Labs | harry0703 |
| Skill 数 | 1 | 1 | 1 | 1 | 1 |
| GitHub 星标 | 485 | 470,165 | 234,528 | 150,695 | 144,727 |
| 最近代码更新 | 2026年11月7日 | 2026年11月20日 | 2026年4月20日 | 2026年11月20日 | 2026年11月19日 |
| 许可证 | Apache-2.0 | MIT | – | Apache-2.0 | MIT |
JuneYaooo 提供的 1 个 Skill(指令集),AI 读取后照做 · 不是 MCP server
MCP = 手
把 AI 连到外部服务或数据,例如读取 Notion 或开发票。需要有程序或服务器在运行。
Skill = 手册
教 AI 怎么做某项工作的文本文件,不连接任何服务。
有些会重叠:少数 Skill 带有调用工具的脚本,少数 MCP 只提供知识。请从你想完成的工作出发。
Claude CodeCodex
依据开发者 README 和 repo 中的文件夹
GitHub 账号 JuneYaooo(个人),已创建 6 年
★ 485 星,目前用户较少 · 代码最近更新 2026年11月7日
有 42 个可以在电脑上运行的脚本:install_as_skill.sh, scripts/advance_micro_lesson.py, scripts/analyze_videos.py, scripts/build_course_skill.py 另外还有 38 个文件
没能检查全部脚本(有些文件太大),请先自己阅读
会碰设置文件夹(~/.claude 或 settings.json)的脚本:install_as_skill.sh
根据仓库 commit 0ca966c 中的文件自动检查(只读取文件,没有运行任何内容)。这不是安全保证,请自己阅读后再决定
第一步:你用哪个 AI?
选择你用的应用,本页只显示该应用的安装方法
无法上传到 claude.ai,因为描述超过 200 个字符(608 个字符)。请改用"让 AI 帮你安装"
复制这句话,粘贴到 Claude Code 的对话中
如果只用于一个项目,请粘贴到在该项目文件夹中打开的对话里 · AI 在安装前一定会先告诉你路径
AI 会先说明要做什么,每一步都会征求你的同意
重新打开 Claude Code,输入 /teacher-to-skills,或直接提出相关任务,Claude 会自动选用
Checked against official docs 2026年11月12日 · Source: code.claude.com
Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。
Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”
这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹
正在检查命令 · 通过后才会显示复制按钮
ChatGPT 桌面应用内置 Codex,Codex 从 ~/.agents/skills 文件夹读取 Skill
在 ChatGPT 桌面应用中打开 Codex,把这句话粘贴到对话中
AI 在安装前一定会先告诉你路径
AI 会先说明要做什么,每一步都会征求你的同意
把 teacher-to-skills 文件夹放到 ~/.agents/skills/teacher-to-skills
~ 是你的主文件夹($HOME)
Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。
Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”
这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹
正在检查命令 · 通过后才会显示复制按钮
Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com
不能使用你自己安装的 Skill,只能使用目录中插件自带的 Skill
想在 ChatGPT 中使用这个 Skill,请按上面的方法使用 ChatGPT 桌面应用
Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com
复制这句话,粘贴到 Codex 的对话中 · 适用于 ChatGPT 桌面应用中的 Codex、Codex CLI 和 IDE 扩展
如果只用于一个项目,请粘贴到在该项目文件夹中打开的对话里 · AI 在安装前一定会先告诉你路径
AI 会先说明要做什么,每一步都会征求你的同意
Codex 会自动发现新安装的 Skill;如果没有出现,请重启 Codex · 使用方法:在 ChatGPT 中输入 @ 并选择 Skill · 在 Codex CLI 或 IDE 扩展中运行 /skills,或输入 $ 加 Skill 名称
Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com
Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。
Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”
这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹
正在检查命令 · 通过后才会显示复制按钮
复制这句话,粘贴到 Cursor 的对话中
如果只用于一个项目,请粘贴到在该项目文件夹中打开的对话里 · AI 在安装前一定会先告诉你路径
AI 会先说明要做什么,每一步都会征求你的同意
在 Cursor 的 Agent 聊天中输入 / 并选择 teacher-to-skills
Checked against official docs 2026年11月12日 · Source: cursor.com
Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。
Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”
这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹
正在检查命令 · 通过后才会显示复制按钮
适用于其他能读取 Skill 的应用。这句话列出了 Claude Code、Codex 和 Cursor 的路径,AI 会按你的应用选择 · 复制这句话,粘贴到应用的对话中
如果只用于一个项目,请粘贴到在该项目文件夹中打开的对话里 · AI 在安装前一定会先告诉你路径
AI 会先说明要做什么,每一步都会征求你的同意
Checked against official docs 2026年11月12日 · Source: code.claude.com, learn.chatgpt.com, cursor.com
其他支持 Agent Skills 的应用(如 Gemini CLI、GitHub Copilot)使用不同文件夹,请查看该应用的指南,再把含 SKILL.md 的文件夹复制过去。
已于 2026年11月11日 对照 Claude Code、Codex 和 Cursor 官方指南核实 skill 文件夹
以下文字来自开发者的 repo,不是 PopNx MCP 的指令
显示前 8,000 个字符 · 在 GitHub 打开完整文件
---
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:
```bash
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:
```bash
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:
```bash
python scripts/build_course_package.py \
--course-name <course-name> \
--source-dir <course-workspace>
python scripts/migrate_course_package.py \
<legacy-course-package.json>
```
Compile the apprenticeship assets in dependency order:
```bash
python scripts/build_teacher_model.py --source-dir <course-workspace>
python scripts/build_capability_graph.py --source-dir <course-workspace>
python scripts/build_practice_bank.py --source-dir <course-workspace> --practice-depth deep
python scripts/build_assessment_bank.py --source-dir <course-workspace>
python scripts/build_mentor_package.py --source-dir <course-workspace> --apprenticeship full
python scripts/build_mentor_readiness_audit.py --source-dir <course-workspace>
```
Then generate and validate:
```bash
python scripts/build_course_skill.py \
--course-name <course-name> \
--skill-name <skill-name> \
--mode mentor \
--apprenticeship full \
--learner-state external \
--source-dir <course-workspace> \
--output-dir ./dist
```
The builder uses a temporary directory and installs the target only after validation.
## Merge courses
```bash
python scripts/build_multi_course_package.py \
--course <course-a-package-or-dir> \
--course <course-b-package-or-dir> \
--combined-name <combined-name> \
--output-dir <combined-workspace>
```
Migrate each package to an in-memory 1.0 form, namespace colliding IDs, keep source-course identity, record semantic conflicts, and route those conflicts into comparison rather than consensus.
## Choose role and apprenticeship
- Default to `mentor` when the user wants capability formation.
- Use `expert` for source lookup, course Q&A, explanation, and citations.
- Use `consultant` for course-grounded diagnosis, option comparison, and advice.
- Use `practitioner` for playbooks, checklists, templates, workflows, and artifacts.
- Use `custom` for a user-defined source-bounded role.
Treat role, scope, evidence strategy, apprenticeship mode, and learner-state strategy as separate dimens提问、分享技巧或报告无法使用。按“有帮助”数量排序。