SW

sonpiaz/watch-cli

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

260 stars 质量 72 趋势 8MIT

sonpiaz/watch-cli 是从 https://github.com/sonpiaz/watch-cli. 导入的 Agent Skill 候选人。

概览

sonpiaz/watch-cli 是从 https://github.com/sonpiaz/watch-cli. 导入的 Agent Skill 候选人。

概述(AI 翻译)

观看任何社交视频→自动获得架构图、工作组件、可运行笔记本或逐步备忘单。

为您的AI代理提供眼睛和耳朵。watch-cli 将 yt-dlp + [ffmpeg + 一个 Whisper 类 ASR 组合成一个命令,将“观看”任何视频的原材料交给代理:VIDEO + FRAMES + TRANSCRIPT,准备让大型语言模型读取帧作为图像,将文字转录为文本。

可在YouTube、X、LinkedIn、TikTok、Reddit、Vimeo和Facebook上使用。登录墙帖子(LinkedIn、私密X、Facebook)支持WATCH_BROWSER=auto,该网站读取你已登录的浏览器中的Cookie。

你能建造的东西

将watch输出交给你的代理,使用prompts/中的五个提示之一:

放个视频… 退后
编程攻略 工作中的项目文件
系统架构讲座 交互式架构图
一个界面/动作演示 工作中的 React 组件
论文或研究演讲 可跑笔记本
一个长教程 逐步速查表

提示库是将*“视频→帧+转录”变成“视频→工作工件”*的关键。下面的完整提示库部分包含复制粘贴模板。


本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

watch-cli

Watch any social video → get an architecture diagram, working component, runnable notebook, or step-by-step cheat sheet — automatically.

Eyes and ears for your AI agent. watch-cli composes yt-dlp + ffmpeg + a Whisper-class ASR into a single command that hands an agent the raw materials to “watch” any video: VIDEO + FRAMES + TRANSCRIPT, ready for an LLM to read frames as images and transcript as text.

watch https://twitter.com/anyone/status/12345

Works on YouTube, X, LinkedIn, TikTok, Reddit, Vimeo, and Facebook. Login-walled posts (LinkedIn, private X, FB) work with WATCH_BROWSER=auto, which reads cookies from a browser you are signed in to.

What you can build

Hand the watch output to your agent with one of five prompts in prompts/:

Drop in a video of… Get back
A coding walkthrough Working project files
A system architecture talk Interactive architecture diagram
A UI / motion demo Working React component
A paper or research talk Runnable notebook
A long tutorial Step-by-step cheat sheet

The prompt library is what turns “video → frames + transcript” into “video → working artifact”. The full Prompt library section below has copy-paste templates.


Why this exists

Large language models can’t watch video natively — they read text and look at still images. You can hand a video to a multimodal API and get back a chat-style summary, but for an agent workflow that’s the wrong artifact: the agent wants the raw frames and the full transcript so it can reason for itself, not someone else’s pre-digested recap.

A video is just frames + audio, and each piece already has a fast, near-free primitive:

  • yt-dlp downloads from any social platform
  • ffmpeg extracts evenly-spaced frames
  • An ASR model transcribes the audio
  • A multimodal LLM hears tone, music, SFX, language, mood

Compose them and your agent has the materials to watch any social video.


What it looks like

$ watch https://www.linkedin.com/posts/some-talk_activity-12345

VIDEO: /tmp/dl-video/abc123.mp4
DURATION: 218
FRAMES:
  /tmp/frames_abc123/frame_01.jpg
  /tmp/frames_abc123/frame_02.jpg
  …
TRANSCRIPT:
  Today I want to talk about how decomposition unlocks 10× cost reduction in
  multimodal pipelines …

Your agent reads the JPGs and the transcript. That’s the whole watch.


Why pay-per-use, not subscription

Most subscription summary tools start around $15/month and deliver a polished, human-readable summary. If you’re feeding an AI agent, that’s the wrong artifact — agents need raw frames and the full transcript to reason for themselves, not someone else’s pre-digested recap.

在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add sonpiaz/watch-cli
新手?先看 mcpskill.org 教程 →