DeepSeek Harness 插件

YLL-KB/dsh-video-to-notes

Star 数 ★ 1 下载量(近 30 天) 1,295 分类 技能包 收录于 2026-10-17 npm dsh-video-to-notes

把课程、讲座、教程、会议、演讲等视频整理成结构化学习笔记:用 ffmpeg 提取音轨、Whisper 语音转文字,再生成带分段大纲、重点标记和速查卡的笔记。

安装

# npm 包(预构建)

dsh plugin --profile web add dsh-video-to-notes

# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)

dsh plugin --profile web add github:YLL-KB/dsh-video-to-notes

装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本——pnpm 默认拦截,所以安装可能停在 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED 或 ERR_PNPM_IGNORED_BUILDS;dsh 会打印出需要添加的确切键名,把它加进该 profile 的 pnpm-workspace.yaml 的 allowBuilds 下,重跑一次即可装上。放行构建本身就是一次信任判断:请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。

README

该插件的 README 只有英文版本。

Turn course, lecture, tutorial, documentary, meeting, and talk videos into structured study notes, inside DeepSeek Harness.

将视频(课程 / 讲座 / 教程 / 纪录片 / 会议 / 演讲等)自动转为高质量结构化学习笔记的 DSH 技能包。

看视频 ≠ 学会。笔记才是真正属于你的知识。

Install

dsh plugin --profile web add dsh-video-to-notes

Restart DSH afterwards. The bundle applies one patch row and changes nothing else.

What the bundle does

This package ships no runtime plugin logic. Its substance is a single Skill:

skills/video-to-notes/
├── SKILL.md                  skill instructions and routing description
├── scripts/transcribe.py     ffmpeg + Whisper speech-to-text
├── scripts/download_video.py yt-dlp network download
└── references/               note templates and the detailed workflow

cordis.patch.yml inserts one @deepseek-ai/dsh-skill-filesystem row that mounts the packaged skills/ directory as an isolated provider (includeDefaultRoots: false), so this bundle contributes the video-to-notes skill without touching the project or user skill roots. The skill root resolves from the profile's own module resolution — the installed npm identity — never from a path concatenated onto baseUrl.

Requirements

The skill drives local tools; DSH does not install them for you.

Tool Role Install
python3 runs the bundled scripts brew install python3
ffmpeg / ffprobe audio extraction, silence trimming, speed change brew install ffmpeg
openai-whisper speech recognition pip3 install openai-whisper
yt-dlp optional, only for video URLs pip3 install yt-dlp

The skill instructs the agent to detect missing dependencies, name them, and wait for your explicit confirmation before installing anything.

What the skill does

  1. Detect dependencies — reports exactly what is missing and asks before installing.
  2. Acquire the video — a local path, or a URL downloaded with yt-dlp after you confirm the output directory.
  3. Transcribe — Whisper with per-scenario defaults (base for ordinary videos, turbo for long ones, --language zh for Chinese, optional --strip-silence and --speed acceleration).
  4. Write the notes — semantic chunking into a chapter outline, an optional Mermaid knowledge map for long content, ⭐/🔧/⚠️ emphasis markers, a closing quick-reference card, and a style matched to the content type (technical tutorial, classroom, talk, documentary).

Model choice, device selection (CUDA / Apple MPS / CPU), speed, and the note format are all decided by the skill; you only supply the video and any preferences.

Privacy and copyright

Transcripts and notes can contain sensitive material — review and delete them when they are no longer needed. Downloading third-party video must respect the source platform's terms; use it for personal study.

License

MIT

内容来自项目 README(GitHub)↗

链接

同类插件

查看整个分类 →

社区评论

评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。