agentleFS
haithamelmengadhaithamelmengad/claude-popcorn/skills/watch/SKILL.md

watch

Skill7 starsChanged 9 days agoMITView on GitHub

Use this skill when asked to watch, review, summarize, or analyze videos. Popcorn extracts transcripts and key frames so you can understand video content without watching in real-time.

60 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use decision-map, save 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.
  • Mathews-TomSkill

    decision-map

    Use when mapping unresolved architecture, policy, or scope decisions before planning, or working one decision ticket, including a prototype ticket whose throwaway evidence the prototype package builds. Also applies to "map the decisions", "decision map", and "wayfinder". Not for implementation slices of a known feature, milestone plans, general UI generation, standalone prototypes outside a decision map (use prototype), or adopting experimental code into production.

    Also in 3 projects that use this

  • NVIDIASkill

    save

    Persist the working library to the run dir and durable catalog. Use for /save.

    Also in 3 projects that use this

  • AWSSkill

    map

    Map verified service capabilities against customer-provided control framework and threat model. Produces mapping-results.json, controls-catalog.md, and framework-mapping.md. Supports pluggable frameworks: CCMv4, NIST 800-53, CIS Benchmarks, ISO 27001, etc. Split into 4 focused sub-skills for better accuracy; this skill orchestrates them.

    Also in 3 projects that use this

  • javatarzSkill

    wiki

    Access and manage the local GitHub Wiki clone. Use this skill when you need to read wiki content (architecture, design docs, guides), update wiki documentation, check wiki status, or push wiki changes. The wiki contains high-level system design and architectural documentation.

    Also in 3 projects that use this

  • dubwoahSkill

    ask

    Answer questions about the codebase without generating or modifying any code. Use when the user wants to understand how something works, find where something is defined, or explore the project structure. Invoked with /ask.

    Also in 3 projects that use this

  • GoogleSkill

    ponytail-review

    Code review focused exclusively on over-engineering. Finds what to delete: reinvented standard library, unneeded dependencies, speculative abstractions, dead flexibility. One line per finding: location, what to cut, what replaces it. Use when the user says "review for over-engineering", "what can we delete", "is this over-engineered", "simplify review", or invokes /ponytail-review. Complements correctness-focused review, this one only hunts complexity.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 5 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 55 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when asked to watch, review, summarize, or analyze videos.

    line 8
  2. Distinctive:

    Frame paths: - All extracted frames with timestamps

    line 121
  3. Very specific:

    Use videoType when known: - If user says "coding tutorial", use screencast.

    line 167
  4. Very specific:

    Check transcript.available in response

    line 175
  5. Distinctive:

    If false, focus on visual analysis

    line 176
  6. Distinctive:

    Cite timestamps: - When referencing content, include timestamps for user reference.

    line 179
  7. Distinctive:

    File not found: Check path is absolute and file exists

    line 211

“Common” is measured: kept by at least 6 in 10 of the 55 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

Popcorn Video Analysis Skill

Use this skill when asked to watch, review, summarize, or analyze videos. Popcorn extracts transcripts and key frames so you can understand video content without watching in real-time.

When to Use

  • User asks to "watch", "review", or "summarize" a video
  • User provides a video file path and wants insights
  • User wants to find a specific moment in a video
  • User needs a transcript of video content

Available Tools

ToolPurpose
popcorn_analyzeMain analysis - extracts frames + transcript
popcorn_suggestGet video metadata and recommended settings
popcorn_presetsList available video types and objectives
popcorn_backendsList available transcription backends
popcorn_readRead transcript slices or analysis files

Quick Start Workflow

Simple (Just Works)

{
  "tool": "popcorn_analyze",
  "arguments": {
    "path": "/path/to/video.mp4"
  }
}

With Context (Better Results)

{
  "tool": "popcorn_analyze",
  "arguments": {
    "path": "/path/to/video.mp4",
    "videoType": "screencast",
    "objective": "summary"
  }
}

Video Types

Choose based on content:

TypeWhen to Use
screencastCoding tutorials, software demos, UI recordings
presentationSlides, lectures, keynotes, talks
movieFilms, TV episodes, cinematic content
interviewPodcasts, conversations, talking heads
surveillanceSecurity footage, dashcam, static cameras
sportsGames, matches, live action events

Objectives

Choose based on what user wants:

ObjectiveWhen to Use
summary"Give me an overview" / "What's this about?"
detailed"Don't miss anything" / "Thorough analysis"
find_moment"Find where they talk about X"
transcribe"Get me the transcript" / "What did they say?"
visual_only"Just show me what's on screen"
quick_scan"Just a quick look" / Limited time

Advanced Workflow

Step 1: Understand the Video (Optional)

{
  "tool": "popcorn_suggest",
  "arguments": {
    "path": "/path/to/video.mp4"
  }
}

This returns:

  • Duration, resolution, file size
  • Suggested video type with confidence
  • Questions you can ask the user

Step 2: Ask User (Optional)

Based on popcorn_suggest response, you may ask:

  • "This looks like a screencast. Is that right?"
  • "Do you want a quick summary or detailed analysis?"

Step 3: Analyze

{
  "tool": "popcorn_analyze",
  "arguments": {
    "path": "/path/to/video.mp4",
    "videoType": "screencast",
    "objective": "detailed"
  }
}

Step 4: Use Results

The response includes:

  • Inline images - Key frames as base64 (view directly)
  • Transcript excerpt - First portion of transcription
  • Frame paths - All extracted frames with timestamps
  • Analysis bundle path - For reading more data

Step 5: Read More (If Needed)

For long videos, read transcript sections:

{
  "tool": "popcorn_read",
  "arguments": {
    "path": "/path/to/.popcorn/video/transcript.json",
    "startSec": 1800,
    "endSec": 2400
  }
}

Response Format

{
  "configUsed": { "videoType": "screencast", "objective": "detailed" },
  "video": { "durationSec": 5400, "video": { "width": 1920, "height": 1080 } },
  "transcript": {
    "available": true,
    "textExcerpt": "Welcome to this tutorial...",
    "segmentCount": 312
  },
  "keyframes": {
    "method": "scene",
    "count": 47,
    "frames": [
      { "path": "/path/to/frame.jpg", "timeSec": 0 },
      { "path": "/path/to/frame.jpg", "timeSec": 23.5 }
    ]
  },
  "inlineFrames": { "count": 30, "note": "Images below" }
}
// Followed by 30 inline images

Best Practices

  1. Start simple - Just pass the path. Presets are optional.
  2. Use videoType when known - If user says "coding tutorial", use screencast.
  3. Match objective to intent:
    • "Summarize this" → summary
    • "What exactly happens?" → detailed
    • "Find the part about X" → find_moment
  4. Handle missing transcription gracefully:
    • Check transcript.available in response
    • If false, focus on visual analysis
    • Mention to user that audio wasn't transcribed
  5. Cite timestamps - When referencing content, include timestamps for user reference.
  6. For very long videos (2+ hours):
    • Use objective: "summary" first
    • Then use popcorn_read to dive into specific sections

Transcription Backends

Multiple backends are supported. Use popcorn_backends to see what's available:

BackendSpeedNotes
mlx-whisperFastestApple Silicon only
faster-whisperFastestNVIDIA GPUs
whisper-cppFastCross-platform
whisperMediumMost compatible

To force a specific backend:

{
  "tool": "popcorn_analyze",
  "arguments": {
    "path": "/path/to/video.mp4",
    "backend": "whisper-cpp"
  }
}

Error Handling

  • No transcription backend: Transcription skipped, visual analysis still works
  • No ffmpeg: Tool will fail - user needs to install ffmpeg
  • File not found: Check path is absolute and file exists
  • Large files: May take several minutes - set expectations

Example Prompts and Responses

User: "Watch this video and tell me what it's about" Action: popcorn_analyze with objective: "summary"

User: "This is a React tutorial, analyze it thoroughly" Action: popcorn_analyze with videoType: "screencast", objective: "detailed"

User: "Find where they discuss the database schema" Action: popcorn_analyze with objective: "find_moment", then search transcript

User: "Just give me the transcript" Action: popcorn_analyze with objective: "transcribe"

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.