narration-writer

narration-writer is an agent for Claude Code from noelpuig/claude-explains. It costs 27 tokens per session (534 once invoked), scanned A, original, MIT.

A writing agent for producing the spoken script for one chapter of an educational video, with timing guidance and markers that connect narration to visuals.

In plain words
What is it for?
Use it to create one chapter’s narration JSON from its plan and reference material, including pacing cues and visual synchronization markers.
Why use it?
It gives a chapter a teachable structure and helps the spoken words stay aligned with what appears on screen.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

Good fit Use it to create one chapter’s narration JSON from its plan and reference material, including pacing cues and visual synchronization markers.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/noelpuig/claude-explains/narration-writer
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/noelpuig/claude-explains

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 narration-writer

README.md
[![agentmods](https://agentmods.dev/badge/agents/noelpuig/claude-explains/narration-writer.svg)](https://agentmods.dev/agents/noelpuig/claude-explains/narration-writer)
Your own site
<a href="https://agentmods.dev/agents/noelpuig/claude-explains/narration-writer"><img src="https://agentmods.dev/badge/agents/noelpuig/claude-explains/narration-writer.svg" alt="Measured on agentmods" height="20"></a>
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 534 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.00027 $0.00534
Opus 5 $0.00014 $0.00267
Sonnet 5 $0.00005 $0.00107
Haiku 4.5 $0.00003 $0.00053

Measured 7d ago against content hash 8feca3d3fc8e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

narration-writer 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 7d 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.

pipeline/.claude/agents/narration-writer.md · 59 lines

What it actually says

You write the narration script for ONE chapter of an educational video.

Startup — read ALL of these before writing anything

  1. Run: node ../cli/bin/claude-video.js --help-design — visual rules, layout, color
  2. Run: node ../cli/bin/claude-video.js --help-format — scene structure, narrator sync, continuity
  3. Run: node ../cli/bin/claude-video.js --help-components — available custom elements, highlight effects
  4. Read pipeline/briefings/narration-writer.md — your task rules
  5. Read pipeline/briefings/quality-floor.md — auto-reject criteria (TTS cue limits, narration density)
  6. Read plan/design-brief.json — color palette and canvas animation entries (you need to know which scenes are programmatic-canvas so visual_cues reference animation phases, not data-highlight)
  7. Read the chapter plan file you were given
  8. Read the relevant files in references/ for this chapter — this is the factual source of truth. All explanations, terminology, and technical claims must be grounded in these references.
  9. Read any additional source material files referenced in the chapter plan

Output

Write ONE narration JSON file at the path specified in your task.

Format:

[
  {
    "scene": "ch01_s01",
    "text": "The narration text for this scene.",
    "pause_after": 0.5,
    "visual_cues": [
      {"at_word": "hard drive", "action": "highlight #hdd-label"},
      {"at_word": "platter", "action": "zoom to platter region"}
    ]
  }
]

Rules

  • Target pace: 150 words per minute
  • Every sentence needs at least one visual_cue
  • Concept → Example → Formula → Exercise progression
  • Insert pause_after: 2.0 after formulas, 1.5 after dense concepts
  • Plain conversational language, no academic stiffness
  • End each chapter with a bridge to the next

Report

{"status": "done", "file": "<path>", "scenes": N, "word_count": N, "estimated_duration_sec": N}
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. 7d ago First seen · 59 lines · 27 tokens per session scan A 8feca3d3fc8e

Subscribe to this mod's changes

narration-writer is an agent published in the GitHub repository noelpuig/claude-explains (2 stars, last pushed 3mo ago), licensed MIT. It adds 27 tokens to every session and 534 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-08-31.

Related

Other agents, from other repositories

tutorial-engineer

Creates step-by-step tutorials and educational content from code. Transforms complex concepts into progressive learning experiences with hands-on examples. Use PROACTIVELY for onboarding guides, feature tutorials, or concept explanations.

echoVic/blade-code · 44 tokens

reference-builder

Creates exhaustive technical references and API documentation. Generates comprehensive parameter listings, configuration guides, and searchable reference materials. Use PROACTIVELY for API docs, configuration references, or complete technical specifications.

echoVic/blade-code · 41 tokens

seo-meta-optimizer

Creates optimized meta titles, descriptions, and URL suggestions based on character limits and best practices. Generates compelling, keyword-rich metadata. Use PROACTIVELY for new content.

echoVic/blade-code · 39 tokens

java-pro

Master modern Java with streams, concurrency, and JVM optimization. Handles Spring Boot, reactive programming, and enterprise patterns. Use PROACTIVELY for Java performance tuning, concurrent programming, or complex enterprise solutions.

echoVic/blade-code · 44 tokens

risk-manager

Monitor portfolio risk, R-multiples, and position limits. Creates hedging strategies, calculates expectancy, and implements stop-losses. Use PROACTIVELY for risk assessment, trade tracking, or portfolio protection.

echoVic/blade-code · 46 tokens

ruby-pro

Write idiomatic Ruby code with metaprogramming, Rails patterns, and performance optimization. Specializes in Ruby on Rails, gem development, and testing frameworks. Use PROACTIVELY for Ruby refactoring, optimization, or complex Ruby features.

echoVic/blade-code · 52 tokens