wjs-segmenting-video
Use when the user has a long-form video (interview / lecture / podcast / conversation) and a transcript SRT, and wants to extract 3–6 stand-alone topical short clips from it. This skill ONLY cuts and crops — it produces raw clips + per-clip SRTs as a hand-off package for downstream post-production (`/wjs-overlaying-video`). Triggers — "切成几段", "分主题", "拆成短视频", "切片", "topic segments", "split into clips".
npx skills add jianshuo/claude-skills --skill wjs-segmenting-video --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# wjs-segmenting-video Cut a long video + SRT into multiple stand-alone short clips, each oriented for the target platform. **This skill stops after cutting + cropping** — it hands off the raw clips to `/wjs-overlaying-video` for covers, captions, illustrations, CTA, and final render. ## When to use - Long-form video (≥10 min) with an existing SRT transcript. - Goal is **stand-alone** short clips (each viewable without context). - The user will (or you will) drive post-production separately in `/wjs-overlaying-video`. ## When NOT to use - Single-topic trimming → just use `ffmpeg -ss A -to B`. - No transcript yet → run **`/wjs-transcribing-audio`** first (then `/wjs-translating-subtitles` if the segments need a non-source language). - Multicam editing → use **`/wjs-editing-multicam`**. - Highlight reel with multiple cuts inside a single topic → that's editing, not segmentation. ## What this skill IS — and IS NOT | Is | Is not | |---|---| | You (the agent) **read the full SRT and decide the topic boundaries** | A script that runs NLP topic modeling, silence detection, or "viral moment" scoring. Topic boundaries are semantic; competing tools (Descript, OpusClip, Riverside Magic Clips)
- When to use
- When NOT to use
- What this skill IS — and IS NOT
- The pipeline
- Step 1 — Read SRT, write segments.json
- Step 2 — Accurate-seek cut
- Stream-copy variant (only if you control the source encode)
- Diagnosing keyframe-snap on already-cut clips
- Step 3 — Orientation check (ask before continuing)
- Calling /wjs-reframing-video
- Step 4 — Slice per-clip SRTs
- Hand-off package — what to deliver to /wjs-overlaying-video
- Quick reference
- Common mistakes
python3 ~/.claude/skills/wjs-segmenting-video/scripts/segment.py \ Build the comma-separated keyframe list from segments.json for seg in s['segments']: ts += [seg['start'], seg['end']] Re-encode master once, forcing keyframes at all segment boundaries ffmpeg -i master.mp4 \ Now stream-copy cuts land exactly: python3 segment.py --segments segments.json --source master_kf.mp4 --out output/ ffprobe -v error -select_streams v:0 -read_intervals "$((N-2))%$((N+5))" \ ffprobe -v error -select_streams v:0 \
What does the wjs-segmenting-video skill do?
Use when the user has a long-form video (interview / lecture / podcast / conversation) and a transcript SRT, and wants to extract 3–6 stand-alone topical short clips from it. This skill ONLY cuts and crops — it produces raw clips + per-clip SRTs as a hand-off package for downstream post-production (`/wjs-overlaying-video`). Triggers — "切成几段", "分主题", "拆成短视频", "切片", "topic segments", "split into clips".
How do I install it?
Run `npx skills add jianshuo/claude-skills --skill wjs-segmenting-video --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From jianshuo/claude-skills, a repository with 112 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
