notebooklm-skill-codex/SKILL.md
Use for querying Google NotebookLM notebooks from Codex via local browser automation. Trigger when the user mentions NotebookLM, shares a NotebookLM URL, wants source-grounded answers from uploaded docs, or needs to add, list, search, activate, or remove notebooks from a local NotebookLM library.
npx skillsauth add alffei/skill_share notebooklmInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill to let Codex query Google NotebookLM and return answers grounded in the user's uploaded documents.
This skill is for local Codex environments that can:
Always use the wrapper:
python scripts/run.py <script> [args...]
Do not call scripts in scripts/ directly unless you are debugging the skill itself. The wrapper creates .venv, installs dependencies, and runs the script with the correct interpreter.
If the first setup is interrupted, rerun the same wrapper command. The wrapper now repairs incomplete .venv directories automatically.
Trigger this skill when the user:
python scripts/run.py auth_manager.py status
If authentication is missing or stale, run setup.
python scripts/run.py auth_manager.py setup
Important:
List saved notebooks:
python scripts/run.py notebook_manager.py list
If the user provided a notebook URL that is not in the library yet, prefer Smart Add:
python scripts/run.py ask_question.py \
--question "What is the content of this notebook? What topics are covered? Provide a brief overview." \
--notebook-url "[URL]"
python scripts/run.py notebook_manager.py add \
--url "[URL]" \
--name "[Specific notebook name]" \
--description "[Specific description based on notebook content]" \
--topics "[topic1,topic2,topic3]"
Do not invent generic metadata if the notebook content is still unknown.
Use one of:
python scripts/run.py ask_question.py --question "Your question here"
python scripts/run.py ask_question.py --question "..." --notebook-id notebook-id
python scripts/run.py ask_question.py --question "..." --notebook-url "https://notebooklm.google.com/notebook/..."
Add --show-browser only when debugging UI failures.
ask_question.py appends a follow-up reminder to every answer. Treat that as an internal prompt to keep researching before answering the user.
Before you respond:
Each NotebookLM query is stateless, so follow-up questions must include the needed context.
Read commands.md when you need the exact CLI for:
Read troubleshooting-codex.md when:
data/..venv in the skill directory.NOTEBOOKLM_PIP_INDEX_URL can be used to point pip at a reachable package mirror.testing
Writes complete WeChat tech posts (hook, TOC, body, checklists, image placement, layout notes, summaries). Use when the user asks to draft a WeChat tech article, generate reusable prompts for writing, or turn a topic/outline into a publish-ready post.
tools
Crafts and rewrites WeChat tech post titles across multiple patterns (list, contrast, outcome, scenario, anti-myth, template). Use when the user needs headline brainstorming or “restrained but clickable” title rewrites for tech/engineering WeChat公众号.
content-media
Defines WeChat tech public-account positioning, audience segmentation, content pillars, and long-term columns. Use when the user asks about account positioning, reader personas, content strategy, or column planning for a tech/engineering WeChat公众号.
development
Builds WeChat-friendly outlines for tech posts, including multi-level TOC, reader-benefit lines per section, pitfalls and action checklists, and 30-second skim summaries. Use when the user asks for outlines, structures, or tutorial-style blueprints for tech/engineering WeChat公众号.