Chuyển đến nội dung
Skillpedia
Tự động hóa6.4k · #14192

nlm-skill

Skill này làm gì

Đây là hướng dẫn dùng Gemini Notebook qua công cụ dòng lệnh hoặc các công cụ đã kết nối. Dành cho người muốn quản lý sổ tay và nguồn từ trợ lý AI của mình.

Khi nào nên dùng

  • ✓Khi người dùng muốn tạo một Gemini Notebook và thêm liên kết web hoặc tài liệu làm nguồn.
  • ✓Khi người dùng muốn tạo báo cáo hoặc tổng quan âm thanh từ các nguồn của sổ tay.
  • ✓Khi người dùng muốn kiểm tra mức dùng hoặc hạn mức gói Gemini Notebook của mình.

Liên kết skill

https://github.com/jacob-bd/gemini-notebook-mcp-cli/blob/main/src/notebooklm_tools/data/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/jacob-bd/gemini-notebook-mcp-cli/blob/main/src/notebooklm_tools/data/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tạo một Gemini Notebook mới, thêm ba liên kết web này làm nguồn và viết một báo cáo ngắn.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill yêu cầu AI kiểm tra kết nối nào đang có sẵn, như công cụ dòng lệnh hoặc các công cụ MCP, rồi dùng các lệnh tương ứng để quản lý sổ tay và nguồn.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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.

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!)

  1. Authenticate when needed: Run nlm login for first-time setup or confirmed stale/missing credentials. Saved cookies often remain usable for weeks.
  2. 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.
  3. 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 login if all recovery layers fail. Automatic browser recovery has a per-process cooldown and failure budget; concurrent requests share an active recovery. Explicit nlm auth refresh bypasses these limits. Use --http-only when a browser must not open; it cannot renew browser-dependent PSIDTS cookies or revive a fully expired login.
  4. ⚠️ 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.
  5. Always obtain approval before generation or deletion: Direct studio_create and 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.
  6. Research needs a destination: Pass --notebook-id <id> for an existing notebook or --title <title> to create one.
  7. Capture IDs from output: Create/start commands return IDs needed for subsequent operations
  8. Use aliases: Simplify long UUIDs with nlm alias set <name> <uuid>
  9. Check aliases before creating: Run nlm alias list before creating a new alias to avoid conflicts with existing names.
  10. **DO NOT launch
Câu hỏi thường gặp

AI có cần thiết lập đặc biệt không?

Có. Skill phụ thuộc vào việc công cụ dòng lệnh hoặc các công cụ MCP đã kết nối được cài đặt và đăng nhập.

Có thể thêm những loại nguồn nào?

Skill nhắc đến liên kết web, video YouTube, văn bản và file Google Drive.

Nên dùng giao diện nào?

Nếu người dùng nêu tên một giao diện, nó sẽ dùng giao diện đó. Nếu không, nó tự chọn theo tác vụ.

Chi tiết

Mô tả gốc của tác giả

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

repo: jacob-bd/gemini-notebook-mcp-cli

Độ phổ biến

Sao GitHub
6.4k
Vị trí xếp hạng
#14192
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Skill tương tự