Markitdown
ImCa0/just-laws
Convert files and office documents to Markdown. An agent skill from ImCa0/just-laws.
YouTube 视频搜索、下载视频、下载字幕工具。结合 YouTube Data API v3 进行高级搜索,yt-dlp 下载视频/音频/字幕。
$ npx skills add joeseesun/yt-search-download --skill yt-search-download -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install joeseesun/yt-search-download yt-search-download --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
Claude Code skills documentation · loads skills from .claude/skills/
Install the "yt-search-download" agent skill from https://github.com/joeseesun/yt-search-download/tree/main into .claude/skills/yt-search-download/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "yt-search-download", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add joeseesun/yt-search-download --skill yt-search-download -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install joeseesun/yt-search-download yt-search-download --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "yt-search-download" agent skill from https://github.com/joeseesun/yt-search-download/tree/main into .agents/skills/yt-search-download/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "yt-search-download", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add joeseesun/yt-search-download --skill yt-search-download -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install joeseesun/yt-search-download yt-search-download --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "yt-search-download" agent skill from https://github.com/joeseesun/yt-search-download/tree/main into .cursor/skills/yt-search-download/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "yt-search-download", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add joeseesun/yt-search-download --skill yt-search-download -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install joeseesun/yt-search-download yt-search-download --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "yt-search-download" agent skill from https://github.com/joeseesun/yt-search-download/tree/main into .gemini/skills/yt-search-download/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "yt-search-download", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install joeseesun/yt-search-download yt-search-downloadInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add joeseesun/yt-search-download --skill yt-search-download -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "yt-search-download" agent skill from https://github.com/joeseesun/yt-search-download/tree/main into .github/skills/yt-search-download/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "yt-search-download", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add joeseesun/yt-search-download --skill yt-search-download -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install joeseesun/yt-search-download yt-search-download --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "yt-search-download" agent skill from https://github.com/joeseesun/yt-search-download/tree/main into .opencode/skills/yt-search-download/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "yt-search-download", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
yt-search-downloadYouTube 视频搜索、下载视频、下载字幕工具。结合 YouTube Data API v3 进行高级搜索,yt-dlp 下载视频/音频/字幕。
Yt Search Download is an agent skill from joeseesun/yt-search-download. YouTube 视频搜索、下载视频、下载字幕工具。结合 YouTube Data API v3 进行高级搜索,yt-dlp 下载视频/音频/字幕。 核心能力:全站关键词搜索、频道浏览、按时间/播放量/相关度排序、下载视频、提取音频(MP3)、下载字幕(中英文)、查看视频详情。 触发场景(任何涉及 YouTube 的操作都应使用此 skill): - 搜索类:"搜索YouTube"、"YouTube搜索"、"找YouTube视频"、"搜索[频道名]最新视频"、"查找[人名]的YouTube"、"[人名]最近更新的YouTube"、"YouTube上有什么关于XXX的" - 频道浏览类:"浏览频道"、"看看[频道名]最新视频"、"[人名]最近发了什么视频"、"[人名]YouTube更新"、"查看[频道名]的视频列表" - 下载视频类:"下载YouTube"、"下载这个视频"、"下载YouTube视频"、"把这个视频下载下来"、"保存视频" - 下载音频类:"提取音频"、"下载音频"、"YouTube转MP3"、"只要音频" -…
Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including scripts (for example `README.md` and `scripts/yt_search.py`).
It works with YouTube. The repository describes itself as: YouTube 视频搜索与下载工具 — Claude Code Skill | Search YouTube videos and download via yt-dlp. The licence is MIT.
2 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 2b10938. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 2 files in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
python3yt-dlpbrewpipFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
youtube.comAlso links to:
console.cloud.google.comFrom URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
YT_BROWSE_API_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Yt Search Download loads about 1.3k tokens when it runs. Until then it costs about 168 tokens; SKILL.md has 185 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from joeseesun/yt-search-download at commit 2b10938, republished under its MIT licence (© joeseesun). 185 words, ~1,289 tokens.
.claude/skills/yt-search-download/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.基于 YouTube Data API v3 进行高级搜索,配合 yt-dlp 下载。
YouTube API Key:
echo $YT_BROWSE_API_KEY如果为空:Google Cloud Console → 启用 YouTube Data API v3 → 创建 API Key → 写入 ~/.zshrc:
export YT_BROWSE_API_KEY=your_keyyt-dlp(下载用):
brew install yt-dlp # macOS
pip install yt-dlp # 或 pip 安装脚本路径:~/.claude/skills/yt-search-download/scripts/yt_search.py
python3 scripts/yt_search.py search "关键词" -n 20| 参数 | 说明 |
|---|---|
-n 20 | 最多返回条数(默认 20) |
-o date | 按时间排序(默认 relevance) |
-o viewCount | 按播放量排序(API 级,准确) |
--sort-by views | 本地二次排序(按播放量降序) |
--sort-by duration-asc | 本地排序:时长从短到长 |
--sort-by duration-desc | 本地排序:时长从长到短 |
--min-duration 30m | 过滤:最短时长(支持 30m、1h、1h30m、纯数字=分钟) |
--max-duration 1h | 过滤:最长时长 |
--after 2024-01-01 | 发布时间起 |
--before 2024-12-31 | 发布时间止 |
-c @handle | 限定频道 |
-d | 显示简介 |
--json | JSON 格式输出 |
# 频道最新视频(按时间倒序)
python3 scripts/yt_search.py channel @channelHandle -n 10
# 频道内关键词搜索
python3 scripts/yt_search.py channel @channelHandle -q "关键词"
# 频道内按播放量排序
python3 scripts/yt_search.py channel @channelHandle -o viewCount
# 只看长视频(超过 1 小时)
python3 scripts/yt_search.py channel @channelHandle --min-duration 1h
# 只看短视频(30 分钟内),按时长升序
python3 scripts/yt_search.py channel @channelHandle --max-duration 30m --sort-by duration-asc频道格式支持:@handle、https://youtube.com/@handle、频道 ID(UCxxxx)
# 最佳画质下载到 ~/Downloads
python3 scripts/yt_search.py download "VIDEO_URL"
# 指定画质
python3 scripts/yt_search.py download "VIDEO_URL" -q 1080p
# 指定目录
python3 scripts/yt_search.py download "VIDEO_URL" --dir ~/Desktop
# 仅下载音频(MP3)
python3 scripts/yt_search.py download "VIDEO_URL" --audio-onlypython3 scripts/yt_search.py info "VIDEO_URL"脚本已输出 Markdown 表格,AI 必须将每行的 【译】___ 替换为实际中文翻译后再呈现给用户。
最终呈现效果:
| # | 标题(原文 → 中文译文) | 日期 | 时长 | 播放量 |
|---|---|---|---|---|
| 1 | Rick Beato: Greatest Guitarists...<br>里克·贝阿托:史上最伟大的吉他手 | 2026-03-01 | 2h33m | 302.2K |
| 2 | State of AI in 2026: LLMs, Coding...<br>2026年AI现状:大模型、编程、Scaling法则 | 2026-01-31 | 4h25m | 741.7K |
🔴 强制规范:
【译】___ 替换为简洁中文译文(放在链接后同一单元格)【译】___ 原样输出给用户找某频道最新视频并下载:
channel @handle -n 10 → 浏览结果download "URL" → 保存到 ~/Downloads搜索 + 按播放量筛选:
search "关键词" -o viewCount -n 20提取播客音频:
search "播客名" -o date -n 5download "URL" --audio-only标准流程:下载字幕转为 SRT,同时生成保留时间戳的 TXT(供 AI 总结用,时间戳有助于定位内容)。
# Step 1:下载字幕并转为 SRT(英文优先,无则用自动字幕)
yt-dlp --cookies-from-browser chrome \
--write-auto-sub --write-sub \
--sub-lang en,zh-Hans \
--convert-subs srt \
--skip-download \
-o "~/Downloads/%(title)s.%(ext)s" \
"VIDEO_URL"
# 输出:~/Downloads/视频标题.en.srt 或 .zh-Hans.srt
# Step 2:从 SRT 生成 TXT(保留时间戳,仅去除序号和空行,供 AI 总结使用)
python3 -c "
import re, sys
srt = open(sys.argv[1]).read()
# 去除序号行(纯数字行),保留时间戳和字幕文本
txt = re.sub(r'^\d+\s*\n', '', srt, flags=re.MULTILINE)
txt = re.sub(r'\n{3,}', '\n\n', txt).strip()
txt_path = sys.argv[1].replace('.srt', '.txt')
open(txt_path, 'w').write(txt)
print(f'已保存:{txt_path}')
" ~/Downloads/视频标题.en.srt
# 输出:~/Downloads/视频标题.en.txt(格式:时间戳 + 字幕文本)TXT 格式示例(保留时间戳,便于 AI 总结时引用具体时间点):
00:00:01,000 --> 00:00:04,000
Welcome to the Lex Fridman podcast.
00:00:05,000 --> 00:00:09,000
Today we're talking about the greatest guitarists of all time.其他场景:
# 仅中文字幕(SRT + TXT)
yt-dlp --cookies-from-browser chrome --write-auto-sub --write-sub \
--sub-lang zh-Hans --convert-subs srt --skip-download \
-o "~/Downloads/%(title)s.%(ext)s" "VIDEO_URL"
# 字幕 + 视频一起下载
yt-dlp --cookies-from-browser chrome --write-auto-sub --write-sub \
--sub-lang en --convert-subs srt \
-o "~/Downloads/%(title)s.%(ext)s" "VIDEO_URL"规范:下载字幕时始终加
--convert-subs srt,下载完成后始终执行 Step 2 生成 TXT,让用户同时拿到.srt(带时间轴)和.txt(纯文本)两个文件。
# 列出可用格式
yt-dlp --cookies-from-browser chrome -F "VIDEO_URL"
# 下载整个播放列表
yt-dlp --cookies-from-browser chrome -o "~/Downloads/%(playlist_title)s/%(title)s.%(ext)s" "PLAYLIST_URL"© joeseesun, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 4 other files (scripts) in the repository root of joeseesun/yt-search-download.
Open the folder on GitHubat commit 2b10938
Yt Search Download next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Yt Search Download this skilljoeseesun/yt-search-download | 117 | — | ~1.3k | Automated safety check: Pass | MIT | |
| MarkitdownImCa0/just-laws | 781 | 14 repos | ~3.2k | Automated safety check: Notes | MIT | |
| Banner Design Systemnextlevelbuilder/ui-ux-pro-max-skill | 135k | 1 repos | ~1.8k | Automated safety check: Pass | MIT | |
| Agent ReachPanniantong/Agent-Reach | 95k | — | ~1.4k | Automated safety check: Pass | MIT | |
| Last30daysmvanhorn/last30days-skill | 64k | — | ~7.9k | Automated safety check: Notes | MIT | |
| Baoyu URL To Markdownsdyckjq-lab/llm-wiki-skill | 2.5k | 2 repos | ~3.2k | Automated safety check: Pass | None |
ImCa0/just-laws
Convert files and office documents to Markdown. An agent skill from ImCa0/just-laws.
nextlevelbuilder/ui-ux-pro-max-skill
Walks through designing a banner for social media, ads, a website hero or print, from gathering requirements to building 2 or 3 art-direction options in HTML and CSS.
Panniantong/Agent-Reach
Routes web research and platform lookups across 16 sites, including Twitter, Reddit, YouTube, Bilibili, Xiaohongshu and GitHub, through one command-line tool.
mvanhorn/last30days-skill
Research what people actually say about any topic in the last 30 days.
sdyckjq-lab/llm-wiki-skill
Fetch any URL and convert to markdown using Chrome CDP. An agent skill from sdyckjq-lab/llm-wiki-skill.
AgriciDaniel/claude-seo
Pulls real Google data for SEO work: Search Console, PageSpeed Insights, CrUX field data, the Indexing API and GA4 organic traffic, through /seo google commands.
Works with
YouTube 视频搜索、下载视频、下载字幕工具。结合 YouTube Data API v3 进行高级搜索,yt-dlp 下载视频/音频/字幕。. Yt Search Download is an agent skill from joeseesun/yt-search-download.
Run `npx skills add joeseesun/yt-search-download --skill yt-search-download -a claude-code`. Or copy the skill folder (the joeseesun/yt-search-download repository) into .claude/skills/yt-search-download in your project. Claude Code loads it when a task matches its description.
Run `npx skills add joeseesun/yt-search-download --skill yt-search-download -a codex`. Or copy the skill folder (the joeseesun/yt-search-download repository) into .agents/skills/yt-search-download in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add joeseesun/yt-search-download --skill yt-search-download -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/yt-search-download, .gemini/skills/yt-search-download, .github/skills/yt-search-download and .opencode/skills/yt-search-download in your project.
Going by SKILL.md and its folder, Yt Search Download needs Python for the scripts in its folder, the command-line tools its instructions call (python3, yt-dlp, brew and pip) and credentials named YT_BROWSE_API_KEY. Our summary lists: Python 3; A credential in YT_BROWSE_API_KEY.
SKILL.md names 2 domains. In commands or code: youtube.com; the agent is likely to contact it when it follows the instructions. As links in the text: console.cloud.google.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Yt Search Download is published under the MIT licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.3k tokens (SKILL.md is roughly 5.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Yt Search Download: Markitdown (ImCa0/just-laws, 781 stars), Banner Design System (nextlevelbuilder/ui-ux-pro-max-skill, 135k stars), Agent Reach (Panniantong/Agent-Reach, 95k stars) and Last30days (mvanhorn/last30days-skill, 64k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
joeseesun (a GitHub user) maintains it in joeseesun/yt-search-download, which has 117 GitHub stars. The repository was last updated on March 6, 2026.
Source: joeseesun/yt-search-download on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.