gemini-notebook-mcp-cli provides programmatic access to Gemini Notebook through a command-line interface and a Model Context Protocol server. It is for scripts, desktop applications, and AI agents that need to work with Gemini Notebook notebooks. The catalogue contains instructions and a skill for using it.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add jacob-bd/gemini-notebook-mcp-cli --skill datagit clone --depth 1 https://github.com/jacob-bd/gemini-notebook-mcp-cliWrote 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.
[](https://agentmods.dev/skills/jacob-bd/gemini-notebook-mcp-cli/data)<a href="https://agentmods.dev/skills/jacob-bd/gemini-notebook-mcp-cli/data"><img src="https://agentmods.dev/badge/skills/jacob-bd/gemini-notebook-mcp-cli/data/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.
<a href="https://agentmods.dev/skills/jacob-bd/gemini-notebook-mcp-cli/data"><img src="https://agentmods.dev/badge/skills/jacob-bd/gemini-notebook-mcp-cli/data.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 4 findings, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high YARA Match · line 143 YARA rule matched a known malware signature (reverse shell, backdoor, ransomware, C2 framework, or info stealer).Fix: Remove the malware payload or compromised file entirely. Investigate how it entered the skill and audit all other artifacts for additional indicators of compromise.
- high Memory Poisoning · line 593 Skill manipulates agent memory, state, or stored context. Memory corruption can alter personality, override safety rules, or cause unpredictable behavior.Fix: Protect agent memory and state from modification by untrusted content. Use read-only memory for critical instructions and validate all state changes.
- high Rogue Agent · line 728 Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.Fix: Prevent the skill from modifying its own code, SKILL.md, or configuration files. Treat skill files as read-only at runtime.
- medium Rogue Agent · line 766 Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00176 | $0.14256 |
| Opus 5.5 | $0.00070 | $0.05702 |
| Sonnet 5.5 | $0.00035 | $0.02851 |
| Haiku 4.5 | $0.00018 | $0.01426 |
Grade A, and why
nlm-skill 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 yesterday.
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.
How it starts
The opening of the file, as written. The whole thing — 1,146 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Gemini Notebook CLI & MCP Expert
This skill provides comprehensive guidance for using Gemini Notebook via both the nlm CLI and MCP tools.
Tool Detection (CRITICAL - Read First!)
ALWAYS check which tools are available before proceeding:
- Check for MCP tools: Tool names vary by host; look for
mcp__gemini-notebook-mcp__*,mcp__notebooklm_mcp__*, ormcp_gemini_notebook_mcp_*. - Follow an explicit surface choice: If the user asks for MCP or CLI, use it.
- Choose by task when both are available: Use MCP for notebook operations and downloads inside its configured download directory. Use the CLI for an explicit
--profilewithout changing the MCP default account, or for a user-directed output path outside the MCP download directory. Ask only if the choice would materially change the result and the user's preference is unclear. - Use the available surface when only MCP or only CLI is callable; read its tool docstring or
nlm <command> --helpbefore supplying unfamiliar options.
Decision Logic:
has_mcp_tools = check_available_tools() # Look for any NotebookLM MCP tool name above
has_cli = check_bash_available() # Can run nlm commands
if user_named_mcp_or_cli:
use_that_surface()
elif needs_workspace_output_outside_mcp_root or needs_explicit_profile_without_switching_default:
use_cli()
elif has_mcp_tools:
use_mcp()
elif has_cli:
use_cli()
Check the active account before a mutation when more than one profile is saved: nlm login profile list shows accounts, and nlm config get auth.default_profile shows the MCP default. CLI commands can use --profile <name>. MCP tools use the active profile: call the profile tool (action=list, then action=switch with name=...) to change it for this MCP server until it restarts (add make_default=true only when the user asks to change their default). While a switch is active, tool results carry active_profile_note; tell the user which account is in use. usage_get(profile=...) is an account-specific read and does not switch other MCP tools.
What ships with it
7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- yesterday Changed 0a2c1979c327
- 7d ago Changed · +7 lines 8f7735527a61
- 10d ago Changed · +19 lines 1db9013e8ca7
- 18d ago Changed · +2 lines dcfc54e165ca
- 19d ago Changed · +16 lines 2367d81ee3b9
- 20d ago Changed afd422ba3f59
- 22d ago Changed b648e298bf58
- 23d ago Changed · +9 lines 44c1f406051b
- 26d ago Changed · +42 lines 44f646ce9808
- 1mo ago First seen · 1,051 lines · 176 tokens per session scan A 4c5537c0283f
nlm-skill is a skill published in the GitHub repository jacob-bd/gemini-notebook-mcp-cli (6,388 stars, last pushed yesterday), licensed MIT. It adds 176 tokens to every session and 14,256 once invoked, about $0.0007 per session on Opus 5.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-30.
Other skills, from other repositories
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
chronicle
Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…
chat-pet-sprite-creation
Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.
component-fixtures
Use when creating or updating component fixtures for screenshot testing or their shared infrastructure, or when designing UI components to be fixture-friendly. Covers fixture file structure, theming, service setup, CSS scoping, async rendering, validation, and common pitfalls.