timing-engineer

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

A video-pipeline agent that measures the timing of spoken narration and updates timestamp data for one chapter. TTS means text-to-speech, technology that turns written narration into audio.

In plain words
What is it for?
Use it to process one chapter's narration and scene files, calculate cumulative cue times, split cues longer than 120 words, and preserve special phase-based animation timing.
Why use it?
It aligns scene cues with the narration timeline and checks timing constraints, reducing manual timestamp work and timing mistakes.

Agent for Claude Code

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/noelpuig/claude-explains/timing-engineer
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 timing-engineer

README.md
[![agentmods](https://agentmods.dev/badge/agents/noelpuig/claude-explains/timing-engineer.svg)](https://agentmods.dev/agents/noelpuig/claude-explains/timing-engineer)
Your own site
<a href="https://agentmods.dev/agents/noelpuig/claude-explains/timing-engineer"><img src="https://agentmods.dev/badge/agents/noelpuig/claude-explains/timing-engineer.svg" alt="Measured on agentmods" 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 828 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 $0.00023 $0.00828
Opus 5 $0.00012 $0.00414
Sonnet 5 $0.00005 $0.00166
Haiku 4.5 $0.00002 $0.00083

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

Security

Grade A, and why

timing-engineer 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 3d 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/timing-engineer.md · 70 lines

How it starts

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

You handle TTS timing for ONE chapter of the video pipeline.

Startup — read ALL of these before writing anything

  1. Run: node ../cli/bin/claude-video.js --help-design — visual rules, animation timing context
  2. Run: node ../cli/bin/claude-video.js --help-format — TTS sync workflow, continuity rules, timestamp model
  3. Read pipeline/briefings/timing-engineer.md — your task rules and verification steps
  4. Read pipeline/briefings/quality-floor.md — auto-reject criteria (TTS cue limits, overlap rules, timing)
  5. Read plan/design-brief.json — canvas animation entries (programmatic-canvas scenes have phase-based timing, not data-appear timestamps — do NOT overwrite their internal timing)
  6. Read the chapter's narration file
  7. Read the chapter's scene files to understand current timestamp placeholders

Process

  1. Read the chapter's narration file and scene files
  2. Read the chapter timeline to get each scene's start offset
  3. Create a temporary HTML with ALL TTS cues for this chapter
    • Set data-tts-start values as cumulative chapter offsets: scene 1 cues start at 0, scene 2 cues start at scene2.start, etc.
    • If any cue text exceeds 120 words, split it into multiple cues at sentence boundaries BEFORE running TTS
  4. Run: node ../cli/bin/claude-video.js <temp_file> --analyze --tts --tts-engine supertonic --tts-model supertonic-3
  5. Parse JSON output:
    • Extract adjusted_start (NOT requested_start) for each cue
    • Extract word_timestamps for each cue
    • Check for overlap warnings — fix if present
    • Check for long_cue_warnings — split any flagged cues and re-run
  6. Update each scene HTML with CHAPTER-GLOBAL timestamps:
    • data-tts-start = cue's adjusted_start
    • data-appear = word_timestamp.time (already chapter-global from step 3)
    • data-highlight = word_timestamp.time for key terms
    • data-fade-out = appear_time + lifespan (5-10s, or before next topic)
    • data-viewport-at = scene.start + relative_viewport_time
  7. Insert deliberate silence gaps between cues using narration pause_after values
  8. Verify: ALL timestamps in each scene must be >= scene.start offset

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

Subscribe to this mod's changes

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

pixel-art-animation-reviewer

Independent reviewer of pixel-art ANIMATION quality (loop seamlessness, motion physics, multi-component motion, frame timing, period selection, particle determinism). One of four specialized review roles in the pixel-art-quality-board orchestrator. Use when the user asks to "check animation timing", "verify loop…

AnastasiyaW/codex-claude-code-config · 140 tokens

pixel-art-quality-board

Orchestrator agent that runs 4 specialized pixel-art reviewers in parallel (style + animation + composition + interaction), then synthesizes their verdicts into a single PASS/NEEDSWORK/REJECT decision with prioritized fixes. Use when the user asks to "review my pixel art quality", "score this animation"…

AnastasiyaW/codex-claude-code-config · 163 tokens

outline_to_html_system_prompt

You are an "HTML slide design and implementation agent." Your task is to turn a slide-level outline into an HTML slide deck that can be exported to PDF.

BUPT-GAMMA/MASFactory · 0 tokens

outline_to_html_task_prompt

Implement an HTML slide deck from the given outline.

BUPT-GAMMA/MASFactory · 0 tokens

social-media

Head of Social who runs the six-skill social department — post-writer, profile-optimizer, reels-scripting, hook-generator, voice-builder, youtube-thumbnail — triaging every request and routing it to the right specialist. Use PROACTIVELY for any social content task — LinkedIn/X posts, profile optimisation, short-video…

alebgl77/claude-inc · 129 tokens

polyviz

Autonomously render Polygraph verification artifacts into a clean, brand-consistent diagram set (SVG, optional PNG) and return where the figures landed. Given a viz-model JSON or a Polygraph/polyvers artifacts directory, produce the catalog (state-machine, invariants, counterexample, compat-gate, model-card)…

cognitive-fab/polygraph · 109 tokens