Logo : Scout

Scout

Communauté
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.

Présentation

ÉditeurAgriciDaniel
Dépôtyoutube-scout
Nom de la compétencescout
Étoiles
68
Forks
11
Fichiers inclus
18
LicenceMIT
Liens
  • Instructions en Markdown

    Un fichier SKILL.md que le modèle charge à la demande : il ne consomme donc des tokens que lorsqu’une demande correspond réellement à la compétence.

  • Compatible avec tous les LLM

    Les compétences IA sont rédigées en Markdown et non sous forme de code propre à un fournisseur. Elles fonctionnent donc avec GPT, Claude, Gemini, Grok ou un modèle local.

  • Fichiers inclus : 18

    Des scripts, des gabarits et des références que le modèle peut consulter pendant son travail. Les fichiers sont en lecture seule et ne sont jamais exécutés.

  • Open source

    Publiée par AgriciDaniel sur GitHub. Consultez les sources avant de l’installer.

Installation

Installez la compétence IA Scout dans TypingMind pour l’utiliser avec n’importe quel LLM, ou ajoutez-la à un autre agent capable de lire SKILL.md.

1

Installer dans TypingMind

TypingMind installe une compétence directement depuis son dossier GitHub : l’application lit SKILL.md, regroupe les fichiers de ressources et enregistre le tout localement.

  1. Ouvrez l’application et accédez à Plugins → Compétences.
  2. Choisissez « Installer depuis GitHub ».
  3. Copiez l’URL ci-dessous, qui pointe vers le dossier de la compétence, puis collez-la et confirmez.
    https://github.com/AgriciDaniel/youtube-scout/tree/main
  4. Activez la compétence dans chaque discussion où vous souhaitez pouvoir l’utiliser.
Plugins → Compétences → Ajouter une compétence → Via une URL GitHub, puis collez l’URL du dossier et appuyez sur Continuer.
2

Installer dans un autre agent

Tout agent capable de lire le format Agent Skills peut utiliser cette compétence : copiez le dossier dans le répertoire des compétences de cet agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/AgriciDaniel/youtube-scout.git \
  .claude/skills/scout
Redémarrez Claude Code après la copie pour que la nouvelle compétence soit prise en compte.

Utilisez cette compétence dans TypingMind

Activez Scout dans n’importe quelle discussion TypingMind et le modèle s’occupe du reste. Le nom et la description de la compétence figurent dans le prompt système. Dès qu’une demande correspond, le modèle charge lui-même l’intégralité des instructions : vous n’avez jamais à l’invoquer manuellement, et elle ne consomme aucun token tant qu’elle n’est pas utilisée.

Le modèle charge automatiquement Scout dès qu’une demande correspond à cette compétence.

Compatible avec tous les modèles IA

Les compétences IA sont de simples instructions Markdown, et non du code propre à un fournisseur. Ainsi, la compétence Scout n’est pas liée au modèle pour lequel elle a été conçue. Installez-la une seule fois dans TypingMind et utilisez-la avec GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou un modèle local que vous exécutez vous-même, le tout avec vos propres clés API.

  • Chargée uniquement en cas de besoin

    Le prompt système ne contient que le nom et la description. Les instructions sont récupérées à la première demande correspondante : une compétence inutilisée ne coûte donc rien.

  • Changez de modèle en cours de discussion

    La compétence étant constituée d’instructions et non de code, elle reste fonctionnelle lorsque vous changez de modèle : le nouveau modèle lit le même fichier SKILL.md.

Instructions de la compétence

Voici le contenu de SKILL.md que le modèle charge. Lisez-le avant l’installation : une compétence contient des instructions que votre modèle suivra.

/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.

Fichiers inclus

Le modèle lit ces fichiers à la demande lorsque la compétence est chargée. Ils sont accessibles en lecture et ne sont jamais exécutés.

Foire aux questions

À quoi sert la compétence IA 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.

Pourquoi utiliser Scout sur TypingMind ?

Parce que vous l’installez une seule fois pour l’utiliser avec n’importe quel modèle. Scout se compose de simples instructions en Markdown plutôt que de code propre à un fournisseur. La même compétence fonctionne donc avec GPT-5, Claude, Gemini, Grok ou un modèle local, et vous pouvez changer de modèle en cours de discussion sans perturber son fonctionnement. TypingMind utilise vos propres clés API : vous payez donc directement les fournisseurs plutôt qu’un abonnement par siège, et vos compétences et discussions restent dans votre propre espace de stockage.

Comment installer Scout dans TypingMind ?

Dans TypingMind, ouvrez Plugins → Compétences → Installer depuis GitHub et collez https://github.com/AgriciDaniel/youtube-scout/tree/main. TypingMind lit le fichier SKILL.md, regroupe les fichiers associés et installe le tout sous forme de compétence que vous pouvez activer pour chaque discussion.

Quels modèles d’IA peuvent utiliser Scout ?

N’importe quel modèle que vous connectez dans TypingMind. Les compétences IA sont de simples instructions en Markdown, et non du code propre à un fournisseur. GPT, Claude, Gemini, Grok et les modèles locaux peuvent donc tous charger cette compétence lorsqu’une demande lui correspond.

Combien de modèles d’IA puis-je utiliser avec Scout ?

Autant que vous le souhaitez. Vous pouvez utiliser Scout avec tout modèle qui prend en charge les compétences : GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama et bien d’autres, le tout dans TypingMind avec vos propres clés API.

La compétence IA Scout est-elle gratuite ?

Oui. Cette compétence est publiée sur GitHub par AgriciDaniel sous licence MIT. Vous ne payez que votre propre fournisseur d’IA pour les tokens utilisés.

Que sont les compétences IA ?

Une compétence IA est un ensemble d’instructions réutilisables qui apprend à un modèle d’IA à accomplir une tâche précise. Elle suit le format ouvert Agent Skills : un fichier SKILL.md contenant un nom et une description, ainsi que les éventuels scripts, gabarits ou fichiers de référence dont le modèle peut avoir besoin. Le modèle ne lit les instructions que lorsque votre demande correspond à la compétence. Une compétence installée ne coûte donc rien tant qu’elle n’est pas utilisée.

En quoi les compétences IA diffèrent-elles des plugins ou des serveurs MCP ?

Un plugin ou un serveur MCP fournit au modèle de nouveaux outils à appeler : du code qui s’exécute quelque part et renvoie un résultat. Une compétence IA lui apporte plutôt des connaissances et une méthode : comment aborder une tâche, quelles étapes suivre et à quoi ressemble un bon résultat. Les compétences sont de simples instructions en Markdown. Elles ne nécessitent donc ni serveur, ni clé API, ni environnement d’exécution, et fonctionnent avec n’importe quel modèle.

Tout voir

Créez votre propre espace de travail IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇