youtube-content

youtube-content is a skill for Claude Code, Codex from furkangonel/cowrangler. It costs 18 tokens per session (2,690 once invoked), scanned A, original, MIT.

A guide for using the YouTube Data API, the service that provides information about YouTube videos and channels. It covers searching, retrieving details, reading channel information, and extracting transcripts.

In plain words
What is it for?
Finding videos or channels, retrieving metadata such as duration and view counts, checking upload history, and obtaining video transcripts.
Why use it?
It avoids manually browsing YouTube when code needs structured video or channel data, including captions or subtitles where available.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Finding videos or channels, retrieving metadata such as duration and view counts, checking upload history, and obtaining video transcripts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/furkangonel/cowrangler/youtube-content
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add furkangonel/cowrangler --skill youtube-content
Clone the repo
git clone --depth 1 https://github.com/furkangonel/cowrangler

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for youtube-content

README.md
[![agentmods](https://agentmods.dev/badge/skills/furkangonel/cowrangler/youtube-content/github.svg)](https://agentmods.dev/skills/furkangonel/cowrangler/youtube-content)
Your own site
<a href="https://agentmods.dev/skills/furkangonel/cowrangler/youtube-content"><img src="https://agentmods.dev/badge/skills/furkangonel/cowrangler/youtube-content/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for youtube-content

Your own site · 80×15
<a href="https://agentmods.dev/skills/furkangonel/cowrangler/youtube-content"><img src="https://agentmods.dev/badge/skills/furkangonel/cowrangler/youtube-content.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,690 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00018 $0.02690
Opus 5 $0.00009 $0.01345
Sonnet 5 $0.00004 $0.00538
Haiku 4.5 $0.00002 $0.00269

Measured 12d ago against content hash b9d5a58ba97c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

youtube-content scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s "${YT_BASE}/$1&key=${YOUTUBE_API_KEY}"
bundled_skills/media/youtube-content/SKILL.md · 347 lines

How it starts

The opening of the file, as written. The whole thing — 347 lines — stays where its author put it; the contents beside it link to each section on GitHub.

YouTube Content SOP

Search YouTube, fetch video and channel metadata, extract transcripts, and paginate through results via the YouTube Data API v3.

When to Use

  • User wants to search YouTube for videos or channels
  • User wants to get video details (duration, view count, tags, description)
  • User wants channel statistics or upload history
  • User wants to extract a video transcript or subtitles
  • User wants to paginate through a large result set

Part 1 — Setup

1. Get an API Key

  1. Go to https://console.cloud.google.com
  2. Create a project (or select an existing one)
  3. Enable YouTube Data API v3 under APIs & Services → Library
  4. Go to APIs & Services → Credentials → Create Credentials → API key
  5. (Recommended) Restrict the key to YouTube Data API v3 and your IP

2. Environment Variable

export YOUTUBE_API_KEY="AIzaSy..."

Or in ~/.cowrangler/credentials.env:

YOUTUBE_API_KEY=AIzaSy...

3. Shell Helper

YOUTUBE_API_KEY="${YOUTUBE_API_KEY:-$(grep '^YOUTUBE_API_KEY=' ~/.cowrangler/credentials.env 2>/dev/null | cut -d= -f2 | tr -d '\n\r')}"
YT_BASE="https://www.googleapis.com/youtube/v3"

yt_get() {
  # $1 = endpoint path + params (already URL-encoded)
  curl -s "${YT_BASE}/$1&key=${YOUTUBE_API_KEY}"
}

Search Videos

QUERY=$(python3 -c "import urllib.parse; print(urllib.parse.quote('python async tutorial'))")

yt_get "search?part=snippet&type=video&q=${QUERY}&maxResults=10&order=relevance" \
| python3 -c "
import sys, json
data = json.load(sys.stdin)
for item in data.get('items', []):
    vid_id = item['id']['videoId']
    title  = item['snippet']['title']
    channel = item['snippet']['channelTitle']
    published = item['snippet']['publishedAt'][:10]
    print(f'{vid_id}  [{published}]  {channel:30s}  {title[:60]}')
print()
print('nextPageToken:', data.get('nextPageToken', '(none)'))
"

Search Channels

QUERY=$(python3 -c "import urllib.parse; print(urllib.parse.quote('machine learning'))")

yt_get "search?part=snippet&type=channel&q=${QUERY}&maxResults=5" \
| python3 -c "
import sys, json
data = json.load(sys.stdin)
for item in data.get('items', []):
    ch_id   = item['id']['channelId']
    title   = item['snippet']['channelTitle']
    desc    = item['snippet']['description'][:80]
    print(f'{ch_id}  {title:30s}  {desc}')
"

Read the full file on GitHub · 347 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 347 lines · 18 tokens per session scan A b9d5a58ba97c

Subscribe to this mod's changes

youtube-content is a skill published in the GitHub repository furkangonel/cowrangler (2 stars, last pushed yesterday), licensed MIT. It adds 18 tokens to every session and 2,690 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

vs-search-tuning-specify-policy-direction

Viking Search tuning for specified policy directions. Use this when the user provides specific queries, a type of query, or a business policy direction, and asks to boost, suppress, or fix a class of search results through request-parameter passthrough. You must only perform read-only baseline evaluation and…

volcengine/SearchCLI · 93 tokens

vs-search-tuning-partial-case

Use when the user provides 1-50 concrete bad-case search queries for one Viking Search app and wants local deterministic fixes. This skill only verifies request-level fine-operation interventions against a read-only baseline scene and delivers a console-ready configuration sheet, validated payloads, and a replay…

volcengine/SearchCLI · 85 tokens

vs-search-tuning

Use when a user asks an agent to evaluate or tune text search similarity for an existing Viking AI Search application and dataset.

volcengine/SearchCLI · 29 tokens

vs-search

Search runtime and scene management: verify queries, inspect scenes, debug app readiness, and diagnose recall or scene-config issues.

volcengine/SearchCLI · 27 tokens

youtube

Use whenever the user mentions YouTube, video uploads, channel management, playlists, video SEO, or any YouTube Data API operation. Manages videos, playlists, comments, captions, subscriptions, thumbnails, analytics, and more.

eat-pray-ai/yutu · 48 tokens

binance-spot-openapi-skill

Operate Binance Spot market, account, and order APIs through UXC with a curated OpenAPI schema, Binance query signing, and separate mainnet/testnet link flows.

holon-run/uxc · 42 tokens