agentleFS
WhiteTowerAIWhiteTowerAI/cut-as-code/skills/video-understand/SKILL.md

video-understand

Skill13 starsChanged 4 months agoMITView on GitHub

Use when a video project needs reusable media metadata, word-level transcription, objective speech analysis, or evidence-backed semantic understanding before optional editing skills run.

7 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use gift-evaluator, Podcast Generate and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • jjyaoaoSkill

    gift-evaluator

    The PRIMARY tool for Spring Festival gift analysis and social interaction generation. Use this skill when users upload photos of gifts (alcohol, tea, supplements, etc.) to inquire about their value, authenticity, or how to respond socially. Integrates visual perception, market valuation, and HTML card generation.

    Also in 4 projects that use this

  • jjyaoaoSkill

    Podcast Generate

    Generate podcast episodes from user-provided content or by searching the web for specified topics. If user uploads a text file/article, creates a dual-host dialogue podcast (or single-host upon request). If no content is provided, searches the web for information about the user-specified topic and generates a podcast. Duration scales with content size (3-20 minutes, ~240 chars/min). Uses z-ai-web-dev-sdk for LLM script generation and TTS audio synthesis. Outputs both a podcast script (Markdown) and a complete audio file (WAV).

    Also in 4 projects that use this

  • MindrallySkill

    llm

    Large Language Model development, training, fine-tuning, and deployment best practices.

    Also in 4 projects that use this

  • SuperInstanceSkill

    aminer-data-search

    使用 AMiner 开放平台 API 进行学术数据查询与分析。当用户需要查询学者信息、论文详情、机构数据、期刊内容或专利信息时使用此 skill。 触发场景:提到 AMiner、学术数据查询、查论文/学者/机构/期刊/专利、学术问答搜索、引用分析、科研机构分析、学者画像、论文引用链、期刊投稿分析等。 支持 6 大组合工作流(学者全景分析、论文深度挖掘、机构研究力分析、期刊论文监控、学术智能问答、专利链分析)以及 28 个独立 API 的直接调用。 即使用户只说"帮我查一下 XXX 学者"或"找找关于 XXX 的论文",也应主动使用此 skill。

    Also in 3 projects that use this

  • SuperInstanceSkill

    auto-target-tracker

    自动目标进度追踪器。在对话中检测到目标相关图片(笔记、进度、截图、记录)时,自动调用 VLM 识别关键信息并记录到目标日记。适用于学习管理、健身追踪、工作进度、习惯养成、创作记录等所有目标管理场景。

    Also in 3 projects that use this

  • +2 more from jjyaoao
  • +5 more from SuperInstance

The file

We split this skill into the rules it gives an agent

9 rules. 0 are common, 3 are distinctive, and 6 are very specific to this project.

  • 0

    Common

    Most of the 6 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run it first so those skills consume the same validated evidence and timeline.

    line 12
  2. Very specific:

    Use --lang auto for unknown or mixed-language speech.

    line 44
  3. Very specific:

    Read the source, transcript, and analysis.

    line 57
  4. Very specific:

    Create only these useful review artifacts under review/00-video-understanding/: video-summary.md, transcript.srt, and contact-sheet.jpg.

    line 65
  5. Very specific:

    Read project-schema.md when creating or validating project.json.

    line 76
  6. Distinctive:

    Read timeline-schema.md when mapping source and program time.

    line 77
  7. Distinctive:

    Read understanding-schema.md before authoring semantic understanding.

    line 78
  8. Very specific:

    Use understanding.example.json as a compact example.

    line 79
  9. Very specific:

    All durable machine files live in work/understand/.

    line 81

“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Video Understand

Build the shared evidence layer once. Keep observations in source time and leave editorial decisions to downstream skills.

This skill is a prerequisite for /video-cut, /video-to-shorts, /video-add-captions, /video-add-content-cards, and /video-add-graphic-motion. Run it first so those skills consume the same validated evidence and timeline.

Dependencies

Require ffmpeg/ffprobe, Python, and faster-whisper for transcription. Check them before processing media.

Workflow

  1. Initialize a project from the original source:

    python scripts/init_project.py path/to/source.mp4 path/to/my-video-project

    This creates input/, review/00-video-understanding/, final/, the minimal machine-facing work/ tree, an identity timeline, project.json, media facts, and START-HERE.md. It does not create folders for unselected edit operations.

  2. Probe again only when the source needs an explicit metadata refresh:

    python scripts/probe.py input/original-video.mp4 work/understand/media.json
  3. Extract 16 kHz mono audio and transcribe it:

    ffmpeg -y -i input/original-video.mp4 -ac 1 -ar 16000 work/cache/audio16k.wav
    python scripts/transcribe.py work/cache/audio16k.wav work/understand/transcript medium `
      --lang auto --cache-dir work/cache/faster-whisper

    Use --lang auto for unknown or mixed-language speech. Never infer the spoken language from the language of the user's prompt. Pass a fixed language such as --lang zh only when the audio itself or explicit user metadata establishes it. Keep model downloads in the project-local work/cache/faster-whisper/ cache. Faster-whisper may emit an occasional point-timed word with equal start/end values; the shared timeline mapper preserves it as a 1 ms interval so captions and derivatives do not silently lose text.

  4. Generate objective metrics and semantic candidates:

    python scripts/analyze.py work/understand/transcript.json work/understand/analysis.json
  5. Read the source, transcript, and analysis. Author work/understand/understanding.json with factual summaries, source-time ranges, confidence, and transcript evidence. Do not prescribe cuts, cards, or looks.
  6. Validate before downstream use:

    python scripts/validate.py understanding work/understand/understanding.json work/understand/transcript.json
  7. Create only these useful review artifacts under review/00-video-understanding/: video-summary.md, transcript.srt, and contact-sheet.jpg. Verify metadata, timestamps, evidence references, and visible frames. Do not substitute PNG or ad hoc filenames for the protocol names.
  8. Mark the understanding operation check.status as pass only after the review artifacts and semantic evidence validate. Operation lifecycle status and check result are separate; never write verified into check.status.

Contracts

  • Read project-schema.md when creating or validating project.json.
  • Read timeline-schema.md when mapping source and program time.
  • Read understanding-schema.md before authoring semantic understanding.
  • Use understanding.example.json as a compact example.

All durable machine files live in work/understand/. Treat work/cache/ as disposable.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.