Immersion reader
Skill rayw-lab/english-immersion-reader/skills/immersion-reader
Build a local H5 English deep-reading lesson from an article URL, YouTube transcript, podcast transcript, or prepared segments.json.From its SKILL.md
npx -y skills add rayw-lab/english-immersion-reader --skill immersion-readerAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- runs commandsInstructs the agent to run 5 commands, including `git clone https://github.com/rayw-lab/english-immersion-reader` and 4 more.
SKILL.md
2.2 KB, 498 tokens by cl100k_base, as published. Nobody here has run it
Immersion Reader
Setup (run once before first use)
- Locate the repo root: this skill folder lives at
<repo>/skills/immersion-reader/— resolve the real path of this file and go up two directories. If you only have the skill folder (no repo), clone it first:git clone https://github.com/rayw-lab/english-immersion-reader - Install the two Python dependencies (Python >= 3.10):
python3 -m pip install jsonschema edge-tts(or, inside the repo:python3 -m pip install -e .) edge-ttsneeds network access at synthesis time; the script manages proxy env vars itself, so no proxy setup is required.
Follow AGENTS.md in this repository.
Compile flow
- Write
lessons/<slug>/segments.jsonperAGENTS.md(segments + hard + chunks + patterns + transfer task + fulllexicon). python src/tts_generate.py lessons/<slug>/segments.json --out lessons/<slug>/audio— one command produces segment mp3s, per-word audio for every lexicon term (default--word-audio full, so card/selection playback never falls back to browser TTS), and.words.jsonsidecars that power the karaoke word highlight. Needs network.python src/build_page.py lessons/<slug>/segments.json --out lessons/<slug>— validates the contract, injects data + word timings, prints the Chinese closeout block. Relay that block verbatim; do not invent a summary.- Upgrading an older lesson: rerun step 2 (word audio fills in incrementally);
add
--forceto regenerate segment mp3s so they gain timing sidecars.
Use this skill when the user asks for any of these:
- turn an English article URL into an immersion reading lesson
- turn a YouTube video or transcript into an English listening lesson
- build an H5/static HTML lesson with original English text
- create local audio, word cards, chunk cards, dictation, shadowing, or agent-copy prompts from source English
Default output stays local under lessons/; generated lessons and transcripts are not committed unless the user owns the rights and explicitly asks.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.