nlm-skill
Installation
SKILL.md
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