• One command turns a YouTube video into reviewed flashcards.
  • Cards are generated from key ideas, not raw transcript lines.
  • You review and approve every card before it is saved.
  • The workflow combines two open tools: yapsnap and the ouou MCP server.

Just here to use ouou?

This workflow needs software outside the ouou app. You do not need it to add or review cards. Use it if you want to point AI at a YouTube video and turn the main ideas into cards for your deck.

It uses Claude Code, a separate AI tool you run on your computer. If that sounds like something for later, skip ahead to the skill source, or close the tab. ouou works fine without any of this.


What the skill does

yt-ingest is a Claude Code skill. Give it a YouTube URL and it runs a three-stage pipeline:

  1. Fetch — downloads the video’s audio and extracts a transcript using yapsnap.
  2. Generate — reads your existing ouou deck to understand its style and domain, then proposes 5–15 flashcard candidates from the video content.
  3. Review and save — presents cards for your approval in batches; only approved cards are written to ouou via the ouou MCP server.

The transcript is never stored in ouou. Your ouou deck only ever receives the cards you approve.

Cards generated from a YouTube video appearing in ouou

Prerequisites

Running the skill

Install the skill by adding the source at the end of this article to .claude/skills/yt-ingest/SKILL.md in any project, or to your home directory for global access. Then run this in a Claude Code session:

/yt-ingest https://www.youtube.com/watch?v=<video-id>

The skill walks you through each step interactively.

How It Works

yapsnap — transcript extraction

yapsnap is a CLI tool that downloads a YouTube video and extracts a transcript. The skill calls it through uvx, so you only need uv installed:

uvx yapsnap '<url>'

The output is the raw transcript text. yapsnap handles caption extraction and audio-to-text for videos without captions.

ouou MCP — deck integration

The ouou MCP server exposes three tools that Claude can call directly:

ToolWhat it does
list_decksReturns your decks with names, IDs, and tag vocabulary
search_cardsReads existing cards to understand deck style and domain
create_cardsWrites approved cards to the chosen deck

By reading existing cards before generating new ones, Claude can match your deck’s tone, card granularity, and vocabulary instead of producing generic cards. Nobody needs another deck full of technically correct mush.

Choose a Good Video

The skill works best when:

  • The video has clear captions (human-written or high-quality auto-generated).
  • The content is factual or conceptual rather than purely narrative.
  • The video is under 90 minutes (longer content is processed in chunks, which can occasionally affect cross-chunk coherence).

Better explanations make better cards. A dense, well-structured lecture usually produces denser, better-structured cards.

Review and Refine Cards

The skill presents cards in batches of four. Select the cards you want to keep; unchecked cards are dropped. After all batches, you can ask for rewording before anything is saved.

Before accepting cards, consider:

  • Edit any card whose phrasing feels awkward.
  • Drop cards that are too obvious or too obscure for your current level.
  • Merge near-duplicates — the AI may propose two cards for the same idea phrased differently.

yt-ingest is a skill, not a built-in ouou feature. It runs inside Claude Code and requires a Claude API session. Approved cards land in your normal ouou deck and sync like manually added cards. The skill source is open, so you can adapt any step.


Appendix: Skill Source

Add the text below to .claude/skills/yt-ingest/SKILL.md to install the skill. The frontmatter between the --- lines tells Claude Code the skill’s name, trigger conditions, and allowed tools.

---
name: yt-ingest
description: Turn a YouTube video into ouou flashcards. Use when given a YouTube
  URL, "make flashcards from this YouTube video", "turn this talk into cards",
  or "watch and file this".
allowed-tools: Bash, Read, Write, Edit, mcp__claude_ai_ouou__list_decks,
  mcp__claude_ai_ouou__search_cards, mcp__claude_ai_ouou__create_cards
---

# YouTube Video Ingest

Fetch an English transcript, then generate ouou flashcards from it.

## Step 1: Resolve the YouTube URL

If the user provided a URL as an argument, use it. Otherwise ask for it.

## Step 2: Fetch the Transcript

Run:

​```
uvx yapsnap '<url>'
​```

Capture the stdout. If yapsnap exits non-zero, report the error and stop.

Keep the transcript in context for the steps below. Do not save it to disk.

## Step 3: Choose a Deck

Call `mcp__claude_ai_ouou__list_decks` and present the deck names to the user.
Ask which deck to add cards to.

## Step 4: Understand the Deck's Specialisation

Call `mcp__claude_ai_ouou__search_cards` with a broad query (e.g., `*` or the
deck name) filtered to the chosen deck. Read 10–20 existing cards to
understand:

- What domain or topic the deck covers
- The card style (question/answer, cloze, definition, etc.)
- Typical card granularity (single fact vs. broader concept)
- Vocabulary and tone used

## Step 5: Agree on a Tag

Before generating cards, propose a single tag for this batch based on the
video topic (e.g. `distributed-systems`, `caching`, `networking`). Check the
deck description and any tags seen on existing cards in Step 4 for
consistency. Ask the user to confirm or change the tag. Use that tag on every
card created in this session.

## Step 6: Generate Cards

Based on the transcript content and the deck's specialisation, generate a
candidate list of flashcards that:

- Match the deck's domain focus — skip video content that is off-topic for
  this deck
- Follow the existing card style and granularity
- Cover the most durable, testable facts and concepts from the video
- Avoid redundancy with cards found in Step 4

Target 5–15 cards unless the video is unusually dense or sparse.

## Step 7: Review Cards

Present all candidate cards for review using the structured multi-select
question tool (AskUserQuestion). The tool is capped at **4 options per
question**, so split cards into batches of 4 and fire one question per batch.
Label each option "Card N" with the front and back in the description. Ask the
user to tick the ones they want to keep — unchecked = dropped.

After all batches, collect the kept cards. If the user flags any for
improvement (via a follow-up message), apply the edits and confirm the revised
card inline before adding it to the approved list.

## Step 8: Create Cards

Call `mcp__claude_ai_ouou__create_cards` with the approved cards. Confirm how
many were created.