Introduction¶
The DeepSeek Harness (DSH) plugin ecosystem allows developers to extend the capabilities of local agents. Existing video-to-notes tools mostly generate generic summaries that fail to capture the viewer’s personal perspective. The dsh-youtube-study-notes plugin addresses this issue: it not only extracts the video’s own subtitles but also uses a vision model to read on-screen content, pauses during processing to ask the observer what they see and think, and finally merges all three into a single document.
Plugin Positioning¶
This is a DSH plugin designed to convert YouTube video links into structured study notes. Maintained by jagathsrujan and licensed under MIT, it is essentially a Skill that drives local tools (such as yt-dlp and ffmpeg) to execute the workflow rather than containing runtime code itself.
Core Features¶
The plugin’s workflow consists of the following steps:
- Subtitle Acquisition: Uses
yt-dlpto fetch subtitles. Prefers manually created subtitles and falls back to auto-generated ones if unavailable. Does not use third-party speech recognition services. - Outline Generation: Reads the full timestamped subtitle transcript and generates a chapter outline.
- Visual Pass (Optional): Uses
ffmpegfor scene detection and frame sampling, allowing a vision model to read text, code, formulas, or diagrams on screen. - Interactive Prompting: Pauses during processing to ask the observer about their personal observations.
- Content Merging: Combines subtitles, visual evidence, and user notes into a single Markdown file.
- Save and Cleanup: Generates
notes.mdand deletes temporary files (frame screenshots and video files), keeping only evidence files.
Output Files¶
The plugin retains the following files in the current directory as evidence:
* transcript.md / transcript.txt
* meta.json
* notes.md
Installation and Activation¶
Install the plugin via the CLI:
dsh plugin --profile <your-profile> add dsh-youtube-study-notes
After installation, the configuration file must be restarted for bundle changes to take effect. In the desktop client, use the Plugins → Add plugin flow.
Typical Usage¶
There are two ways to trigger the plugin:
- Direct Command:
/youtube-study-notes https://youtu.be/VIDEO_ID
- Natural Language:
In conversation, input a request such as “get me notes from this video: …” along with the link.
Environment Dependencies¶
The plugin itself does not contain runtime code; its core is a Skill that drives local tools. Before installation, ensure the following tools are installed on your system:
| Tool | Purpose | Installation Suggestion |
|---|---|---|
python3 |
Run scripts | brew install python3 |
ffmpeg / ffprobe |
Audio/video probing, scene detection, frame extraction | brew install ffmpeg |
yt-dlp |
Subtitle listing and downloading | brew install yt-dlp |
The plugin will detect missing tools and wait for them to be installed after confirmation.
Enabling the Visual Pass¶
The visual pass feature requires the model configuration to declare support for image input. By default, many model configurations only allow text input. If not configured correctly, the plugin will prompt an error and ask which image-supporting model to use.
Add the input configuration for the model in cordis.patch.yml:
- id: llm-pi-ai
name: "@deepseek-ai/dsh-llm-pi-ai"
config:
providers:
your-provider:
# ...existing provider config...
models:
- id: "your-vision-model"
name: "Your Vision Model"
contextWindow: 200000
input:
- text
- image
Note: Only declare this configuration if the endpoint actually supports images. Declaring it when the server rejects it will cause message persistence to fail.
Limitations and Considerations¶
- Videos without subtitles will halt execution: If a video has no subtitles (including auto-generated ones), the plugin will stop and report an error without generating any content.
- Limited quality of auto-generated subtitles: Auto-generated subtitles typically lack punctuation and may mishear proper nouns. The plugin will explicitly indicate which subtitle type was used.
- Character-level errors in visual recognition: The vision model may make errors when recognizing characters (e.g., recognizing a period as a hyphen, or the digit 1 as the letter l). Human proofreading is required for code and formulas.
- Limitations of frame sampling:
ffmpegscene detection samples shots, not motion. Dynamic changes within a continuous shot may not be captured. - For personal study only: Subtitles, screenshots, and notes all derive from others’ work; do not publish them publicly.
Conclusion¶
dsh-youtube-study-notes provides a mechanism to shift from passive viewing to active learning. By merging external content with personal observations, it generates study materials with a more personal touch. For more details, refer to the plugin directory page or the GitHub repository.