agentleFS
xingfanxiaxingfanxia/AX-skills/analyze-video-evidence/SKILL.md

analyze-video-evidence

Skill4 starsChanged 55 days agoMITView on GitHub

Analyze a local or downloaded video through timestamped human/automatic captions, ASR fallback, uniform and targeted ffmpeg frames, contact sheets, sanitized metadata, and a claim-evidence ledger. Use when Codex must summarize, compare, fact-check, extract rankings or recommendations, interpret slides/gameplay/demos, or create a Markdown/HTML report from Bilibili, YouTube, or local video while keeping conclusions traceable to exact speech and visual evidence.

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 6 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If captions are omitted, the script prefers a nearby human Chinese caption, then automatic Chinese, English, and other SRT/VTT files.

    line 35
  2. Distinctive:

    When captions are absent:

    line 39
  3. Very specific:

    Read transcript.md, evidence-index.md, and evidence.json.

    line 48
  4. Distinctive:

    Read references/analysis-method.md when the task involves rankings, recommendations, factual verification, conflicting captions, or a …

    line 65
  5. Distinctive:

    Before writing, map each material finding to:

    line 71
  6. Distinctive:

    do not embed the full transcript or redistribute a large frame collection.

    line 91
  7. Distinctive:

    Use the frontend design workflow for a polished HTML artifact and visually verify responsive layout with browser screenshots.

    line 93

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “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

Analyze Video Evidence

Turn a video into a reviewable evidence bundle, then answer the user's actual question from that bundle. Prefer source-backed findings over an untraceable generic summary.

Inputs

Accept either:

  • a local video plus optional SRT/VTT and yt-dlp .info.json; or
  • a Bilibili/YouTube URL downloaded first with $download-web-video.

Require ffmpeg and ffprobe. Keep downloaded media, full transcripts, and frames local unless the user authorizes publication.

Prepare the first-pass evidence

Run:

python3 <skill-dir>/scripts/prepare_evidence.py \
  "./video-source/BV....mp4" \
  --output-dir "./video-evidence" \
  --subtitles "./video-source/BV....zh.srt" \
  --info-json "./video-source/BV....info.json" \
  --frame-count 24

If captions are omitted, the script prefers a nearby human Chinese caption, then automatic Chinese, English, and other SRT/VTT files. Do not claim that speech was analyzed when no captions exist.

When captions are absent:

  1. Extract/transcribe audio with an available local or user-approved ASR route, such as the AX $transcribe skill.
  2. Save SRT or VTT beside the video.
  3. Rerun the evidence preparation command with --subtitles.

Inspect before concluding

Read transcript.md, evidence-index.md, and evidence.json. View contact-sheet.jpg, then open ambiguous individual frames at full resolution. The first pass samples the complete timeline rather than only transcript-picked moments.

Identify topic transitions, enumerated items, tables, slides, on-screen labels, and places where the creator revises or qualifies an earlier point. Add exact frames for those moments:

python3 <skill-dir>/scripts/prepare_evidence.py VIDEO \
  --output-dir "./video-evidence" \
  --subtitles CAPTIONS \
  --timestamp 00:08:42 \
  --timestamp 00:19:15

Read references/analysis-method.md when the task involves rankings, recommendations, factual verification, conflicting captions, or a publishable report.

Build the claim-evidence ledger

Before writing, map each material finding to:

  • a transcript time range and short paraphrase;
  • a frame path when the claim depends on visible content;
  • confidence (high, medium, or low);
  • a caveat when the source is context-dependent or ambiguous.

Distinguish the creator's explicit statement from your inference. Never invent card names, slide text, numbers, or tiers to fill a gap.

Produce the requested artifact

Match the user's requested format. For a table or HTML guide:

  • lead with the decision-useful result;
  • make tiers or priorities scannable;
  • preserve conditions such as act, archetype, existing synergies, or upgrade state instead of forcing a universal order;
  • attach compact timestamps to every important recommendation;
  • include a methodology/source note and uncertainty labels;
  • do not embed the full transcript or redistribute a large frame collection.

Use the frontend design workflow for a polished HTML artifact and visually verify responsive layout with browser screenshots.

Acceptance criteria

Require all applicable conditions:

  • evidence.json, evidence-index.md, transcript.json, and transcript.md exist.
  • The evidence manifest records media metadata, source SHA-256, caption hash, cue count, frame timestamps, and nearby caption context.
  • A full-timeline contact sheet exists when frames were requested.
  • Consequential claims have timestamped speech or visual evidence.
  • Inference and source statements are labeled separately.
  • The final artifact answers the requested question, opens locally, remains readable on desktop and mobile, and contains no cookies or signed media URLs.

Output bundle

<evidence-dir>/
├── evidence.json
├── evidence-index.md
├── transcript.json
├── transcript.md
├── contact-sheet.jpg
└── frames/
    ├── uniform_...
    └── targeted_...

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.