agentsclimarketplace

Lingochunk lesson

Skill lingochunk/mcp/skills/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

Install
npx -y skills add lingochunk/mcp --skill lingochunk-lesson

Assembled 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)

  1. 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.
  2. Time range: "the first five minutes" maps to get_transcript from_time/to_time; a chapter or scene works too. Default: a coherent 3 to 8 minute slice, not a whole 45-minute episode.
  3. 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

  1. Pull the slice. get_transcript with the chosen range. Only transcript_state: "ready" is usable. Keep each sentence's position, text, translation, speaker, and its start/end seconds - the document references sentences BY POSITION and must quote text VERBATIM (the server rejects misquotes); the start/end times are what you build audio_slice windows from.

  2. Gather and filter vocabulary. Two sets: EXCLUDE and DRILL.

    • Exclusion set: get_vocabulary(status=known) (follow next_cursor with limit=200 until 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) and status=new, prioritised.
    • Ground meanings/gender/CEFR with lookup_word; never invent them.
  3. 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.

  4. 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.

  5. Validate, then save. Call validate_lesson with {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 the errors codes: schema_invalid carries a loc (dotted path to the bad field); unknown_positions / position_outside_slice mean a sentence reference is wrong; dialogue_mismatch means quote the transcript verbatim (including punctuation); order_mismatch means an exercise_order item's segments do not reassemble its anchored sentence. Only once it returns valid: true do you save_lesson with {document}. Set generator: {skill: "lingochunk-lesson"} so the app's lessons list shows which skill built it (episodes collect lessons from several skills). Both calls report unknown_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.

  6. 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_course once, then pass its id as save_lesson's course_id with a sequence (see the lingochunk-course guide). If the user is a CREATOR publishing to their audience, pass visibility: "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. Offer add_card only when they ask you to add words FOR them (a 409 means it is already there - skip and carry on; never add status=known words). 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:

  1. get_lesson returns {version, document}. Treat version as OPAQUE - echo it verbatim as update_lesson's base_version, never parse or reformat it (a Date round-trip truncates it and it will never match).
  2. 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_lesson the whole revised document first; for surgical ops, the update re-validates server-side anyway.
  3. Prefer ops (replace/insert/delete by block number, plus meta for title/subtitle/level/objectives) over a full document resend. 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.
  4. § 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.
  5. On a stale_document error, 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.
  6. 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 vocab entry MUST carry position. 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 meaning as 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 YOUR meaning, 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 a prose block.
  • review.new_lemmas should only list lemmas the lesson's vocab entries 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 a position when it points at one sentence). Without audio it 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 position and translation. 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 dialogue line that carries an instance of the lesson's grammar point MUST mark it with highlights (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: true renders 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 requires position.
  • Dialogue note is 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 what text/translation are for), and use it sparingly: a note on every line reads as clutter. A note may carry an example/example_translation pair (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 on audio_slice notes; example requires the note text, and example_translation requires example.

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):

ArchetypeBlock(s)Best for
Gist MCQ (no audio)exercise_mcqopening recognition, every lesson
T/F comprehension *exercise_mcq, 2 optionsafter the listen, low/mid levels
Listening-detail MCQexercise_mcq + audio + positionany level, checks a specific line
Minimal-pair MCQ *exercise_mcq + audiomorphology, separable prefixes, case, tense
Back-chain ladder *3-4 audio_sliceone hard/long sentence; prosody; word order
Assimil passive wave *prose + dialoguethe Text stage, every level
Anticipation round *prose + audio_slice pairscued recall, mid/high levels
Grammar gap-fillexercise_gap_fillthe grammar point itself, every lesson
Vocabulary gap-fillexercise_gap_fill + wordbankvocabulary consolidation, low/mid
Match words -> meaningsexercise_matchvocabulary, low/mid levels
Sentence reorder *exercise_orderword order / clause structure, every level
Dictation *exercise_dictationnative-audio dictation, listening precision
Shadowing *exercise_shadowpronunciation & prosody, the differentiator
Translate / reconstruct *exercise_translateactive recall, the Assimil second wave, mid/high levels
Productionexercise_productionactive use, mid/high levels

Which archetypes for which lesson (grammar-point type x level -> pick from):

Grammar pointA1-A2B1-B2C1+
Verb morphology (Perfekt, tense)minimal-pair MCQ, grammar gap-fillback-chain ladder, grammar gap-fillanticipation round, production
Word order / clause structuresentence reorder, T/F comprehensionsentence reorder, back-chain ladderanticipation round, production
Cases & endingsminimal-pair MCQ, matchgrammar gap-fill, minimal-pair MCQproduction, anticipation round
Separable / prefix verbsminimal-pair MCQ, listening-detail MCQminimal-pair MCQ, grammar gap-fillanticipation round, production
Connectors / subordinationT/F comprehension, vocabulary gap-fillgrammar gap-fill, productionproduction, anticipation round
Vocabulary field / functionalmatch, vocabulary gap-filllistening-detail MCQ, productionanticipation 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 w words: start = E - w*d, end = E;
  • use growing w (e.g. last 2 words -> last 5 -> full sentence at start=S);
  • the END anchor E is exact; the estimated starts can land mid-word, so subtract ~0.3 s from each computed start (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) or meaning_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, or speak_then_type (speak first, writing optional - exactly Assimil's instruction).
  • ANCHORED item (position set): 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_answer are author OVERRIDES only (custom wording), and source_positions MUST 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 own cue AND model_answer AND at least one source_positions entry 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 from lookup_word/get_vocabulary. The server enforces the quoting.
  • Anchor everything (see Anchoring above). Vocab entries carry position; listening MCQs carry audio; gap-fill items carry position and translation; grammar-pattern dialogue lines carry highlights. An unanchored lesson renders flat and is a bug.
  • LingoChunk is the system of record for word knowledge. Do not drill a known word unless it is also due. 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_clip is NOT part of this workflow. audio_slice windows are built from transcript sentence start/end times.

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.