video-compose

video-compose is a command for Claude Code from TheSmokeDev/taskchad-os. It costs 29 tokens per session (1,081 once invoked), scanned A, original, MIT.

A video-production command that turns an approved creative outline into a complete HyperFrames project. HyperFrames is the project format used here to define timed visual compositions, media, and voiceover.

In plain words
What is it for?
It is for assembling video scenes, choreography, media assets, and voiceover timing into a renderable HyperFrames composition using the supplied brief and research materials.
Why use it?
A creative outline still needs to become a deterministic project with correctly placed assets, timing, and visual transitions. This command handles that composition step from the approved inputs.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

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 commands/thesmokedev/taskchad-os/video-compose
Clone the repo
git clone --depth 1 https://github.com/TheSmokeDev/taskchad-os

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 video-compose

README.md
[![agentmods](https://agentmods.dev/badge/commands/thesmokedev/taskchad-os/video-compose.svg)](https://agentmods.dev/commands/thesmokedev/taskchad-os/video-compose)
Your own site
<a href="https://agentmods.dev/commands/thesmokedev/taskchad-os/video-compose"><img src="https://agentmods.dev/badge/commands/thesmokedev/taskchad-os/video-compose.svg" alt="Measured on agentmods" height="20"></a>
Per session 29 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,081 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.00029 $0.01081
Opus 5 $0.00015 $0.00541
Sonnet 5 $0.00006 $0.00216
Haiku 4.5 $0.00003 $0.00108

Measured 6d ago against content hash 803d8af8c864, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

video-compose 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 6d 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.

.archon/commands/video-compose.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.

Video Compose

You are the composition step of the video-production workflow. The operator has APPROVED the vision in $ARTIFACTS_DIR/vision.json; your job is to turn that outline into a complete, deterministic HyperFrames project at $ARTIFACTS_DIR/composition/. This is the agent-crafted tier: richer choreography than the native pipeline's archetype renderer. Follow the video-director skill for the full workflow; this file pins the contract.

Inputs

  • $ARTIFACTS_DIR/vision.json: the approved angle, beats ([{kind, summary}]), imagery treatment, duration_s, aspect, style.
  • $ARTIFACTS_DIR/intake.json: the original brief and flags.
  • $ARTIFACTS_DIR/dossier.json + $ARTIFACTS_DIR/research-assets/ (optional): facts (the ONLY permitted source of numbers beyond the brief), a derived design dict, downloaded reference images.

Contract (hard rules)

  1. Project shape: composition/index.html + composition/assets/. Initialize with the HyperFrames CLI (npx hyperframes init) or copy its minimal shape. Every media file is copied INTO assets/ and referenced RELATIVELY (assets/foo.png); absolute and file:// paths render blank.
  2. Design system: write composition/design.md first. Source order: the vision's named style tokens > the dossier's derived_design (palette, fonts) > a neutral dark default. Every color in the composition comes from these tokens; no ad-hoc hex.
  3. Scenes from the outline: one scene per vision beat, in order, kind driving the layout (hero opener, stat as a wallpaper-scale number, list / cards / ledger as structured panels, quote as one strong line, mockup as a product frame, payoff as the closing CTA, caption as plain statement). Scene containers carry class="scene clip", data-start, data-duration, data-track-index.
  4. Voiceover drives timing: write one spoken line per beat, synthesize per-beat audio (edge-tts, or the hyperframes-media TTS), measure each clip with ffprobe, set scene durations = VO duration + a small pad with a minimum-scene floor, scale to the vision's duration_s. Mix into one track with ffmpeg adelay so each line lands exactly on its scene; add it as an <audio> node.
  5. Karaoke captions: split each beat's spoken line into words, distribute them across that beat's measured duration by character weight (no STT), page at most 5 words or 30 chars, per-word highlight tweens, hard tl.set hide on each page exit.
  6. Choreography: one paused GSAP timeline registered on window.__timelines["main"]. Entrances staggered by importance (total under ~0.5s), one ambient motion per scene, transitions between scenes (crossfade / slide / whip / dip; at most ONE shader transition and only between fully raster-safe scenes). Deterministic only: no Math.random, no Date.now, no requestAnimationFrame, no setTimeout, no infinite repeats.
  7. PRE-HIDE pass (last, mandatory): every element that reveals after t=0 gets tl.set(el, {autoAlpha: 0}, 0) BEFORE its reveal tween. A tl.from() alone leaks the element before its entrance. Use autoAlpha, never plain opacity, so children are hidden from any shader raster too.
  8. Claim safety: every number on screen or spoken traces to the brief or dossier.json facts. No invented metrics, no superlatives, no em-dash characters in on-screen copy.
  9. Imagery treatment: honor vision.imagery.treatment. css means typographic scenes only; photos means use research-assets/ images directly; stylized permits generated art when an image tool is available, else degrade to css gracefully.
  10. Scene index for QA: write $ARTIFACTS_DIR/scenes.json as [{"id": "...", "start": <seconds>}] for every scene, sorted by start.

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. 6d ago First seen · 76 lines · 29 tokens per session scan A 803d8af8c864

Subscribe to this mod's changes

video-compose is a command published in the GitHub repository TheSmokeDev/taskchad-os (23 stars, last pushed 13d ago), licensed MIT. It adds 29 tokens to every session and 1,081 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-30.