nlm-skill
यह क्या करती है
यह Gemini Notebook को कमांड लाइन टूल या उसके जुड़े टूल से इस्तेमाल करने की गाइड है। यह उन लोगों के लिए है जो अपने AI सहायक से नोटबुक और स्रोत प्रबंधित करना चाहते हैं।
कब इस्तेमाल करें
- ✓जब उपयोगकर्ता Gemini Notebook बनाना और उसमें वेब लिंक या दस्तावेज़ स्रोत के रूप में जोड़ना चाहे।
- ✓जब उपयोगकर्ता नोटबुक स्रोतों से रिपोर्ट या ऑडियो सारांश बनवाना चाहे।
- ✓जब उपयोगकर्ता अपने Gemini Notebook प्लान का उपयोग या कोटा जाँचना चाहे।
Skill का लिंक
https://github.com/jacob-bd/gemini-notebook-mcp-cli/blob/main/src/notebooklm_tools/data/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“एक नया Gemini Notebook बनाइए, इसमें ये तीन वेब लिंक स्रोत के रूप में जोड़िए, और एक छोटी रिपोर्ट बनाइए।”
हर हफ़्ते 5 नई skills, 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
- अपडेट की गई
- 2/11/2026
कमेंट
- …
मिलती-जुलती skills
knowledge-automation
394kयह आपके एजेंट को एक नियमित काम सेट करने देती है जो समय-सारणी पर Knowledge vault में नई सामग्री जोड़ता है, फिर जांचता है कि काम चल रहा है।
knowledge-source-ingest
394kयह आपके एजेंट को चैट चैनल, फ़ीड या मेलबॉक्स से आई नई चीज़ों से Knowledge vault अपडेट रखने देती है, बिना वह दोबारा जोड़े जो पहले से है।
benchmark
280kयह आपके एजेंट को code की speed और performance नापने में मदद करता है। यह पक्का करने और धीमेपन की समस्याएँ ढूँढने में काम आता है।