record-demo

record-demo is a command for Claude Code from digitalsamba/claude-code-video-toolkit. It costs 6 tokens per session (1,319 once invoked), scanned A, original, MIT.

A guided command for recording browser demonstrations with Playwright, a tool that controls a web browser for automated testing or recordings. It can use project instructions to determine which scenes and output files are needed.

In plain words
What is it for?
Use it when capturing a browser workflow for a Remotion video, such as demonstrating dark mode or a login flow, and saving the resulting recording in the expected location.
Why use it?
It gathers the recording details and keeps the project’s scene status and demo assets up to date after recording.

Command 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 commands/digitalsamba/claude-code-video-toolkit/record-demo
Clone the repo
git clone --depth 1 https://github.com/digitalsamba/claude-code-video-toolkit

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 record-demo

README.md
[![agentmods](https://agentmods.dev/badge/commands/digitalsamba/claude-code-video-toolkit/record-demo.svg)](https://agentmods.dev/commands/digitalsamba/claude-code-video-toolkit/record-demo)
Your own site
<a href="https://agentmods.dev/commands/digitalsamba/claude-code-video-toolkit/record-demo"><img src="https://agentmods.dev/badge/commands/digitalsamba/claude-code-video-toolkit/record-demo.svg" alt="Measured on agentmods" height="20"></a>
Per session 6 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,319 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.00006 $0.01319
Opus 5 $0.00003 $0.00660
Sonnet 5 $0.00001 $0.00264
Haiku 4.5 $0.00001 $0.00132

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

Security

Grade A, and why

record-demo 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 4d 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.

.claude/commands/record-demo.md · 146 lines

How it starts

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

Record Browser Demo

Help me record a browser demo for a Remotion video project.

Project Integration

Before gathering configuration, check if we're in a project context:

  1. Check for active project:

    • Look for project.json in current directory or parent projects/*/
    • If found, read it to understand:
      • Which scenes need demo recordings
      • Expected asset paths
      • Scene instructions
  2. If project context found:

    I see you're working on: {project.name}
    
    Scenes needing recordings:
      ⬜ Scene 3: Dark mode demo → demos/dark-mode.mp4
         Instructions: Navigate to Settings → Toggle dark mode
      ⬜ Scene 5: Login flow → demos/login.mp4
         Instructions: Show login → enter credentials → redirect
    
    Which scene would you like to record? (or enter a new recording)
    
  3. After recording completes:

    • Update project.json scene status to "asset-present"
    • Add session entry
    • Regenerate project CLAUDE.md

Your Tasks

  1. Gather Recording Configuration Use the AskUserQuestion tool to collect the following information:

    Question 1 - Basic Setup:

    Question 2 - Output Location: Ask where to save the recording. Options:

    • ./output (default, local to playwright folder)
    • Detect from current project (look for nearest public/demos/ folder)
    • Custom path (let user specify)

    Question 3 - Viewport:

    • 1080p (1920x1080) - Default, matches Remotion
    • 720p (1280x720) - Smaller files
    • Mobile (390x844) - iPhone 14 size
    • Custom dimensions

    Question 4 - Recording Mode:

    • Interactive - Opens a visible browser window. User manually performs actions while it records. Good for exploring or one-off recordings.
    • Script Template - Generates a TypeScript file in playwright/scripts/flows/ with boilerplate. User edits the script to add specific actions, then runs it. Good for repeatable recordings.

Read the full file on GitHub · 146 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. 4d ago First seen · 146 lines · 6 tokens per session scan A 9fab1f9f0348

Subscribe to this mod's changes

record-demo is a command published in the GitHub repository digitalsamba/claude-code-video-toolkit (2,041 stars, last pushed 3d ago), licensed MIT. It adds 6 tokens to every session and 1,319 once invoked, about $0.0000 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.

Related

Other commands, from other repositories