scene-author

scene-author is an agent for Claude Code from noelpuig/claude-explains. It costs 23 tokens per session (925 once invoked), scanned A, original, MIT.

A production role that creates one HTML scene for a video pipeline from a briefing and scene plan, then checks that the result follows the project's visual and quality rules.

In plain words
What is it for?
Use it to build a single animated or static scene for a programmatic video. It helps apply the specified colors, layout, custom elements, narrator timing, and diagram details.
Why use it?
It gives the video pipeline a consistent, checked scene file and keeps factual content tied to the supplied reference material.

Agent for Claude Code

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

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is node ../cli/bin/claude-video.js <scene-file> --validate.

Good fit Use it to build a single animated or static scene for a programmatic video. It helps apply the specified colors, layout, custom elements, narrator timing, and diagram details.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/noelpuig/claude-explains
agentmods
npx agentmods add agents/noelpuig/claude-explains/scene-author

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 scene-author

README.md
[![agentmods](https://agentmods.dev/badge/agents/noelpuig/claude-explains/scene-author/github.svg)](https://agentmods.dev/agents/noelpuig/claude-explains/scene-author)
Your own site
<a href="https://agentmods.dev/agents/noelpuig/claude-explains/scene-author"><img src="https://agentmods.dev/badge/agents/noelpuig/claude-explains/scene-author/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 scene-author

Your own site · 80×15
<a href="https://agentmods.dev/agents/noelpuig/claude-explains/scene-author"><img src="https://agentmods.dev/badge/agents/noelpuig/claude-explains/scene-author.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 925 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.00023 $0.00925
Opus 5.5 $0.00009 $0.00370
Sonnet 5.5 $0.00005 $0.00185
Haiku 4.5 $0.00002 $0.00093

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

Security

Grade A, and why

scene-author 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 3mo 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/scene-author.md · 85 lines

How it starts

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

You create ONE scene HTML file for the claude-video pipeline.

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, viewport zoom
  3. Run: node ../cli/bin/claude-video.js --help-components — available custom elements, highlight effects
  4. Read pipeline/briefings/scene-author.md — your task rules and verification steps
  5. Read pipeline/briefings/quality-floor.md — auto-reject criteria (violating ANY = immediate failure)
  6. Read plan/design-brief.json — the color palette and canvas animation entries. Use ONLY these colors.
  7. Read the scene plan file you were given
  8. Read any relevant files in references/ for factual content in this scene — this folder is the single source of truth. Verify technical details against these references.
  9. If the scene plan has animation_type: "programmatic-canvas", read pipeline/examples/canvas-animation.md and pipeline/examples/canvas-animation-reference.html before writing anything
  10. If the scene uses a diagram, read the diagram manifest for element IDs — do NOT read the SVG file itself

Output

Write ONE file: the scene HTML path specified in your task

Verification

After writing, run:

node ../cli/bin/claude-video.js <scene-file> --validate

If issues found, fix and re-validate. Max 3 iterations.

Then run:

node ../cli/bin/claude-video.js <scene-file> --preview <mid_timestamp> -o /tmp/preview

Read the preview PNG to visually verify the scene looks correct.

Report

Print exactly this JSON (nothing else) as your final output:

{"status": "pass|fail", "file": "<path>", "lines": N, "animation_type": "svg-canvas|programmatic-canvas|slide", "data_appear_count": N, "data_fade_out_count": N, "viewport_transforms": N, "canvas_phases": N, "issues": []}

Critical Animation Rules (always in context)

YOU ARE MAKING AN ANIMATED VIDEO, NOT A SLIDESHOW.

  • NEVER draw a complete diagram and fade it in as one group. Build it piece by piece.
  • Diagram elements start GREY (#888, #ddd). They ONLY get accent color when the narrator mentions them (via data-highlight), then fade back to grey when the narrator moves on.
  • Min 8 data-appear events staggered across the scene. Min 3 data-highlight events.
  • If screenshots at t=25%, t=50%, t=75% of the scene look the same, the scene is STATIC and must be rewritten with more sync events.
  • NEVER use multiple saturated colors as permanent fills. One accent, everything else grey.

Read the full file on GitHub · 85 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. 3mo ago First seen · 85 lines · 23 tokens per session scan A a2cb98b2cbb1

Subscribe to this mod's changes

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

Related

scene-author compared with agents from other repositories

scene-author next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
scene-authornoelpuig/claude-explainsAgent36mo agoMITA23Claude Code
READMEechoVic/blade-codeAgent18115d agoMITA0Claude Code
reference-builderechoVic/blade-codeAgent18115d agoMITA41Claude Code
seo-meta-optimizerechoVic/blade-codeAgent18115d agoMITA39Claude Code
Smart Excludeagentgg-dev/agentggAgent47429d agoApache-2.0A36Claude Code
golang-proechoVic/blade-codeAgent18115d agoMITA49Claude Code
java-proechoVic/blade-codeAgent18115d agoMITA44Claude Code