script_writer_agent

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

A video-script writing assistant that turns lecture notes and outlines into natural, spoken two-column scripts, with timing and prompts for checking uncertain claims.

In plain words
What is it for?
It is for preparing recorded lectures, tutorials, and other educational videos that need clear narration alongside visual directions.
Why use it?
It prevents written material from sounding unnatural when read aloud and helps avoid presenting an unverified fact as true.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

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 agents/yujxzjcn/teaching-skills-codex/script_writer_agent
Clone the repo
git clone --depth 1 https://github.com/YujxZJCN/teaching-skills-codex

Made for: Claude Code.

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-codex/script_writer_agent.svg)](https://agentmods.dev/agents/yujxzjcn/teaching-skills-codex/script_writer_agent)
Your own site
<a href="https://agentmods.dev/agents/yujxzjcn/teaching-skills-codex/script_writer_agent"><img src="https://agentmods.dev/badge/agents/yujxzjcn/teaching-skills-codex/script_writer_agent.svg" alt="Measured on agentmods" 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,056 The whole file, excluding the scripts and references it only reads on demand.
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.1 $0.00026 $0.01056
Opus 5 $0.00013 $0.00528
Sonnet 5 $0.00005 $0.00211
Haiku 4.5 $0.00003 $0.00106

Measured 2d ago against content hash 5e9a46b8ea65, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 2d 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/teaching-suite/ts/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 ts/media-scripter/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. 2d ago First seen · 76 lines · 26 tokens per session scan A 5e9a46b8ea65

Subscribe to this mod's changes

script_writer_agent is an agent published in the GitHub repository YujxZJCN/teaching-skills-codex (6 stars, last pushed 2mo ago), licensed MIT. It adds 26 tokens to every session and 1,056 once invoked, about $0.0001 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-09-03.