Logotipo de Youtube Research

Youtube Research

Comunidad
manojbajaj95
youtube-research

Research YouTube topics, analyze competitor videos, deconstruct viral content, and query the YouTube Data API. Use when researching a video topic before planning, analyzing video transcripts for viral patterns, searching competitor channels, or fetching video and channel stats via the YouTube Data API v3.

Descripción general

Editormanojbajaj95
Repositorioclaude-gtm-plugin
Nombre de la habilidadyoutube-research
Estrellas
109
Forks
34
Archivos incluidos
2
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Archivos incluidos: 2

    Scripts, plantillas y referencias que el modelo puede leer mientras trabaja. Los archivos son de solo lectura y nunca se ejecutan.

  • Código abierto

    Publicada por manojbajaj95 en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Youtube Research en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/manojbajaj95/claude-gtm-plugin/tree/main/skills/youtube-research
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/manojbajaj95/claude-gtm-plugin.git /tmp/claude-gtm-plugin
mkdir -p .claude/skills
cp -r /tmp/claude-gtm-plugin/skills/youtube-research .claude/skills/youtube-research
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Youtube Research en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Youtube Research automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Youtube Research no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

YouTube Research

Workspace Context

Read bootstrap context before asking questions: strategy/brand.md for brand, audience, offer, channels, tools, constraints, and metrics; about/me.md for personal voice; content/ideas.md and content/calendar.md for content planning. Use legacy product-marketing context files only as fallback. Save generated drafts to content/<platform>/drafts/YYYY-MM-DD_short-topic-slug.md, and route durable learnings back to strategy/brand.md, about/me.md, or content/ideas.md.

Operating Contract

This skill is self-contained for its frontmatter scope: use its local instructions, references, scripts, and assets as the playbook; ask only for missing task-specific inputs; hand off to adjacent skills instead of expanding scope; and return an actionable artifact, decision, plan, draft, or diagnostic.

Three modes in one skill:

  1. Topic Research — competitive landscape, content gaps, strategic insights before planning a video
  2. Video Analysis — forensic deconstruction of transcripts to extract viral formulas and retention mechanics
  3. API Queries — direct YouTube Data API v3 access for search, stats, comments, and channel info

When to Use

  • Researching a video topic before planning production
  • Analyzing a competitor video to extract what makes it work
  • Fetching channel stats, video metrics, or comments via the API
  • Identifying content gaps and opportunities in a niche

YouTube Data API Setup

1. Get an API Key

  1. Go to Google Cloud Console → APIs & Services → Library
  2. Enable YouTube Data API v3
  3. Create Credentials → API Key
bash
export YOUTUBE_API_KEY="your-api-key-here"

Important: When piping curl output, wrap the command in bash -c '...' to preserve env vars:

bash
bash -c 'curl -s "https://..." -H "..." | jq .'

2. Key API Commands

Search Videos:

bash
bash -c 'curl -s "https://www.googleapis.com/youtube/v3/search?part=snippet&q=YOUR_QUERY&type=video&maxResults=10&order=viewCount&key=${YOUTUBE_API_KEY}"' | jq '.items[] | {videoId: .id.videoId, title: .snippet.title, channel: .snippet.channelTitle}'

Get Video Details (stats, duration):

bash
bash -c 'curl -s "https://www.googleapis.com/youtube/v3/videos?part=snippet,statistics,contentDetails&id=VIDEO_ID&key=${YOUTUBE_API_KEY}"' | jq '.items[0] | {title: .snippet.title, views: .statistics.viewCount, likes: .statistics.likeCount, duration: .contentDetails.duration}'

Get Channel by Handle:

bash
bash -c 'curl -s "https://www.googleapis.com/youtube/v3/channels?part=snippet,statistics&forHandle=@HANDLE&key=${YOUTUBE_API_KEY}"' | jq '.items[0] | {id: .id, title: .snippet.title, subscribers: .statistics.subscriberCount, videos: .statistics.videoCount}'

Get Video Comments:

bash
bash -c 'curl -s "https://www.googleapis.com/youtube/v3/commentThreads?part=snippet&videoId=VIDEO_ID&maxResults=20&order=relevance&key=${YOUTUBE_API_KEY}"' | jq '.items[] | {author: .snippet.topLevelComment.snippet.authorDisplayName, text: .snippet.topLevelComment.snippet.textDisplay, likes: .snippet.topLevelComment.snippet.likeCount}'

Get Trending Videos:

bash
bash -c 'curl -s "https://www.googleapis.com/youtube/v3/videos?part=snippet,statistics&chart=mostPopular&regionCode=US&maxResults=10&key=${YOUTUBE_API_KEY}"' | jq '.items[] | {title: .snippet.title, channel: .snippet.channelTitle, views: .statistics.viewCount}'

Quota: 10,000 units/day. Search = 100 units. Most others = 1 unit.

See YouTube Data API docs for full reference.


Mode 1: Topic Research

Conduct research before planning a new video. Focus on insights and big levers — not data dumping.

Workflow

Step 0: Create research file

Save all research to: ./youtube/episode/[episode_number]_[topic_short_name]/research.md

If it already exists, read it and continue from where it left off.

Step 1: Understand the topic

  • What problem does this video solve?
  • Why would someone click on it?
  • What makes it relevant now?

Step 2: Research your own channel

Use the API to find related videos you've already published. Document:

  • Related videos (title, video ID, URL, key metrics)
  • What's already been covered and how to differentiate

Step 3: Competitor research

Search for 5–8 top videos on the topic. For each:

  • Get video details (views, likes, duration)
  • Note the title, angle, and what makes it successful
  • Synthesize common patterns and approaches

Step 4: Content gap analysis

Document:

  • What's saturated — 3–5 over-covered angles
  • Gaps (Opportunities) — rated ⭐⭐⭐ high / ⭐⭐ medium / ⭐ low
  • Recommended focus — specific angle + unique value proposition

Rating criteria:

  • ⭐⭐⭐ High: Significant gap, strong demand, clear differentiation
  • ⭐⭐ Medium: Moderate gap, some competition, good potential
  • ⭐ Low: Minor gap, heavily competed

Research File Template

markdown
# [Episode]: [Topic] - Research

## Episode Overview
**Topic**: [Brief description]
**Target Audience**: [Who this is for]
**Goal**: [What viewers will learn/gain]

## YouTube Research
### Your Previous Videos
[Related videos with metrics]

### Top Competing Videos
[5-8 videos: title, channel, views, angle, what works]

### Key Insights
[Patterns and findings synthesized]

## Content Gap Analysis
### What's Already Well-Covered
[List]

### Content Gaps (Opportunities)
[Rated list with ⭐ ratings]

### Recommended Focus
[Specific angle and unique value proposition]

## Production Notes
**Status**: Research Complete
**Created**: [Date]

Parallel Research

If the host environment supports parallel research, split focused tasks such as competitor search, own-channel review, and comment mining. Otherwise, do them sequentially and synthesize findings after each section.

Pitfalls

  • Data dumping — Limit to 5–8 competitors, synthesize patterns instead of listing every video
  • Vague gaps — "Not much content on this" → identify the specific missing angle
  • Long reports — Focus on insights and big levers

Next step: Use youtube-content skill to plan the video based on this research.


Mode 2: Video Analysis

Forensic deconstruction of video transcripts to extract viral formulas, hooks, and retention mechanics.

Getting the Transcript

Auto-fetch:

bash
python skills/youtube-research/scripts/fetch_transcript.py "YOUTUBE_URL_OR_VIDEO_ID"

Manual paste: YouTube's built-in transcript (click "..." → "Show transcript") or ytscribe.ai.

Analysis Framework

Approach the transcript like a crime scene — extract everything systematically. See reference/analysis-framework.md for the full checklist and templates.

Analyze these 11 dimensions:

  1. Hook Architecture — Primary hook (first 3–8s), hook type, secondary hooks, fill-in-blank templates
  2. Structural Blueprint — Content framework (PAS, Story-Lesson-CTA, List-Depth-Summary), beat map, pacing
  3. Retention Mechanics — Open loops, pattern interrupts, curiosity gaps, payoff points
  4. Emotional Engineering — Emotional arc, trigger words, identity hooks, Us vs. Them dynamics
  5. Storytelling Elements — Narrative framework, character positioning, conflict/stakes, specificity
  6. Linguistic Patterns — Power phrases, sentence rhythm, repetition, conversational triggers
  7. Algorithm Signals — Watch time optimizers, engagement bait, share/save triggers
  8. CTA Architecture — Primary CTA, soft CTAs, timing, value exchange
  9. Viral Coefficient — Shareability score (1–10), comment bait density, crossover potential
  10. Reusable Templates — Fill-in-blank opening hooks (3 variations), section templates, transition library
  11. Implementation Playbook — Top 10 steal-this elements, niche adaptation, A/B test suggestions

Before Analysis, Collect Context

  • Your niche/topic
  • Your content style (casual, educational, hype, etc.)
  • Target platform and video length goal

Output Format

Structure output with all 11 sections. End with a Quick Reference Cheatsheet — one-page summary of all extracted patterns for rapid implementation.


Tools

  • YouTube API: bash -c 'curl ...' with $YOUTUBE_API_KEY
  • MCP (if available): mcp__plugin_yt-content-strategist_youtube-analytics__search_videos, get_video_details, get_channel_details
  • Web: WebSearch and WebFetch for industry trends and context

Archivos incluidos

El modelo los lee según los necesita mientras la habilidad está cargada. Son archivos de solo lectura y nunca se ejecutan.

Preguntas frecuentes

¿Qué hace la habilidad de IA Youtube Research?

Research YouTube topics, analyze competitor videos, deconstruct viral content, and query the YouTube Data API. Use when researching a video topic before planning, analyzing video transcripts for viral patterns, searching competitor channels, or fetching video and channel stats via the YouTube Data API v3.

¿Por qué usar Youtube Research en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Youtube Research está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Youtube Research en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/manojbajaj95/claude-gtm-plugin/tree/main/skills/youtube-research. TypingMind lee el archivo SKILL.md de esa carpeta, empaqueta los archivos de la carpeta e instala el conjunto como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Youtube Research?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Youtube Research?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Youtube Research con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Youtube Research?

Sí. manojbajaj95 la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇