Tiktok Launch Video 标志

Tiktok Launch Video

组织
cognyai
tiktok-launch-video

Produce a 9:16 TikTok-native launch video for a product, feature, or campaign using HyperFrames. Idiomatic TikTok pacing, burned-in captions, hook-in-1s structure. Optionally hand off to TikTok Ads to launch as a Spark/in-feed ad.

概览

发布者cognyai
代码仓库claude-code-marketing-skills
技能名称tiktok-launch-video
星标数
111
复刻数
15
附带文件
2
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 2 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 cognyai 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Tiktok Launch Video AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/cognyai/claude-code-marketing-skills/tree/main/skills/tiktok-launch-video
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/cognyai/claude-code-marketing-skills.git /tmp/claude-code-marketing-skills
mkdir -p .claude/skills
cp -r /tmp/claude-code-marketing-skills/skills/tiktok-launch-video .claude/skills/tiktok-launch-video
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Tiktok Launch Video,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Tiktok Launch Video。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Tiktok Launch Video 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

TikTok Launch Video

Produce a TikTok-native launch video using HyperFrames — programmatic HTML/CSS video, deterministic, agent-friendly.

This skill is opinionated: it forces the TikTok grammar (9:16, hook < 1s, burned-in captions, fast cuts, native text overlays) instead of porting a 16:9 landscape video to vertical.

Works with

Making the video needs no accounts. Publishing is optional, and every publish call asks first.

JobPrimaryAlso answers itWhat differs
Run as an in-feed adTikTok Ads (upload + create, all DISABLE)—Needs the MP4 at a public URL (≤ 500 MB)
Boost an organic post (Spark Ad)TikTok Ads tool_list_authorized_posts / tool_authorize_spark_post—Uses the creator's existing post, so it keeps its likes and comments
Post organicallyTikTok app (no API)X Organic9:16 works on X too; confirm the text first, it posts at once

Usage

/tiktok-launch-video https://example.com/launch — pulls context from a launch page /tiktok-launch-video "we're shipping AI brand guardrails for marketers" — short brief /tiktok-launch-video — interview the user

Prerequisites

Run once on this machine:

bash
node --version            # ≥ 22
ffmpeg -version | head -1 # ≥ 6

If either fails, ask the user to install Node 22+ and FFmpeg before continuing.

Steps

1. Gather product context

Try sources in this order — stop at the first one that gives you enough to write the script. Don't redo work the user has already done.

1a. Local file — read .agents/product-marketing-context.md or .claude/product-marketing-context.md if present.

1b. Cogny MCP context tree — if the cogny MCP server is connected (check via tools — mcp__cogny__get_context_tree_overview or any mcp__cogny__* tool), query it:

mcp__cogny__get_context_tree_overview          # see what's documented
mcp__cogny__search_context query="<product>"   # pull customer / pricing / positioning nodes
mcp__cogny__read_context_node node_id="…"      # drill into the most relevant nodes

The context tree usually contains things public scraping can't: real customer names, ICP, pricing tiers, current quarter goals, what's been launched recently, what's on the roadmap. Check it before falling back to web scraping.

1c. Public web — if a URL was passed and 1a/1b didn't give you enough, WebFetch the page and extract product name, value prop, core benefit, target user, one concrete proof point.

1d. User brief — if a short brief was passed, use it directly.

After 1a–1d, ask the user only for what's still missing from the TikTok hook checklist below.

TikTok hook checklist (what you actually need before you can write the script):

  1. Who is the target viewer in 5 words? (e.g. "B2B marketers running paid ads")
  2. What pattern interrupt opens the video? (POV, reveal, contrarian claim, demo flash, "wait for it")
  3. What's the one claim or moment that makes someone stop scrolling?
  4. What's the proof? (a number, a screenshot, a customer name, a before/after)
  5. What's the CTA? (link in bio, comment a keyword, search the product, follow)

Don't proceed without all five. If you're guessing, ask.

1.5 Capture brand identity

Make this look like the user's brand, not a stock template. Ask for one of:

  • A site URL (we'll extract colors / fonts / voice from the page)
  • A repo path containing tailwind.config.* or globals.css with CSS variables
  • An existing brand-kit.json (.agents/brand-kit.json / .claude/brand-kit.json / project root)
  • Manual input: 3 hex colors (background, text, primary) + a font family + a one-sentence voice description

Produce a brand-kit.json with at minimum: colors.background, colors.foreground, colors.primary, colors.accent, type.family, voice.register. Save it to the HyperFrames project root.

For full schema, extraction patterns, and voice → composition mapping see references/brand-identity.md.

The composition template reads these as CSS variables (--bg, --fg, --primary, --accent, --font-display) — so once the kit is wired, the same template renders on-brand for any user.

2. Pick the idiomatic format

Don't invent a format. Pick one of these — all are proven on TikTok and map cleanly to HyperFrames:

FormatWhen to useStructure
POVRelatable role-based pain"POV: you're a [role]" → pain → punchline reveal of product
Build-in-publicFounder/early launches"I built X in Y days because Z" → quick demo → result
Contrarian takeStrong opinion, category creation"Everyone says X. They're wrong because Y" → demo
Before / AfterWorkflow improvement"This used to take 4 hours" → cut → "Now it takes 30 seconds"
List-teaseMulti-feature reveal"3 things [tool] does that no one talks about" → 1, 2, 3 → CTA

Pick one. Confirm with the user before writing.

3. Write the script (TikTok grammar)

Write a beat sheet, not prose. Each beat is one card or moment. Constraints:

  • Total length: 9–22 seconds. Default to 15s unless the user explicitly wants longer.
  • Beat 1 (0.0–1.0s): Hook. Big text. No logo. No intro. The viewer must not swipe.
  • Beats 2–N: ~1.0–2.5s each. Every beat earns its time or gets cut.
  • Final beat (last 1.5–2s): CTA. Concrete verb. Not "learn more" — "Search [name] on TikTok", "Comment WAITLIST", "Tap the link".
  • Captions: Every spoken word is burned in as text. Max 6 words per caption card.
  • Voice / register: First person, conversational, no marketing voice. Read it out loud — if it sounds like a press release, rewrite.

Hand the beat sheet back to the user and wait for confirmation before composing. One round of revisions is normal.

4. Scaffold the HyperFrames project

Use the CLI. Don't try to handcraft package.json.

bash
# In the user's working directory, or a videos/ subdirectory if they prefer
npx -y hyperframes@latest init <product-slug>-tiktok --non-interactive --resolution portrait
cd <product-slug>-tiktok

There is no --yes flag; --non-interactive disables the prompts and --resolution portrait sets 1080×1920. This creates index.html, meta.json, hyperframes.json, plus CLAUDE.md / AGENTS.md with framework rules. Read CLAUDE.md once — it documents the data-* attribute conventions and the window.__timelines registration this skill depends on.

5. Compose the video (9:16, kinetic)

Edit index.html to be a 1080×1920 composition. The pattern below is the minimum viable TikTok-native composition — adapt the copy, keep the structure.

Key rules (these come from HyperFrames, do not skip):

  • Every timed element needs class="clip" plus data-start, data-duration, data-track-index.
  • The composition root has data-composition-id, data-width, data-height, data-duration.
  • Animations go on a paused GSAP timeline registered as window.__timelines["<composition-id>"].
  • No Date.now(), no Math.random(), no fetch() — renders must be deterministic.

Reference composition: see references/composition-template.html.

A few TikTok-specific styling rules to follow:

  • Type: 110–160px for hooks, 70–90px for body captions. Bold, tight letter-spacing.
  • Safe area: keep the bottom 320px and top 220px clear — that's where TikTok's UI sits.
  • Color: high contrast. Black background + white text + one accent (cyan, lime, or magenta). Avoid pastels.
  • Motion: every card enters with a 0.25–0.4s y or scale tween. Cuts are hard, not crossfades.
  • No stock footage feel: if the script calls for "demo", capture the actual product UI (hyperframes capture <url>) and crop into the 9:16 frame instead of using a generic stock clip.

6. Lint

bash
npx hyperframes lint

Fix every error. Warnings are usually safe but read them.

7. Render

Check dependencies first:

bash
npx hyperframes doctor

If it reports FFmpeg missing, stop before rendering and tell the user to install it (brew install ffmpeg on macOS, sudo apt install ffmpeg on Debian/Ubuntu). Meanwhile, npx hyperframes snapshot captures key frames as PNGs without FFmpeg, so they can review the cards.

bash
npx hyperframes render --output launch.mp4

A 15s composition typically renders in 30–90 seconds depending on the machine. Output is H.264 MP4, 1080×1920, 30fps.

8. Sanity-check before declaring done

Open the file, scrub through it once. Then check:

  • Hook is fully visible by 0.8s?
  • Captions readable at the size they'll be viewed (phone, no sound)?
  • Nothing important in the bottom 320px?
  • CTA is on screen for ≥ 1.5s at the end?
  • Total length between 9 and 22 seconds?

If any check fails, edit and re-render. Do not ship a video that fails any of the above.

9. (Optional) Hand off to TikTok Ads

If the user wants to run this as a paid in-feed ad (not an organic post), use the TikTok Ads MCP to set up the campaign skeleton. Don't auto-launch.

The MP4 must be at a public URL. On Cloud, call mcp__cogny__mcp__cogny-image-gen__tool_request_upload_url and run the returned curl to get a public_url (asks first); otherwise ask the user for a hosted link. Then, after the user approves each write:

mcp__cogny__mcp__TikTok_Ads__tool_list_advertisers                      # note currency
mcp__cogny__mcp__TikTok_Ads__tool_get_pixels(advertiser_id)              # confirm tracking
mcp__cogny__mcp__TikTok_Ads__tool_create_campaign(advertiser_id, campaign_name, objective_type: "TRAFFIC" | "VIDEO_VIEWS", budget: <user-stated>, budget_mode: "BUDGET_MODE_DAY", operation_status: "DISABLE")
mcp__cogny__mcp__TikTok_Ads__tool_create_ad_group(advertiser_id, campaign_id, adgroup_name, promotion_type: "WEBSITE", placement_type: "PLACEMENT_TYPE_NORMAL", placements: "PLACEMENT_TIKTOK", ...)
mcp__cogny__mcp__TikTok_Ads__tool_upload_video(advertiser_id, file_url: "<public MP4 URL>")   # returns video_id
mcp__cogny__mcp__TikTok_Ads__tool_create_ad(advertiser_id, adgroup_id, ad_name, ad_format: "SINGLE_VIDEO", video_id, ad_text, landing_page_url, call_to_action, identity_type, identity_id, operation_status: "DISABLE")

Get identity_id from tool_list_identities. For a Spark Ad instead, pass tiktok_item_id (from tool_list_authorized_posts, or after tool_authorize_spark_post(advertiser_id, auth_code)) in place of video_id.

All entities should be created DISABLE. Print a summary and tell the user exactly which IDs to enable in TikTok Ads Manager once they've reviewed the creative.

For organic posting: just hand them launch.mp4 and tell them to upload via the TikTok app (organic uploads are not API-supported). If X Organic is connected, offer mcp__cogny__mcp__X_Organic__tool_upload_media(file_url) then tool_create_post(text, media_ids); it posts publicly at once, so confirm the text first.

Output format

When you finish, print:

  1. Path to the rendered MP4
  2. The beat sheet you used (so the user can iterate)
  3. One-line summary of length, format chosen, and aspect ratio
  4. (If applicable) the TikTok Ads campaign / ad group / ad IDs created in DISABLE state

Common mistakes

  1. 16:9 footage stretched to 9:16 — re-shoot or use HyperFrames overlays. Don't stretch.
  2. Logo intro — TikTok punishes anything that looks like a TV ad. The hook is the first frame.
  3. Voiceover with no captions — 80%+ of TikTok is watched muted. Captions or it doesn't exist.
  4. Generic CTA — "learn more" never works on TikTok. Tell the viewer the exact next action.
  5. Over-rendering — 4K output makes no difference; TikTok recompresses to ~720p anyway.
  6. Putting the CTA only at the end — half of viewers are gone by then. Restate the offer at ~60% of runtime too.

Related

  • /reddit-launch-video — same pattern for Reddit's idiomatic format
  • /linkedin-launch-video — same pattern for LinkedIn
  • /video-to-gif — convert the rendered MP4 into a feed-ready GIF
  • /ad-copy-writer — generate the headline / caption that ships with the video

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Tiktok Launch Video AI 技能有什么作用?

Produce a 9:16 TikTok-native launch video for a product, feature, or campaign using HyperFrames. Idiomatic TikTok pacing, burned-in captions, hook-in-1s structure. Optionally hand off to TikTok Ads to launch as a Spark/in-feed ad.

为什么在 TypingMind 中使用 Tiktok Launch Video?

因为您只需安装一次,就能搭配任何模型使用。Tiktok Launch Video 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Tiktok Launch Video?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/cognyai/claude-code-marketing-skills/tree/main/skills/tiktok-launch-video。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Tiktok Launch Video?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Tiktok Launch Video 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Tiktok Launch Video 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Tiktok Launch Video AI 技能免费吗?

cognyai 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇