nlm-skill
하는 일
명령줄 도구나 연결된 도구를 통해 Gemini Notebook을 사용하는 안내서입니다. AI 어시스턴트에서 노트북과 자료를 관리하려는 사람을 위한 스킬입니다.
사용하는 경우
- ✓사용자가 Gemini Notebook을 만들고 웹 링크나 문서를 자료로 추가하려 할 때.
- ✓사용자가 노트북 자료로 보고서나 오디오 개요를 만들려 할 때.
- ✓사용자가 Gemini Notebook 요금제의 사용량이나 할당량을 확인하려 할 때.
스킬 링크
https://github.com/jacob-bd/gemini-notebook-mcp-cli/blob/main/src/notebooklm_tools/data/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“새 Gemini Notebook을 만들고, 이 웹 링크 세 개를 자료로 추가한 다음, 짧은 보고서를 만들어 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
스킬은 AI에게 명령줄 도구나 MCP 도구처럼 사용 가능한 연결을 먼저 확인하고, 그다음 맞는 명령으로 노트북과 자료를 관리하도록 안내합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 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.
Quick Reference
Run nlm --ai to get comprehensive AI-optimized documentation - this provides a complete view of all CLI capabilities.
nlm --help # List all commands
nlm <command> --help # Help for specific command
nlm --ai # Full AI-optimized documentation (RECOMMENDED)
nlm --version # Check installed version
nlm usage # Check rolling and weekly plan usage and reset times
nlm usage --json # Return usage data as machine-readable JSON
Critical Rules (Read First!)
- Authenticate when needed: Run
nlm loginfor first-time setup or confirmed stale/missing credentials. Saved cookies often remain usable for weeks. - Do not confuse network failures with expired auth:
auth_status="unverified"means the probe was inconclusive. Check connectivity or try an API call before asking the user to log in again. - Auto-Authentication Recovery: The CLI includes automatic 3-layer auth recovery (CSRF refresh -> Token reload -> Headless Auth) and 3x server error retries. Most errors are handled automatically. You only need to manually run
nlm loginif all recovery layers fail. Automatic browser recovery has a per-process cooldown and failure budget; concurrent requests share an active recovery. Explicitnlm auth refreshbypasses these limits. Use--http-onlywhen a browser must not open; it cannot renew browser-dependent PSIDTS cookies or revive a fully expired login. - ⚠️ ALWAYS ASK USER BEFORE DELETE: Before executing ANY delete command, ask the user for explicit confirmation. Deletions are irreversible. Show what will be deleted and warn about permanent data loss.
- Always obtain approval before generation or deletion: Direct
studio_createand delete operations enforce--confirm/confirm=True. The current MCP batch Studio path does not enforce its confirm parameter, so the agent must preserve the approval gate. - Research needs a destination: Pass
--notebook-id <id>for an existing notebook or--title <title>to create one. - Capture IDs from output: Create/start commands return IDs needed for subsequent operations
- Use aliases: Simplify long UUIDs with
nlm alias set <name> <uuid> - Check aliases before creating: Run
nlm alias listbefore creating a new alias to avoid conflicts with existing names. - **DO NOT launch
자주 묻는 질문
AI에 특별한 설정이 필요한가요?
네. 스킬은 명령줄 도구나 연결된 MCP 도구가 설치되어 있고 로그인되어 있어야 합니다.
어떤 종류의 자료를 추가할 수 있나요?
웹 링크, YouTube 동영상, 텍스트, Google Drive 파일을 언급합니다.
어떤 인터페이스를 사용해야 하나요?
사용자가 특정 인터페이스를 지정하면 그것을 사용하고, 그렇지 않으면 작업에 따라 선택합니다.
상세 정보
작성자의 원본 설명
Expert guide for the Gemini Notebook (formerly Google NotebookLM) CLI (`nlm`) and MCP server - interfaces for Gemini Notebook. Use this skill when users want to interact with Gemini Notebook programmatically, including: creating/managing notebooks, checking plan usage and quota windows, adding sources (URLs, YouTube, text, Google Drive), generating content (podcasts, reports, interactive reports, quizzes, flashcards, mind maps, slides, infographics, videos, data tables), conducting research, chatting with sources, or automating Gemini Notebook workflows. Triggers on mentions of "nlm", "noteboo
인기도
- GitHub 스타
- 6.4k
- 순위
- #14192
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …