1---2name: video-analysis3description: Analyze local or remote social videos through PostPlus, especially for TikTok/Reels shot beats, timelines, voiceover or on-screen text capture, creative strategy, and natural Markdown outputs. Use this when you need video-level analysis beyond metadata and want results linked back to source metadata.4---56# Video Analysis78## Use When9- The user provides a local video file or video URL and asks to watch, inspect,10 break down, deconstruct, analyze hooks, understand shots, capture spoken11 lines, or explain why a video works.12- Use this for video-level evidence beyond metadata. Do not answer actual13 video-understanding requests from transcript guesses or general marketing14 knowledge.1516## Do Not Use When17- The task belongs to ideation, QA, or another released skill listed in the handoff section.18- Required inputs are missing and guessing would change the result.1920## Execution Boundary21- Analysis runs through `postplus media analyze`; discover its current flags22 with `postplus media schema --json`.23- Supported local formats are `.mp4`, `.m4v`, `.mov`, and `.webm`.24- Pass a local path, HTTPS URL, existing PostPlus media reference, or video data25 URI directly to `--video`. PostPlus prepares the media and runs the request;26 do not pre-upload it or author a manual request object.27- If media preparation or analysis fails, stop on that error.2829## Source And Path30- A local file or HTTPS video URL can be analyzed directly.31- Preserve `sourceId`, `sourceUrl`, `videoFilePath`, `sourceMetadataPath` or32 dataset path, model, prompt version, and source basis so results can be joined33 back to source metadata.34- Keep downloaded videos when they are expensive to source. Keep analysis35 Markdown files and manifests under a stable workspace path.3637## Analysis Scope38- The default analysis is a single output per source video.39- It covers practical short-form structure such as hook, pacing, shot beats,40 VO/on-screen text, product timing, and creative strategy.41- It also asks for Visual & Brand Signals when visible: genre/mood, color42 palette, lighting, camera language, editing rhythm, brand feeling, and43 best-fit creative use cases.4445## Output And Handoff46- `media analyze` returns the hosted analysis response. Read the analysis text47 from that response and write one natural48 Markdown file per source video into a stable workspace path; there is no batch49 runner or summary file.50- The analysis should cover useful video evidence such as shot beats, timeline,51 VO/on-screen text, reusable content structure, and creative strategy when52 those are relevant. If the result wraps the analysis in JSON,53 unwrap it to readable Markdown in-context.54- Results should stay grounded in observable video evidence. Database fields,55 catalog frontmatter, or search indexes belong to a separate ingestion step,56 not to the general video-analysis boundary.5758## Public Command Boundary5960- Run `postplus media analyze <model-key> --video <local-path-or-url> --prompt61 <analysis-prompt> --output <result.json>`.62 When the source video duration is known (for example from the local file),63 pass `--video-seconds <n>` so the hosted boundary can route eligible short videos64 efficiently; omit it when the duration is unknown.6566<!-- BEGIN GENERATED EXECUTION EXAMPLE -->67```bash68postplus media analyze video-analysis \69 --video ./reference.mp4 \70 --prompt "Describe the result you need" \71 --wait \72 --output ./result.json73```74<!-- END GENERATED EXECUTION EXAMPLE -->7576- Discover the model keys and request shape with `postplus media schema --json`;77 do not use another execution interface.78- If the CLI returns a quote-confirmation challenge, run `postplus quote confirm --json --challenge-file <challenge.json>` and retry with the returned token.79- Choose the smallest matching command from the user input and run it directly.80- Readiness diagnostics: `postplus doctor --skill video-analysis`.81 If a command fails, report the exact error and stop. Do not bypass the82 failure by answering from metadata, rewriting media, readiness probing,83 or unowned fallbacks.