Youtube To Atoms logo

Youtube To Atoms

Community
fredoliveira
youtube-to-atoms

Given a YouTube URL, fetch its transcript and extract atomic notes into an Obsidian vault. Use when handed a YouTube link to mine for ideas, or asked to "turn this video into atomic notes / atoms".

Overview

Publisherfredoliveira
Repositoryagents
Skill nameyoutube-to-atoms
Stars
25
Forks
1
Bundled files
2
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by fredoliveira on GitHub. Read the source before you install it.

Installation

Install the Youtube To Atoms AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/fredoliveira/agents/tree/main/skills-experimental/youtube-to-atoms
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/fredoliveira/agents.git /tmp/agents
mkdir -p .claude/skills
cp -r /tmp/agents/skills-experimental/youtube-to-atoms .claude/skills/youtube-to-atoms
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Youtube To Atoms in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Youtube To Atoms on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Youtube To Atoms is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

YouTube → atomic notes

Purpose

Turn one YouTube video into a source note plus a set of atomic notes in an Obsidian vault. The unit of extraction is a solid, transferable idea or concept — not a summary.

The note style (what an atomic note is, frontmatter, linking, a worked example) is fully codified in the bundled reference.md — this skill is self-contained and does not depend on any particular vault existing beforehand.

Configuration

The vault root is the YT_VAULT environment variable, defaulting to ~/Documents/obsidian/yt. The skill reads/writes three subfolders (created automatically):

  • $YT_VAULT/Transcripts/ — fetched transcript (provenance)
  • $YT_VAULT/Sources/ — one source note per video
  • $YT_VAULT/Atoms/ — the atomic notes

To target a different vault, set YT_VAULT before invoking (e.g. export YT_VAULT=~/notes/myvault).

Instructions

1. Fetch the transcript

Run the bundled script with the URL the user gave you:

bash
python3 "${CLAUDE_SKILL_DIR}/fetch_transcript.py" "<youtube url>"

It prints the absolute path of the transcript markdown file (or an ERROR: line if the video has no English captions, or if YouTube throttled the request — relay that to the user and stop). If a transcript for that video already exists, it prints the existing path.

Requires yt-dlp (python3 -m pip install yt-dlp). Auto-generated captions are used when no human captions exist — they extract fine.

2. Read the transcript IN FULL

Read the printed file completely (page through with offset/limit if it's long — many videos run for hours). Do not extract from a partial read. The frontmatter holds url, channel, duration; body paragraphs are prefixed with **[MM:SS]** timestamps.

3. Learn the style, then extract

Read reference.md (in this skill's directory) — it is the authoritative guide for note shape, linking, and the worked example. Then extract atomic notes from the transcript following it. The essentials:

  • Idea-driven, NO target count. Capture every distinct, solid, transferable idea the video genuinely contains — could be 2, could be 20+. Never pad to a number; never cut a real idea. Thin/promotional videos may yield very few.
  • The bar: a real, transferable insight or concept. Skip sponsor reads, biography, small talk, and pure mechanics / play-by-play summary.
  • One idea per note; declarative full-sentence titles (the filename is the claim).
  • Always [[wikilink]] every person and organization on every mention, plus concepts and 2–4 reused topics — even unresolved. These anchor the graph.
  • Source + clickable timestamp go in frontmatter, never in the body.

4. Write the files

Per the formats in reference.md:

  • Each atom → $YT_VAULT/Atoms/<the claim>.md
  • One source note → $YT_VAULT/Sources/<Source Note Title>.md, listing every atom under ## Atomic notes extracted. Every atom's source: must exactly match this title.

Use today's date for the created: field.

5. Mark the transcript processed

Edit the transcript file: change status: unprocessed to status: processed.

6. Report

Tell the user the source note title, how many atoms you wrote, and their titles. Offer to run an indexing pass (e.g. an index-atomic-notes skill, if available) to weave the new atoms' [[links]] into Topics/ maps of content.

Notes

  • Batches: this skill is the per-video unit — drive it once per URL for multiple videos.
  • Garbled caption names: auto-captions often misspell names; canonicalize people/org names to their correct spelling and flag any you're unsure about.
  • Adapting: if a user's vault uses different conventions (tag names, folder names), keep the principles in reference.md and adjust the specifics.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Youtube To Atoms AI skill do?

Given a YouTube URL, fetch its transcript and extract atomic notes into an Obsidian vault. Use when handed a YouTube link to mine for ideas, or asked to "turn this video into atomic notes / atoms".

Why use Youtube To Atoms on TypingMind?

Because you install it once and use it with any model. Youtube To Atoms is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Youtube To Atoms in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/fredoliveira/agents/tree/main/skills-experimental/youtube-to-atoms. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Youtube To Atoms?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Youtube To Atoms?

As many as you like. As long as a model supports skills, you can use Youtube To Atoms with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Youtube To Atoms AI skill free?

Yes. It is published on GitHub by fredoliveira under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇