andresgongora/agent-config/web-youtube

Claude Code and agent skill by andresgongora/agent-config

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Fetches YouTube video or channel metadata, captions, transcripts, and transcript-based summaries. Load when fetching information from YouTube URLs.

Install

npx vskill@latest install andresgongora/agent-config/web-youtube

SKILL.md

The same SKILL.md was published earlier as andresgongora/agent-config/web-youtube.

scripts/... paths below resolve from this skill's base directory.

Core rules

  • Use yt-dlp; fetch metadata and captions without media download.
  • Require yt-dlp on PATH; trash for transcript; jq for transcript text extraction. Report missing dependency, do not install it.
  • Captions are source material. Summary needs fetched captions; metadata or description alone cannot support a video summary.
  • For metadata or summary, preserve language, caption type, URL, and timestamps when available. Transcript-only output follows its return contract.
  • Do not claim transcript exists when no requested caption track downloads. Audio transcription needs separate explicit tooling.
  • Do not download media unless user explicitly requests it.

Workflow

Transcript-only request: calling agent runs this skill's scripts directly. Never delegate or transform caption text before returning it.

Interpretation request, including key or main ideas:

  • Main caller: delegate retrieval and analysis to a web executor. Pass original request and URL.
  • Web executor: retrieve, persist source material, then analyze directly. Do not delegate. Return compact analysis plus resource path; never return full transcript.
  1. Fetch metadata first. Capture id, title, canonical URL, description, channel, published date, and duration:

``bash scripts/youtube-captions metadata "$url" ``

  1. Before transcript request, inspect tracks:

``bash scripts/youtube-captions tracks "$url" ``

  1. Download requested-language captions to a task-owned temporary workspace. Request uploader captions plus automatic fallback. When language is absent, inspect tracks and choose platform's identified original-language track. json3 preserves timed caption events.

``bash scripts/youtube-captions transcript "$language" plain "$url" ``

  1. Replace plain with timestamps only when timestamps are requested. The helper extracts caption text from json3 and cleans its task-owned workspace. Do not return raw JSON.
  2. For "get transcript from <URL>": fetch metadata, inspect tracks, download best matching caption, then return transcript text only. Include timestamps only when requested. If no matching track, report unavailable with available tracks; do not summarize description as video content.
  3. For delegated interpretation: create .agent/resources/web/<safe-title>--<video-id>.md before analysis. Use the executor's embedded resource contract: canonical frontmatter plus Video, Description, and Transcript sections. Include no comments, opinions, or external material unless explicitly requested.
  4. For "summarize <URL>" or "key/main ideas from <URL>": fetch transcript first. Analyze transcript only; label automatic captions. State caption language and omissions caused by unavailable captions.

Return shape

Transcript-only request: return caption text only. No title, headings, source, provenance, language, summary, or commentary. Preserve timestamps only when requested. Caption failure: return blocker and available tracks.

Metadata request:

markdown
## Video
-Title: <title>.
-Channel: <channel>.
-Published: <date>.
-Duration: <duration>.
-Source: <canonical URL>.
## Transcript
-Captions: uploader | automatic.
-Language: <language>.

Delegated interpretation:

markdown
## Video
-Title: <title>.
-Source: <canonical URL>.
## Resource
-Path: `.agent/resources/web/<safe-title>--<video-id>.md`.
-Captions: uploader | automatic; <language>.
## Analysis
<concise, transcript-grounded answer>

Omit unavailable fields. If captions fail, replace ## Transcript or ## Resource with exact failure and available caption tracks.

Boundaries

  • Platform-native retrieval only. Cross-source discovery, corroboration, or external facts belong to general web research.
  • Do not bypass age, login, paywall, geographic, or bot restrictions. State restriction; request user-provided authorized access only when needed.
  • Search-result, channel, playlist, comments, or media-download workflows need explicit user scope before expanding beyond one video.

Verification

  • Metadata command completes without media download.
  • Caption file exists before treating it as transcript source.
  • Non-transcript-only response labels caption provenance and language.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/andresgongora/agent-config/web-youtube/badge)](https://verified-skill.com/skills/andresgongora/agent-config/web-youtube)

Something wrong with this skill or its page? Tell us.