Aller au contenu
Skillpedia
Recherche31k · #9277

media-ingest

Ce qu’il fait

Cette skill ajoute à votre base des médias comme des vidéos, des fichiers audio, des PDF, des livres, des captures d'écran et des dépôts de code. Elle crée une page d'analyse, et non une simple transcription, et relie les personnes et entreprises mentionnées.

Quand l’utiliser

  • ✓Quand vous partagez une vidéo, un podcast ou un fichier audio que vous voulez enregistrer dans votre base.
  • ✓Quand vous avez un PDF ou un livre que vous voulez faire analyser et classer.
  • ✓Quand vous voulez transformer un dépôt GitHub ou une capture d'écran en page consultable.

Lien du skill

https://github.com/garrytan/gbrain/blob/master/plugin-variants/gbrain-daily/skills/media-ingest/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/garrytan/gbrain/blob/master/plugin-variants/gbrain-daily/skills/media-ingest/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Enregistre cette vidéo YouTube et ce PDF dans ma base, avec un résumé et des liens vers les personnes mentionnées.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'agent identifie le format et récupère le texte, en utilisant une transcription, une extraction de texte ou une lecture d'image selon le besoin. Il rédige une page d'analyse, conserve le fichier d'origine et relie chaque personne ou entreprise citée.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

Media Ingest Skill

Ingest video, audio, PDF, book, screenshot, and GitHub repo content into the brain.

Filing rule: Read skills/_brain-filing-rules.md before creating any new page.

Input

Parameter Required Description
source yes URL, file path, or uploaded file reference
title no Override title (auto-detected if omitted)
target_slug no Override page slug (auto-generated if omitted)

Contract

This skill guarantees:

  • Every ingested media item has a brain page with analysis (not just a transcript dump)
  • Transcripts (video/audio) saved in raw and human-readable formats
  • Entity extraction: every person and company mentioned gets back-linked
  • Raw source files preserved via gbrain files upload-raw
  • Filing by primary subject, not by media format

Convention: See skills/conventions/quality.md for Iron Law back-linking.

Every mention of a person or company with a brain page MUST create a back-link.

Phases

Phase 1: Identify format and fetch

Format Action
YouTube/video URL Fetch transcript (Whisper, transcription service, or captions)
Audio file Transcribe with available STT service
PDF Extract text (OCR if needed)
Book PDF Extract text, identify chapters/sections
Screenshot/image OCR via vision model, extract text and entities
GitHub repo Clone, read README + key files, summarize architecture

Phase 2: Upload raw source

Save the original file for provenance: gbrain files upload-raw <file> --page <slug>

Phase 3: Create brain page

File by primary subject (not format). Use this template:

# {Title}

**Source:** {URL or file path}
**Format:** {video/audio/PDF/book/screenshot/repo}
**Created:** {date}

## Summary
{Key points, not a transcript dump}

## Key Segments / Highlights
{For video/audio: timestamped highlights. For books: chapter summaries.}

## People Mentioned
{List with links to brain pages}

## Companies Mentioned
{List with links to brain pages}

Phase 4: Entity extraction and propagation

For every person and company mentioned:

  1. Check brain for existing page
  2. Create/enrich if needed (delegate to enrich skill)
  3. Add back-link from entity page to this media page
  4. Add timeline entry on entity page

A media item is NOT fully ingested until entity propagation is complete.

Phase 5: Sync

gbrain sync to update the index.

Output Format

Brain page created with summary, highlights, and entity cross-links. Report to user: "Ingested {title}: {N} entities detected, {N} pages updated."

Error Handling

  • Transcription failure: If STT or captions are unavailable, note [transcript unavailable] in the page and proceed with whatever metadata is available. Do NOT fabricate content.
  • Duplicate detection: Before creating a page, search the brain for the source URL or file hash. If found, ask the user whether to update the existing page or skip.
  • Partial OCR / audio: Mark unclear segments with [inaudible] or [illegible]. Never guess at proper nouns.
  • Large content (books > 500 pages): Summarize by chapter; do not attempt to inline the full text. Link to the raw upload.
  • Retry policy: On transient API failures (network, timeout), retry once. On auth failures, abort immediately.

Known Pitfalls

  1. YouTube auto-captions misidentify proper nouns. Always cross-reference entity names against existing brain pages before creating new ones. A caption that garbles a name (e.g. "Alise" when the speakers are discussing alice-example) should match the existing alice-example page, not create a new one.
  2. Re-running ingest on same source creates duplicates. Always check brain for existing source URL match before Phase 3.
  3. Book OCR quality varies wildly. Scanned PDFs often have garbled text. If OCR quality is <80% readable, flag to user rather than ingesting garbage.
  4. Video transcript without speaker diarization is low-value. If multiple speakers are present but no diarization is available, note this limitation prominently rather than attributing all speech to one person.
  5. Large audio files (>2hr) can timeout transcription services. Split into chunks before transcription if needed.

When it fails

Follow the agent operator protocol for any gbrain error code, exit code, [AGENT] block or notice block. Specific to t

Questions fréquentes

Garde-t-il le fichier d'origine ?

Oui. Les fichiers sources bruts sont stockés pour que la page puisse être retracée jusqu'à eux.

La page n'est-elle qu'une transcription ?

Non. La skill rédige une page d'analyse, et la transcription est aussi conservée sous une forme lisible.

Peut-il lire le texte d'une capture d'écran ?

Oui. Il lit le texte de l'image et l'ajoute à la page.

Détails

Description originale de l’auteur

Ingest video, audio, PDF, book, screenshot, and GitHub repo content into the brain. Multi-format handling with entity extraction and backlink propagation. Covers video-ingest, youtube-ingest, and book-ingest subtypes.

repo: garrytan/gbrain

Popularité

Étoiles GitHub
31k
Position au classement
#9277
Licence
MIT
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires