← Back to Skills Marketplace
kidcvs

Notebooklm Skill Factory

by Kidcvs Choi · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ⚠ suspicious
66
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install notebooklm-skill-factory
Description
Orchestrate NotebookLM research into SKILL.md generation and Claude Code validation in a single automated pipeline. Use when user asks to create a new Claude...
README (SKILL.md)

NotebookLM Skill Factory

Orchestrate the full pipeline: NotebookLM source ingestion → structured SKILL.md extraction → write to skills directory → validate → test → iterate.

Prerequisites Check

Before the pipeline, verify NotebookLM is authenticated:

notebooklm status || notebooklm login

If notebooklm login opens a browser, tell user to complete Google OAuth and press ENTER in their terminal.

Pipeline

Phase 1: Setup & Source Ingestion

  1. Create a dedicated notebook for this skill:

    notebooklm create "Skill: {skill-name}" --json
    

    Parse the notebook id from JSON output.

  2. Collect sources from user. Ask:

    "What sources should this skill be based on? Give me URLs, local file paths, YouTube links — anything high-quality and specific to this domain."

    If the user doesn't have sources ready, suggest:

    • Official documentation URLs
    • Well-known books/articles on the topic (user can provide PDFs)
    • YouTube tutorials/channels specializing in the area
  3. Add sources (use -n \x3Cnotebook_id> for all subsequent commands):

    notebooklm source add "https://..." -n \x3Cid> --json
    notebooklm source add ./local-file.pdf -n \x3Cid> --json
    

    Capture each source_id.

  4. Wait for indexing — spawn a background agent to avoid blocking:

    notebooklm source wait \x3Csource_id> -n \x3Cid> --timeout 600
    

    For multiple sources, wait them all. If any source fails indexing (exit code 1), log a warning but continue with remaining sources.

Phase 2: Extract SKILL.md

  1. Load the extraction prompt template: Read references/skill-extraction-prompt.md. Replace {USER_INTENT} with the user's original request.

  2. Query NotebookLM against all indexed sources:

    notebooklm ask "{extraction_prompt}" -n \x3Cid> --json
    
  3. Parse the output into a clean SKILL.md:

    echo '\x3Cjson_output>' | python3 scripts/parse-skill-output.py > /tmp/skill-output.md
    

    Or save the JSON to a temp file first, then pipe.

  4. Validate basic structure:

    • Starts with --- YAML frontmatter
    • Has name: and description: fields
    • Body is non-empty after frontmatter If validation fails, re-prompt NotebookLM with more specific instructions.

Phase 3: Install & Validate

  1. Create the skill directory:

    mkdir -p ~/.claude/skills/{skill-name}
    
  2. Write the SKILL.md: Move the parsed output to ~/.claude/skills/{skill-name}/SKILL.md

  3. Run skill-creator validation (via Skill tool): Invoke skill-creator with: "Validate the skill at ~/.claude/skills/{skill-name}/ and fix any issues found. Run package_skill.py to check for errors."

  4. Run skill-vetter security check (via Skill tool): Invoke skill-vetter with: "Review the skill at ~/.claude/skills/{skill-name}/ for security issues."

Phase 4: Test & Iterate

  1. Test the skill by invoking it with a realistic prompt matching its intended use case.

  2. Collect failures:

    • Did the skill trigger correctly?
    • Did it produce correct output?
    • Any hallucinations or gaps?
  3. If issues found, iterate:

    • Feed the failure description back to NotebookLM:
      notebooklm ask "The SKILL.md generated earlier has this issue: {failure}. Based on the sources, rewrite it to fix this. Output complete corrected SKILL.md in a markdown code block." -n \x3Cid> --json
      
    • Parse again and overwrite SKILL.md
    • Re-test
  4. Repeat until the skill passes a real usage test.

Error Recovery

Situation Action
NotebookLM auth expired Run notebooklm login, retry
Source indexing failed Skip that source, warn user, continue
Extraction prompt returned empty Check if sources are indexed (status=ready), re-query with --new flag
Generated SKILL.md fails validation Send failure description back to NB for rewrite (Phase 4 iteration)
NB rate limited Wait 5-10 min, retry once

Source Quality Guidelines

Remind users:

  • One notebook per skill, one theme per notebook
  • 3-10 high-quality sources work better than 20+ mixed ones
  • Official docs > blog posts > YouTube transcripts
  • If the skill covers multiple unrelated domains, create separate notebooks for each
  • After generation, user should be the final human reviewer — check tone, logic, completeness

Completing the Pipeline

When the skill passes testing, report:

  • Skill name and path (~/.claude/skills/{name}/)
  • Number of sources used
  • Number of iteration rounds
  • Final test result summary
Usage Guidance
Use this only if you intend to create new Claude skills and are comfortable using NotebookLM with Google OAuth. Provide only source materials you are willing to upload to NotebookLM, generate skills into a draft/staging location when possible, inspect the generated SKILL.md manually, run security vetting, and only then move it into the active ~/.claude/skills directory.
Capability Analysis
Type: OpenClaw Skill Name: notebooklm-skill-factory Version: 0.1.0 The skill provides an automated pipeline for generating new Claude Code skills by orchestrating NotebookLM research and validation. It uses standard CLI interactions with the notebooklm tool, a safe Python script (scripts/parse-skill-output.py) for text parsing, and includes explicit security checks by calling the 'skill-vetter' tool on generated content. No indicators of malicious intent, data exfiltration, or unauthorized execution were found.
Capability Tags
requires-oauth-tokenrequires-sensitive-credentials
Capability Assessment
Purpose & Capability
The stated purpose matches the NotebookLM-to-SKILL.md pipeline, but the capability includes creating, modifying, and testing active Claude skills generated from external source material.
Instruction Scope
The workflow writes generated output into ~/.claude/skills and invokes the generated skill without a clear staging or explicit human approval gate before activation.
Install Mechanism
There is no install spec and the registry declares no required binaries, while the artifacts depend on an external NotebookLM CLI, Python, and other Claude skills.
Credentials
Google OAuth and NotebookLM source ingestion are expected for this purpose, but users may be sending local PDFs, URLs, and other materials to an external service.
Persistence & Privilege
Generated SKILL.md files are persisted under the active Claude skills directory, and the workflow also mentions using a background agent for indexing waits.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install notebooklm-skill-factory
  3. After installation, invoke the skill by name or use /notebooklm-skill-factory
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
- Initial release of notebooklm-skill-factory: automate creation, validation, and testing of Claude Code skills using NotebookLM as the foundation. - Guides the user through source collection, structured extraction, skill installation, and iterative refinement via automated scripts and checks. - Includes robust error recovery for common failures (auth, source issues, validation errors, rate limits). - Emphasizes source quality guidelines and requires human review as the final step. - Reports summary details on completion, including skill location, sources used, iteration rounds, and final test results.
Metadata
Slug notebooklm-skill-factory
Version 0.1.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Notebooklm Skill Factory?

Orchestrate NotebookLM research into SKILL.md generation and Claude Code validation in a single automated pipeline. Use when user asks to create a new Claude... It is an AI Agent Skill for Claude Code / OpenClaw, with 66 downloads so far.

How do I install Notebooklm Skill Factory?

Run "/install notebooklm-skill-factory" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Notebooklm Skill Factory free?

Yes, Notebooklm Skill Factory is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Notebooklm Skill Factory support?

Notebooklm Skill Factory is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Notebooklm Skill Factory?

It is built and maintained by Kidcvs Choi (@kidcvs); the current version is v0.1.0.

💬 Comments