Teaching Pipeline logo

Teaching Pipeline

Community
YujxZJCN
teaching-pipeline

Full teaching-lifecycle orchestrator for university professors. 4-agent team driving the six sibling skills through staged gates over the Course Passport: design → alignment gate → build → assess → quality gate → semester delivery loop → reflection → next-term improvement. Resumable from the passport at any week of the term; mid-entry at any stage. Triggers on: teach a course, prepare my course, semester, full course pipeline, course lifecycle, new semester, what's next for my course, course status, 开课, 备一门课, 新学期, 整门课, 课程全流程, 教学流程, 下一步.

Overview

PublisherYujxZJCN
Repositoryteaching-skills
Skill nameteaching-pipeline
Stars
49
Forks
7
Bundled files
5
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 5 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by YujxZJCN on GitHub. Read the source before you install it.

Installation

Install the Teaching Pipeline AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/YujxZJCN/teaching-skills/tree/main/teaching-pipeline
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/YujxZJCN/teaching-skills.git /tmp/teaching-skills
mkdir -p .claude/skills
cp -r /tmp/teaching-skills/teaching-pipeline .claude/skills/teaching-pipeline
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Teaching Pipeline in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Teaching Pipeline on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Teaching Pipeline is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Teaching Pipeline — Course Lifecycle Orchestrator

Orchestrates the whole teaching lifecycle — design, build, assess, deliver, reflect, improve — by dispatching the six sibling skills in backward-design order over a single Course Passport (shared/course_passport_schema.md). The professor brings the discipline, the students, and every decision; this skill brings sequence, gates, and memory across the semester and across terms.

Prime rule: unlike a paper pipeline, teaching is cyclic and calendar-bound. Stage 4 is a loop, not a step, and Stage 6 feeds Stage 1 of the next term. The passport plus today's position in the academic calendar — never the chat history — determines what happens next.

Quick Start

I'm teaching a new course on machine learning next semester — run the whole pipeline
新学期要开一门《数据结构》,帮我把整门课准备出来
I already have a syllabus from last year — pick it up from there
It's week 6, what's next for my course?
课程现在什么状态?下一步做什么?
Term just ended, here are my student evals — close out the semester

Modes

ModeTrigger intentWhat it does
full"Teach/prepare a whole course", new course from scratchStage 0 onward: intake → passport → all stages in order, every gate, every checkpoint
mid-entryProfessor arrives with existing materials or mid-process ("I already have a syllabus", "it's week 9")Detect/ask where they are, validate existing materials into the passport (via course-designer align-check, not re-derivation), enter at the matching stage per the routing table below
status"What's next?", "course status", 下一步Read passport + calendar position; report current stage, gate states, pending confirmations, and the next concrete action. Read-only
new-term"Teaching it again", new semester of an existing courseStage 6 → Stage 1 re-entry: load iteration_history evidence + the redesign brief, dispatch course-designer redesign with the evidence attached
dashboard"Show me my course", "course overview", 课程总览Run python3 scripts/build_dashboard.py <passport> → single-file course_dashboard.html next to the passport: gates (stored + live re-check), outcomes, assessment plan, week-by-week resources with clickable local artifact links, ledger, workload, iteration history. Regenerated at any checkpoint on request — it is a build product of the passport, never hand-edited

Mode dispatch rule: a passport already on disk + a vague request → run status first and propose the next action; never restart full on top of an existing passport. Detect intent in any language.

Stage Map

Stage 0  CONTEXT    — intake → initialize Course Passport            🧑 checkpoint
Stage 1  DESIGN     — course-designer (full | redesign)              🧑 checkpoint
Gate 1.5 ALIGNMENT  — alignment_gate_protocol; BLOCK → back to 1     ✓ machine + professor ack
Stage 2  BUILD      — lesson-builder week-batch, in batches the
                      professor sizes (just-in-time by default)      🧑 checkpoint per batch
Stage 3  ASSESS     — assessment-architect per assessment_plan
                      entry + integrity-check                        🧑 checkpoint per instrument
Gate 3.5 QUALITY    — quality_gate_protocol; BLOCK → back to 2/3     ✓ machine + professor ack
Stage 4  DELIVER    — weekly loop for the whole term:
                      just-in-time builds · student-mentor on demand
                      · midcourse feedback at week 4–6               🧑 checkpoint per cycle
Stage 5  REFLECT    — teaching-reflector eval-analysis +
                      evidence triangulation                         🧑 checkpoint
Stage 6  IMPROVE    — iteration record → passport iteration_history;
                      prioritized change list; offer re-entry:
                      next term → Stage 1 redesign with evidence     🧑 checkpoint
StageSkill / mode dispatchedArtifactsCheckpoint / gate
0 CONTEXT(this skill) intakecourse_passport.yaml initialized🧑 context confirmed
1 DESIGNcourse-designer full (or redesign in new-term)passport design fields, syllabus.md, design_rationale.md🧑 per course-designer's internal checkpoints
1.5 ALIGNMENTgate_runner → shared/alignment_gate_protocol.mdgates.alignment_gate findings + status✓ machine checks + professor acknowledgment; BLOCK → Stage 1, max 3 rounds
2 BUILDlesson-builder week-batchlessons/W* packages, schedule artifact_refs🧑 per batch
3 ASSESSassessment-architect (exam/quiz/project-brief/rubric… per assessment_plan type) + integrity-checkinstruments + rubrics, ai_resilience set per assessment🧑 per instrument
3.5 QUALITYgate_runner → shared/quality_gate_protocol.mdgates.quality_gate findings + status✓ machine checks + professor acknowledgment; BLOCK → Stage 2/3, max 3 rounds
4 DELIVERweekly: lesson-builder week-batch (next week); student-mentor (on demand); submission-auditor spec/audit/batch-audit (on demand, when work comes in); teaching-reflector midcourse (week 4–6)week materials, mentoring outputs, submission audit reports, midcourse report🧑 per weekly cycle; person-affecting outputs per Checkpoint Protocol hard rule
5 REFLECTteaching-reflector eval-analysis + triangulation with peer/artifact evidenceevaluation analysis report🧑 analysis confirmed
6 IMPROVEiteration_coachiteration_history entry, prioritized change list, redesign brief🧑 record confirmed; offer new-term

Build-ahead depth (Stage 2): the pipeline does not default to building all 16 weeks up front. At the Stage 2 entry checkpoint the professor chooses a batch depth — first week only, first unit, through the first exam, or everything. Just-in-time per week/unit is the recommended default: lessons built months ahead go stale against the real classroom. The choice is recorded in the passport and drives the Stage 4 loop.

Mid-Entry Routing

Mid-entry is first-class, not an exception. The orchestrator validates what exists into the passport (Iron Rule 3) and enters at the earliest stage whose entry invariants are unmet (references/pipeline_state_machine.md).

"I have…"Entry point
Nothing — new course, blank pageStage 0 full (offer course-designer socratic if aims are vague)
An old syllabus / inherited course outlineStage 0 intake → back-fill passport from the syllabus (confirmed, not assumed) → course-designer align-check to validate → Gate 1.5 → Stage 2 (or back to Stage 1 redesign if the gate fails)
A full confirmed design but no class materialsValidate passport (or build one from the design) → Gate 1.5 if not_run → Stage 2
Materials built but no exams/rubricsValidate → Stage 3 (Gate 1.5 must show pass; if not_run, run it first — it is cheap and catches what Stage 3 would inherit)
Mid-semester, week N, course already runningValidate passport + ask/confirm calendar position → enter the Stage 4 loop at week N; Gates run retroactively only if the professor wants the audit
Term just ended, student evals in handValidate → Stage 5 (eval-analysis) → Stage 6

Stage 4 — The Weekly Delivery Loop

Stage 4 is the term itself. Each cycle answers the Monday question: "Week N — what's due?"

each week N of the term:
  1. ORIENT   — passport + calendar: what's taught in W(N+lead), what assessments are
                due/upcoming, what's already built (artifact_refs)
  2. BUILD    — just-in-time window: lesson-builder week-batch for the next unbuilt
                week(s) within the professor's chosen lead time (default: next week)
  3. SUPPORT  — student-mentor on demand ONLY: feedback batches, a struggling student
                the professor brings up, emails, office-hours prep;
                submission-auditor when work comes in: spec confirmed at assignment
                release, audit/batch-audit at collection
  4. MIDCOURSE— at week 4–6 (once): offer teaching-reflector `midcourse` — early
                feedback while there is still time to act on it
  5. CHECK    — 🧑 weekly checkpoint: what shipped, what's pending, next Monday's picture

Rules of the loop:

  • Resumable by calendar. "What week are we in?" is answered from the passport's stored term calendar + today's date; a fresh session lands in the right cycle without recap. If the calendar was never stored, ask once and store it (Iron Rule 5).
  • Struggling-student support is on-demand and NEVER auto-initiated. The pipeline does not scan grades, attendance, or any data for struggling students — the professor brings the concern, with the evidence. Privacy is structural, not configurable.
  • Person-affecting outputs (feedback on named work, intervention emails, letters) follow the Checkpoint Protocol hard rule: evidence-bound, never auto-finalized, final human pass — and none of it enters the passport (Iron Rule 6).
  • Midcourse fires once, in the week 4–6 window, as an offer — the professor may decline; the decline is logged so it is not re-offered weekly.

Agent Team (4)

AgentRole
pipeline_orchestrator_agentDispatch: reads passport, determines stage, invokes sibling skill modes, enforces stage order and gate blocking, routes mid-entry, collapses checkpoints on "just proceed"
passport_keeper_agentState: passport read/validate/append per schema iron rules; reconciles hand-edited passports by asking; emits the status report; resume protocol for fresh sessions
gate_runner_agentGates: executes both gate protocols verbatim at 1.5 and 3.5; read-only except gates.*; findings cite passport ids; 3-round escalation rule
iteration_coach_agentStage 6: assembles semester evidence into the iteration record, prioritizes changes (impact × effort × evidence-confidence), writes iteration_history, prepares next term's redesign brief; protects what worked

Iron Rules

  1. The passport is the single source of truth. State lives in course_passport.yaml, never in the conversation. A fresh session loads the passport and continues; anything not in the passport did not happen, and no skill assumes context the passport doesn't contain (Passport Iron Rule 2).
  2. Gates are non-skippable in pipeline mode. Gate 1.5 and 3.5 always run and always end in professor acknowledgment. A BLOCK returns to the producing stage for at most 3 fix-and-rerun rounds; a BLOCK that survives 3 rounds is escalated to the professor as a recorded design decision, not repeated a fourth time. (Standalone sibling-skill use never forces a gate.)
  3. Stage order is enforced downward only. Backward design (Pedagogy Foundations §1): no materials before confirmed outcomes, no instruments before a confirmed assessment plan, no delivery before the Quality Gate. But mid-entry validates existing work into the passport via align-check — it never makes a professor re-derive a design they already have.
  4. Checkpoint provenance. confirmed_by_professor is set only at a real confirmation (Passport Iron Rule 4). "Just proceed" collapses checkpoints to minimal confirmations per the Checkpoint Protocol — it never skips the confirmation itself, and person-affecting outputs never collapse.
  5. Calendar honesty. Never invent the academic calendar — term dates, breaks, exam weeks, add/drop deadlines are institutional facts. Ask once at Stage 0 (or first need), store in the passport, and compute "what week is it?" from that record only.
  6. Person-affecting work stays out of the passport. Stage 4 outputs about identifiable students follow the Checkpoint Protocol's hard rule (evidence-bound, final human pass); student names, grades, and case details are never written into course_passport.yaml or any pipeline state file.

Extension Skills

Seven extension skills attach to pipeline stages on demand. The orchestrator offers them where they fit but never requires them — gates do not depend on extensions.

StageExtension dispatchedWhen
1 / 6accreditation-mapperProfessor faces accreditation/program reporting; Stage 6 iteration records feed its continuous-improvement narrative
2deck-studioAfter lesson-builder slide outlines — render actual decks with the course theme
2media-scripterFlipped/online courses — script the recorded mini-lectures the flipped spec calls for
2–3lab-forgeSTEM courses — executable labs, per-student datasets, autograders (output feeds submission-auditor)
4course-publisherWeekly loop — announcements, weekly emails, course site, LMS packaging
4ta-coordinatorCourses with TAs — onboarding before week 1, calibration before first graded assessment, consistency checks after
anybilingual-coursewareBilingual/EMI courses — glossary before the first translated artifact, sync checks on paired materials
0–1 / 4cohort-analystProfessor holds student readiness data — pre-term diagnostic before Stage 1 design; pre-lesson questionnaires feed week-N calibration in the Stage 4 loop. Aggregates only; never auto-initiated on individuals

Does NOT Trigger

Single-artifact requests route to the specific skill — the pipeline is for the lifecycle, not for one deliverable.

ScenarioUse instead
Design outcomes, a syllabus, or audit alignment onlycourse-designer
One lesson, lecture notes, slides, an activity, a caselesson-builder
One exam, quiz, rubric, project brief, or an item analysisassessment-architect
Feedback, a recommendation letter, a student email, office-hours prepstudent-mentor
Check submissions against a template/standard, batch compliance reportssubmission-auditor
Analyze evals, a peer observation, teaching statement, SoTLteaching-reflector

Outputs

  • course_passport.yaml — maintained continuously; the design, state, and audit record
  • Stage artifacts produced via the sibling skills (syllabus, lesson packages, instruments, reports), each registered in passport artifacts[] with provenance
  • Status reports (status mode) — stage, gates, pending confirmations, calendar position, next actions
  • Iteration record (Stage 6) — iteration_history entry + prioritized change list + redesign brief for next term

References

  • references/pipeline_state_machine.md — formal states, entry invariants, transitions, resumption algorithm
  • Shared: shared/course_passport_schema.md, shared/alignment_gate_protocol.md, shared/quality_gate_protocol.md, shared/checkpoint_protocol.md, shared/ai_era_integrity.md, shared/pedagogy_foundations.md

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Teaching Pipeline AI skill do?

Full teaching-lifecycle orchestrator for university professors. 4-agent team driving the six sibling skills through staged gates over the Course Passport: design → alignment gate → build → assess → quality gate → semester delivery loop → reflection → next-term improvement. Resumable from the passport at any week of the term; mid-entry at any stage. Triggers on: teach a course, prepare my course, semester, full course pipeline, course lifecycle, new semester, what's next for my course, course status, 开课, 备一门课, 新学期, 整门课, 课程全流程, 教学流程, 下一步.

Why use Teaching Pipeline on TypingMind?

Because you install it once and use it with any model. Teaching Pipeline is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Teaching Pipeline in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/YujxZJCN/teaching-skills/tree/main/teaching-pipeline. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Teaching Pipeline?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Teaching Pipeline?

As many as you like. As long as a model supports skills, you can use Teaching Pipeline with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Teaching Pipeline AI skill free?

Yes. It is published on GitHub by YujxZJCN under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇