Logo de Scout

Scout

Comunidade
AgriciDaniel
scout

Scout a topic on YouTube. Searches YouTube Data API v3 for the most relevant videos, ranks them by views (or engagement, likes, recency, momentum, breakout), and writes a research workbook in the OWT-Social-Ads layout with Videos, Channels, and Summary sheets, plus optional Comments and Transcripts (hooks, replay hotspots) sheets. Can also append into an existing sheet. Use when the user says "scout <topic>", wants a spreadsheet of top YouTube videos on a topic, wants creator or hook research, or wants YouTube rows added to their social ads sheet.

Visão geral

Publicado porAgriciDaniel
Repositórioyoutube-scout
Nome da habilidadescout
Estrelas
68
Forks
11
Arquivos incluídos
18
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Arquivos incluídos: 18

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

    Publicada por AgriciDaniel no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Scout no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/AgriciDaniel/youtube-scout/tree/main
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/AgriciDaniel/youtube-scout.git \
  .claude/skills/scout
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Scout em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Scout automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Scout não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

/scout

One topic in, one ranked research workbook out. The script does the whole job; your role is to run it with the right flags, then relay the result.

Step 1: Run

bash
python3 "${CLAUDE_SKILL_DIR}/scripts/scout.py" <topic words> [flags]

Pass the user's topic as words after the script (quotes optional, the script joins them). The API key is read from YOUTUBE_API_KEY in the environment, then from the file named by SCOUT_ENV_FILE, then ~/.config/scout/.env, then ./.env. If the user keeps keys in another env file, load it into the environment first (for example set -a; . <keyfile>; set +a in the same Bash call) rather than copying the key anywhere. Never echo the key. The run prints progress lines to stderr; a full run with --hooks on 50 videos takes a few minutes because yt-dlp probes each video, so allow a long Bash timeout.

If the script reports that openpyxl is missing, run once:

bash
pip install -r "${CLAUDE_SKILL_DIR}/requirements.txt" --quiet

Flags

FlagDefaultMeaning
--max N50Videos to collect, 1 to 200. Each block of 50 uses one of the 100 daily search calls.
--sinceanyhour, today, week, month, year, any
--lengthanyshort (under 4 min), medium (4 to 20), long (over 20)
--sortviewsviews, engagement, likes, recent, momentum (views per day), breakout (views per subscriber)
--comments [N]offTop N comments per video (default 20) into a Comments sheet, plus Top Comment on each video row. 1 quota unit per video.
--hooks [SECONDS]offyt-dlp probe per video, no quota: Hook (first SECONDS of captions, default 15), Vertical, FPS, Most Replayed s, Replay Hotspots, Chapters, and a Transcripts sheet with the full transcript.
--out PATH./scout-<topic>-<date>.xlsxWrite a new workbook
--into PATHoffAppend into an existing workbook's Videos sheet, skip Video IDs already present, re-sort. Comments and Transcripts sheets are created or extended there too. A timestamped .backup- copy is written next to the file first. The file must be closed in Excel.
--download [N]offSave thumbnails for every video (Thumbnail File) and mp4s for the top N (Local File) into ./downloads/; all videos when N is omitted. Full downloads can be slow, so prefer a small N.
--transcribe [MODEL]offTranscribe audio locally with Whisper for every video that has no caption transcript (default model turbo, GPU recommended). Uses the downloaded mp4 or fetches audio only. Fills Hook, Transcript Words, Transcript Source, and the Transcripts sheet. No quota, no caption requests.
--dry-runoffFetch and print only
--jsonoffAlso print rows as JSON

Mapping user phrasing: "this month" means --since month, "shorts" means --length short, "what are people saying" or "objections" means --comments, "hooks", "scripts", "openers", "transcripts" or "most replayed" means --hooks, "creators to reach out to" means look at the Channels sheet, "add to my sheet" means --into <that file>. "Everything" or "full research" means --comments --hooks. When the user names no file and no flags, use the defaults.

Step 2: Report

The script prints a top-10 table to stdout and status lines to stderr. Relay:

  • The output path and the sheet list (or rows added and skipped for --into).
  • The top-10 table as-is in a code block.
  • Quota used (search calls out of 100 a day, units out of 10,000 a day), and any warning: lines (a few yt-dlp probe failures are normal).
  • Two or three observations worth acting on, read from the Summary sheet and the table: for example the Shorts share, a breakout creator (high Views/Sub), or a recurring hook pattern.

Mention once, when relevant, that Shares, Spark Code, Sheet Views, and Ad Status stay blank for YouTube rows: YouTube's API exposes no share count, and the other three are manual columns in the user's sheet. Engagement % for YouTube rows is (likes + comments) / views. Click-through rate, retention, impressions, and demographics are not available for other people's videos; the replay heatmap from --hooks is the closest public proxy for retention.

Exit codes

CodeMeaningWhat to tell the user
0successrelay the report
1usage errorfix the flags and rerun
2no API keyexport YOUTUBE_API_KEY, or put it in ~/.config/scout/.env, or point SCOUT_ENV_FILE at the key file
3quota exhaustedthe 100 daily searches or 10,000 daily units are used up; they reset at midnight Pacific
4invalid API keycheck the YOUTUBE_API_KEY value in the key file
5other API or network errorshow the message, suggest retry
6file errorthe --into file is missing or openpyxl is not installed

Sheet layout

Videos: the base columns follow OWT-Social-Ads.xlsx (Platform, Creator, Handle, Video ID, Video Link, Posted as Unix epoch, Views, Likes, Comments, Shares, Engagement %, Duration s, Spark Code, Local File, Sheet Views, Ad Status). In a new workbook, columns that would be blank on every row are left out (Shares, Spark Code, Sheet Views, Ad Status always; Local File and Thumbnail File without --download; the comment and hook columns without their flags). In --into mode the full layout is kept so it lines up with the existing sheet. Then:

  • Performance: Title, Published, Relevance # (position in YouTube's relevance results), Format (Short, Video, Live), Age d, Views/day, Views/Sub, Like %, Comment %.
  • Channel: Channel URL, Subscribers, Channel Videos, Channel Views, Avg Views/Video, Channel Country, Channel Created, Channel Keywords, Channel Topics.
  • Metadata: Category, Tags, Tag Count, Language, Captions, HD, Licensed, Embeddable, Made for Kids, Paid Promotion (creator-declared), AI Disclosure (creator-declared synthetic media), License, Live, Topics, Blocked Regions, Description (first 300 chars), Desc Links, Location, Thumbnail.
  • With --comments: Top Comment, Top Comment Likes, Comments Off.
  • With --hooks: Hook, Vertical, FPS, Most Replayed s, Replay Hotspots (true peaks of the "most replayed" curve, the opening decay is ignored), Chapters, Transcript Words. Format is corrected to Video when a short clip turns out to be horizontal. Hook and Transcript stay blank when a video has no captions at all, and the replay columns stay blank when YouTube has not published a heatmap for it (it needs enough views), so partial coverage is normal.

--hooks caches every yt-dlp probe and caption under ~/.cache/scout/ for 7 days, so a rerun of the same topic (or a --into run on the same videos) only fetches what is missing. YouTube rate-limits caption downloads after bursts (HTTP 429); the script paces fetches 1.5 s apart and retries with backoff, and if some still fail it prints one warning with the count. Tell the user the block is per IP and can last hours: add --transcribe to fill the gaps locally, or rerun later. SCOUT_CAPTION_DELAY, SCOUT_CACHE_DIR, and SCOUT_DOWNLOAD_FORMAT override the pacing, cache location, and download format (default: 480p video and audio streams merged into mp4). For "cover every column" or a full demo, use --comments --hooks --transcribe --download 10.

Usually blank, kept for the rare hit: AI Disclosure (YouTube only returns it in some cases), Live, Blocked Regions, Location, Paid Promotion. Tags are blank when the creator added none.

  • With --hooks or --transcribe: Transcript Source says captions or whisper per row.
  • With --download [N]: Thumbnail File for every row, Local File (column N) for the top N.

Channels: one row per channel in the sample, sorted by sample views: handle, subscribers, channel totals, country, created, videos in sample, sample views, sample average engagement, best video and link, keywords, topics. This is the creator outreach list.

Summary: topic, run date, filters, quota, totals, median and mean views, average engagement, median duration, Shorts share, paid promotion share, captions share, published range, top video, top channels, top tags, categories, languages, channel countries.

Comments (flag): Video ID, Handle, Title, Author, Comment, Likes, Replies, Published, link.

Transcripts (flag): Video ID, Handle, Title, Language, Source, Transcript Words, Hook, full Transcript (capped at 32,000 characters), link.

Header styling, frozen header, autofilter, number formats, and hyperlinks are reproduced on every sheet. New workbooks only get Channels and Summary; --into leaves those out because aggregates over a mixed sheet would mislead.

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Scout faz?

Scout a topic on YouTube. Searches YouTube Data API v3 for the most relevant videos, ranks them by views (or engagement, likes, recency, momentum, breakout), and writes a research workbook in the OWT-Social-Ads layout with Videos, Channels, and Summary sheets, plus optional Comments and Transcripts (hooks, replay hotspots) sheets. Can also append into an existing sheet. Use when the user says "scout <topic>", wants a spreadsheet of top YouTube videos on a topic, wants creator or hook research, or wants YouTube rows added to their social ads sheet.

Por que usar Scout no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Scout é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Scout no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/AgriciDaniel/youtube-scout/tree/main. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Scout?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Scout?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Scout com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Scout é gratuita?

Sim. A habilidade é publicada no GitHub por AgriciDaniel sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇