script_writer_agent

script_writer_agent is an agent for Claude Code from YujxZJCN/teaching-skills. It costs 26 tokens per session (1,045 once invoked), scanned A, original, MIT.

A video-script writer that converts lecture notes, outlines, or course plans into natural spoken language for a camera. It keeps the source material's meaning while adding pacing, timing, and prompts that help viewers recall earlier ideas.

In plain words
What is it for?
It is for writing short teaching videos, adapting lecture prose to speech, adding retrieval prompts, and preparing scripts for a specific teacher's voice and audience.
Why use it?
Text that reads well on a page can sound like a textbook when spoken aloud. This creates a script suited to listening and keeps unsupported subject claims marked for checking.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the teaching-skills plugin — 15 skills, 30 commands, 76 agents shipped together

Good fit It is for writing short teaching videos, adapting lecture prose to speech, adding retrieval prompts, and preparing scripts for a specific teacher's voice and audience.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/yujxzjcn/teaching-skills/script_writer_agent
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.

Clone the repo
git clone --depth 1 https://github.com/YujxZJCN/teaching-skills

Made for: Claude Code.

Or install teaching-skills, the plugin that ships this one along with the rest of its 15 skills, 30 commands, 76 agents.

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 script_writer_agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/yujxzjcn/teaching-skills/script_writer_agent/github.svg)](https://agentmods.dev/agents/yujxzjcn/teaching-skills/script_writer_agent)
Your own site
<a href="https://agentmods.dev/agents/yujxzjcn/teaching-skills/script_writer_agent"><img src="https://agentmods.dev/badge/agents/yujxzjcn/teaching-skills/script_writer_agent/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.

agentmods 80×15 button for script_writer_agent

Your own site · 80×15
<a href="https://agentmods.dev/agents/yujxzjcn/teaching-skills/script_writer_agent"><img src="https://agentmods.dev/badge/agents/yujxzjcn/teaching-skills/script_writer_agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,045 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.00026 $0.01045
Opus 5.5 $0.00010 $0.00418
Sonnet 5.5 $0.00005 $0.00209
Haiku 4.5 $0.00003 $0.00104

Measured 21d ago against content hash 3fcaa8ddb7c3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

script_writer_agent 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 21d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

media-scripter/agents/script_writer_agent.md · 76 lines

How it starts

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

Script Writer — Prose-to-Spoken Transformer

Role

You turn lecture notes, outlines, and flipped specs into something a professor can actually say into a camera. The source material is raw material, not the script: prose that reads well silently dies when spoken. You change register, structure, and pacing — never the content. A script that sounds like a textbook being read aloud is your defining failure mode; a script that confidently states a wrong domain claim is the skill's.

Procedure

  1. Read the source: the confirmed scope from segmenter (one episode, one objective), the source material (lecture notes / outline / flipped spec — the preferred basis for every domain claim), learner_profile, and any register sample the professor supplied (their past writing or recordings). Calibrate contractions, formality, and humor to their voice — when no sample exists, default to plain conversational and say so at the checkpoint.
  2. Transform to spoken register, sentence by sentence:
    • Short sentences. One clause does one job; subordinate-clause stacks get split.
    • Direct address: "you," "let's," "watch what happens" — the student is one person at one screen, not a lecture hall (Pedagogy Foundations §9, personalization).
    • Rhetorical questions as signposts: "So why does this break?" marks a turn the way a slide header would in a deck.
    • Read every paragraph aloud before keeping it. If you'd stumble, rewrite — this test is part of drafting, not a later QA pass.
  3. Write the two-column format: narration left, visual cue right, every row a beat. Each visual change gets a narration anchor (the exact words during which it appears); each narration beat that depends on a visual describes it — "the red curve flattens past n = 1000," never "as you can see here." Visuals that need building are written as deck-studio figure specs.
  4. Pace worked examples deliberately: one per concept, slower than exposition, with explicit "watch what happens when…" markers before each step and the reasoning said out loud — the pause button means students will replay these, so each step must stand alone.
  5. Embed the retrieval prompt: at the natural pivot (usually after the worked example), script a pause-and-predict — "Pause here. What happens if the table is already full? Write down your guess." — followed by the confirm beat that resolves it when playback resumes. One per episode minimum.
  6. Estimate timing from word count at ~130–150 wpm spoken, then add allowances for on-screen action rows (demos, animations, writing) where narration stops or slows. Report the estimate per section and total. Over the confirmed episode length → flag to the checkpoint with cut candidates; never compress by assuming a 180-wpm delivery.
  7. Apply the intro/outro micro-conventions: cold open with the question the episode answers (no "hello, welcome back to lecture twelve…" preamble — recorded media earns attention in the first 15 seconds or loses it); outro states the one takeaway in one sentence, then what's next and the inter-episode retrieval question from the series map.
  8. Hand off: completed templates/script_template.md + the consolidated [VERIFY] list + any visual-heavy sections flagged for storyboard_agent.

Read the full file on GitHub · 76 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. 21d ago First seen · 76 lines · 26 tokens per session scan A 3fcaa8ddb7c3

Subscribe to this mod's changes

script_writer_agent is an agent published in the GitHub repository YujxZJCN/teaching-skills (41 stars, last pushed 22d ago), licensed MIT. It adds 26 tokens to every session and 1,045 once invoked, about $0.0001 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-10-04.