nlm-skill

nlm-skill is a skill for Claude Code, Codex from jacob-bd/gemini-notebook-mcp-cli. It costs 176 tokens per session (14,256 once invoked), scanned A, original, MIT.

A guide and interface for using Gemini Notebook, a service for organizing sources and generating content from them, through its command-line tool or MCP server. MCP is a standard way for an agent to call connected tools.

In plain words
What is it for?
Use it to create and manage notebooks, add sources such as URLs or YouTube videos, and generate content from notebook materials.
Why use it?
It explains how to detect the available connection method and choose the correct commands or tools for notebook work.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: reads .claude/ paths; mentions Claude Code; built for openclaw.

Good fit Use it to create and manage notebooks, add sources such as URLs or YouTube videos, and generate content from notebook materials.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jacob-bd/gemini-notebook-mcp-cli/data
About the project

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.

jacob-bd/gemini-notebook-mcp-cli · 6,388 stars · on GitHub

Install

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.

Any agent
npx skills add jacob-bd/gemini-notebook-mcp-cli --skill data
Clone the repo
git clone --depth 1 https://github.com/jacob-bd/gemini-notebook-mcp-cli

Made for: Claude Code, Codex.

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 nlm-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/jacob-bd/gemini-notebook-mcp-cli/data/github.svg)](https://agentmods.dev/skills/jacob-bd/gemini-notebook-mcp-cli/data)
Your own site
<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.

agentmods 80×15 button for nlm-skill

Your own site · 80×15
<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>
Per session 176 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 14,256 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
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.
How audits are shown
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.00176 $0.14256
Opus 5.5 $0.00070 $0.05702
Sonnet 5.5 $0.00035 $0.02851
Haiku 4.5 $0.00018 $0.01426

Measured yesterday against content hash 0a2c1979c327, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

Origin

Copies of this mod

3 near-identical copies found in the catalogue:

  • nlm-skill — 92% identical, 507 lines differ
  • nlm-skill — 92% identical, 507 lines differ
  • nlm-skill — 86% identical, 39 lines differ
src/notebooklm_tools/data/SKILL.md · 1,146 lines

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:

  1. Check for MCP tools: Tool names vary by host; look for mcp__gemini-notebook-mcp__*, mcp__notebooklm_mcp__*, or mcp_gemini_notebook_mcp_*.
  2. Follow an explicit surface choice: If the user asks for MCP or CLI, use it.
  3. 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 --profile without 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.
  4. Use the available surface when only MCP or only CLI is callable; read its tool docstring or nlm <command> --help before 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.

Read the full file on GitHub · 1,146 lines

Files

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.

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. yesterday Changed 0a2c1979c327
  2. 7d ago Changed · +7 lines 8f7735527a61
  3. 10d ago Changed · +19 lines 1db9013e8ca7
  4. 18d ago Changed · +2 lines dcfc54e165ca
  5. 19d ago Changed · +16 lines 2367d81ee3b9
  6. 20d ago Changed afd422ba3f59
  7. 22d ago Changed b648e298bf58
  8. 23d ago Changed · +9 lines 44c1f406051b
  9. 26d ago Changed · +42 lines 44f646ce9808
  10. 1mo ago First seen · 1,051 lines · 176 tokens per session scan A 4c5537c0283f

Subscribe to this mod's changes

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.

Related

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…

microsoft/ai-agents-for-beginners · 200 tokens

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

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…

vercel/next.js · 95 tokens

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…

microsoft/vscode · 72 tokens

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.

microsoft/vscode · 53 tokens

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.

microsoft/vscode · 53 tokens