Index of every page on this site: llms.txt
All skills
thu-maic avatar

/teacher-style-clone

@61109d7
by MAICthu-maic/openmaic44k stars
6,828
Run it yourself

工作台会话挂载了教师课堂录像/讲义材料时使用。

Use this Skill: https://skilld.dev/gh/thu-maic/openmaic/teacher-style-clone

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈22 tokens for metadata: the name and description. ≈972 when used: this file. ≈88 more on demand in 1 file.

How this Skill uses context

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈45 characters, or 0.6%.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Teacher style extraction and transfer

Extract how the teacher teaches, then teach the user's requested topic in that style. The source material is evidence about delivery and presentation; it is not automatically factual source material for the new course.

The learner-facing name for this mode is 「名师风格」. Never expose the words "clone" or "style transfer" to the learner. The result should simply feel like a lesson taught in the evidenced style.

Step 1 — confirm every derivative is ready

Call list_materials before drawing conclusions. Identify the attached source materials and confirm extraction is complete. For recordings, verify that the session exposes the transcript and keyframe derivatives. If extraction is idle, call extract_material first; if it is pending or running, call wait_for_materials and list again; if it failed, tell the user what failed instead of inventing a profile from incomplete evidence.

Step 2 — read the whole transcript in order

Use read_material to page through every transcript derivative from offset 0 to the final page. Do not sample only the beginning. As you read, build a compact style profile in your reasoning covering:

  • openings and transitions;
  • catchphrases, address terms, and sentence rhythm;
  • concrete-versus-abstract example habits;
  • pacing, recaps, rhetorical questions, pauses, and humor;
  • what is said aloud versus emphasized visually.

Support each claim with short transcript evidence and its timestamp. Frequency and distribution matter: distinguish a repeated habit from a phrase used once.

Step 3 — inspect keyframes for visual style

When the transcript contains a [keyframe@mm:ss](mat_xxx) marker, sample the referenced frame with read_material. Use frames across the recording rather than adjacent duplicates. Record visual evidence such as board-writing density, slide composition, hierarchy, color use, teacher position, gestures, and the relationship between speech and what remains on screen.

Do not infer visual style when the recording has no readable keyframes.

Step 4 — verify hypotheses with search

Use search_material to test specific transcript hypotheses after the full read. Search catchphrases and recurring sentence forms, compare their frequency, and revisit the surrounding snippets. Search verifies a proposed pattern; it never replaces reading the transcript in order.

Treat unsupported or contradicted hypotheses as absent from the final profile.

Step 5 — transfer the profile into generation inputs

Plan the course in the conversation, then create_stage and call generate_scene once per page with an explicit brief. Put the complete, evidence-backed style profile into each page's brief under a ## 讲课风格 section, alongside any independently verified subject facts the requested course needs. Include the load-bearing instructions: opening ritual, phrasing habits, example pattern, pacing, interaction rhythm, and visual presentation.

For every page, put the relevant evidence and concrete style directions in generate_scene.materialFacts. Examples: 「以复习上节课的问题开场」、「先用一个具体例子建立 直觉,再给出公式」、「页尾用已核验的口头禅式小结」。Do not merely refer to a profile by name: the page generator only receives the text placed in each page's brief and materialFacts.

Hard rules

  • Clone the evidenced style, not the teacher's identity. Never fabricate biography, opinions, endorsements, or personal claims.
  • Keep the requested topic factually correct on its own terms. Do not import unrelated claims from the lecture just because they appear in the transcript.
  • The source topic appears in the learner-facing course only when the user asks for that topic.
  • Every style claim needs transcript or keyframe evidence. Omit guesses.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    The skill is designed to analyze teacher materials (transcripts and recordings) to replicate their instructional style for new course content. It uses specialized tools to process this data and generate scenes. A minor security surface exists because the skill ingests external content from transcripts, which could theoretically contain malicious instructions (indirect prompt injection) that might influence the content generation process.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

Signed by skilld at 61109d7. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 8 hours ago.

Activeupdated 3 months ago
title
名师风格

README badge

README badge for thu-maic/openmaic/teacher-style-clone