你的AI复习搭子,懂考点更懂老师
简介
基于真实课件智能生成复习指南与模拟考题,MIT许可开源工具,本地处理保障隐私,帮助学生高效备考。
原始描述
professor-skill
通过你的 Agent 添加
安装目录:professor-skill/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
中文使用说明 来自收录源
核心用法
Professor Skill 是一款创新的教育辅助工具,能将大学课程材料(幻灯片、大纲、考试卷、讲义、聊天记录等)转化为个性化的"大学老师"智能助手。用户只需提供教授姓名、课程名称和材料文件,工具即可通过本地 Python 脚本自动完成三步处理:首先调用 professor_writer.py 初始化工作区结构,然后将 PDF、PPT、Word 等材料按信号强度排序并提取文本,最后生成三大核心文档——persona.md(教授人格档案)、course.md(课程知识图谱)和 review_guide.md(学生备考指南)。整个流程完全本地化运行,无需联网,支持中英文双语输出。
显著优点
该技能的最大亮点在于"人格分离"设计:将"课程大脑"(考点预测、出题风格、评分偏好)与"教师人格"(口头禅、耐心程度、课堂幽默)独立建模,再智能融合。这种架构让输出既实用(精准预测 exam scope)又有辨识度(仿佛真老师在说话)。此外,工具对材料合法性有明确边界意识,内置免责声明,并采用 MIT 开源协议,代码完全透明可审计。依赖库均为成熟文档处理组件(pypdf、python-docx 等),版本锁定无供应链风险。
潜在缺点与局限性
首先,输出质量高度依赖输入材料的完整性和合法性——缺少真题或课堂录音会显著降低考点预测准确度。其次,作为 T3 来源的个人项目,缺乏官方教育机构背书,生成内容仅供学习参考,不可作为正式教学依据。第三, humor 设计虽克制,但仍存在被误读为真实教师言论的风险,尤其在截图传播场景。最后,当前版本仅支持桌面端 Python 环境,对非技术背景用户有一定使用门槛。
适合的目标群体
核心受众为大学生群体,尤其是面临期末复习、需要快速梳理课程重点的理工科和文科专业学生;次要受众包括备考研究生、教师资格考试等需要结构化复习的学习者。对教师而言,也可作为反向工具分析自身教学材料的连贯性。不推荐用于 K12 教育场景或需要合规审计的企业培训。
使用风险
性能方面,处理大量 PDF/PPT 时内存占用较高,建议分批导入;依赖项方面,需确保 Python 3.x 环境及四个文档库正确安装,Windows 平台可能出现编码兼容问题。常规风险包括:用户可能误将生成内容当作官方考试范围,或因输入材料版权瑕疵引发法律争议——工具已在文档中明确提醒"确保材料合法性",但无法技术手段强制约束用户行为。
技能正文
name: professor-skill
description: Professor Skill creates a university-course skill from slides, syllabi, exams, transcripts, notes, and chat logs. Use when the user wants a review-first, exam-focused, teacher-style skill that models how a professor highlights topics, writes questions, and deducts points.
Professor Skill
Use this skill when the user wants to build a 大学老师.skill / Professor Skill from real course materials.
The output must stay useful first and funny second:
- Useful enough to help with review, Q&A, and exam prep
- Distinct enough to feel like this specific professor
- Meme-friendly enough that the result is screenshot-worthy
Core Model
Always separate the professor into two engines:
-
Course BrainExtract the actual course structure:- key topics
- repeated concepts
- likely exam scope
- common question types
- grading preferences
- typical mistakes
-
Teacher PersonaExtract the professor's delivery style:- catchphrases
- explanation rhythm
- patience level
- response habits
- classroom humor or sarcasm
- how they emphasize or downplay topics
The final output should merge both:
Teacher Persona decides tone. Course Brain decides substance.
Workflow
Step 1: Collect minimum intake
Ask only for the smallest set of details needed to start:
- professor name
- school or department if available
- course name
- what materials the user has
- one-line impression of the professor
If the user already provided files or context, do not repeat questions.
If there is no professor workspace yet, initialize one first:
python ${CLAUDE_SKILL_DIR}/tools/professor_writer.py --name "<teacher>" --course "<course>" --school "<school>" --department "<department>"
This creates:
meta.jsonpersona.mdcourse.mdreview_guide.mdmaterials/source foldersmaterials_manifest.mdsource_brief.mdworkflow.md
Step 2: Sort material by signal strength
Rank sources before extracting:
- exams, quizzes, assignments
- lecture transcripts or lecture notes
- slides and syllabus
- group chats, Q&A logs, office-hour notes
- professor bio, homepage, publication summaries
Use higher-signal sources to determine exam and review content. Use lower-signal sources to sharpen persona and identity.
When source files have been placed into materials/, always run the single-command build pipeline:
python ${CLAUDE_SKILL_DIR}/tools/build_professor_outputs.py "<professor-dir>"
This pipeline must:
- extract parseable text from
pdf,pptx,docx, and text files intoexports/extracted/ - refresh
materials_manifest.md - refresh
source_brief.md - generate
persona.md,course.md, andreview_guide.md - validate the workspace before claiming it is ready
Read materials_manifest.md, source_brief.md, and the highest-signal extracted files first.
If ${CLAUDE_SKILL_DIR} is unavailable in the runtime, resolve tool paths relative to the skill root directory rather than the caller's working directory.
Step 3: Build three artifacts
Always generate these three files or sections:
persona.mdcourse.mdreview_guide.md
If the user explicitly wants it, also generate:
- mock exam
- likely key points
- oral-style explanation notes
- teacher-style chat replies
When updating existing artifacts:
- preserve strong evidence already reflected in the files
- replace
[fill me]placeholders with concrete content - keep unsupported claims marked as low-confidence inference
Step 3.5: Refuse fake confidence
If validate_professor.py warns that there are no exams, no transcripts, or no indexed sources, you should still help, but explicitly lower confidence and explain which parts are inferred.
Step 4: Keep the humor disciplined
Humor should come from recognition, not random jokes.
Prefer these patterns:
- "这题上课讲过" energy
- vague but familiar teacher phrasing
- passive-aggressive reminders
- overlong slides, underspecified key points
- exam warnings that feel suspiciously real
Avoid:
- insulting the professor
- fabricated misconduct
- fake official notices
- humor that reduces usefulness
Legal And Content Guardrails
- Treat imported materials as potentially sensitive by default.
- Do not encourage users to upload or redistribute content they do not have the right to use.
- Do not present generated text as an official notice, grading rule, or statement from the real professor.
- Do not fabricate private facts, misconduct claims, or internal school policies.
- If the user appears to be using private chats, recordings, unpublished materials, or other potentially restricted content without permission, warn briefly and continue only with clearly lawful, minimal assistance.
- When uncertainty exists, prefer summarization, study guidance, and low-confidence caveats over imitation that could be mistaken for the real person.
Output Requirements
persona.md
persona.md
Include:
- identity summary
- catchphrases
- speaking style
- how the professor answers vague questions
- how they react to lazy students
- how they signal importance without saying "this will be on the exam"
- boundaries and correction notes
course.md
Include:
- course overview
- chapter map
- likely core topics
- recurring concepts
- known exam styles
- grading preferences or answer expectations
- high-risk confusion points
review_guide.md
This is the student-facing compressed artifact.
It should:
- prioritize likely exam content
- reduce fluff
- explain what to memorize versus what to understand
- include "teacher may ask this way" examples
- include a short "last-night-before-exam" section
Style Rules
- Respond in the user's language. If the user is writing in Chinese, stay in Chinese.
- Be concrete. Replace generic praise with specific behavioral patterns.
- Do not present guesses as facts. Mark weak inferences clearly.
- If the material is thin, say so and still produce a lightweight version.
- Keep outputs organized and readable. Students should be able to skim them fast.
Internet Flavor
If the user wants stronger virality or "网感", lean into these angles while staying accurate:
- "老师说不考"
- "PPT 讲了很多,重点像没讲"
- "群里回复比题目更难懂"
- "你以为是人格模拟,实际上是期末自救"
The project should feel like a real tool wrapped in a shareable joke, not a joke wrapped around an empty shell.
Bundled Resources
- Prompt templates live in
prompts/
- Material schema guidance lives in
references/materials-schema.md
- GitHub README positioning guidance lives in
references/github-readme-design.md
- Local scaffolding/build scripts live in
tools/
- Example professor data lives in
professors/example_linear-algebra-liu/
prompts/references/materials-schema.mdreferences/github-readme-design.mdtools/professors/example_linear-algebra-liu/正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。