Jingyi-Wu-Richael
replicate-video-ad
Codex skill for evidence-based ecommerce story-ad analysis and production-ready video replication prompts.
Documentation snapshot
README 快照
本页保存的是公开项目资料快照,阅读过程不需要连接 GitHub。
Replicate Video Ad
English | 简体中文
A Codex skill for turning a reference video into an evidence-based shot analysis and a production-ready ecommerce story-ad replication prompt.
It preserves the source video’s pacing, framing, narrative mechanics, product reveal, proof sequence, and conversion logic while replacing identities, branding, unsupported claims, and platform chrome.
What It Produces
- High-density frame sampling at up to 2 fps, with contact sheets and a storyboard
- A timestamped shot timeline covering action, dialogue or subtitles, story function, and product exposure
- A breakdown of the hook, escalation, reversal, product bridge, proof, payoff, and CTA
- A copy-ready master prompt for adapting the structure to another product
- Dialogue and voice direction, post-production copy, negative constraints, and a segmented generation plan
- Explicit separation between observed facts, adaptation decisions, and claims that still need confirmation
Requirements
- Codex or another agent runtime that supports folder-based skills
- Python 3.10+
ffmpegandffprobe- Optional:
yt-dlpfor direct URL input - Optional: the
watchskill for transcript and frame acquisition before deterministic extraction
The bundled extractor uses only the Python standard library. It calls the external binaries above when needed.
Installation
Clone the repository into your Codex skills directory:
mkdir -p ~/.codex/skills
git clone https://github.com/Jingyi-Wu-Richael/replicate-video-ad.git \
~/.codex/skills/replicate-video-ad
Restart Codex or start a new task so the skill can be discovered.
Usage
Invoke the skill explicitly and attach a local video:
Use $replicate-video-ad to analyze this reference video and adapt its story structure for my skincare product.
You can also provide a public video URL:
Use $replicate-video-ad to break down this video and create a 30-second Douyin ecommerce story-ad prompt for 【产品名】: 【URL】
When product facts are incomplete, the skill keeps placeholders such as 【品牌】, 【产品名】, and 【核心卖点】 instead of inventing claims.
Bundled Extractor
Run the deterministic extractor directly when you already have a local video:
python3 scripts/extract_video.py "/path/to/reference.mp4" \
--out-dir "/path/to/new-output-directory" \
--fps 2 --max-frames 120 --width 768
Add --extract-audio to create a mono 16 kHz MP3 for an available transcription workflow.
The output directory must be new or empty. Typical extractor artifacts include:
storyboard.jpg
frames.zip
frame_manifest.json
frame_manifest.csv
contact_sheets/
frames/
audio.mp3 # only with --extract-audio
Repository Structure
replicate-video-ad/
├── SKILL.md
├── agents/
│ └── openai.yaml
├── references/
│ ├── ad-framework.md
│ └── output-template.md
└── scripts/
└── extract_video.py
Responsible Replication
This skill is designed to reproduce structure and conversion mechanics, not identity. It avoids copying identifiable faces, voices, watermarks, account names, platform UI, and unsupported product claims. Dialogue is included only when supported by captions, a permitted transcript, or visible burned-in subtitles.
The default review is high-density frame sampling, not literal extraction of every encoded frame.
Official distribution
获取与安装
暂未发现可确认的官方软件包地址
当前 README 快照没有出现 npm、PyPI、Crates.io、pub.dev 等官方包页链接。本站不会根据仓库名称猜测下载地址。
本站不托管项目文件;需要安装时,请以项目维护者发布的官方文档为准。
Before installing
使用前核验
本站保存公开资料用于阅读,不代表安全审计或功能背书。安装前请核对许可证、依赖来源和发布签名,不要直接运行来源不明的二进制文件或高权限脚本。