lov-video-chapter

lov-video-chapter is a skill for Claude Code, Codex from lovstudio/skills. It costs 108 tokens per session (1,226 once invoked), scanned A, original, MIT.

A video chapter production toolkit that turns subtitles and a source video into chapter data, an editable chapter bar, video overlays, and editor-ready files.

In plain words
What is it for?
Use it to create semantic video chapters, preview their progress bar, render a transparent overlay or MP4, and prepare files for editors such as CapCut.
Why use it?
It connects planning, design, rendering, and export so chapter information does not have to be recreated at each stage.

Skill for Claude CodeCodex

Part of the video-creation plugin — 7 skills shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/lovstudio/skills/video-chapter
Any agent
npx skills add lovstudio/skills --skill video-chapter
Clone the repo
git clone --depth 1 https://github.com/lovstudio/skills

Made for: Claude Code, Codex.

Or install video-creation, the plugin that ships this one along with the rest of its 7 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for lov-video-chapter

README.md
[![agentmods](https://agentmods.dev/badge/skills/lovstudio/skills/video-chapter.svg)](https://agentmods.dev/skills/lovstudio/skills/video-chapter)
Your own site
<a href="https://agentmods.dev/skills/lovstudio/skills/video-chapter"><img src="https://agentmods.dev/badge/skills/lovstudio/skills/video-chapter.svg" alt="Measured on agentmods" height="20"></a>
Per session 108 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,226 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00108 $0.01226
Opus 5 $0.00054 $0.00613
Sonnet 5 $0.00022 $0.00245
Haiku 4.5 $0.00011 $0.00123

Measured yesterday against content hash 1339113a0a7c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

lov-video-chapter scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

The scan reads SKILL.md. This mod also ships 8 executable files (scripts/chapter_project.py, scripts/render_chapter_bar.py, scripts/subtitle_chapters.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/video-chapter/SKILL.md · 146 lines

How it starts

The opening of the file, as written. The whole thing — 146 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Video Chapter Skill Kit

Build a complete chapter-bar workflow from semantic planning to final video. Keep every stage connected through one chapter-project.json.

Route the request

  • Read skills/chapter-plan/SKILL.md for subtitle analysis and editorial cuts.
  • Read skills/chapter-design/SKILL.md for React Studio editing and styling.
  • Read skills/chapter-render/SKILL.md for transparent overlay or burned video.
  • Read skills/chapter-export/SKILL.md for 剪映/CapCut and other editor packages.
  • Run only the stages the user requests. Run all four for an end-to-end request.

End-to-end workflow

1. Analyze the subtitles

python3 scripts/subtitle_chapters.py \
  --input "/path/to/subtitles.srt" \
  --segments 5 \
  --output "/tmp/video-chapter-analysis.md"

Read the analysis pack completely. Select semantic transitions rather than equal-duration cuts. Start at 00:00, align later cuts to subtitle cues, and avoid cutting a sentence.

2. Create the project

Write a UTF-8 chapter list:

00:00 开场与目标 | 展示成片并说明这次要完成什么
04:16 挑选并改造 Skill | 判断现有工具并完成适配

Create the canonical project:

python3 scripts/chapter_project.py create \
  --chapters "/path/to/chapters.txt" \
  --video "/path/to/video.mp4" \
  --output "/path/to/chapter-project.json"

Read references/project-format.md when editing project JSON directly.

3. Refine in React Studio

cd studio
npm install
npm run dev

Import chapter-project.json, select the local source video, edit chapter boundaries and titles, adjust styling, then export the updated JSON. Treat the Studio preview as the visual approval surface.

4. Render

Install Pillow once when needed:

python3 -m pip install -r requirements.txt

Create a transparent overlay:

python3 scripts/render_chapter_bar.py overlay \
  --project "/path/to/chapter-project.json" \
  --output "/path/to/chapter-overlay.mov"

Burn the overlay into the source video:

python3 scripts/render_chapter_bar.py burn \
  --project "/path/to/chapter-project.json" \
  --output "/path/to/video-with-chapters.mp4"

Read the full file on GitHub · 146 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 146 lines · 108 tokens per session scan A 1339113a0a7c

Subscribe to this mod's changes

lov-video-chapter is a skill published in the GitHub repository lovstudio/skills (64 stars, last pushed 2d ago), licensed MIT. It adds 108 tokens to every session and 1,226 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

illustration:popa

Generate intricate hand-drawn sketchnote illustrations starring Popa, a cute pink blob with a green sprout and a notepad, on soft pastel scenes. One busy page of many linked boxes, notes, arrows and icons — busy but fully legible. Use for dev/product/system explainers, how-it-works, architecture, walkthroughs, and…

stevengonsalvez/agents-in-a-box · 85 tokens

illustration

Generate intricate hand-drawn sketchnote illustrations starring Popa (a pink blob with a green sprout and a notepad). Use when the user wants illustrations/diagrams/explainer images/shot lists for an article, post, README, deck, system, or idea. Alias of illustration:popa.

stevengonsalvez/agents-in-a-box · 68 tokens

poster-style-transfer

Analyze an uploaded or local reference poster, extract its reusable design system, and transpose that system to an original poster with a new theme, title, subtitle, or campaign copy.

jiemianduan/poster-style-transfer · 39 tokens

ambitious-implementation

Write large, thorough implementations instead of minimal ones. Use for UI, animation, art/graphics, sound design, theming, and any craft-driven work where richness and detail are the point — and whenever output quality has been called cheap, flat, simple, or generic.

AkshitIreddy/agent-skills · 60 tokens

build-and-look

Prefer building and looking at variations over prolonged reasoning. Use when work is visual, aesthetic, or hard to predict from first principles — UI, art, animation, sound, layout, colour — and whenever you notice yourself planning at length without producing anything to look at.

AkshitIreddy/agent-skills · 57 tokens

comfyui-assets

Generate game/app art assets locally with ComfyUI and SDXL — seamless tileable textures, transparent-background cutouts, ornament stamps, wallpaper patterns. Use when producing material textures or sprite elements for a rendering pipeline, or when asked to create art assets with a local image model.

AkshitIreddy/agent-skills · 61 tokens