← 返回 Skills 市场
itzsubhadip

YouTube Transcript (yt-dlp captions)

作者 Subhadip Sarkar · GitHub ↗ · v1.0.5
linuxdarwinwin32 ⚠ suspicious
2119
总下载
0
收藏
10
当前安装
6
版本数
在 OpenClaw 中安装
/install youtube-transcript-yt-dlp
功能描述
Extract YouTube video transcripts from existing captions (manual or auto-generated) using yt-dlp, with optional timestamps and local SQLite caching. Use when...
安全使用建议
This skill appears to do what it claims: extract YouTube captions using yt-dlp and an optional YouTube transcript-panel fallback. Before installing, ensure you have yt-dlp on PATH and understand that the script will contact YouTube (network access) and write a local cache (default {baseDir}/cache/transcripts.sqlite or ~/.config/yt-transcript/). If you need authenticated access on restricted IPs, provide a cookies.txt file in Netscape format and keep it outside the skill folder (e.g., ~/.config/yt-transcript/) because cookies are secrets and can be mispublished. Finally, review and approve running subprocesses (yt-dlp) in your environment since the script invokes yt-dlp and performs HTTP requests to YouTube.
功能分析
Type: OpenClaw Skill Name: youtube-transcript-yt-dlp Version: 1.0.5 The skill bundle is suspicious due to the presence of fully implemented, but currently unused, functions (`_thirdparty_tubetranscript`, `_thirdparty_downsub`, `_thirdparty_noteey` in `scripts/yt_transcript.py`) designed to send YouTube video IDs to third-party transcript providers (yt-to-text.com, downsub.com, noteey.com). This directly contradicts explicit statements in `SKILL.md` that the published version 'does not call third-party transcript providers' and 'does not send video IDs/URLs to third-party transcript providers'. While these functions are not actively called in the current execution flow, their presence represents a latent capability for data exfiltration and a significant discrepancy between stated policy and code capabilities, raising trust concerns. The code otherwise implements good security practices like input validation and path allowlisting for cookies and cache.
能力评估
Purpose & Capability
Name/description (YouTube transcript via yt-dlp) matches the actual requirements and behavior: the skill requires python3 and yt-dlp, validates inputs as YouTube URLs/IDs, prefers manual captions then auto captions, and caches results. No unrelated binaries, env vars, or credentials are requested.
Instruction Scope
SKILL.md instructions stay within scope: they only instruct running the provided script, optionally supplying a cookies file or env var for authenticated YouTube access, and explicitly warn against forwarding arbitrary flags or publishing cookies. The runtime instructions and the script focus on YouTube and local caching; they do not ask to read unrelated files or send data to third-party transcript providers.
Install Mechanism
There is no install spec (instruction-only with an included script). That reduces supply-chain risk. The script relies on system yt-dlp and python3 rather than fetching arbitrary remote code during install.
Credentials
No required environment variables or credentials are declared. The only optional secret is cookies (YT_TRANSCRIPT_COOKIES), which is appropriate for accessing authenticated YouTube sessions. Cookies are handled as secrets and the code filters cookie entries to YouTube/Google domains.
Persistence & Privilege
The skill is not always-enabled (always:false) and does not declare elevated privileges. It writes a local SQLite cache and supports storing cookies under ~/.config/yt-transcript/ or {baseDir}/cache/, which is reasonable for a caching/transcript tool. Note: writing cache files into {baseDir}/cache can cause artifacts inside the skill directory if the agent's baseDir is a location that gets published—SKILL.md warns about this.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install youtube-transcript-yt-dlp
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /youtube-transcript-yt-dlp 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.5
Metadata: make cookies env var optional (not required). Clarify cookie handling; no auto-load from skill dir.
v1.0.4
Docs/metadata: declare YT_TRANSCRIPT_COOKIES env var (optional) and remove cookie auto-load mention.
v1.0.3
Privacy: remove third-party transcript fallbacks from published skill. Security: enforce cookies/cache path allowlisting; stop auto-loading cookies from skill dir.
v1.0.2
Security: restrict --cookies/--cache paths. Add DownSub + Noteey fallbacks; reorder third-party fallbacks.
v1.0.1
Docs: clarify cookies are optional; recommend storing cookies outside skill folder to avoid accidental publishing.
v1.0.0
Initial release: captions-only transcripts via yt-dlp with caching + cookie support.
元数据
Slug youtube-transcript-yt-dlp
版本 1.0.5
许可证
累计安装 10
当前安装数 10
历史版本数 6
常见问题

YouTube Transcript (yt-dlp captions) 是什么?

Extract YouTube video transcripts from existing captions (manual or auto-generated) using yt-dlp, with optional timestamps and local SQLite caching. Use when... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2119 次。

如何安装 YouTube Transcript (yt-dlp captions)?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install youtube-transcript-yt-dlp」即可一键安装,无需额外配置。

YouTube Transcript (yt-dlp captions) 是免费的吗?

是的,YouTube Transcript (yt-dlp captions) 完全免费(开源免费),可自由下载、安装和使用。

YouTube Transcript (yt-dlp captions) 支持哪些平台?

YouTube Transcript (yt-dlp captions) 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(linux, darwin, win32)。

谁开发了 YouTube Transcript (yt-dlp captions)?

由 Subhadip Sarkar(@itzsubhadip)开发并维护,当前版本 v1.0.5。

💬 留言讨论