countdown-video

countdown-video is a skill for Claude Code from iart-ai/tiktok-video-skills. It costs 103 tokens per session (2,409 once invoked), scanned A, original, MIT.

Guidance for creating countdown videos and animations, including livestream screens, launch timers, and sale timers. It explains how to calculate the displayed time from a clock so the countdown reaches zero at the correct moment.

In plain words
What is it for?
Building mm:ss or dd:hh:mm:ss countdowns, digit-roll or flip transitions, exact video timing, and looping countdown backgrounds.
Why use it?
It avoids timer drift caused by relying on repeated one-second callbacks, which can become inaccurate when rendering slows or a browser limits background work.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the tiktok-video-skills plugin — 4 skills shipped together

Good fit Building mm:ss or dd:hh:mm:ss countdowns, digit-roll or flip transitions, exact video timing, and looping countdown backgrounds.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/iart-ai/tiktok-video-skills/countdown-video
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.

Any agent
npx skills add iart-ai/tiktok-video-skills --skill countdown-video
Clone the repo
git clone --depth 1 https://github.com/iart-ai/tiktok-video-skills

Made for: Claude Code.

Or install tiktok-video-skills, the plugin that ships this one along with the rest of its 4 skills.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/iart-ai/tiktok-video-skills/countdown-video/github.svg)](https://agentmods.dev/skills/iart-ai/tiktok-video-skills/countdown-video)
Your own site
<a href="https://agentmods.dev/skills/iart-ai/tiktok-video-skills/countdown-video"><img src="https://agentmods.dev/badge/skills/iart-ai/tiktok-video-skills/countdown-video/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 countdown-video

Your own site · 80×15
<a href="https://agentmods.dev/skills/iart-ai/tiktok-video-skills/countdown-video"><img src="https://agentmods.dev/badge/skills/iart-ai/tiktok-video-skills/countdown-video.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 103 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,409 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. Third-party audits
  • Socket pass 23 Jun 2026
  • Snyk pass 23 Jun 2026
How audits are shown
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.00103 $0.02409
Opus 5 $0.00051 $0.01205
Sonnet 5 $0.00021 $0.00482
Haiku 4.5 $0.00010 $0.00241

Measured 11d ago against content hash 12cf015a78bc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

countdown-video 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 11d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/countdown-video/SKILL.md · 153 lines

How it starts

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

Countdown Video

Make a countdown that ends exactly when it should. The whole craft is one idea: derive the remaining time from the frame (or a monotonic timestamp), then format and animate that number — never count down with a setInterval. Covers livestream "starting soon" screens, launch/sale countdowns, and looping backgrounds.

When to use

  • "Starting soon" / "be right back" livestream screens with a 5–10 min timer.
  • Launch and flash-sale countdowns (dd:hh:mm:ss down to a target date; mm:ss for urgency).
  • Any animated counter where the number must land on zero on the exact frame.

The one rule: drive the number from the clock, never a tick

A setInterval(fn, 1000) countdown drifts — the callback fires at least 1000 ms later, never exactly, and stacks up when the tab is throttled or a render frame is slow. Reports of ~1 second lost per minute are common. The fix is the same for rendered video and live web: compute remaining time as a pure function of an authoritative clock, so a late frame self-corrects on the next frame instead of accumulating error.

Context Authoritative clock Remaining time
Remotion render useCurrentFrame() total − frame/fps
Web (live page) performance.now() or Date.now() targetMs − now
To a fixed date Date.now() targetTimestamp − Date.now()

Never store remaining time in state and decrement it. Recompute it every frame.

Frame-accurate countdown (Remotion → MP4)

useCurrentFrame() is deterministic: frame N is always rendered at exactly N/fps seconds. Subtract from the total and the timer is drift-free by construction.

import { useCurrentFrame, useVideoConfig } from "remotion";

export const Countdown: React.FC<{ durationInSeconds: number }> = ({
  durationInSeconds,
}) => {
  const frame = useCurrentFrame();
  const { fps } = useVideoConfig();

  // remaining seconds, clamped at 0 — ceil so "1" shows for its full second
  const elapsed = frame / fps;
  const remaining = Math.max(0, Math.ceil(durationInSeconds - elapsed));

  return <div style={{ fontVariantNumeric: "tabular-nums" }}>{formatMMSS(remaining)}</div>;
};

Read the full file on GitHub · 153 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 11d ago First seen · 153 lines · 103 tokens per session scan A 12cf015a78bc

Subscribe to this mod's changes

countdown-video is a skill published in the GitHub repository iart-ai/tiktok-video-skills (9 stars, last pushed 2mo ago), licensed MIT. It adds 103 tokens to every session and 2,409 once invoked, about $0.0005 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 skills, from other repositories

vox-director

Turn ONE topic into a finished Vox-style paper-collage explainer / ad video, end to end on the Atlas Cloud API + local ffmpeg — script, collage keyframes, motion, voice-over, music, captions, all automated. Use this whenever the user wants a "Vox style" video, a paper/torn-paper collage animation, a "motion collage"…

Alisa0808/vox-director · 236 tokens

hyperframes

Create video compositions, animations, title cards, overlays, captions, voiceovers, audio-reactive visuals, and scene transitions in HyperFrames HTML. Use when asked to build any HTML-based video content, add captions or subtitles synced to audio, generate text-to-speech narration, create audio-reactive animation…

nateherkai/hyperframes-student-kit · 155 tokens

short-form-video

Maintain the existing May Shorts teaching compositions using their legacy face-mode, scene-overlay, and karaoke-caption patterns. Use only when working on those examples or explicitly requesting this legacy scaffold. For new reels, Shorts, or short advertisements, use short-form-edit.

nateherkai/hyperframes-student-kit · 54 tokens

short-form-edit

Turn talking-head footage into a finished reel, YouTube Short, or short advertisement with curiosity-led openings, earned payoffs, story-driven cuts, transcript-synced motion graphics, moving B-roll, captions, subtle music, and synchronized sound effects. Use for short-form editing; use edit-video for long-form videos…

nateherkai/hyperframes-student-kit · 77 tokens

video-storytelling

Design and build the visual layer of a long-form talking-head video as one persistent world the camera moves through, instead of a sequence of separate graphics. Use when asked to edit a video, add motion graphics, design the visuals for a script, plan an edit, or fix an edit judged confusing, text-heavy, hard to…

nateherkai/hyperframes-student-kit · 109 tokens

make-a-video

Beginner-friendly end-to-end video creator for HyperFrames. Use when the user says "make a video", "create a video", "new video", "build a video", "video from scratch", "I want to make a video", "help me create a video", or when someone who's never used HyperFrames before arrives with a concept, script, or rough idea…

nateherkai/hyperframes-student-kit · 107 tokens