本文へ移動
cccskills
無料GitHub で公開

bggg-tiktok-readvideo

把 TikTok、Reels、YouTube Shorts、UGC 广告、本地 MP4/MOV/WebM 等视频拆成 Codex 可读的视频上下文。

当用户要求 Codex 看懂视频、读视频、分析视频、总结视频、找 hook、找爆点、提取字幕、 语音转文字、ASR、批量转写 TikTok 视频或音频、 生成视频 timeline、抽关键帧、做 contact sheet、分析口播/画面/节奏、制定 TikTok 9:16 剪辑方案、 或把原始视频素材变成 edit_plan.json 并用 FFmpeg 渲染短视频时,应该使用此 skill。

本 skill 独立内置 ffprobe/ffmpeg/whisper.cpp/tesseract 可选流程,不依赖其他 BGGG skills。

インストール方法を見る

含まれるファイル(15)

  • SKILL.md6.8 KB
  • .gitignore87 B
  • evals/evals.json2.6 KB
  • LICENSE1.0 KB
  • projects/.gitkeep0 B
  • README_EN.md3.6 KB
  • README.md3.5 KB
  • references/source-projects.md2.8 KB
  • references/tiktok-editing.md3.0 KB
  • references/video-context-schema.md4.2 KB
  • references/whisper-merge-notes.md1.6 KB
  • references/whisper-transcription.md1.9 KB
  • scripts/analyze_video.py34.1 KB
  • scripts/render_tiktok.py10.6 KB
  • scripts/transcribe_video.py9.7 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

BGGG TikTok ReadVideo

这个 skill 的原则很简单:不要让 Codex 直接“看 mp4”。先把视频拆成可读、可搜索、可执行的上下文,再让 Codex 做判断、剪辑规划和渲染。

核心脚本:

python3 bggg-tiktok-readvideo/scripts/analyze_video.py "/path/to/input.mp4"

只需要转写音轨时使用独立转写脚本:

python3 bggg-tiktok-readvideo/scripts/transcribe_video.py "/path/to/video-or-folder" --recursive --srt

脚本会创建:

bggg-tiktok-readvideo/projects/YYYYMMDD_slug/
├── raw/input.mp4
├── analysis/
│   ├── metadata.json
│   ├── transcript.txt
│   ├── transcript.srt
│   ├── scenes.json
│   ├── timeline.md
│   ├── contact_sheet.jpg
│   ├── keyframes/
│   ├── audio_events.json
│   ├── ocr.json
│   └── analysis_manifest.json
└── output/
    └── edit_plan.template.json

Default Workflow

  1. Run scripts/analyze_video.py before making any claim about the video content.
  2. If the user only asks for transcription/ASR, run scripts/transcribe_video.py instead of the full visual analysis pipeline.
  3. Read analysis/timeline.md, analysis/scenes.json, analysis/transcript.srt, analysis/audio_events.json, and analysis/ocr.json.
  4. Inspect analysis/contact_sheet.jpg as the visual overview. Use individual analysis/keyframes/frame_XXXX.jpg when a scene needs closer visual reading.
  5. If the user asks for TikTok editing, write output/edit_plan.json before rendering.
  6. Render with scripts/render_tiktok.py only after the edit plan exists.

Do not infer content from the filename, title, or folder name alone. The timeline and contact sheet are the source of truth.

Analyze Commands

Basic local analysis:

python3 bggg-tiktok-readvideo/scripts/analyze_video.py "/path/to/video.mp4"

Give the run a stable project name:

python3 bggg-tiktok-readvideo/scripts/analyze_video.py "/path/to/video.mp4" \
  --slug product_qc_ugc

Faster visual-only pass:

python3 bggg-tiktok-readvideo/scripts/analyze_video.py "/path/to/video.mp4" \
  --no-transcribe --max-frames 24

Use a specific whisper.cpp model:

python3 bggg-tiktok-readvideo/scripts/analyze_video.py "/path/to/video.mp4" \
  --model small --language auto

Scene detection tuning:

python3 bggg-tiktok-readvideo/scripts/analyze_video.py "/path/to/video.mp4" \
  --scene-threshold 0.22 --min-scene-interval 0.8 --max-frames 48

Transcription Commands

The standalone transcription flow was merged from bggg-tiktok-whisper. It supports video/audio files, folders, recursive batch runs, skip-existing behavior, and a JSON manifest.

Transcribe one video or audio file:

python3 bggg-tiktok-readvideo/scripts/transcribe_video.py "/path/to/video.mp4"

Batch transcribe a folder:

python3 bggg-tiktok-readvideo/scripts/transcribe_video.py "/path/to/downloads" --recursive

Generate subtitles and JSON too:

python3 bggg-tiktok-readvideo/scripts/transcribe_video.py "/path/to/video.mp4" --srt --json

Outputs default to a transcripts/ folder beside the source file, or to --output-dir when provided. Existing .txt transcripts are skipped unless --force is set.

Reading The Output

Use the artifacts in this order:

  1. analysis_manifest.json: paths and warnings from the run.
  2. metadata.json: duration, resolution, audio/video streams, fps, codec.
  3. contact_sheet.jpg: quick visual pass across scenes.
  4. timeline.md: scene table with transcript excerpts and keyframe paths.
  5. transcript.srt: exact spoken-word timestamps.
  6. audio_events.json: silence and volume clues for pacing.
  7. ocr.json: screen text if tesseract is installed; otherwise it records why OCR was skipped.

When summarizing or editing, cite timestamps such as 00:03.20-00:06.80.

TikTok Edit Planning

For TikTok / UGC / ad editing, create output/edit_plan.json with this structure:

{
  "source_video": "raw/input.mp4",
  "analysis_manifest": "analysis/analysis_manifest.json",
  "goal": "15-25s TikTok UGC edit for cross-border ecommerce",
  "output": "output/final_tiktok_9x16.mp4",
  "defaults": {
    "width": 1080,
    "height": 1920,
    "fps": 30,
    "fit": "cover",
    "burn_captions": true,
    "caption_source_timeline": true
  },
  "segments": [
    {
      "start": 0.0,
      "end": 2.2,
      "label": "hook",
      "reason": "Strong curiosity opening"
    }
  ],
  "captions": [
    {
      "start": 0.0,
      "end": 2.2,
      "text": "I found the cheaper way to buy this"
    }
  ]
}

TikTok defaults:

  • 9:16, 1080x1920, 30fps.
  • Strong first 2 seconds.
  • Remove dead air and repeated setup.
  • Prefer proof shots: product close-up, QC photo, order screen, warehouse/packing, delivery proof.
  • Keep captions short and readable; use the original language unless the user asks for translation.
  • For cross-border ecommerce, look for trust points: QC, warehouse inspection, PayPal, tracking, shipping speed, real product comparison, price proof.

Render:

python3 bggg-tiktok-readvideo/scripts/render_tiktok.py \
  bggg-tiktok-readvideo/projects/YYYYMMDD_slug/output/edit_plan.json

Validate without rendering:

python3 bggg-tiktok-readvideo/scripts/render_tiktok.py \
  bggg-tiktok-readvideo/projects/YYYYMMDD_slug/output/edit_plan.json --dry-run

What Codex Should Decide

The script extracts context; Codex still owns judgment:

  • Which scene is the strongest hook.
  • Which claim needs visual proof.
  • Which silent or low-value spans to remove.
  • Where B-roll should support the transcript.
  • Whether the output should be summary, edit plan, final rendered video, or reusable asset archive.

For deeper design notes, read:

  • references/video-context-schema.md for artifact schemas.
  • references/whisper-transcription.md for standalone and batch transcription details.
  • references/whisper-merge-notes.md for the bggg-tiktok-whisper comparison and merge decision.
  • references/tiktok-editing.md for TikTok editing heuristics.
  • references/source-projects.md for what was copied from Popcorn and related video-understanding projects.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

把图片、截图、海报、PPT 页面截图、HTML 或 SVG 设计稿转换成可编辑 PPTX 的 Codex skill。 当用户需要 image2ppt、image2pptx、图片转 PPT、截图转 PPT、PNG/JPEG 转可编辑幻灯片、 HTML/SVG 转 PPTX、把设计图拆成图片组件和文本框再拼成 PowerPoint、 或希望复用 Codex 内置生图能力把平面图重建为多元素可编辑 PPT 时,应该使用此 skill。 在 Codex 中处理二进制图片时,默认结合 imagegen skill:先用 Codex 视觉理解版式, 再用内置图片生成/编辑能力生成或清理多个组件图片,最后用本 skill 的脚本拼装 PPTX。

日本語の概要は準備中です。原文の説明を表示しています。

binggandata/bggg-skills6052026年8月13日 更新

把一张或多张图片整理成 PSD 图层文件的创作与转换 skill。当用户需要 image2psd、图片转 PSD、 多张图片拼成 PSD、海报/设计稿拆成多个图层、白底转透明、颜色聚类拆层、把 Codex/AI 生图结果拆成元素图再合成 PSD、 或希望输出 layered PSD、可在 Photoshop/Photopea 中编辑的分层栅格文件时,应该使用此 skill。 在 Codex 中使用时,默认结合 imagegen skill:先用 Codex 视觉/生图能力理解、补齐或重建元素,再用本 skill 的脚本落地 PSD。

日本語の概要は準備中です。原文の説明を表示しています。

binggandata/bggg-skills6052026年8月13日 更新

Collect Amazon.com written product reviews at scale through Woot's public review AJAX route, retain every attempt and error log, reconcile partial runs, and normalize exact review text into auditable JSONL. Use for VOC, competitor review mining, low-star complaint analysis, listing research, or batch ASIN review acquisition without Amazon credentials. Amazon data layer of the bggg VOC suite (shared project folder; orchestrated by industry-orchestrator, reported by bggg-voc-report).

日本語の概要は準備中です。原文の説明を表示しています。

binggandata/bggg-skills6052026年8月13日 更新

Collect auditable Reddit search results and full comment trees at scale, preserve the source JSON, and normalize posts and comments into analysis-ready JSONL. Use for VOC, market research, community discovery, keyword snowballing, or any task that needs Reddit post and comment text without inventing unavailable fields. Reddit data layer of the bggg VOC suite (shared project folder; orchestrated by industry-orchestrator, reported by bggg-voc-report).

日本語の概要は準備中です。原文の説明を表示しています。

binggandata/bggg-skills6052026年8月13日 更新

Collect auditable public X/Twitter posts by controlling the user's already logged-in Chrome, searching X's rendered web interface, scrolling visible results, and extracting original post text and metadata from DOM into normalized JSONL. Use for VOC research, social listening, multilingual keyword discovery, competitor monitoring, or historical search when X requires the user's browser session and cookies, credentials, internal GraphQL, paid APIs, or search-engine snippets must not be exported or used. X data layer of the bggg VOC suite (shared project folder; orchestrated by industry-orchestrator, reported by bggg-voc-report).

日本語の概要は準備中です。原文の説明を表示しています。

binggandata/bggg-skills6052026年8月13日 更新

Skill 进化器(饕餮)— 通过"吞噬"并分析其他 skill 的优势来强化目标 skill。 当用户想要:整合两个 skill、用一个 skill 优化另一个、对比分析两个 skill 的优劣、 把某个 skill 的优点提炼到另一个 skill 中、或者说"把 X 喂给 Y"、"用 X 来优化 Y"、 "整合这两个 skill"、"吃掉这个 skill"、"skill 进化"、"skill 升级"、"合并 skill" 等意图时,必须触发此 skill。即使用户没有明确说"饕餮",只要涉及到两个 skill 之间的 能力迁移、对比分析、或优势提取,都应该使用此 skill。

日本語の概要は準備中です。原文の説明を表示しています。

binggandata/bggg-skills6052026年8月13日 更新

binggandata のスキルをすべて見る

このスキルの問題を報告する