YouTube Transcript Extraction Extract subtitles/transcripts from a YouTube video URL and save them as a local file. Input YouTube URL: $ARGUMENTS Step 1: Verify URL Confirm the input is a valid YouTube URL (supports , , and formats). If no URL is provided via arguments, check the conversation context for a YouTube link. Step 2: CLI Quick Extraction (Priority Attempt) Use command-line tools to quickly extract subtitles. 2.1 Check Tool Availability Execute . - If is found , proceed to 2.2. - If is not found , skip to Step 3 . 2.2 Get Video Title - Tip : Always add to avoid sign-in restrictions.…