Lingochunk lesson
Build a coursebook-style lesson from the user's own LingoChunk listening history and save it as a structured lesson.v1 document. Pick an episode (optionally a time range like "the first 5 minutes") and a CEFR level, pull the transcript slice plus vocabulary with FSRS maturity, then compose a lesson on a Listen -> Text -> Vocabulary -> Grammar -> Exercises -> Review scaffold, choosing 2-3 exercise archetypes suited to the grammar point and level so consecutive lessons don't feel identical. The app renders it natively with real audio, live word state, crosslinks and a built-in AI tutor. Use when the user asks to make or build a lesson, worksheet, study sheet, or exercises from their LingoChunk content, or to "quiz me" on an episode or a word.From its SKILL.md
npx -y skills add lingochunk/mcp --skill lingochunk-lessonAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
27.3 KB, as published. Nobody here has run it
LingoChunk lesson builder
Build a lesson.v1 document grounded in the learner's real LingoChunk
content. The division of labour is the point: LingoChunk supplies the
materials (sentences with positions and translations, vocabulary with FSRS
maturity) and renders the lesson natively in the app; you do the pedagogy on
the user's own tokens. No server-side LLM spend. The app plays the audio
straight from the original episode (never send or embed audio), resolves
word knowledge live, links every word and sentence back to its Words/Listen
tabs, and mounts an Ask AI tutor on the grammar box and glossary.
This skill uses the lingochunk MCP tools. If they are not available, tell
the user to add the LingoChunk MCP server (see the plugin README) and stop.
When to use
- "Make me a lesson / worksheet / quiz from yesterday's episode."
- "Build a lesson on the subjunctive using examples from my episodes."
- "Create a lesson from the first five minutes of episode X."
- "Quiz me on the words I'm learning in German."
Options to settle first (ask only what the user left open)
- Source: a named episode (
list_library), or a topic/grammar point gathered across episodes (search_examples,get_vocabulary) - in v1 a lesson has ONE source episode, so for cross-episode topics pick the richest single episode. - Time range: "the first five minutes" maps to
get_transcriptfrom_time/to_time; a chapter or scene works too. Default: a coherent 3 to 8 minute slice, not a whole 45-minute episode. - Level: the CEFR level to pitch at. If the user does not say, infer it
from the CEFR mix of their
get_vocabulary(status=known)words and say which level you picked. Level drives:- instruction language: A1/A2 instructions in the learner's language; B1+ in the target language (keep them one short sentence);
- exercise mix: more recognition (MCQ, matching) at low levels, more cued recall and production at high levels;
- which grammar point qualifies (see below), glossary depth, and which archetypes you pick from the menu.
Workflow
-
Pull the slice.
get_transcriptwith the chosen range. Onlytranscript_state: "ready"is usable. Keep each sentence'sposition,text,translation,speaker, and itsstart/endseconds - the document references sentences BY POSITION and must quotetextVERBATIM (the server rejects misquotes); thestart/endtimes are what you buildaudio_slicewindows from. -
Gather and filter vocabulary. Two sets: EXCLUDE and DRILL.
- Exclusion set:
get_vocabulary(status=known)(follownext_cursorwithlimit=200until null, or a known word slips into an exercise). - Due words:
get_vocabulary(status=due)- do NOT exclude; they are exactly what is worth practising now (the app flags them live). - Drill words:
get_vocabulary(status=learning)andstatus=new, prioritised. - Ground meanings/gender/CEFR with
lookup_word; never invent them.
- Exclusion set:
-
Pick ONE grammar point evidenced in the slice, at the lesson's level. One per lesson, always. Prefer a pattern that occurs 2+ times in the slice so the evidence table has real rows.
-
Compose the document (schema below) on the scaffold, choosing archetypes from the menu. The scaffold is the default skeleton; the archetype menu is what stops every lesson looking the same. See "The scaffold and the archetype menu" below.
-
Validate, then save. Call
validate_lessonwith{document}FIRST: it returns EVERY problem at once (schema + reference), so you fix the whole document in one pass instead of burning save -> 400 -> fix cycles. Read theerrorscodes:schema_invalidcarries aloc(dotted path to the bad field);unknown_positions/position_outside_slicemean a sentence reference is wrong;dialogue_mismatchmeans quote the transcript verbatim (including punctuation);order_mismatchmeans anexercise_orderitem's segments do not reassemble its anchored sentence. Only once it returnsvalid: truedo yousave_lessonwith{document}. Setgenerator: {skill: "lingochunk-lesson"}so the app's lessons list shows which skill built it (episodes collect lessons from several skills). Both calls reportunknown_lemmas(advisory only - glossary lemmas the episode does not know); prefer the lemma form the episode's vocabulary uses and fix any that look wrong before saving. -
Deliver. Give the user the
app_url(the lesson opens in a Lessons tab on the episode). If the user asked for a course or a series of lessons, file this one under a course:create_courseonce, then pass its id assave_lesson'scourse_idwith asequence(see thelingochunk-courseguide). If the user is a CREATOR publishing to their audience, passvisibility: "public"too - the lesson then shows to everyone who can view the episode (e.g. followers of their collection). Publishing requires owning the episode; the default is private, so never publish unasked. Tell the user every vocab row and review-offer chip has an add-to-deck button - one tap saves your gloss as forward+reverse cards with the sentence audio, so they curate their own deck while studying. Offeradd_cardonly when they ask you to add words FOR them (a 409 means it is already there - skip and carry on; never addstatus=knownwords). Mention the in-app Download button if they want the offline HTML worksheet (it has no audio by design). Summarise what the lesson covers and which words it drills.
Revising a saved lesson
Lessons are editable IN PLACE: get_lesson -> compose the change ->
update_lesson. The lesson keeps its id, app_url, visibility and course, so
never revise by save-new + delete-old.
The co-edit loop. The app has a Co-edit mode for lesson owners: it labels
every block with a § handle (§1, §2, ... - the 1-based block position) and
live-refreshes while an agent edits. When the user pastes a lesson outline or
says "change §5", they are in that loop: the § numbers are update_lesson's
ops block numbers, and the user SEES your edit land within seconds - so
act, then confirm briefly; no need to re-describe the lesson.
Workflow:
get_lessonreturns{version, document}. Treatversionas OPAQUE - echo it verbatim asupdate_lesson'sbase_version, never parse or reformat it (a Date round-trip truncates it and it will never match).- Compose the revision against THAT read. Every rule in this guide applies
to edited blocks - verbatim transcript quotes, anchoring, one grammar
point. For a broad rewrite,
validate_lessonthe whole revised document first; for surgicalops, the update re-validates server-side anyway. - Prefer
ops(replace/insert/delete by block number, plusmetafor title/subtitle/level/objectives) over a fulldocumentresend. Batch ALL changes from one read into ONE call, ordered by DESCENDING block number - ops apply sequentially, so editing top-down shifts the numbers under you. - § numbers are only valid against the read they came from. After your own
successful update everything renumbers - use the returned
{version}for a chained edit, but re-read (get_lesson) before composing NEW block references. The user's pasted outline is also a snapshot: before a delete/replace, check the target block's type and content match what they described, not just its number. - On a
stale_documenterror, the lesson changed under you (usually the owner's own in-app edit). Re-read, re-apply your intent to the fresh document, and never blind-retry the same call. - Consolidate. Writes share a 60/hour budget with saves, and each update re-renders the lesson for a watching owner - one thoughtful update beats five drips.
Anchoring (mandatory)
The renderer's best features - inline play chips, deep links into Listen and Words, listening exercises - are all opt-in through optional fields. A lesson that omits them renders flat. These are hard rules, not suggestions:
- Every
vocabentry MUST carryposition. The anchor is what puts an audio play chip on the row and a crosslink to the Words tab. A vocab entry with no position is a dead row. - Write
meaningas a flashcard face. The app has an add-to-deck button on every vocab row (and on the review block's word chips): one tap turns the entry into forward+reverse cards whose meaning face is YOURmeaning, verbatim, with audio from the anchor sentence - no server AI involved. Keep it a concise, self-contained gloss (what the learner should recall), not a lecture; register/usage notes belong in aproseblock. review.new_lemmasshould only list lemmas the lesson'svocabentries gloss. Each chip in the closing offer adds a card built from that entry's meaning; a lemma with no entry falls back to a server-side AI resolve - spending budget to derive what you could have authored.- Every MCQ that tests LISTENING MUST carry
audio(and apositionwhen it points at one sentence). Withoutaudioit is a reading question, not a listening one. A pure recognition/gist MCQ before reading is the one case that legitimately has no audio. - Every gap-fill item SHOULD carry
positionandtranslation. The position anchors it to the real sentence (and lights a play chip where the renderer supports it); the translation gives the learner the meaning to work from. - Dialogue highlights on the grammar pattern are required. Every
dialogueline that carries an instance of the lesson's grammar point MUST mark it withhighlights(code-point ranges) so the pattern shows as gold marks. A dialogue with no highlights wastes the one grammar point. - Show the word in its context when the context is the point. A vocab
entry with
show_sentence: truerenders its anchor sentence (live transcript text, the word marked) under the row - use it when the user asks for words "in their sentences", for idioms/collocations where the surrounding words carry the meaning, or in a vocabulary-led lesson; skip it when a long glossary would drown the page. It requiresposition. - Dialogue
noteis for the author's aside, never for content. One short line under a dialogue line (register, usage, a cross-reference to the grammar point). It is your voice, not the transcript's - never put quoted or translated sentence content in it (that is whattext/translationare for), and use it sparingly: a note on every line reads as clutter. A note may carry anexample/example_translationpair (the Assimil note shape): a FRESH illustrative sentence you author - not quoted from the transcript - with its translation, shown as an indented second line under the note. The same pair is available onaudio_slicenotes;examplerequires the note text, andexample_translationrequiresexample.
The scaffold and the archetype menu
Scaffold (default skeleton, in order): Listen -> Text -> Vocabulary ->
Grammar -> Exercises -> Review. Use section blocks to head each stage; the
renderer numbers them. This ordering (recognition before reading, one grammar
point, graded practice, can-do close) is the pedagogy and holds for every
lesson.
Archetype menu (the variety). The Exercises stage - and the Listen and Text stages' interactive bits - are NOT a fixed list. Pick 2-3 archetypes per lesson, keyed to the grammar point, the level, and what the episode's audio actually affords, so consecutive lessons on the same episode don't feel identical. The archetypes (recipes for the starred ones are below):
| Archetype | Block(s) | Best for |
|---|---|---|
| Gist MCQ (no audio) | exercise_mcq | opening recognition, every lesson |
| T/F comprehension * | exercise_mcq, 2 options | after the listen, low/mid levels |
| Listening-detail MCQ | exercise_mcq + audio + position | any level, checks a specific line |
| Minimal-pair MCQ * | exercise_mcq + audio | morphology, separable prefixes, case, tense |
| Back-chain ladder * | 3-4 audio_slice | one hard/long sentence; prosody; word order |
| Assimil passive wave * | prose + dialogue | the Text stage, every level |
| Anticipation round * | prose + audio_slice pairs | cued recall, mid/high levels |
| Grammar gap-fill | exercise_gap_fill | the grammar point itself, every lesson |
| Vocabulary gap-fill | exercise_gap_fill + wordbank | vocabulary consolidation, low/mid |
| Match words -> meanings | exercise_match | vocabulary, low/mid levels |
| Sentence reorder * | exercise_order | word order / clause structure, every level |
| Dictation * | exercise_dictation | native-audio dictation, listening precision |
| Shadowing * | exercise_shadow | pronunciation & prosody, the differentiator |
| Translate / reconstruct * | exercise_translate | active recall, the Assimil second wave, mid/high levels |
| Production | exercise_production | active use, mid/high levels |
Which archetypes for which lesson (grammar-point type x level -> pick from):
| Grammar point | A1-A2 | B1-B2 | C1+ |
|---|---|---|---|
| Verb morphology (Perfekt, tense) | minimal-pair MCQ, grammar gap-fill | back-chain ladder, grammar gap-fill | anticipation round, production |
| Word order / clause structure | sentence reorder, T/F comprehension | sentence reorder, back-chain ladder | anticipation round, production |
| Cases & endings | minimal-pair MCQ, match | grammar gap-fill, minimal-pair MCQ | production, anticipation round |
| Separable / prefix verbs | minimal-pair MCQ, listening-detail MCQ | minimal-pair MCQ, grammar gap-fill | anticipation round, production |
| Connectors / subordination | T/F comprehension, vocabulary gap-fill | grammar gap-fill, production | production, anticipation round |
| Vocabulary field / functional | match, vocabulary gap-fill | listening-detail MCQ, production | anticipation round, production |
Always keep one grammar gap-fill (or minimal-pair MCQ) that drills the actual grammar point, plus one vocabulary archetype; the third slot is where you vary. Distractors in any MCQ or word bank come from the user's own vocabulary, same part of speech, so wrong answers are plausible.
Recipes
Back-chain ladder (FSI backward build-up)
For the slice's hardest sentence - the longest, or the one carrying the
grammar pattern - build 3-4 audio_slice blocks that all END at the same
point and grow leftward, shortest first, so the learner chorus-repeats the
tail then extends it: "…gemacht." -> "…heute gemacht." -> the whole sentence.
Computing the windows from the sentence's transcript start S and end E
(there are no per-word times, so estimate):
- per-word duration
d = (E - S) / word_count; - slice covering the last
wwords:start = E - w*d,end = E; - use growing
w(e.g. last 2 words -> last 5 -> full sentence atstart=S); - the END anchor
Eis exact; the estimated starts can land mid-word, so subtract ~0.3 s from each computedstart(floor at S) to avoid clipping the first syllable.
The reader is always-open, so the app renders the exact words each window
covers - live from the transcript, karaoke-highlighted as the rung plays - by
itself; you set no flag for this (show_words is deprecated and inert). Keep
label for the rung's INTENT ("Just the ending", "Extend the run-up", "The
whole sentence"); never copy the words into the label, the display derives
them. The schema needs end > start and start >= 0, and every window must
sit inside the source slice.
Assimil passive wave
Before the dialogue block in the Text stage, put an instruction prose
that runs the passive wave: listen once without reading, then read while
listening, then reveal translations line by line. The dialogue block already
blur-reveals each line's translation, so the instruction is what makes it a
technique rather than a wall of text. Example prose:
"Listen to the scene once with the audio above, without reading. Play it again and read along. Then tap each line to reveal its translation and check you understood."
Anticipation round (Pimsleur-style)
Cued recall in pairs. For 3-5 target phrases from the slice, emit a prose
(the L1 prompt + a one-line hint on how to say it) immediately followed by an
audio_slice that plays the phrase from the real audio as the answer. Set
listen_first: true on that answer slice so its text starts BLURRED: the
reader is always-open, so without this the words would show and spoil the
anticipation. The learner covers the answer, says the target aloud, plays to
check, THEN reveals the text with the layer control. Keep the answer slice's
label NEUTRAL ("Play the answer"). Build the answer window from the target
sentence's start/end (a back-chain-style tail slice works if you want just
the phrase). Order the pairs from easiest to hardest.
Minimal-pair / discrimination MCQ
An exercise_mcq with a tight audio window over the contrasting word or
phrase, and options that differ in exactly ONE morpheme - perfect for German
separable prefixes (steht auf vs versteht), case endings (dem vs
den), or tense/participle (gefahren vs fahren). correct indexes the
form actually spoken; the distractors are real minimal variants, not
nonsense. Add position so the row deep-links to the sentence.
T/F comprehension
An exercise_mcq with exactly TWO options - ["Richtig", "Falsch"] (or the
learner's language at A1/A2) - and a prompt that states something about the
passage. Place 2-3 of them after the Listen section. Add audio + position
to make it a listening check rather than a reading one.
Sentence reorder (Satzbau)
An exercise_order with 1-5 items, each a sentence broken into segments
(3-12 chunks) IN CORRECT ORDER - the renderer scrambles them; the learner
reassembles. This is the right tool whenever the grammar point is word order
or clause structure (verb-second, verb-final in subordinate clauses,
separable-prefix placement): it supersedes an ad-hoc gap-fill where a real
scramble fits. Anchor each item to its sentence with position and the server
checks the segments reassemble the stored sentence (whitespace-insensitive),
rejecting a drifted scramble with order_mismatch; so quote the real chunks,
do not paraphrase. Split at meaningful units (a chunk can be a word or a short
phrase like "am Wochenende"), and add translation so the learner has the
meaning to aim for.
Dictation (Diktat)
An exercise_dictation with 1-5 items, each anchoring a stored sentence by
position (REQUIRED). The app plays that sentence's native audio and diffs the
learner's typing against the LIVE transcript word by word - nothing is copied
into the document, so the answer stays truthful as the transcript is edited.
Pick 2-4 SHORT, clearly-articulated sentences (dictation of a long or mumbled
line just frustrates); optionally set a wider audio window to include a beat
of lead-in, keeping it COVERING the sentence. Add translation for the meaning.
Shadowing (the differentiator)
An exercise_shadow with 1-8 items, each a stored sentence by position
(REQUIRED) - the app plays the native line, records the learner, and replays
their take (in-memory only, no upload, no score - self-assessed). This is the
product's core practice move inline in a lesson; use it to make a lesson end in
real speaking. Pick 3-8 of the dialogue's best lines - the ones worth being
able to say fluently - in the order they occur. Add translation per line.
Translate / reconstruct (the Assimil daily exercise)
An exercise_translate with 1-6 items. It carries both Assimil's daily
translate exercise and active-wave reconstruction: cue in one language, produce
the other, compare with a model, replay the source. Two knobs and two item
shapes:
direction:target_to_meaning(read the target sentence, produce the meaning - comprehension) ormeaning_to_target(read the meaning, produce the target - active production, the harder second-wave move).response:self_check(default; the learner grades themselves against the model),type,speak, orspeak_then_type(speak first, writing optional - exactly Assimil's instruction).- ANCHORED item (
positionset): a live transcript sentence supplies the cue (target_to_meaning) or the exact answer (meaning_to_target, diffed like dictation). Nothing is copied into the document;cue/model_answerare author OVERRIDES only (custom wording), andsource_positionsMUST be empty because the anchor sentence IS the source. - RECOMBINATION item (no
position): a FRESH sentence that recombines the lesson's material, so it is NOT in the transcript. It REQUIRES its owncueANDmodel_answerAND at least onesource_positionsentry naming the transcript sentences its chunks came from, so an invented sentence stays grounded and lintable.
Scoring is deliberate: an item is marked all-or-nothing (1 point) ONLY when it
is meaning_to_target, has a typed response (type/speak_then_type) AND is
anchored - the diffable-exact case. Every other configuration is self-assessed
and never shows a misleading binary mark. Use anchored items for reconstructing
lines the learner has already met, recombination items for a fresh sentence
built from the week's chunks; add a short note per item for a usage hint.
The lesson.v1 document (quick reference)
Top level: {format:"lesson.v1", title, subtitle?, language, translation_language, level?, source:{submission_id, from_time?, to_time?, episode_title?}, generator?:{skill, version?}, objectives?[<=5], estimated_minutes?, blocks[<=40]}.
Blocks (type field): section {title, subtitle?} · prose {text, style:"instruction"|"body"|"culture"} (style "culture" renders as a labelled
culture-note callout, same mini-Markdown body) · audio_slice {audio:{start,end}, label?, listen_first?, notes?:[{position, quote?, text, example?, example_translation?}]} (listen_first: true starts the text layer blurred for
an anticipation / first-listen round, the reader being always-open otherwise;
show_words is deprecated and inert; notes are numbered span-anchored
footnotes, and a note's example/example_translation add a fresh example
sentence with its translation as the indented second line) ·
dialogue {presentation?:"auto"|"parallel"|"conversation", lines:[{position, speaker?, text, translation?, literal?, highlights?:[[start,end],...], note?, note_quote?, example?, example_translation?}]} (note is a short authorial aside
rendered under the line - register, usage, "this is the idiom from the
title"; the author's voice, so it is NOT congruence-checked; example/
example_translation add a fresh example sentence with its translation under the
note - example requires note; presentation selects the renderer treatment only)
· vocab {entries:[{lemma, pos?, display?, forms?, meaning, cefr?, position?, show_sentence?}]} (show_sentence: true renders the anchor sentence LIVE
from the transcript under the row, the word marked - requires position) ·
grammar_box {title, explanation, evidence:[{position?, text, note}], merke?, achtung?} · exercise_mcq {title?, instruction?, prompt?, audio?, position?, options[2..5], correct:0-based index} · exercise_gap_fill {title?, instruction?, wordbank?, items:[{position?, text, answers:[[alternatives],...], translation?}]}
(gaps are {{1}}, {{2}}, ... in text; answers[n-1] lists accepted
alternatives for gap n) · exercise_match {title?, instruction?, pairs:[{left,right}][2..8]} · exercise_order {title?, instruction?, items:[{position?, segments[3..12] in correct order, translation?}][1..5]}
(segments must reassemble the anchored sentence) · exercise_dictation {title?, instruction?, items:[{position (REQUIRED), audio?:{start,end}, translation?}][1..5]} · exercise_shadow {title?, instruction?, items:[{position (REQUIRED), translation?}][1..8]} · exercise_translate {title?, instruction?, direction:"target_to_meaning"|"meaning_to_target", response?:"self_check"|"type"|"speak"|"speak_then_type", items:[{position?, cue?, model_answer?, source_positions?:[int], note?}][1..6]}
(anchored item (position set) uses the live sentence, cue/model_answer are
overrides only and source_positions must be empty; recombination item (no
position) REQUIRES cue + model_answer + >=1 source_positions provenance; scored
only when meaning_to_target + typed + anchored) · exercise_production {title?, instruction?, prompt, model_answer} · review {can_do?[<=5], new_lemmas?[<=12]}.
position? in the reference is the SCHEMA shape (optional); the Anchoring
section is where authoring policy makes some of these anchors mandatory.
Text formatting. prose.text and grammar_box.explanation render a
mini-Markdown subset in the app: **bold**, *italic*, backtick code,
- /* bullet lines, and blank-line paragraph breaks. Exercise
instruction fields, grammar_box.merke/achtung and dialogue line
notes render the inline marks only (no bullets or paragraphs). Every
other text field (titles, prompts, options, vocab meanings, dialogue
lines) is plain text. Headings,
links, tables, images and raw HTML are never rendered anywhere - they show
as literal characters, so don't emit them.
Caps: 40 blocks, 30 dialogue lines, 20 vocab entries, 5 MCQ options, 10 gap-fill items, 8 match pairs, 5 order items (3-12 segments each), 5 dictation items, 8 shadow items, 6 translate items, 8 highlight spans per line, 1 MB serialized.
The server is the validator of record (strict: unknown fields and block
types are rejected). Audio is [start,end) seconds into the ORIGINAL
episode audio - never generate, clip or embed audio files.
Hard rules
- Ground, do not invent. Every dialogue line quotes the transcript
verbatim by
position; meanings, genders and CEFR come fromlookup_word/get_vocabulary. The server enforces the quoting. - Anchor everything (see Anchoring above). Vocab entries carry
position; listening MCQs carryaudio; gap-fill items carrypositionandtranslation; grammar-pattern dialogue lines carryhighlights. An unanchored lesson renders flat and is a bug. - LingoChunk is the system of record for word knowledge. Do not drill a
knownword unless it is alsodue. Never write review grades back. - One grammar point per lesson. Depth beats coverage; a second point is a second lesson.
- Vary the archetypes. Pick 2-3 from the menu keyed to the grammar point and level; do not emit the same fixed exercise list every time.
- Respect the source. Only use content the tools return; put the
episode title in
source.episode_title. - No audio handling. The app plays ranges of the original audio;
get_audio_clipis NOT part of this workflow.audio_slicewindows are built from transcript sentencestart/endtimes.