youtube

Search YouTube videos via the Invidious API and output Markdown-formatted results.

1|Updated Jan 27, 2026
One-click install
npx skills add https://github.com/devskale/skale-skills --skill youtube-devskale
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: youtube
Source: https://github.com/devskale/skale-skills/tree/main/skills/youtube
Command: npx skills add https://github.com/devskale/skale-skills --skill youtube-devskale

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill enables fast discovery of YouTube videos by querying the Invidious API, providing a compact, readable list of results for user queries.

Core Features & Use Cases

  • Query YouTube: Search for videos on any topic and retrieve a concise set of results.
  • Customizable Ranking: Sort results by relevance, upload date, view count, or rating to match user intent.
  • Use Case: A content creator looks up recent tutorials on a topic and curates the top 5 videos for a briefing.

Quick Start

Run the script to fetch and render results for a query, for example: python3 search.py "Python tutorials" --num 5 --rank views

Frequently Asked Questions about youtube

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search YouTube videos using an API?▼

Search YouTube videos via the Invidious API by running the provided script with a query term. The script retrieves a concise, Markdown-formatted list of results ranked by relevance, upload date, view count, or rating to match your discovery or research needs.

Can I sort YouTube search results by views or upload date?▼

Yes, customize ranking with the --rank parameter to sort by relevance, upload date, view count, or rating. This lets you prioritize recent tutorials, trending content, or highly-rated videos for content curation and research.

What's the quickest way to curate a list of YouTube videos on a topic?▼

Query the Invidious API with a topic and specify the number of results and ranking method. The script returns a compact, ready-to-share Markdown list, enabling fast content discovery for briefings or curation workflows without manual browsing.

Does this work for finding tutorials and educational content?▼

Yes, the script queries any topic including tutorials and educational videos. Sort by upload date to find recent content or by rating to surface high-quality instructional material for learning and research.

What input do I need to search for videos?▼

You need a search query (any topic), Python 3, and internet access to the Invidious API. Optionally specify result count and ranking method; the script handles network requests and formats output as Markdown.

Why use Invidious instead of querying YouTube directly?▼

Invidious provides an alternative API for video discovery without requiring YouTube API credentials or managing authentication overhead, making quick video searches and content curation simpler for research and briefing workflows.