YouTubeSearch
Skill0 starsChanged 9 months agoMITView on GitHub
Search YouTube and return structured video results with metadata and engagement metrics using yt-dlp. USE WHEN youtube search, find videos, search videos, video research, youtube results, channel research, video metrics, trending videos, content research. Even if the user just says "search YouTube for X" or "find videos about X", use this skill.
In this repository97 other files it gives its agents.
- skills/obsidian-second-brain-skill/templates/CLAUDE.mdCLAUDE.md
- 1passwordSkill
- alz-accelerator-skillSkill
- ArgocdAppInstallSkill
- argocd-applicationset-skillSkill
- ArgocdClusterBootstrappingSkill
- argocd-cluster-bootstrappingSkill
- ArgoCdCommandSkill
- ArgocdImageUpdaterSkill
- argocd-image-updaterSkill
- ArgoCDReviewSkill
- argocd-cliSkill
- ArgoRolloutsSkill
- atuinSkill
- az-aks-agentSkill
- aztfexport-skillSkill
- azure-ad-ssoSkill
- azure-devops-skillSkill
- azure-devops-wikiSkill
- AzureFinOpsSkill
- BmadOrchestrateSkill
- cloudflare-dnsSkill
- commit-skillSkill
- consulting-designSkill
- Context7Skill
- defectdojoSkill
- dependency-track-skillSkill
- direnvSkill
- external-dnsSkill
- external-urlsSkill
- GithubPagesSkill
- gitops-principles-skillSkill
- git-advanced-workflowsSkill
- git-advanced-workflowsSkill
- git-worktreeSkill
- grafana-skillSkill
- holmesgpt-skillSkill
- Iterm2Skill
- json-canvasSkill
- justfile-skillSkill
- k8s-clustersSkill
- k8s-timezone-configSkill
- kargo-skillSkill
- keyvault-csi-driverSkill
- knativeSkill
- lokiSkill
- looking-up-docsSkill
- macos-cleanerSkill
- macos-setupSkill
- managing-infraSkill
- markitdown-skillSkill
- merge-and-cleanup-skillSkill
- mimirSkill
- mkdocsSkill
- neovimSkill
- NotebookLMSkill
- obsidian-basesSkill
- obsidian-markdownSkill
- obsidian-master-skillSkill
- obsidian-nvimSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 6 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Search YouTube by query and return structured, human-readable results with metadata and engagement metrics.
- Distinctive: line 30
Run the bundled script:
- Distinctive: line 69
When the user asks to search YouTube or find videos:
- Distinctive: line 71
Run the script with the user's query and any specified flags
- Distinctive: line 73
If the user wants analysis (e.g., "which of these are worth watching?"), use the engagement ratio and view counts to highlight standouts
- Distinctive: line 74
If subscriber count shows "N/A" for many results, that's normal — yt-dlp can't always fetch channel metadata from search results
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
YouTubeSearch
Search YouTube by query and return structured, human-readable results with metadata and engagement metrics.
What It Does
Runs a yt-dlp search against YouTube, returning the top N results (default 20) filtered to a recent time window (default 6 months). Each result includes:
- Title and URL
- Channel name and subscriber count
- View count and duration
- Upload date
- Engagement ratio (views / subscribers) — a quick signal for whether a video over- or under-performed relative to the channel's audience
Numbers are human-readable (e.g., 1.2M, 45.3K). Results are separated by dividers for easy scanning.
Requirements
yt-dlpinstalled and in PATHjqinstalled and in PATHbcinstalled (standard on macOS/Linux)
Usage
Run the bundled script:
bash ~/.claude/skills/YouTubeSearch/scripts/yt-search.sh "<search query>" [--count N] [--months N]Parameters
| Flag | Default | Description |
| (positional) | — | Search query (required) |
--count | 20 | Number of results to return |
--months | 6 | Only include videos from the last N months |
Examples
# Basic search — top 20 results from last 6 months
bash ~/.claude/skills/YouTubeSearch/scripts/yt-search.sh "kubernetes security best practices"
# Narrow to 5 results from the last month
bash ~/.claude/skills/YouTubeSearch/scripts/yt-search.sh "rust async tutorial" --count 5 --months 1
# Broader window — last 2 years
bash ~/.claude/skills/YouTubeSearch/scripts/yt-search.sh "home lab setup" --months 24Interpreting the Engagement Ratio
The views-to-subscribers ratio helps identify standout content:
- > 1.0x — The video got more views than the channel has subscribers. Strong signal that the topic resonated or the algorithm boosted it.
- 0.3x - 1.0x — Typical range for established channels.
- < 0.3x — Below average reach. Could mean the topic is niche, the thumbnail/title underperformed, or the channel's audience has moved on.
This metric is most useful for comparing videos on the same topic — a 5.0x ratio on a small channel often means the content hit a nerve.
How Claude Should Use This
When the user asks to search YouTube or find videos:
- Run the script with the user's query and any specified flags
- Present the results — the script output is already formatted for terminal reading
- If the user wants analysis (e.g., "which of these are worth watching?"), use the engagement ratio and view counts to highlight standouts
- If subscriber count shows "N/A" for many results, that's normal — yt-dlp can't always fetch channel metadata from search results
Troubleshooting
- No results: Try broadening the query or increasing
--months - Slow: Each result requires a metadata fetch. Reduce
--countfor faster results. - "N/A" for subscribers: yt-dlp sometimes can't resolve channel follower counts from search. The other fields will still populate.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

