english-immersion-reader AGENTS.md

english-immersion-reader AGENTS.md is an instructions file for Codex, OpenCode from rayw-lab/english-immersion-reader. It costs 1,191 tokens per session, scanned A, original, MIT.

A set of instructions for creating English deep-reading pages from segment data. It is designed for people using a coding agent on a desktop or laptop.

In plain words
What is it for?
Use it when generating or updating segments.json files for static English reading pages. It guides desktop layouts, Chinese learner explanations, and selection-card behavior.
Why use it?
It gives the agent clear rules about the intended audience, supported screen sizes, language, and required page data. This helps prevent unsuitable mobile layouts or missing content.

Instructions file for CodexOpenCode

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.

agentmods
npx agentmods add instructions/rayw-lab/english-immersion-reader/agents-md
Clone the repo
git clone --depth 1 https://github.com/rayw-lab/english-immersion-reader

Made for: Codex, OpenCode.

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 english-immersion-reader AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/rayw-lab/english-immersion-reader/agents-md.svg)](https://agentmods.dev/instructions/rayw-lab/english-immersion-reader/agents-md)
Your own site
<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="Measured on agentmods" height="20"></a>
Per session 1,191 This file is loaded in full into every session.
When invoked 1,191 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.01191 $0.01191
Opus 5 $0.00596 $0.00596
Sonnet 5 $0.00238 $0.00238
Haiku 4.5 $0.00119 $0.00119

Measured 5d ago against content hash 50ce688a36c2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

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 5d 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.

AGENTS.md · 91 lines

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:none media 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.json as 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.
  • zh is 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_zh is required: a natural Chinese translation of the title (rendered small under the English title).
  • Segment granularity is paragraph/segment level, not sentence level.
  • zh is required.
  • tts must expand numbers and abbreviations for English speech.
  • chunks[].eg must be a second-context example, not copied from the source segment.
  • chunks[].eg must 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 lexicon object covering every content word in segments[].en (skip common function words). Inflected forms point to their lemma: "starts": {"lemma": "start"}; lemma entries carry a Chinese def (this lesson's sense only, <= 20 chars) and an American English ipa transcription wrapped in slashes, consistent across the lesson. Single-word hard[] entries must also exist in lexicon with def + ipa so hard cards can show pronunciation; multi-word hard phrases and chunks[] may rely on card audio instead of IPA. The page uses lexicon to 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 def must 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 existing spk for speakers and meta.kind for source type; do not add new fields for transcript shape.

Read the full file on GitHub · 91 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. 5d ago First seen · 91 lines · 1,191 tokens per session scan A 50ce688a36c2

Subscribe to this mod's changes

english-immersion-reader AGENTS.md is an instructions file published in the GitHub repository rayw-lab/english-immersion-reader (26 stars, last pushed 2mo ago), licensed MIT. It adds 1,191 tokens to every session, about $0.0060 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.

Related

Other instructions, from other repositories

mazelingo CLAUDE.md

Instructions for Yeq6X/mazelingo, covering mazelingo, ビルド・開発, 構造 and ルール.

Yeq6X/mazelingo · 863 tokens

toefl-prep AGENTS.md

AGENTS.md instructions for epicsagas/toefl-prep, covering agents.md — toefl-prep plugin, 역할, 의존성 (사전 설치 필요), 학습 일정 (사용자 커스텀) and 스크립트/루브릭 경로.

epicsagas/toefl-prep · 1,035 tokens

IELTS-Studio AGENTS.md

AGENTS.md instructions for Pandlagon/IELTS-Studio, covering agents.md — ai coding agent 协作规范, 1. 项目简介, 2. 仓库结构, 3. 后端开发约定 and 4. 前端开发约定.

Pandlagon/IELTS-Studio · 2,873 tokens

IELTS-Studio CLAUDE.md

Claude Code instructions for Pandlagon/IELTS-Studio, a project described as: 一个雅思英语模拟考试网站,它能够将你手中的 PDF 或 Word 格式试卷,通过 AI 技术一键转化为可交互的网页机考界面,并提供智能写作批改与单词管理功能,助你提前适应机考节奏,高效备考。.

Pandlagon/IELTS-Studio · 347 tokens

echo-kaoyan-english-skill AGENTS.md

AGENTS.md instructions for Echo1LZJY/echo-kaoyan-english-skill, covering echo考研英语skill agent guide, source of truth, agent routing, corpus workflow and broad request policy.

Echo1LZJY/echo-kaoyan-english-skill · 900 tokens

echo-kaoyan-english-skill CLAUDE.md

Claude Code instructions for nghjjnjnf/echo-kaoyan-english-skill, covering echo考研英语skill for claude code, canonical instructions, operating rules and broad request policy.

nghjjnjnf/echo-kaoyan-english-skill · 480 tokens