agentsclimarketplace

Mk youtube get info

Skill kouko/monkey-knowledge-youtube-skills/skills/mk-youtube-get-info

Get YouTube video metadata (title, channel, duration, views, subtitle availability). Use when user wants video details or needs to check subtitle availability before summarization.From its SKILL.md

Install
npx -y skills add kouko/monkey-knowledge-youtube-skills --skill mk-youtube-get-info

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its file declares

Copied from the file, not written here

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

3.5 KB, as published. Nobody here has run it

YouTube Video Info

Get video details and generate content summary.

Quick Start

/mk-youtube-get-info <URL> [browser]

Examples

# Basic usage (auto-detects cookies if needed)
/mk-youtube-get-info https://www.youtube.com/watch?v=dQw4w9WgXcQ

# Specify browser for cookie authentication
/mk-youtube-get-info https://www.youtube.com/watch?v=dQw4w9WgXcQ chrome

How it Works

  1. Execute: {baseDir}/scripts/info.sh "<URL>"
  2. Parse JSON to get video metadata
  3. Try to get subtitles for summarization
  4. Generate summary based on subtitle content
  5. If no subtitles, display video info only

Output Format

{
  "video_id": "dQw4w9WgXcQ",
  "title": "Video Title",
  "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
  "channel": "Channel Name",
  "channel_url": "https://www.youtube.com/channel/UCuAXFkgsw1L7xaCfnd5JJOw",
  "duration_string": "10:30",
  "view_count": 1234567,
  "upload_date": "20240101",
  "language": "en",
  "availability": "public",
  "description": "Video description (first 500 chars)",
  "has_subtitles": true,
  "subtitle_languages": ["en", "ja", "zh-Hant"],
  "has_auto_captions": true,
  "auto_caption_count": 157
}

Fields

FieldDescription
video_idYouTube video ID
titleVideo title
urlFull video URL
channelChannel name
channel_urlChannel URL
duration_stringDuration (e.g., "10:30")
view_countNumber of views
upload_dateUpload date (YYYYMMDD)
languagePrimary language (ISO 639-1 code)
availabilityAccess level: public, unlisted, members_only, subscriber_only, needs_auth, premium_only, private
descriptionVideo description (truncated to 500 chars)
has_subtitlesWhether manual subtitles exist
subtitle_languagesArray of available subtitle language codes
has_auto_captionsWhether auto-generated captions exist
auto_caption_countNumber of auto-generated caption languages

Centralized Metadata Store

This skill automatically saves video metadata to /tmp/monkey_knowledge/youtube/meta/{YYYYMMDD}__{video_id}.meta.json. This metadata can be accessed by downstream skills (caption, audio, transcribe, summary) to include video information in their outputs.

Content Summary

(Generated from subtitle analysis)

  • Key point 1
  • Key point 2
  • ...

Notes

  • Uses system yt-dlp/jq if available, otherwise auto-downloads on first run
  • Cookie Fallback: If initial request fails, automatically retries with browser cookies (auto-detects Chrome, Firefox, Safari, Edge, Brave)
  • Browser Parameter: Optionally specify chrome, firefox, safari, edge, or brave to use specific browser cookies

Next Step

After obtaining video info, determine the summarization path based on subtitle availability:

  • If has_subtitles: true or has_auto_captions: true: Invoke /mk-youtube-get-caption to download subtitles
  • If both are false: Invoke /mk-youtube-get-audio to download audio for transcription

To generate a complete summary, always follow the full pipeline — do NOT skip directly to summarization without first obtaining a transcript through one of the above paths.

Keep looking

Skills are one crate of 609,689. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.