youtube-obsidian-mcp: Instructions file for Claude Code

CLAUDE.md

youtube-obsidian-mcp CLAUDE.md is an instructions file for Claude Code from mohsinkhadim59/youtube-obsidian-mcp. It costs 3,471 tokens per session, scanned A, original, MIT.

Instructions for an MCP server that turns YouTube lectures into structured study notes in Obsidian, a note-taking application.

In plain words
What is it for?
It processes a YouTube lecture from its URL, adds screenshots at chosen timestamps, and organizes the result by study day or session.
Why use it?
It reduces the manual work of collecting transcripts, screenshots, and organized notes from lecture videos.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md.

This is mohsinkhadim59/youtube-obsidian-mcp's own configuration. It tells Claude Code how to work on youtube-obsidian-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything youtube-obsidian-mcp configures โ†’

Reuse

Borrowing it

Nothing to install: this file belongs to mohsinkhadim59/youtube-obsidian-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/mohsinkhadim59/youtube-obsidian-mcp/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/mohsinkhadim59/youtube-obsidian-mcp

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for youtube-obsidian-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/mohsinkhadim59/youtube-obsidian-mcp/claude-md/github.svg)](https://agentmods.dev/instructions/mohsinkhadim59/youtube-obsidian-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/mohsinkhadim59/youtube-obsidian-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/mohsinkhadim59/youtube-obsidian-mcp/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80ร—15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80ร—15 button for youtube-obsidian-mcp CLAUDE.md

Your own site ยท 80ร—15
<a href="https://agentmods.dev/instructions/mohsinkhadim59/youtube-obsidian-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/mohsinkhadim59/youtube-obsidian-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,471 This file is loaded in full into every session.
When invoked 3,471 The same file โ€” it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file โ€” not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.03471 $0.03471
Opus 5 $0.01736 $0.01736
Sonnet 5 $0.00694 $0.00694
Haiku 4.5 $0.00347 $0.00347

Measured 11d ago against content hash 3fafdef6989f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

youtube-obsidian-mcp CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories โ€” prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency โ€” measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md ยท 530 lines

How it starts

The opening of the file, as written. The whole thing โ€” 530 lines โ€” stays where its author put it; the contents beside it link to each section on GitHub.

๐Ÿค– Claude AI Instructions for YouTube Lecture Notes MCP

This document provides instructions for Claude AI on how to effectively use the YouTube Lecture Notes MCP server to help users create professional study notes from YouTube videos.


๐ŸŽฏ Your Role

You are assisting users in transforming YouTube video lectures into structured, professional study notes in Obsidian. Your goal is to make learning from videos more efficient by automating the tedious parts (screenshots, transcripts, structure) while preserving the user's ability to add their own insights.


๐Ÿ› ๏ธ Available MCP Tools

You have access to three tools from the youtube-notes MCP server:

1. process_youtube_lecture

Purpose: Main tool to process a complete video into notes

When to use:

  • User provides a YouTube URL and wants notes created
  • User specifies timestamps for screenshots
  • User indicates which day/session this is

Required Parameters:

  • url: YouTube video URL (full or shortened)
  • timestamps: Comma-separated timestamps (e.g., "5:30, 12:45, 25:00")
  • day_number: Integer representing study day/session number

Optional Parameters:

  • vault_path: Custom Obsidian vault location
  • notes_folder: Custom folder within vault (default: "Lecture Notes")
  • images_folder: Custom images folder (default: "Lecture Notes/images")

Example Usage:

{
  "url": "https://www.youtube.com/watch?v=rfscVS0vtbw",
  "timestamps": "2:30, 8:15, 15:00, 22:45",
  "day_number": 1
}

2. get_video_subtitles

Purpose: Preview video transcript before processing

When to use:

  • User wants to see what's covered in the video first
  • User needs help identifying key timestamps
  • User wants to verify subtitles are available

Required Parameters:

  • url: YouTube video URL

Example Usage:

{
  "url": "https://www.youtube.com/watch?v=rfscVS0vtbw"
}

What to do with results:

  1. Summarize the main topics covered
  2. Suggest 4-6 strategic timestamps where key concepts are introduced
  3. Ask user if they want to proceed with those timestamps or choose their own

Read the full file on GitHub ยท 530 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen ยท 530 lines ยท 3,471 tokens per session scan A 3fafdef6989f

Subscribe to this mod's changes

youtube-obsidian-mcp CLAUDE.md is an instructions file published in the GitHub repository mohsinkhadim59/youtube-obsidian-mcp (3 stars, last pushed 7mo ago), licensed MIT. It adds 3,471 tokens to every session, about $0.0174 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js ยท 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex ยท 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode ยท 6,785 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart โ€” add a new integration in 5 steps, integration architecture and integrationmanifest โ€” file tracking.

github/spec-kit ยท 7,104 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain ยท 4,469 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode ยท 5,001 tokens