Borrowing it
Nothing to install: this file belongs to rayw-lab/english-immersion-reader. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/rayw-lab/english-immersion-reader/main/AGENTS.mdgit clone --depth 1 https://github.com/rayw-lab/english-immersion-readerWrote 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.
[](https://agentmods.dev/instructions/rayw-lab/english-immersion-reader/agents-md)<a href="https://agentmods.dev/instructions/rayw-lab/english-immersion-reader/agents-md"><img src="https://agentmods.dev/badge/instructions/rayw-lab/english-immersion-reader/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/rayw-lab/english-immersion-reader/agents-md"><img src="https://agentmods.dev/badge/instructions/rayw-lab/english-immersion-reader/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.01191 | $0.01191 |
| Opus 5.5 | $0.00476 | $0.00476 |
| Sonnet 5.5 | $0.00238 | $0.00238 |
| Haiku 4.5 | $0.00119 | $0.00119 |
Grade A, and why
english-immersion-reader AGENTS.md 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 91 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Immersion Reader Agent Instructions
You create segments.json files for static English deep-reading pages.
Target Users (hard rule, 2026-06-11)
- The audience is laptop/desktop users who run a local agent (Claude Code, Codex, etc.) and open the generated pages in a desktop web browser.
- This is a GitHub-published skill for that audience only. There is NO mobile audience.
- Never design, reason, test, or ask questions in terms of phones, touch devices,
hover:nonemedia queries, or mobile viewports. All such thinking is out of scope. - Desktop half-screen split view IS a first-class scenario: heavy agent users often tile two windows on one screen (agent terminal on the left, reading page on the right). Narrow-window layouts (~640-760px wide) must not overflow or truncate. Responsive breakpoints exist for desktop half-screen, not for phones.
- Acceptance viewports: full screen 1280px + half screen 720px. No phone viewports.
- UI affordances must be always visible (e.g. all five segment icons 常显). Do not hide controls behind hover/touch heuristics.
Output Language
Rules are written in English. Learner-facing explanations, zh, cn, and closeout text are Chinese in v1.
Required Data Rules
- Keep
segments.jsonas the only lesson data authority. - Segment length: aim for 60-100 English words per segment; split anything over 110 words at a natural semantic boundary. Long segments unbalance the side-by-side en/zh columns.
zhis a condensed gist, not a sentence-by-sentence translation. Target zh character count ~= en word count x 2.0-2.5, consistent across segments.meta.title_zhis required: a natural Chinese translation of the title (rendered small under the English title).- Segment granularity is paragraph/segment level, not sentence level.
zhis required.ttsmust expand numbers and abbreviations for English speech.chunks[].egmust be a second-context example, not copied from the source segment.chunks[].egmust be a complete sentence, ideally no longer than 20 words.- Try programmer work-context examples first. If unnatural, use the article domain.
- Work-context examples should reuse the transfer task genre pool (slack_message, pr_description, design_note, standup_update, code_review_comment) as their default settings.
- Generate one
transfer_tasks[]item when the source naturally supports workplace output. - Keep each Chinese line (
zh,cn, study card text) within 20 characters per line of meaning; split long explanations. - Use numbers for facts ("1280 词 · 22 段"), never stacked adjectives ("超长深度好文").
- Generate a
lexiconobject covering every content word insegments[].en(skip common function words). Inflected forms point to their lemma:"starts": {"lemma": "start"}; lemma entries carry a Chinesedef(this lesson's sense only, <= 20 chars) and an American Englishipatranscription wrapped in slashes, consistent across the lesson. Single-wordhard[]entries must also exist inlexiconwithdef+ipaso hard cards can show pronunciation; multi-word hard phrases andchunks[]may rely on card audio instead of IPA. The page useslexiconto answer text-selection lookups offline. - For proper nouns and company/product names, keep the definition categorical
and short (for example "company name; GPU vendor"). IPA may be omitted when
a stable pronunciation is uncertain, but
defmust still make the reference useful offline. - For long sources with more than 1000 content words, default to lexicon coverage for all content words; if the source is too large, cover the top 80% by frequency plus every single-word hard term. The build report must disclose the actual coverage and warn below 80%.
- Treat video or podcast transcripts the same as articles for
segments[],hard[],chunks[],lexicon, and audio. Use existingspkfor speakers andmeta.kindfor source type; do not add new fields for transcript shape.
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.
- 1mo ago First seen · 91 lines · 1,191 tokens per session scan A 50ce688a36c2
english-immersion-reader AGENTS.md is an instructions file published in the GitHub repository rayw-lab/english-immersion-reader (28 stars, last pushed 4mo ago), licensed MIT. It adds 1,191 tokens to every session, about $0.0048 per session on Opus 5.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.
Other instructions, from other repositories
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode copilot-instructions.md
Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).
vscode model-prompts.instructions.md
Model-specific prompt authoring and registry guidelines.