youtube-to-vault
YouTube video into a vault Source note: transcript, claim extraction, verified quotes, Markdown.
- License 许可
- MIT
- 最近更新
- 2026-11-10
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- youtube-to-vault
- description
- YouTube video into a vault Source note: transcript, claim extraction, verified quotes, Markdown.
03 SKILL.md 正文
YouTube → Vault Source Note
Convert a YouTube video into a Source note for the agentic development vault at /Users/bram/obsidianVault/agentic development. Format contract: ~/Projects/agentic-development-blueprint.md §4–§5. Validated flow, 2026-07-23.
Pipeline
- Metadata:
yt-dlp --skip-download --print "title=%(title)s" --print "upload_date=%(upload_date)s" \
--print "duration=%(duration_string)s" --print "url=%(webpage_url)s" \
--print "channel=%(channel)s / %(uploader_id)s" "$URL"
Channel browse: yt-dlp --flat-playlist --print "%(id)s | %(title)s" "https://www.youtube.com/@<handle>/videos" --playlist-items 1-20.
-
Dedup by video id:
grep -rl "<video-id>" "/Users/bram/obsidianVault/agentic development/Sources/". Hit → append new claims to the existing note; do not create a second one. -
Transcript via
$video-transcript-downloader:
cd ~/Projects/agent-scripts/skills/video-transcript-downloader && \
./scripts/vtd.js transcript --url "$URL" --lang en > /tmp/<slug>.txt
-
Claim extraction. Transcript >1500 words and codex-first gate passes → delegate reading to Codex (temp-file prompt,
-ofile):- Summary ≤80 words.
- 5–8 claims relevant to agentic-development practice, one line each, with attribution ([speaker's own view] vs [X's advice, relayed] — name who) + one exact verbatim quote (10–30 words, exact substring, no normalized punctuation).
- 2–3 verbatim excerpts (1–3 sentences). Short transcript: read directly, same output shape.
-
Verify before anything enters the vault: every quote and excerpt
grep -qFagainst the transcript file. Drop failures; never paraphrase into a quote. -
Write
Sources/YYYY-MM-DD <handle> <slug>.md(date = upload date):
---
type: source
url: "<canonical watch URL>"
author: "@<handle> (<Name>)"
published: YYYY-MM-DD
captured: <today>
via: "youtube:@<handle>"
topics: ["[[Topic]]", ...]
tags: []
---
## Excerpt
> <verified excerpts>
## Claims
- <claim> [attribution] — → [[topic]]
## Notes
- Video: "<title>", <duration>. <attribution context>.
- All quotes grep-verified verbatim against the transcript (<date>); transcript not retained (excerpts only, per blueprint).
- Ledger candidates for Bram: <which topic ledgers this should update and how>.
- Roles: create the Source note only. Never edit
Topics/orPractices/— put ledger candidates in Notes and the final report. - Transcript stays in
/tmp; never stored in the vault unless Bram explicitly asks (searchable-essential exception). - Commit vault (
feat(agentic): ...) and push (vault repo sync is standing consent).
Notes
- Vault-aware
obsidianCLI needs the vault registered + app running; plain filesystem ops always work. - Attribution is load-bearing when a video relays someone else's advice (reaction videos): mark relayed claims as such.
- Multi-video batches: one Source note per video, dedup each id first.
04 同仓库更多 Skills
xurl
xurl X API CLI: install, auth, app choice, shortcuts, raw endpoints.
why
Use for 'why does X work this way', 'why we picked Y', design rationale, regressions, postmortems, or data-backed thresholds. Discovers available MCPs and queries each evidence category (source control, issue tracker, long-form docs, real-time chat, infrastructure observability, error tracking, product analytics warehouse) in parallel, then returns a cited read on decisions and tradeoffs. Use how for runtime behavior.
WhatsApp router: history/search/read/send decisions; wacrawl read, wacli live.
what-did-i-get-done
Summarize authored commits over a user-specified time period into a concise update. Use for "what did I get done", "summarize my week", or a standup update.
wacli
WhatsApp linked-device CLI: auth, sync, search, send, live state.
video-transcript-downloader
yt-dlp downloads: video, audio, subtitles, transcripts, clips, formats, playlists.