← 返回 Skills 市场
0xraini

YouTube Digest

作者 0xRaini · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
1105
总下载
0
收藏
8
当前安装
1
版本数
在 OpenClaw 中安装
/install yt-digest
功能描述
Extract transcripts, summaries, chapters, and key moments from public YouTube videos without needing an API key.
安全使用建议
This skill appears to do what it claims (extract transcripts and generate summaries) but has a couple of red flags you should consider before installing or running it: - Command injection risk: The CLI calls yt-dlp by building shell command strings that include the user-supplied URL. If you or an agent could pass untrusted strings to this skill, a crafted input could execute arbitrary shell commands. Prefer an implementation that uses child_process.spawn with an args array or escapes input properly. - Documentation/dependency mismatch: SKILL.md claims using YouTube's transcript API, but the code uses yt-dlp; package.json includes an npm dependency that isn't used. This looks like sloppy packaging — verify the source and prefer a provenance you trust. - Runtime requirement: yt-dlp must be installed on the host. The script checks for it and exits if missing. Recommendations: 1) Only run this skill in a trusted, sandboxed environment or inspect/modify the code to sanitize inputs before use. 2) If you will accept URLs from external users or other agents, patch the code to avoid shell interpolation (use spawn with an args array or properly escape quotes), or validate/strictly whitelist URLs. 3) Consider removing unused npm dependencies and aligning documentation with actual behavior before using widely. If you want, I can suggest a safe-code patch (example: replace execSync string invocations with spawn or execFile) or produce a checklist to harden/run this skill safely.
功能分析
Type: OpenClaw Skill Name: yt-digest Version: 1.0.0 The skill utilizes `child_process.execSync` in `src/cli.js` to execute the external `yt-dlp` command with user-provided URLs. While this capability is plausibly needed for the skill's stated purpose of extracting YouTube video information and transcripts, the direct execution of external commands with user input, even when quoted, introduces a potential command injection vulnerability if the URL is maliciously crafted or if `yt-dlp` itself has a vulnerability that could be exploited. There is no clear evidence of intentional malicious behavior such as data exfiltration or persistence, but the use of this high-risk capability warrants a 'suspicious' classification.
能力评估
Purpose & Capability
The SKILL.md says it "Uses YouTube's transcript API" (no API key) but the implementation actually calls the external binary yt-dlp to fetch video JSON and subtitles. package.json includes an npm dependency (youtube-transcript) that is not used in src/cli.js. These mismatches suggest sloppy packaging/documentation rather than outright malice, but they are inconsistent with the stated purpose.
Instruction Scope
Runtime code executes external commands via execSync (yt-dlp) with the user-supplied URL interpolated into a shell string (e.g., `yt-dlp --dump-json --no-download "${url}"`). Because the code constructs shell command strings directly from input, there's a command-injection risk if a maliciously crafted URL (or untrusted input) includes shell metacharacters or quotes. SKILL.md does not document the yt-dlp requirement (it claims using YouTube API), so an operator might not expect this shell execution behavior.
Install Mechanism
This is an instruction-only skill with no install spec. The package files are included but nothing is downloaded or extracted at install time by the registry; risk from install mechanisms is minimal.
Credentials
No environment variables, credentials, or config paths are requested. The skill only reads/writes temporary files in the OS temp directory to store subtitle files, which is proportionate to its purpose.
Persistence & Privilege
The skill does not request 'always' presence and does not modify other skills or system-wide settings. It runs as a CLI tool invoked on demand (normal behavior).
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install yt-digest
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /yt-digest 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of yt-digest — extract summaries, transcripts, and key moments from YouTube videos. - Transcript extraction with timestamps for public YouTube videos - AI-generated summaries of video content - Chapter and highlight detection to identify key moments - Optional audio output of summaries (requires sag skill) - Simple CLI commands for transcripts, summaries, chapters, and full analysis
元数据
Slug yt-digest
版本 1.0.0
许可证
累计安装 10
当前安装数 8
历史版本数 1
常见问题

YouTube Digest 是什么?

Extract transcripts, summaries, chapters, and key moments from public YouTube videos without needing an API key. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1105 次。

如何安装 YouTube Digest?

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

YouTube Digest 是免费的吗?

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

YouTube Digest 支持哪些平台?

YouTube Digest 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 YouTube Digest?

由 0xRaini(@0xraini)开发并维护,当前版本 v1.0.0。

💬 留言讨论