用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/gbencke/dotfiles --skill yt-dlp命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Generates a detailed C4-model architecture document for the current repository: System Context, Container, Component, and Code (function/method) levels, plus a full call graph. Outputs Markdown, self-contained interactive HTML (force-directed SVG call graph, anchor links), and PDF. Use when user says "C4", "generate C4 docs", "document this repo", "architecture document", "call graph of this repo", or invokes /c4.
Query a pre-indexed CodeGraph knowledge graph of the current repo — symbol search, callers/callees, change impact, affected tests, and one-shot area exploration — so you read only the files that matter instead of grepping the tree. Use when asked to "explore this codebase", "who calls X", "what does X call", "what breaks if I change X", "which tests cover these changes", "index this repo with codegraph", or "codegraph <anything>". Pi has no MCP client, so ignore the project's MCP-tool docs and use the CLI below.
Adversarial review of a change: a PR, a branch diff, or a patch file. Runs inline in a single process — blast radius, then per-lens propose → kill → judge — and writes a PR-comment-ready report plus findings.json under .gbencke/adversarial-review/reports/. Spawns no subagents. Trigger: /review-change <pr-url|pr-number|branch|patch-file> [base], "adversarial review of this PR/branch/patch".
基于 SOC 职业分类
正在显示 SKILL.md
| name | yt-dlp |
| description | Download audio and video from YouTube and 1000+ other platforms using yt-dlp. |
This skill provides a clean interface to yt-dlp for downloading audio and video content from YouTube and other platforms. It's designed to be used by AI agents and automation systems, with a focus on reliability, clear error handling, and consistent output.
The skill exposes a single command on the command line:
yt-dlp [OPTIONS] <URL>
Where <URL> is a YouTube, Vimeo, or other supported platform URL.
The skill supports all yt-dlp options. The most commonly used options are:
-x or --extract-audio - Extract audio from video--audio-format <format> - Audio format (mp3, aac, wav, best)-f <format> - Select format (e.g., "bv*+ba" for best video/audio)-F - List all available formats--embed-metadata - Embed video metadata--embed-thumbnail - Embed video thumbnail--recode-video <format> - Re-encode video (e.g., mp4)-o <template> - Custom output template (e.g., "%(title)s.%(ext)s")-a <file> - Download URLs from file--download-archive <file> - Skip already downloaded videos--no-overwrites - Don't overwrite existing files--no-cache-dir - Disable caching--cookies <file> - Use cookies from file--cookies-from-browser <browser> - Extract cookies from browser (chrome, firefox, etc.)The skill uses the standard yt-dlp configuration file located at $HOME/.config/yt-dlp/config (on Linux/Mac) or %APPDATA%\yt-dlp\config (on Windows).
Example configuration file:
--extract-audio
--audio-format mp3
--audio-quality 0
--embed-metadata
--embed-thumbnail
--no-cache-dir
-o "%(uploader)s - %(title)s.%(ext)s"
--download-archive /home/user/youtube-archive/archive.txt
This configuration will:
The skill returns:
The downloaded file is saved to the current working directory unless otherwise specified with -o.
--download-archive to avoid duplicate downloads--no-cache-dir to ensure consistent behavior across agent runs-x --audio-format mp3 consistently--embed-metadata --embed-thumbnail to create self-contained media files-a instead of looping individually# Download audio as MP3
yt-dlp -x --audio-format mp3 "https://www.youtube.com/watch?v=example"
# Download best quality video and merge with audio
yt-dlp -f "bv*+ba" "https://www.youtube.com/watch?v=example"
# Download playlist properly
yt-dlp --download-archive archive.txt "https://www.youtube.com/playlist?list=example"
# Extract cookies from Chrome and download
yt-dlp --cookies-from-browser chrome "https://www.youtube.com/watch?v=example"
# Download from list of URLs
yt-dlp -a urls.txt
This is a simple wrapper around the yt-dlp command-line tool. The skill does not modify yt-dlp behavior but provides:
The tool is intended to be more reliable and predictable when used by agents compared to direct shell execution.