← Back to Library

Claude Code + NotebookLM = CHEAT CODE

The real cheat code isn't Claude Code alone — it's what happens when you pair it with an overlooked tool called NotebookLM. Chase H shows exactly how to build a free research pipeline that would otherwise cost hundreds of dollars per month.

The Demo That Proves It Works

Chase H demonstrates the workflow in action. Using Claude Code, he triggers a custom YouTube search skill to find trending videos on Claude Code skills. Then he pushes those URLs into NotebookLM — Google's free research tool — and asks it to analyze the videos for emerging trends. Within minutes, NotebookLM returns the top five Claude Code skills along with analysis of how they're being used.

But the real magic happens next: Chase H asks Claude Code to generate an infographic in a handwritten blueprint style based on that analysis. The result appears automatically inside his project folder. Twenty YouTube sources got uploaded, analyzed, and transformed into a deliverable — without spending any tokens.

The entire process was automated from one prompt. No manual YouTube searching. No copy-pasting links. No manually creating infographics in Canva or PowerPoint.

Why This Combo Is So Powerful

Most people use Claude Code the way most people use ChatGPT: asking it to browse the web and hoping for good results. But this combination changes the entire equation.

The first advantage is cost. NotebookLM is free. When Claude Code sends analysis work to NotebookLM, it's not spending tokens on heavy reasoning — it's just passing requests back and forth. All the actual thinking happens on Google's servers, which means zero cost for the user.

The second advantage is power. Replicating what NotebookLM does — scraping YouTube videos, building a RAG system (that's Retrieval-Augmented Generation), generating analysis, producing infographics and slide decks — would require significant engineering effort and money to build from scratch. Chase H has tried this with other tools like Notion, and he describes it as "a gigantic pain in the butt."

The third advantage is integration. Because Claude Code can directly control NotebookLM through a Python script, users get a seamless workflow where research, analysis, and deliverables all happen inside their terminal without ever leaving.

How To Set It Up (Without An API)

NotebookLM doesn't have an official public API. But Tang Ling built one anyway — the unofficial NotebookLM-Python repository on GitHub that acts as a working Python API for NotebookLM.

The setup requires two parts: first, the YouTube search skill; second, the NotebookLM connection.

For YouTube searching, users can either tell Claude Code to build a custom skill using YT-DLP (a Python dependency) or download Chase H's ready-made setup file from his free community. The skill teaches Claude Code how to scrape YouTube metadata — titles, views, authors, upload dates — and present it in a usable format.

For NotebookLM, users copy installation commands into their terminal, run the login command, authenticate once in Chrome, and then install the skill that tells Claude Code how to interact with NotebookLM. After that, it's just natural language: "Create a new notebook titled Chase Demo with these sources" or "Based on those videos, what's the number one Cloud Code skill?"

The entire setup takes about five minutes.

What You Can Create With This Workflow

Once connected, users can generate everything NotebookLM produces manually — and more. The web interface limits you to 50 sources per notebook, but Claude Code can push dozens of URLs at once. Users can ask for:

  • Audio overviews (NotebookLM's native podcast summary)
  • Mind maps
  • Flashcards
  • Infographics
  • Slide decks

The workflow abstracts away the hardest part of research: building a corpus of knowledge from YouTube videos in a way that an AI agent can actually use. Normally, that's time-consuming and brittle. Here, it's free.

Critics might note that NotebookLM's analysis isn't perfect — it sometimes hallucinates details or pulls captions incorrectly. Users need to double-check outputs inside NotebookLM before relying on deliverables for important work.

All the thinking is done by Google, and they're paying for it.

Bottom Line

This workflow genuinely democratizes research automation. The combination of Claude Code's terminal control with NotebookLM's free analysis and generation capabilities creates something that would cost hundreds of dollars to build otherwise — and it's available right now for zero cost. The setup is simple, the use cases are infinite, and the results actually work. The biggest risk: relying on analysis that still needs verification. For busy professionals using text-to-speech, this is exactly the kind of tool that makes a 15-minute investment in research feel like cheating.

Claude Code might be the most powerful research agent on the planet, but you need to add this one tool to unlock it. Now, most people's version of Claude Code research is just telling it to use the web search tool and praying that whatever it comes back with is good enough. But we can do better because what if I told you with just five minutes of setup, we could create workflows inside of Cloud Code that are able to scrape any section of YouTube, pull their captions, push that information to a free, robust, pre-built rag system that is able to do all the heavy lifting and analysis for us, and then take that analysis and give us deliverables like slide decks, infographics, podcasts, you name it. All while costing us virtually zero tokens.

Now, if that sounds way too good to be true, you would normally be right, but not in this case. So, let me introduce you to the most underrated AI tool in the game today, Notebook LM. So, in today's video, I'm going to show you how to combine the powers of Claude Code and Notebook LM to replace a research stack for free that would otherwise cost you hundreds of dollars a month to build and maintain. I'm really excited to show you guys this one.

So, let's hop into it. So, let's kick this video off with a demo so you can see how we can use Claude Code to harness all the features of Notebook LM without us ever leaving the terminal. Now, this prompt's going to have Claude Code do a number of things. First, we are going to use our custom YouTube search skill to find the latest trending videos on Claude Code skills.

And don't worry, I will show you all these skills and how to get them in a second. After we find the video URLs, I want Claude Code to send those URLs over to Notebook LM using the Notebook LM skill. I then want Notebook LM to do analysis on those videos to figure out what are the top load skills and I want to get that analysis sent to us. Furthermore, I want a deliverable.

I don't just want the text analysis. I want an infographic in a handwritten blueprint style depicting that analysis on the top skills. So, with one prompt, we are ...