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.5 $0.00041 $0.00964
Sonnet 5.5 $0.00021 $0.00482
Haiku 4.5 $0.00010 $0.00241

Measured 3mo ago against content hash 12cf015a78bc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 3mo 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.

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. 3mo 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 (40 stars, last pushed 19d ago), licensed MIT. It adds 103 tokens to every session and 2,409 once invoked, about $0.0004 per session on Opus 5.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

countdown-video compared with skills from other repositories

countdown-video next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
countdown-videoiart-ai/tiktok-video-skillsSkill4019d agoMITA103Claude Code
vox-directorAlisa0808/vox-directorSkill3.3k1mo agoMITA236Claude Code, Codex
isometric-animationiart-ai/explainer-video-skillsSkill16519d agoMITA110Claude Code
whiteboard-animationiart-ai/explainer-video-skillsSkill16519d agoMITA103Claude Code
wrapped-videoiart-ai/explainer-video-skillsSkill16519d agoMITA121Claude Code
diagram-animationiart-ai/explainer-video-skillsSkill16519d agoMITA91Claude Code
explainer-videoiart-ai/explainer-video-skillsSkill16519d agoMITA92Claude Code