immersion-reader

immersion-reader is a skill for Claude Code, Codex from rayw-lab/english-immersion-reader. It costs 30 tokens per session (536 once invoked), scanned A, original, MIT.

A tool for turning an article, YouTube transcript, podcast transcript, or prepared segments into a local English deep-reading lesson. H5 is a web-page format designed for interactive content on phones and computers.

In plain words
What is it for?
Use it to create lesson data, generate spoken audio and per-word audio, and build a local interactive lesson page.
Why use it?
It removes the manual work of preparing lesson sections, audio, word-level playback, and reading support from source material.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

Good fit Use it to create lesson data, generate spoken audio and per-word audio, and build a local interactive lesson page.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rayw-lab/english-immersion-reader/immersion-reader
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add rayw-lab/english-immersion-reader --skill immersion-reader
Clone the repo
git clone --depth 1 https://github.com/rayw-lab/english-immersion-reader

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for immersion-reader

README.md
[![agentmods](https://agentmods.dev/badge/skills/rayw-lab/english-immersion-reader/immersion-reader.svg)](https://agentmods.dev/skills/rayw-lab/english-immersion-reader/immersion-reader)
Your own site
<a href="https://agentmods.dev/skills/rayw-lab/english-immersion-reader/immersion-reader"><img src="https://agentmods.dev/badge/skills/rayw-lab/english-immersion-reader/immersion-reader.svg" alt="Measured on agentmods" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 536 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00030 $0.00536
Opus 5 $0.00015 $0.00268
Sonnet 5 $0.00006 $0.00107
Haiku 4.5 $0.00003 $0.00054

Measured 8d ago against content hash da58188a025d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

immersion-reader scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/immersion-reader/SKILL.md · 45 lines

How it starts

The opening of the file, as written. The whole thing — 45 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Immersion Reader

Setup (run once before first use)

  1. 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
  2. Install the two Python dependencies (Python >= 3.10): python3 -m pip install jsonschema edge-tts (or, inside the repo: python3 -m pip install -e .)
  3. edge-tts needs 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

  1. Write lessons/<slug>/segments.json per AGENTS.md (segments + hard + chunks + patterns + transfer task + full lexicon).
  2. 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.json sidecars that power the karaoke word highlight. Needs network.
  3. 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.
  4. Upgrading an older lesson: rerun step 2 (word audio fills in incrementally); add --force to 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.

Read the full file on GitHub · 45 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 45 lines · 30 tokens per session scan A da58188a025d

Subscribe to this mod's changes

immersion-reader is a skill published in the GitHub repository rayw-lab/english-immersion-reader (26 stars, last pushed 2mo ago), licensed MIT. It adds 30 tokens to every session and 536 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.