Skip to main content
Glama

flash

Turn any YouTube talk into flashcards you'll actually remember.

Paste a link into your AI agent. flash turns the podcast or lecture into a short deck of its best ideas, each backed by the speaker's own words. Then it brings every card back right before you'd forget it.

A flash deck: cards from a talk about how CPUs are made

  • No API key. Your own agent writes the cards. flash never calls an AI model itself.

  • Works where you already are: Claude Code, Codex, Cursor, or any agent that can run commands.

  • Your decks stay on your computer. Nothing is uploaded.


How it works

  1. You say: make flashcards from https://youtu.be/...

  2. flash fetches the transcript and gives your agent clear rules for writing good cards.

  3. Your agent picks the ideas worth keeping and skips the small talk.

  4. flash checks every quote against the video, then opens the deck in your browser.

You get three kinds of cards:

Card

What it's for

Question

Makes you think about how or why something works

Did you know?

A surprising fact worth repeating

Lesson

The big takeaway the talk was building to


Related MCP server: acornonaut-mcp

Install

First, install uv. It runs flash for you, and it downloads Python if you don't have it.

Then pick your agent:

Claude Code

claude plugin marketplace add Shanmuud/Flash
claude plugin install flash@flash

Codex

codex plugin marketplace add Shanmuud/Flash
codex plugin add flash@flash

Cursor

Add this to ~/.cursor/mcp.json. The first time, Cursor asks you to approve the server: choose Approve.

{
  "mcpServers": {
    "flash": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/Shanmuud/Flash.git@main", "podcast-flashcards"]
    }
  }
}

Any other agent

npx skills add Shanmuud/Flash

flash is an open-source plugin. It is not made by or affiliated with Anthropic, OpenAI or Cursor.


Use it

Tell your agent:

make flashcards from https://www.youtube.com/watch?v=VIDEO_ID

A few minutes later your deck opens in the browser. On the deck page:

Key

What it does

R

Review today's cards

Space

Show the answer

1 / 2

Remind me again / Got it

U

Undo

N

Switch between cards and notes

/

Search

?

All shortcuts

Come back later and flash offers to continue where you left off, both on the deck and in your library. On a phone, Review and Notes stay in reach at the bottom of the screen.

Other things you can say:

  • quiz me on my flashcards to review in the chat

  • set up my flashcard profile to set your level, interests and language

Where things live:

  • Decks are in ~/.podcast-flashcards/decks/.

  • Each deck comes with an Anki file (flashcards.apkg) and a Markdown file.

  • Stars, notes and review progress are saved in your browser.


FAQ

Which videos work best? Podcasts, lectures, interviews and explainers with captions. Gaming, music videos and vlogs get a polite "this isn't worth a deck".

What if YouTube blocks the download? flash waits and retries. If it still fails, paste the transcript into the chat, or give flash a cookies file:

export PODCAST_FLASHCARDS_COOKIES_FILE=~/cookies.txt        # a Netscape-format cookies.txt
# or, on Windows, Firefox cookies usually work best:
export PODCAST_FLASHCARDS_COOKIES_BROWSER=firefox

Can I keep my decks somewhere else? Yes: export PODCAST_FLASHCARDS_HOME=~/my-flashcards

Can I use it without an agent? Yes, with the command line:

alias flash='uvx --from git+https://github.com/Shanmuud/Flash.git podcast-flashcards'
flash fetch "https://www.youtube.com/watch?v=VIDEO_ID"   # get the transcript
flash guidelines                                         # the card-writing rules
flash save deck.json                                     # check and build your deck
flash open                                               # open your library

Write deck.json yourself (the format is in CONTRACT.md), or paste the transcript and guidelines into any chat model.


Run from source

git clone https://github.com/Shanmuud/Flash.git && cd Flash
uv run --extra dev pytest

To try the plugin from your checkout: claude plugin marketplace add /path/to/Flash (or the same with codex).

The MCP tools

Tool

What it does

fetch_video(url)

Gets the title, chapters and captions, split into sections

get_card_guidelines()

The card-writing rules plus your profile

save_deck(deck)

Checks the deck, then writes deck.json, the web page, Anki and Markdown

list_decks()

Lists your decks

refresh(slug)

Rebuilds deck pages after an update

get_profile() / update_profile(patch)

Your preferences

The data format is in CONTRACT.md. The research behind the card rules is in research/.

After updating flash, run podcast-flashcards refresh once so older decks get the new pages.


Credits

The reading format is inspired by Dwarkesh Patel's flashcards (not affiliated). The card rules build on Andy Matuschak's writing about spaced repetition.

MIT licensed.

Available Tools

7 tools
fetch_videoA

STEP 1. Fetch a YouTube video's title, metadata, chapters and English transcript.

Returns {slug, title, video, sections: [{title, start_s, end_s, transcript}], transcript_path}. Sections follow the video's chapters (or ~10-minute parts if it has none); each transcript has [mm:ss] markers you can use for card timestamps. Long chapters are split into "(part k/n)" sections of at most max_chars_per_section characters. Results are cached per video.

If YouTube rate-limits or blocks the fetch, pass transcript_text (pasted captions) or subtitle_path (.vtt/.srt), or set PODCAST_FLASHCARDS_COOKIES_BROWSER / profile cookies_from_browser and retry.

Next: call get_card_guidelines(), read all sections, then write the deck.

Inputs: url (required), subtitle_path, transcript_text, max_chars_per_section.

get_card_guidelinesA

STEP 2. The rules for writing good flashcards, the user's profile (who the cards are for: level, background, interests, cards per section, style, language) and the exact deck JSON format that save_deck expects. Read it fully before writing cards.

Inputs: no named parameters. Returns: result

get_profileB

The user's flashcard profile: name, level, background, interests, cards_per_section [min, max], style {analogies, include_numbers, math}, avoid, language. Defaults apply until the user changes them.

Inputs: no named parameters.

list_decksA

All saved decks, newest first: {ok, decks: [{slug, title, cards, created, path}], hint?}.

Inputs: no named parameters.

refreshB

Re-render index.html, how.html, and static for each deck from deck.json (no JSON edits).

Inputs: slug.

save_deckC

STEP 3. Validate and save the deck (see save_deck_impl). open overrides profile auto_open.

Inputs: deck (required), open.

update_profileA

Merge patch into the user's profile and return the full updated profile. Only include the keys to change, e.g. {"level": "advanced", "style": {"math": "full"}}. Nested objects merge; lists are replaced; null resets a key to its default. Valid values: cards_per_section = [min, max] with 1 <= min <= max <= 20; style.analogies / style.include_numbers = true|false; style.math = "none" | "when essential" | "full"; language is a code like "en". Use this when the user tells you about themselves or asks to personalize the cards.

Inputs: patch (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 7 tools

    Disambiguation4/5

    Each tool maps to a distinct step or resource: fetch_video (ingest), get_card_guidelines (rules), save_deck (write), list_decks (read index), refresh (re-render static output), and get/update_profile. The only mild overlap is save_deck vs refresh, since both affect deck output, but the descriptions clarify that refresh regenerates HTML without touching JSON.

    Naming Consistency4/5

    Names follow a verb_noun convention throughout (get_card_guidelines, save_deck, list_decks, fetch_video, get_profile, update_profile). The lone outlier is the bare verb 'refresh', a minor deviation but still clear in context.

    Tool Count5/5

    Seven tools is well-scoped for a video-to-flashcard pipeline, with each tool earning its place across the ingest, authoring, save, and personalization stages. Nothing feels padded or redundant.

    Completeness3/5

    The core workflow (fetch video → guidelines → save deck → list) is covered, including profile get/update. However, the deck lifecycle has gaps: there is no way to read a single deck's contents for editing, delete a deck, or rename one, so agents can hit dead ends after save_deck.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers