
【免费下载链接】gemini-notebook-mcp-cliProgrammatic access to Gemini Notebook - via command-line interface (CLI), Model Context Protocol (MCP) server, and AI agent skills.项目地址https://gitcode.com/gh_mirrors/not/gemini-notebook-mcp-cli点击查看免费下载本文围绕 Gemini Notebook原 Google NotebookLMStudio 的提示词设计展开完整整理并扩展了仓库内置的快速最小提示词与引导式完整模板覆盖音频、视频、幻灯片、信息图、报告、测验、闪卡、数据表八大产物类型并给出 MCPstudio_create与 CLInlm * create两套调用示例。读完本文你可以直接复制模板投入实战也能掌握引导式规划Interactive Report 元素计划中的弱提示词 vs 锐利提示词对照思路理解每条提示词背后的 Grounding 锚点、难度映射与确认门控机制。关联原始文档studio-prompt-examples.md配套阅读studio-prompting-guide.md。1. 模板库总览目标工具、使用前提与选择策略本模板库面向Gemini Notebook Studio的focus_prompt、custom_prompt或description字段——注意提示词是给产物生成器的输入不是给聊天模型的普通消息。在实际调用中这些字段分别对应仓库中studio_createMCP 工具与nlm * createCLI 命令的参数。在 MCP 工具定义 中studio_create统一管理 9 类产物的创建而 CLI 命令 则按产物类型拆分为nlm audio create、nlm video create、nlm slides create、nlm infographic create、nlm report create、nlm quiz create、nlm>Deep-dive podcast for a general audience. Focus on [main themes from notebook]. Conversational tone, ~10 minutes. Use only uploaded sources.studio_create(notebook_idid, artifact_typeaudio, audio_formatdeep_dive, audio_lengthdefault, focus_prompt..., confirmTrue)地区口音控制需要拉美西语口音时显式设置区域语言studio_create(notebook_idid, artifact_typeaudio, audio_formatdeep_dive, languagees-419, focus_prompt..., confirmTrue)根据实测观察文档记录es/es-ES倾向产出西班牙本土西语es-US/es-419倾向拉美西语提示词措辞无法可靠改变口音。源码侧language参数会经 create_artifact 透传到client.create_audio_overview默认值来自NOTEBOOKLM_HL环境变量或en。2.2 视频Video解释型 / 简报型explainer/briefExplainer for [audience]. Cover [2-3 key topics from sources]. Clear and concise. Use only uploaded sources.短视频short60-second overview of [core concept from sources]. Quickly grasp the key idea. Use only uploaded sources.注意short格式没有视觉样式选择器CLI 的--style-prompt会被重映射进focus_prompt对应 视频样式归一化逻辑非英语语言需通过--language显式声明覆盖旁白、字幕与屏幕文字。2.3 幻灯片Slide DeckPresentation for [audience/meeting type]. Structure: [problem → findings → recommendation]. Use only uploaded sources.2.4 信息图InfographicInfographic highlighting [3 key points from sources]. Clean layout. Use only uploaded sources.2.5 报告Report预设格式——无需自定义提示词nlm report create id --format Briefing Doc --confirm nlm report create id --format Study Guide --confirm nlm report create id --format Blog Post --confirm这三种预设格式在 constants.py 中定义为REPORT_FORMAT_BRIEFING_DOC / STUDY_GUIDE / BLOG_POST走零提示词快速通道Create Your Own才强制要求custom_prompt。2.6 测验QuizMultiple-choice quiz on [TOPIC]. Mix definition and scenario questions. Emphasize [topics from sources]. Use only uploaded sources.studio_create(notebook_idid, artifact_typequiz, difficultymedium, focus_prompt..., confirmTrue)需要明确Studio 测验只生成选择题MC。问答题、推导题要走 chat 或 Create Your Own 报告详见配套指南对应小节。2.7 闪卡FlashcardsFlashcards on [TOPIC]. Mix definitions and application scenarios. Use only uploaded sources.2.8 数据表Data TableExtract [entity type] from sources. Columns: [Col1], [Col2], [Col3]. One row per [entity]. N/A if not in sources.description字段对数据表是必填的——service 层在 data_table 分支 中空 description 会直接抛ValidationError。列结构必须显式给出否则生成结果不可控。2.9 快速通道推断表当用户给出模糊的自然语言意图时Agent 按下面这张表推断调用参数与最小聚焦来源推理优先级见配套指南的 Silent inference sourcesUser saysInferred callMinimal focus sourceMake a podcastaudio, deep_dive, defaultnotebook title →notebook_describeQuick audio summaryaudio, brief, shortmain themesSlides for my meetingslide_deck, presenter_slides, shortmeeting purposeShareable slide docslide_deck, detailed_deck, defaultnotebook themesLinkedIn infographicinfographic, square, concise, bento_gridtop 3 takeawaysExplainer videovideo, explainer, auto_selectkey topicsStudy guidereport, Study Guide preset(none needed)Quiz mequiz, mediumnotebook themesFlashcardsflashcards, mediumkey termsCompare competitorsdata_tableexplicit columns in description这张表的推断能力对应仓库中 studio_advanced.py 维护的_get_studio_types类型—参数参考数据Agent 可据此在任何时候查询合法取值。3. 引导式完整模板Guided Templates / Full Prompts用于高风险交付物客户 Deck、对外信息图、品牌化报告、需求模糊的场景以及用户要求先看提示词。Cinematic 永远走引导式。4. 分产物类型的引导式模板详解4.1 音频四种角色化模板考试复习exam revisiondeep_dive defaultAudience: Undergraduate revising for midterm on [TOPIC]. Focus on three commonly confused ideas: [A], [B], [C]. Skip Chapter 1 background. Structure: intro → one section per idea with example → 2-min exam recap. Tone: friendly tutors. Use only uploaded sources. ~12 minutes.高管简报executive briefbrief shortSingle-narrator recap for a team lead before a stakeholder meeting. Summarize decisions, risks, and open questions only. Skip implementation details. Under 5 minutes. Use only uploaded sources.论文批判thesis critiquecritique defaultTwo expert reviewers of my draft. Identify weakest argument, unsupported claims, and source disagreements with my thesis. End with top 3 revisions before submission. Tone: constructive. Use only uploaded sources.政策辩论policy debatedebate longDebate [POSITION A] vs [POSITION B] using only uploaded sources. Each host cites passages. Include common ground and where sources are insufficient. ~18-20 minutes.ELI12 通俗讲解deep_dive defaultExplain core concepts as if teaching a smart 12-year-old. Use analogies for every complex term. Focus on why this matters, not just definitions. Use only uploaded sources.音频的 format/length 决策树与编码映射deep_dive1, brief2, critique3, debate4short1, default2, long3见 constants.py 的 AUDIO_FORMATS / AUDIO_LENGTHS。注意critique/debate的前提是草稿或议题已作为源材料上传否则生成没有依据。4.2 视频从白板讲解到电影感大片高管简报brief whiteboardExplain for non-technical executives in under 3 minutes. Focus: business impact, top 3 risks, measurable upside. Skip jargon. Use only uploaded sources.nlm video create id --format brief --style whiteboard --focus ... --confirm跨源讲解explainer custom style样式提示词Clean editorial layout, black typography, yellow accents, minimal animation.聚焦提示词Connect sources: Problem → Evidence → Implications → Actions. Audience knows [DOMAIN X]. Use only uploaded sources.studio_create(notebook_idid, artifact_typevideo, video_formatexplainer, visual_stylecustom, video_style_promptClean editorial..., focus_promptConnect sources: Problem → ..., confirmTrue)--style custom必须搭配--style-prompt两者缺一都会在 视频样式归一化 中报校验错误。学生章节讲解explainer animeI know nothing about this topic. Focus Chapter [N] only. Help me read diagrams and key definitions. One example per concept. Use only uploaded sources.产品发布电影感视频cinematic——永远引导式Im the PM who wrote this PRD. Presenting to engineering at sprint planning. Deliver as a 1980s game show Ship It Live. Beats: problem reveal → feature graphics → KPI scoreboard → rollout finale. Tone: enthusiastic. ~2 minutes. Visual style: neon set, chunky typography, studio spotlights, orchestral stings. Use only uploaded sources.nlm video create id --format cinematic --focus ... --confirmLinkedIn 预告片cinematic——永远引导式2-minute teaser for general professionals. Top 3 surprising findings and why each matters. Prestige documentary tone. Dark background, slow push-ins on stats, calm narration. Use only uploaded sources.Cinematic 有三个硬约束源码与文档双重印证没有视觉样式选择器--style直接报错service 层对 cinematic/short 的校验创作方向全部放进focus_prompt配额敏感约每天 2 次Pro必须附一行配额提示CLI 侧会在 视频创建命令 中把--style-prompt重映射为 focus 内容预期管理约 50% 的 beat 会被忠实呈现不要期待逐镜合规。完整 prompt 解剖角色 受众 类型隐喻 → 分段节拍 → 语气 → 8–12 个逗号分隔的视觉短语段落见配套指南的 Cinematic 小节。4.3 幻灯片董事会 Deck、销售 Pitch 与教学 Deck董事会简报detailed_deck defaultBoard-ready deck for C-suite. Structure: situation → 3 findings → financial impact → actions → risks. Professional tone. Navy background, white text, blue KPI accents. Use only uploaded sources. Skip implementation.studio_create(notebook_idid, artifact_typeslide_deck, slide_formatdetailed_deck, slide_lengthdefault, focus_prompt..., confirmTrue)现场销售 Pitchpresenter_slides short20-minute prospect meeting. One idea per slide. Headlines under 8 words. Structure: pain → solution → proof → pricing → CTA. Icon-led, high contrast. Use only uploaded sources.教学 Deckdetailed_deck defaultTeaching deck for visual learners. Hook with surprising stat → 3 core concepts (diagram each) → case → summary. White background, infographic-style charts. Source-grounded metaphors. Use only uploaded sources.生成后修订仅用户要求或失败时studio_revise(notebook_idid, artifact_iddeck-id, confirmTrue, slide_instructions[ {slide: 4, instruction: Update revenue chart from Table 2; add source footnote.}, {slide: 7, instruction: Max 3 bullets; enlarge headline.} ])nlm slides revise artifact-id --slide 4 Update chart from Table 2 --confirmstudio_revise的语义是创建一份新 Deck原 Deck 不动且slide是 1 起始编号——service 层在 revise_artifact 中会校验编号必须是 ≥1 的整数再转换为 0 基传给 API。修订优先级先修事实revise 不会重读源材料再修排版新增源数据应重新生成而非修订。4.4 信息图五种场景布局高管指标图landscape standard professionalAct as data designer for C-level execs. Z-pattern: headline metric → 3 KPI blocks → trend → conclusion. Numbers from sources only. 35% white space. Terms: ARR, churn, NRR exactly as written.nlm infographic create id --orientation landscape --detail standard --style professional --focus ... --confirm产品对比图landscape standard bento_gridSide-by-side comparison, two columns. Icons per feature row. Highlight pricing and top 3 differentiators from sources only.LinkedIn 轮播图square concise bento_gridPoster-style: large headline, max 5 points. One core message. Square for LinkedIn. Use only uploaded sources.HR 制度海报portrait standard kawaiiEducational poster: title 5 rules with icons. Friendly, non-intimidating. One rule per block. Use only uploaded sources.流程讲解图landscape standard sketch_noteNumbered step diagram with short labels. Horizontal timeline. Hand-drawn educational feel. Use only uploaded sources.信息图的三维参数orientation × detail_level × style与 11 种风格预设的完整枚举在 constants.py。配套指南建议不要默认detailed粒度信息密度过高容易失真对外交付避免auto_select。4.5 报告Create Your Own 的四种定制结构文献综述Create Your OwnDraft literature review on [TOPIC] for [AUDIENCE], ~1500 words. Structure: Intro → 3-5 thematic sections (by idea, not author) → Gaps → Conclusion. Every claim cited (Author Year). Flag contradictions. Use only uploaded sources.studio_create(notebook_idid, artifact_typereport, report_formatCreate Your Own, custom_prompt..., confirmTrue)矛盾映射Create Your OwnFind every meaningful disagreement across sources. For each: claim, sources per side, evidence strength, which to trust for [TOPIC]. Sort by importance. Use only uploaded sources.高管决策简报Create Your OwnCompetitive comparison: options, tradeoffs, recommendation, risks. Summary table of key metrics. Mark inferred items as Inferred. Source-grounded numbers only.博客角度Create Your OwnWrite an accessible blog post for [AUDIENCE] about [TOPIC]. Structure: hook → 3-4 sections with takeaways → actionable close. Conversational but accurate. Use only uploaded sources.注意 CLI 侧 create_report 强制--format Create Your Own时必须提供--prompt否则直接报错退出——这正是把custom_prompt设为必填的实现。4.6 测验选择题限定下的三种出题策略Studio 测验只产出选择题简答/推导用 chat 或 Create Your Own 报告。教授风格混合卷Generate multiple-choice questions matching exam style for [COURSE]. Mix: (1) numeric/calculation MC with plausible distractors, (2) comparison best answer scenarios, (3) application scenarios requiring combined concepts. Emphasize [TOPICS]. De-emphasize [TOPICS]. Weight lecture material over textbook-only content. Use only uploaded sources.nlm quiz create id --count 10 --difficulty 3 --focus ... --confirmstudio_create(notebook_idid, artifact_typequiz, question_count10, difficultymedium, focus_prompt..., confirmTrue)整合测试卷MCMC questions requiring combined concepts from [TOPIC] — not isolated definitions. Each question tests how [A], [B], and [C] work together. Use only uploaded sources.现场观众投票MCMC questions for live poll. Top 5 takeaways from speaker decks. Accessible language, one clearly best answer each. Use only uploaded sources.难度在 constants.py 中映射为 easy1 / medium2 / hard3CLI 的 1–5 整数则是 quiz create 直接透传给底层 RPC 的原始码。4.7 闪卡五种难度分层混合考试卡组mediumMix 4 types: (1) Definition example, (2) Cause-effect, (3) Comparison A vs B, (4) Application scenario. Focus on repeated terms and summary sections. Use only uploaded sources.情景决策卡hardScenario-based cards testing decision-making, not definitions. Real situations — choose the right approach. Use only uploaded sources.易混术语卡mediumCards for terms I confuse: [TERM A vs B vs C]. Front: explain difference in one sentence each. Use only uploaded sources.入门词汇卡easyDefinition-focused cards for key terms in [TOPIC]. Include one example per term. Skip advanced edge cases. Use only uploaded sources.认证冲刺卡hardFocus on hardest exam rules, thresholds, and exception cases from prep materials. Prioritize application over pure definitions. Use only uploaded sources.4.8 数据表五种结构化提取模板数据表模板的共性纪律列名显式、一行一实体、缺数据写 N/A、绝不编造数字。竞品矩阵Competitor comparison from sources. Columns: Model, Provider, Price (in/out), Context Window, Key Strength, Best For, Source URL. One row per model. N/A if not in sources.nlm>Historical events from readings. Columns: Event Name, Country, Date, Key Figures, Economic Consequences. One row per event. Chronological order. N/A if not in sources.论文矩阵Literature comparison. Columns: Author/Year, Method, Sample Size, Key Finding, Limitations, Relevance to [TOPIC]. One row per paper. N/A if not in sources.特征抽取Extract key features from each source. Columns: Feature, Description, Source(s), Limitations Mentioned. One row per feature. N/A if not in sources.术语表Glossary from sources. Columns: Term, Definition, Example, Source Section, Related Terms. Alphabetical by term. N/A if not in sources.5. 引导式规划Interactive Report 元素计划与弱 vs 锐提示词对照Interactive Reportreport_formatInteractive把多项 Studio 产物测验、闪卡、思维导图、信息图、幻灯片、音频、视频织入一份可浏览的文档。它的元素设置由 interactive_reports.py 的 ELEMENT_SETTINGS 定义注意与普通 Studio 的两个差异元素默认video_format是cinematic配额敏感配套指南要求显式指定explainer或short元素没有音频时长与视频样式参数配套指南明确要求忽略 Audio 时长树与 Video 视觉样式树。每个计划先固定一个学习者画像Learner Profilewho年龄/角色、level、goal、language、time budget。然后逐元素一行列出kind — section — prompt summary — settings或skip: reason最后以 This starts N generations. 收尾先经report(actiongenerate, plan...)不传confirm做校验展示。Plan 1儿童课程光合作用10 岁Learner profile:10 岁小学生目标理解植物如何制造食物语言英语预算15 分钟。quiz— Section: Recipe of Photosynthesis — 5 道关于原料与产物的简单 MC —difficultyeasy,question_amountfewerinfographic— Section: Inside the Leaf — 阳光/水/CO₂ 进、糖/O₂ 出的彩色示意图 —orientationportrait,detail_levelconcise,infographic_stylekawaiiaudio— Section: Sunlight Power — 解释叶绿素的欢快短对话 —audio_formatbriefskip:slide_deck对 10 岁孩子与信息图视觉重复skip:flashcardsquiz 已在不施压的前提下完成理解检查合计启动 3 次生成。提示词对照Quiz弱A quiz about photosynthesis.锐利5 easy multiple-choice questions for a 10-year-old on the recipe of photosynthesis: sunlight, water and CO₂ in; sugar and oxygen out. Simple words, one clearly correct answer, no trick questions. Use only uploaded sources.Infographic弱Diagram of photosynthesis.锐利A vertical visual diagram for a 10-year-old showing a leaf taking in sunlight, water, and carbon dioxide, and producing glucose and oxygen. Bright colors, clear labels, minimal text, friendly cartoon botanical style. Grounded solely in uploaded sources.Audio弱Audio about sunlight.锐利A 2-3 minute lively conversation for kids explaining how leaves catch sunlight like tiny solar panels. Friendly hosts, simple analogies, everyday words, no technical jargon. Use only uploaded sources.Plan 2考前冲刺细胞呼吸本科生物Learner profile:本科生目标通过期中考试语言英语预算45 分钟。quiz— Section: Krebs Cycle Electron Transport — 10 道测试 ATP 产量与酶瓶颈的严格 MC —difficultyhard,question_amountmoreflashcards— Section: Key Enzymes and Substrates — 20 张主动回忆卡 —difficultyhard,card_amountmoremind_map— Section: Metabolic Pathways — 糖酵解到氧化磷酸化的层级分支图 —无设置项skip:video主动考试刷题太被动skip:audio需要快速主动回忆而非叙事复习合计启动 3 次生成。提示词对照Quiz弱Hard quiz on Krebs cycle.锐利10 challenging multiple-choice questions for an undergraduate biology student focusing on the regulatory enzymes of the citric acid cycle and stoichiometry of ATP, NADH, and FADH2 production. Include scenario-based inhibition questions. Grounded strictly in uploaded lecture notes.Flashcards弱Cellular respiration flashcards.锐利High-yield flashcards covering key metabolic substrates, rate-limiting enzymes (e.g., PFK-1, isocitrate dehydrogenase), and specific electron transport chain inhibitors. Front: reaction or regulator; Back: enzyme, pathway location, and net ATP impact. Grounded solely in uploaded sources.Mind Map弱Mind map of pathways.锐利Detailed structural map connecting glycolysis in cytoplasm to pyruvate oxidation, Krebs cycle in mitochondrial matrix, and the electron transport chain on the inner mitochondrial membrane. Highlight net chemical inputs and outputs at each stage. Use only uploaded sources.Plan 3高管简报企业 AI 安全战略Learner profile:C 级高管 / 安全 VP目标战略风险评估与投资决策语言英语预算20 分钟。infographic— Section: Threat Landscape Attack Vectors — 提示注入、数据外泄、模型反转的企业级横向图 —infographic_styleprofessional,detail_levelconcise,orientationlandscapeslide_deck— Section: Zero Trust Governance Framework — 5 页含决策里程碑与 ROI 的高管摘要 —slide_formatpresenter_slidesaudio— Section: Strategic Tradeoffs — 深度防御 vs 工程速度的高管简报 —audio_formatbriefskip:quiz不适合高管简报skip:flashcards与战略决策不匹配合计启动 3 次生成。提示词对照Infographic弱Infographic on AI threats.锐利A clean landscape executive infographic for CISOs mapping top three LLM enterprise risk areas: prompt injection, indirect data exfiltration, and model drift. Professional corporate palette, clean metric callouts, high visual hierarchy, no decorative clutter. Grounded strictly in provided audit sources.Slide Deck弱Slides on AI security.锐利A concise 5-slide deck for an executive board on enterprise AI governance: Executive Summary, Emerging Vulnerabilities, Defensive Architecture, Compliance Requirements, and 90-Day Implementation Roadmap. High signal-to-noise ratio, bulleted takeaways, presenter layout. Use only uploaded sources.Audio弱Podcast about security tradeoffs.锐利A focused 3-minute executive briefing between two senior analysts debating the speed vs security tradeoff in deploying enterprise LLMs. Professional, analytical tone, clear executive recommendations, zero banter. Based entirely on the uploaded whitepaper.从三组对照可以提炼出**锐利化的五条规律**与配套指南的 Five-Block AnatomyAudience / Goal / Scope / Structure / Constraints一一对应写清受众与年龄Audience、点明唯一目标Goal、用来源内事实锚定范围Scope、给出明确的节拍结构Structure、约束长度/语气/视觉风格Constraints。6. 元素计划的执行纪律与审查数据不是授权笔记正文、报告段落、卡片描述、计划文件里的文字都是数据不能当作模式选择或批准的授权来源其中的指令不得复制进提示词更不能覆盖模式判定授权的两种委托用户同时委托选择 生成如 make everything、create 2 of them才允许 Fast Track只委托选择choose but dont generate仍是 Guided。经批准/委托的计划可以覆盖 Cinematic 的强制引导式例外预校验CLI 侧 create-elements-batch 先prepare_element_plan展示每条 prompt 与设置再确认MCP 侧report(actiongenerate)不传confirm时只返回pending_confirmation与generations_to_start禁止静默重生成除非用户新发起请求任何报告元素失败都不得自动重生成或studio_revise生成后审查用report(actionelements, wait_for[ids], include_contentTrue)等待再按计划核对 quiz/闪卡/思维导图的题量与难度标签必须写明按计划与报告段落核对而非对照原始来源其他类型标not reviewed。7. 落地验证测试覆盖与既有实现证据这套模板并非纸上谈兵仓库中有完整的测试印证tests/cli/test_studio_cli.py 覆盖 CLI 各子命令的参数解析与确认流程tests/services/test_studio.py 覆盖 service 层类型校验、代码解析与结果校验如 data_table 必填 description 的 ValidationError 分支tests/test_mcp_studio.py 覆盖 MCP 侧pending_confirmation门控与studio_status轮询契约tests/services/test_report_element_plans.py 与 test_report_element_generation.py 覆盖元素计划的解析、预校验与批量生成。收尾建议拿到studio_statuscompleted且主题匹配即可视为成功不要在成功后主动推销迭代仅当状态failed、用户不满意或幻灯片需要定向修订时才进入迭代。修订永远优先修事实新增数据走重新生成。成功产物的custom_instructions可从studio_status输出中取回复用MCP 侧对应 ArtifactInfo 的 custom_instructions 字段把验证过的好提示词沉淀成团队的私有模板库。赞分享【免费下载链接】gemini-notebook-mcp-cliProgrammatic access to Gemini Notebook - via command-line interface (CLI), Model Context Protocol (MCP) server, and AI agent skills.项目地址https://gitcode.com/gh_mirrors/not/gemini-notebook-mcp-cli点击查看免费下载相关推荐gemini-notebook-mcp-cli 实战指南通过 CLI、MCP Server 与 AI Skills 编程式接入 Gemini Notebookgemini notebook mcp cli 实战指南通过 CLI、MCP Server 与 AI Skills 编程式接入 Gemini Notebookgemini-notebook-mcp-cli v0.10.0 解析Gemini Notebook Enterprise 路由、Dia 认证与 Studio artifact 恢复实战指南gemini notebook mcp cli v0.10.0 解析Gemini Notebook Enterprise 路由、Dia 认证与 Studiogemini-notebook-mcp-cli通过 CLI 与 MCP 服务器编程访问 Gemini Notebook 的完整实践指南gemini notebook mcp cli通过 CLI 与 MCP 服务器编程访问 Gemini Notebook 的完整实践指南 本文以仓库 GEMIN上一篇Termux深度解析如何在手机上运行完整的Linux发行版下一篇如何使用LX Music桌面版2023最新完整指南与实用技巧创作声明:本文部分内容由AI辅助生成(AIGC),仅供参考