toefl-practice

toefl-practice is a command for coding agents from epicsagas/toefl-prep. It costs 38 tokens per session (991 once invoked), scanned A, original, MIT.

A local, offline generator for TOEFL practice questions. TOEFL is an English-language test with reading, listening, speaking, and writing sections.

In plain words
What is it for?
Use it to generate reading passages and questions, listening scripts and questions, and speaking or writing prompts saved in the practice folder.
Why use it?
It creates practice material without sending requests to an external service. Listening practice provides a transcript rather than an audio recording.

Command

Part of the toefl-prep plugin — 1 skill, 5 commands shipped together

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 commands/epicsagas/toefl-prep/toefl-practice
Clone the repo
git clone --depth 1 https://github.com/epicsagas/toefl-prep

Or install toefl-prep, the plugin that ships this one along with the rest of its 1 skill, 5 commands.

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 toefl-practice

README.md
[![agentmods](https://agentmods.dev/badge/commands/epicsagas/toefl-prep/toefl-practice.svg)](https://agentmods.dev/commands/epicsagas/toefl-prep/toefl-practice)
Your own site
<a href="https://agentmods.dev/commands/epicsagas/toefl-prep/toefl-practice"><img src="https://agentmods.dev/badge/commands/epicsagas/toefl-prep/toefl-practice.svg" alt="Measured on agentmods" height="20"></a>
Per session 38 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 991 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00038 $0.00991
Opus 5 $0.00019 $0.00495
Sonnet 5 $0.00008 $0.00198
Haiku 4.5 $0.00004 $0.00099

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

Security

Grade A, and why

toefl-practice scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -sf http://localhost:11434/api/tags >/dev/null || { echo "Run: ollama serve"; exit 1; }
commands/toefl-practice.md · 77 lines

How it starts

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

/toefl-practice — 문제 생성 (로컬 LLM)

지정 영역의 TOEFL 유형 문제를 로컬 LLM이 생성한다. 외부 API 미사용(오프라인).

사전 확인

  1. Ollama 실행 + 모델 확인:
    PLUGIN=~/.claude/plugins/marketplaces/toefl/toefl-prep
    curl -sf http://localhost:11434/api/tags >/dev/null || { echo "Run: ollama serve"; exit 1; }
    
  2. 스크립트 경로 변수:
    EVAL="$PLUGIN/scripts/llm_eval.sh"
    

영역별 생성 프롬프트

인자가 없으면 4개 영역 1세트씩 생성. count 기본 1.

reading (RC)

  • 생성 대상: 학술 지문(~700단어, 주제: 생물/역사/지질/예술 중 택) + 문항 3개 (Factual 1, Inference 1, Vocabulary 1) + 정답키 + 근거 문장.
  • 프롬프트 핵심: "Generate a TOEFL iBT Reading passage (~700 words) on [topic], then 3 questions (one factual, one inference, one vocabulary-in- context) each with 4 options, then an answer key citing the exact passage sentence for each. Output as markdown with sections: ## Passage, ## Questions, ## Answer Key."

listening (LC)

  • 생성 대상: 강의/대화 스크립트(~5분 분량) + 문항 3개 + 정답키.
  • ⚠️ 오디오는 생성하지 않음 — 스크립트만 제공 (사용자가 직접 읽거나 TTS로 변환).
  • 프롬프트 핵심: "Generate a TOEFL Listening lecture transcript (~800 words, academic) with 3 questions (main idea, detail, inference) + answer key citing transcript lines."

speaking

  • Task 1(Independent) 또는 Task 2–4(Integrated) 안내문 생성.
  • 프롬프트 핵심: "Generate a TOEFL Speaking Task 1 prompt (opinion question) with 15s prep / 45s response instructions, plus a model 45s response and 3 scoring notes per the ETS rubric."

writing

  • Integrated(읽기+듣기→요약) 또는 Academic Discussion 프롬프트 생성.
  • 프롬프트 핵심: "Generate a TOEFL Academic Discussion Writing prompt: professor question + 2 student posts (~50 words each). Then provide a model response (~100 words) and 3 rubric-based scoring notes."

실행 단계

  1. 영역/개수 파싱 (기본: 전체 1세트).
  2. 각 영역별로:
    date=$(date +%Y-%m-%d)
    out="${TOEFL_DATA_DIR:-$HOME/Documents/toefl-prep}/practice/${date}-${section}-$(date +%H%M).md"
    mkdir -p "$(dirname "$out")"
    "$EVAL" gen --inline "<위 프롬프트>" "" "$out.gen"
    
    • gen 모드(temperature 0.7) 사용, 루브릭 불필요(빈 인자).
  3. 생성 결과를 마크다운으로 정리하여 practice/에 저장:
    • 프론트매터: project: toefl, tags: [toefl, layer/raw, type/spec].
    • 정답키는 <details> 접기로 분리 (풀고 나서 확인용).
  4. JOURNAL.md에 "오늘 생성된 문제" 한 줄 추가.

Read the full file on GitHub · 77 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 · 77 lines · 38 tokens per session scan A c8fab829c5f2

Subscribe to this mod's changes

toefl-practice is a command published in the GitHub repository epicsagas/toefl-prep (1 stars, last pushed 2d ago), licensed MIT. It adds 38 tokens to every session and 991 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.