template

A command for listing available video templates and their features. Templates are prebuilt structures for creating particular kinds of videos.

In plain words
What is it for?
It is for viewing template details, choosing a template for a new video, and starting the process of creating a new template.
Why use it?
It gives you a quick overview of the video formats and building blocks already available in the project.

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

Made for: Claude Code.

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,856 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.01856
Opus 5 $0.00003 $0.00928
Sonnet 5 $0.00001 $0.00371
Haiku 4.5 $0.00001 $0.00186

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

Security

Grade A, and why

template 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 2d 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/template.md · 319 lines

How it starts

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

Template

List available video templates or create new ones.

Entry Point

On invocation, scan templates and present options:

Step 1: Scan Templates

1. Glob templates/*/package.json
2. For each template:
   - Read package.json for name/description
   - Check for src/config/*-config.ts
   - Count available scene types
   - Check for README or docs

Step 2: Present Templates

Available templates:

  1. **sprint-review**
     For: Internal demos, release videos, sprint reviews
     Scenes: title, overview, demo, split-demo, summary, credits
     Features:
       - Config-driven content
       - Demo video playback with labels
       - Split-screen comparisons
       - Animated backgrounds
       - JIRA reference overlays

  2. **product-demo**
     For: Marketing videos, product launches, feature demos
     Scenes: title, problem, solution, demo, feature, stats, cta
     Features:
       - Dark tech aesthetic
       - Problem → Solution narrative
       - Stats cards with animations
       - Call-to-action endings
       - Narrator PiP support

Actions:
  → View template details: enter number
  → Create video with template: /video
  → Create new template: 'new'

Template Details View

When user selects a template:

Template: sprint-review

## Overview

Best for internal demos, release videos, and sprint reviews.
Shows features/fixes with live demos and technical overlays.

## Scene Types

| Type | Description | Visual |
|------|-------------|--------|
| title | Opening title card | Slide |
| overview | Bullet points/highlights | Slide |
| demo | Single video demo | Video + label |
| split-demo | Side-by-side comparison | Two videos |
| summary | Stats and recap | Slide |
| credits | Closing credits | Slide |

## Components

- TitleSlide - Animated title with logo
- OverviewSlide - Staggered bullet animations
- DemoSection - Video with JIRA labels
- SplitScreen - Left/right video comparison
- SummarySlide - Stats with spring animations
- AnimatedBackground - Floating shapes

## Config Structure

Edit `src/config/sprint-config.ts`:

```typescript
export const sprintConfig = {
  title: "Sprint Release",
  subtitle: "Version 2.1",
  overview: ["Feature 1", "Feature 2"],
  demos: [
    {
      title: "Dark Mode",
      video: "demos/dark-mode.mp4",
      jiraRef: "PROJ-123"
    }
  ],
  stats: { features: 3, fixes: 5 }
};

Example Projects

  • sprint-review-cho-oyu (in projects/)

Usage

Create a project with this template: /video → select "Sprint Review"

Preview locally: cd projects/{name} && npm run studio

Render: npm run render

Read the full file on GitHub · 319 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. 2d ago First seen · 319 lines · 6 tokens per session scan A ca78afcb5787

Subscribe to this mod's changes

template is a command published in the GitHub repository digitalsamba/claude-code-video-toolkit (2,035 stars, last pushed yesterday), licensed MIT. It adds 6 tokens to every session and 1,856 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.