notebooklm
यह क्या करती है
यह स्किल AI को Gemini Notebook के लिए notebooklm-py टूल इंस्टॉल करने और इस्तेमाल करने में मार्गदर्शन देती है। इसमें notebooks, स्रोत, आधारित chat, रिसर्च और डाउनलोड शामिल हैं। यह उन लोगों के लिए है जो अपने notebooks को स्वचालित करना चाहते हैं।
कब इस्तेमाल करें
- ✓जब आप Gemini Notebook में स्रोत जोड़ना और उनके बारे में कमांड लाइन से सवाल पूछना चाहते हों।
- ✓जब आप रिपोर्ट या सारांश के लिए notebook से artifact बनाना या डाउनलोड करना चाहते हों।
- ✓जब आपको notebooklm टूल इंस्टॉल करने या उसमें साइन इन करने में मदद चाहिए।
Skill का लिंक
https://github.com/teng-lin/notebooklm-py/blob/main/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे Gemini Notebook में ये तीन PDF जोड़िए और उससे मुख्य जोखिमों का सारांश माँगिए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
AI notebooklm-py पैकेज इंस्टॉल करता है, आपके खाते में साइन इन करता है, और स्पष्ट notebook IDs वाले कमांड चलाता है। ऐप कोड के लिए वह Python API इस्तेमाल करता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Gemini Notebook Automation
Use the notebooklm CLI for agent workflows. Prefer --json and explicit IDs so every
operation is inspectable and safe under concurrency. Use the typed async Python API only when the
user requests application code or the CLI cannot express the workflow. The readiness, identity,
authorization, and credential-handling rules below apply to both interfaces.
Setup and Authentication
Requires Python 3.10+. Install the package in the user's existing environment; do not create a separate environment unless requested:
pip install "notebooklm-py[browser]"
pip install "notebooklm-py[cookies]" # optional browser-cookie extraction
If system pip reports externally-managed-environment, do not use --break-system-packages.
For CLI-only use, offer uv tool install "notebooklm-py[browser]" or the equivalent pipx
command; for application code, use the user's active project environment.
For unattended or headless work, prefer durable profile-backed master-token auth over a copied
cookie snapshot. Install pip install "notebooklm-py[headless]"; the one-time automatic OAuth
capture also needs [browser]. On a trusted workstation run
notebooklm login --master-token --account <email>, then deploy master_token.json, not
storage_state.json, to the selected profile. NOTEBOOKLM_HOME selects the private base directory
and NOTEBOOKLM_PROFILE selects its profile; defaults resolve to
~/.notebooklm/profiles/default/master_token.json.
In CI, NOTEBOOKLM_MASTER_TOKEN_JSON is a secret-transport convention, not an environment variable
the package reads directly. Write its exact value to the selected profile's master_token.json
with mode 0600, unset it, then run notebooklm auth refresh to mint storage_state.json. A
sibling master token can automatically re-mint expired file-backed cookies. Inline
NOTEBOOKLM_AUTH_JSON is only a short-lived fallback; it bypasses this recovery path.
Use PyPI or a release tag, not an unreleased main checkout. When available, consult the
installation guide.
Before a workflow, verify real authentication rather than merely parsing the cookie file:
notebooklm auth check --test --json
Require .status == "ok" and .checks.token_fetch == true. If validation fails:
- With a display, run
notebooklm loginand validate again. - In a headless environment, install
[cookies]and usenotebooklm login --browser-cookies <browser>. Usenotebooklm auth inspect --browser <browser>first when account selection is unclear. - If previously valid cookies became stale, try
notebooklm auth refresh; usenotebooklm auth refresh --browser-cookies <browser>after signing back into the browser.
The normal --test preflight may heal and persist refreshed cookies. Add --passive when the
check must be strictly read-only, including the failure-diagnosis workflow below.
notebooklm status reports selected-notebook context, not authentication.
Treat both auth files as bearer credentials: never print, log, or commit them. A master token is a
durable full-account credential that survives password changes; use a dedicated account, protect
it in a secret store and as 0600 on disk, and explicitly revoke it if exposed.
Operating Invariants
- Use
--jsonfor discovery and mutations, then retain the returned full UUIDs. Important envelopes are.notebook.idfromcreate,.source.idfromsource add, and.task_idfrom asynchronous generators.generate mind-mapinstead returnsmind_map,note_id, andkind; both kinds return a finished result with no task ID or separateartifact waitstep. - Pass
-n/--notebook <id>on every notebook-scoped command in automation or concurrent work. Do not rely onnotebooklm use. For every concurrent run, also set a uniqueNOTEBOOKLM_PROFILE=agent-<id>so context and profile writes are isolated. A new profile has no credentials: put amaster_token.jsoncopy in that profile and mint its storage before use. Never share one writablestorage_state.jsonacross agents. - After adding sources, retain every
.source.id, then runsource waitfor each before chat or generation. The add envelope has no status. Require wait exit 0 andstatus == "ready"; let the waiter handle media-specific transienterrorrows. - After an asynchronous generator returns a task/artifact ID, pa
अक्सर पूछे जाने वाले सवाल
क्या यह Gemini API जैसा ही है?
नहीं। स्किल Gemini Notebook के लिए है और सामान्य Gemini API को कवर नहीं करती।
मुझे क्या इंस्टॉल करना होगा?
Python 3.10 या नया, और notebooklm-py पैकेज, साइन-इन के लिए browser एक्सट्रा के साथ।
यह मेरे लॉगिन को कैसे संभालता है?
बिना निगरानी के काम के लिए स्किल कॉपी की गई cookies की बजाय प्रोफ़ाइल-आधारित token को पसंद करती है।
जानकारी
लेखक का मूल विवरण
Install, authenticate, troubleshoot, and operate Gemini Notebook through the notebooklm-py CLI or typed async Python API. Use for notebook and source management, grounded chat and research, and artifact generation or download when the user mentions Gemini Notebook, notebooklm-py, the notebooklm CLI, or its Python API. Do not use for the generic Gemini API or unrelated content creation.
repo: teng-lin/notebooklm-py
लोकप्रियता
- GitHub स्टार
- 20k
- रैंकिंग में स्थान
- #10389
- लाइसेंस
- MIT
- अपडेट की गई
- 1/11/2026
कमेंट
- …
मिलती-जुलती skills
graincrawl
394kयह आपके एजेंट को सेव की गई Granola मीटिंग नोट्स और ट्रांसक्रिप्ट में खोजने, उनकी ताज़गी जांचने और किसी अवधि के हिसाब से गिनती करने देती है।
notcrawl
394kयह आपके एजेंट को Notion वर्कस्पेस की सेव की गई कॉपी में खोजने, पेज और डेटाबेस देखने और पेजों को Markdown फ़ाइलों में निर्यात करने देती है।
knowledge-entities
394kयह आपके एजेंट को लोगों, कंपनियों और प्रोजेक्ट्स की पहचान करने और आपके Knowledge vault में स्रोत-आधारित प्रोफ़ाइल पेज लिखने देती है।