Agent skill
video-timeline
Generate and validate timeline.json using a builder + validator team.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/video-timeline
SKILL.md
Video Timeline Pipeline
Generate and validate timeline.json using a builder + validator team. The builder generates the timeline, the validator enforces quality gates. Max 3 validation rounds.
Team Structure
Create an agent team called "timeline-edit" with these teammates:
builder (general-purpose agent)
Role: Generate timeline.json from script + transcript + assets. Skills to preload: Load the timeline-builder agent instructions. MCP servers needed: giphy, pexels Tasks:
- Read the prompter/script file (or READ each slide image if no prompter exists)
- Read the transcript (transcript-clean.json > transcript.json > SRT)
- List available slides, GIFs, and B-roll in the video directory
- If GIFs are missing or below density minimum, search and download via Giphy MCP
- If B-roll is missing or below density minimum, search and download via Pexels MCP
- Match slides to speech moments using content understanding
- Generate creative edit decisions with ~20% distribution per layout type
- Write timeline.json to the video directory
- Mark task complete and notify the lead
validator (general-purpose agent)
Role: Validate timeline.json against 21 quality checks. Skills to preload: Load the timeline-validator agent instructions. Model preference: haiku (cheap and fast - just counting and checking rules) Tasks (run AFTER builder completes):
- Read timeline.json from the video directory
- Read transcript-clean.json (or transcript.json)
- List files in slides/, gifs/, broll/ directories
- Run all 21 quality checks (structural, density, speech alignment)
- Output PASS or FAIL verdict with specific fix instructions
Workflow
- Create team "timeline-edit"
- Create task "Build timeline" and assign to builder
- Builder generates timeline.json, marks task complete
- Create task "Validate timeline" and assign to validator
- Validator reads timeline.json + transcript, runs 21 checks
- If PASS: clean up team, report success
- If FAIL: create task "Fix timeline" for builder with the validator's specific feedback
- Builder applies targeted fixes, marks task complete
- Create task "Re-validate timeline" for validator
- Max 3 rounds (build + validate). If still failing after 3, report remaining issues to user.
Input
Provide the video project directory:
$ARGUMENTS
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?