Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计提醒

video-analysis视频分析

Agent Skill

用于辅助视频生成、动画合成、脚本化剪辑或 Remotion 等视频项目开发。它适合让 Agent 组织镜头、生成素材说明、维护合成代码或排查渲染问题。使用时需要确认分辨率、时长、素材路径和导出格式;涉及外部素材、人物肖像或商业发布时,应先核对版权授权和内容审核要求。

总安装

451

周安装

19

GitHub Stars

公开资料未说明

下载量

158
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:video-analysis(视频分析)
来源仓库:https://github.com/postplusai/postplus-skills
仓库路径:skills/video-analysis
安装命令:
npx skills add https://github.com/postplusai/postplus-skills --skill video-analysis
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/postplusai/postplus-skills --skill video-analysis

简介

video-analysis 用于辅助视频生成、动画合成、脚本化剪辑或 Remotion 项目开发。

  • 适合组织镜头、生成素材说明、维护合成代码或排查渲染问题。
  • 使用时需确认分辨率、时长、素材路径和导出格式等参数。
  • 安装命令为 npx skills add https://github.com/postplusai/postplus-skills --skill video-analysis。
  • 涉及外部素材、人物肖像或商业发布时,应先核对版权授权和内容审核要求。

SKILL.md

Video Analysis

Follow shared release-shell rules in:

  • postplus-shared release-shell rules

Use this skill for video-level analysis after metadata research has already narrowed a candidate set.

Follow shared routing and guidance rules in:

  • postplus-shared research preferences

This skill is usually downstream of platform research, not the default first step for broad TikTok discovery.

Use For

  • upload local video files to the official Gemini Files API
  • run Gemini 3.1 Pro Preview on video inputs
  • use a stable TikTok/Reels analysis prompt
  • request structured JSON output
  • keep analysis linked to source metadata such as TikTok URL, video id, or dataset row

Trigger Signals

Use this skill when the user asks for things like:

  • why a video works
  • hook or structure breakdown
  • spoken-line or CTA analysis
  • shot-level decomposition
  • visual execution analysis
  • adaptation or recreation guidance based on actual videos

Do not use this skill as a substitute for broad TikTok trend discovery when no shortlist exists yet.

Core Resources

  • Official source library: references/core-sources.md
  • TikTok analysis prompt: references/tiktok-video-analysis-prompt.md
  • JSON schema: references/tiktok-video-analysis-schema.json
  • Downloader: ../../00-core/shared-runtime/scripts/download_videos_from_manifest_with_ytdlp.mjs
  • Batch runner: scripts/run_video_analysis_batch.mjs
  • Manifest builder: scripts/build_manifest_from_master_table.mjs
  • Backfill helper: scripts/backfill_master_table_with_script.mjs

Workflow

For this workspace, use this skill after:

  1. metadata research identifies high-value videos
  2. the actual video files are available locally

If the local video files are missing, do not stop at metadata. Recover the source video first, then run analysis.

For this workspace, a practical recovery path is:

  1. try to locate previously downloaded local videos
  2. if missing, proactively install the local downloader dependency first when needed
  3. if still missing, download from the TikTok web URL with yt-dlp
  4. save files under a stable workspace path
  5. only then call the Gemini analysis scripts

Do not start with full-market video analysis. First shortlist, then analyze.

If the user request is broad or ambiguous, ask one short question before running:

  • "你是想先找出值得看的爆款样本,还是已经有视频要我直接拆 hook、结构和镜头?"

If the user appears to want a broader TikTok research outcome, proactively mention that skills/20-research/tiktok-research can first build the shortlist this skill should analyze.

Environment

Do not store secrets in this repo.

In the product shell:

  • follow postplus-shared release-shell rules
  • if python3 is missing, install python3 with the host package manager already present on the machine before continuing
  • if yt_dlp is missing, run python3 -m pip install --user yt-dlp before continuing
  • rerun direct checks such as python3 --version and python3 -c "import yt_dlp" after installation
  • if the required Gemini capability is missing, or local dependency installation/verification fails, or the script returns a stable network/proxy/DNS error, stop immediately and report that failure

Default Model

  • gemini-3.1-pro-preview

Do not use gemini-3-pro-preview; it has been shut down.

First Run

Use a single local video and keep the first request simple:

node skills/40-creative/video-analysis/scripts/run_video_analysis_batch.mjs \
  --download-report <work-folder>/.postplus/download-report.json \
  --output-dir <work-folder>/.postplus/video-analysis-results \
  --concurrency 1 \
  --model gemini-3.1-pro-preview

The download report should contain at least:

{
  "results": [
    {
      "sourceId": "demo-1",
      "sourceUrl": "https://www.tiktok.com/@demo/video/1",
      "filePath": "/abs/path/to/video.mp4",
      "success": true
    }
  ]
}

Batch Guidance

When scaling to many videos:

  • keep provider calls concurrent but bounded
  • start with concurrency 2-4
  • prefer inline for short TikTok clips under 20MB when the network path to Files API is unreliable
  • persist one JSON result per source video
  • include source ids and source URLs in every result
  • retry upload and generate calls with bounded backoff
  • separate upload failures from model failures

Fallback Strategy

For this workspace, the preferred first-version strategy is:

  1. whole video inline if under 20MB
  2. compress if over 20MB
  3. segment into overlapping clips if still over 20MB
  4. aggregate clip analyses back into one video-level result
  5. join final analyses back to the source metadata dataset

Keep These Assets

Do not treat downloaded videos as disposable temp files if they were expensive to source.

When a benchmark set matters, keep:

  • the local video file
  • the analysis JSON
  • the manifest or URL list that can restore the file later

If you only keep the metadata table, you may lose the ability to reproduce shot-level analysis later.

Shot-Level Backfill

If shot-level fields were generated by Gemini but not preserved in the master table, backfill them instead of creating duplicate records.

Use:

node skills/40-creative/video-analysis/scripts/backfill_master_table_with_script.mjs \
  --master "reports/video-master-table.csv" \
  --analysis-dir /path/to/analysis-dir

This updates matching source ids in the existing master table and preserves the single-table workflow.

Batch example:

node skills/40-creative/video-analysis/scripts/run_video_analysis_batch.mjs \
  --download-report /path/to/download-report.json \
  --output-dir <work-folder>/.postplus/video-results \
  --concurrency 2 \
  --model gemini-3.1-pro-preview

Always Keep

Never treat video analysis as isolated output. Always keep these fields:

  • sourceId
  • sourceUrl
  • sourceMetadataPath or dataset path
  • videoFilePath
  • model
  • promptVersion

That makes it possible to join Gemini output back to TikTok metadata later.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.78%
按下载量换算57

Claude

26.02%
按下载量换算41

Cursor

20.06%
按下载量换算32

Gemini CLI

8.41%
按下载量换算13

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

可疑

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/postplusai/postplus-skills --skill video-analysis 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills