notebooklm-mcp-cli: Instructions file for Codex

AGENTS.md

notebooklm-mcp-cli AGENTS.md is an instructions file for Codex, OpenCode from Robiton/notebooklm-mcp-cli. It costs 4,189 tokens per session, scanned A, original, from a forked repository, MIT.

Project instructions for notebooklm-mcp-cli, a command-line tool connected to NotebookLM, Google's research and note-taking service.

In plain words
What is it for?
Use them when working on that project to load its required context and update its session and backlog files.
Why use it?
They tell the agent which project files to read first and what records to update before ending a session.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions AGENTS.md.

This is Robiton/notebooklm-mcp-cli's own configuration. It tells Codex and OpenCode how to work on notebooklm-mcp-cli itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything notebooklm-mcp-cli configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Robiton/notebooklm-mcp-cli. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Robiton/notebooklm-mcp-cli/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/Robiton/notebooklm-mcp-cli

Made for: Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for notebooklm-mcp-cli AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/robiton/notebooklm-mcp-cli/agents-md/github.svg)](https://agentmods.dev/instructions/robiton/notebooklm-mcp-cli/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/robiton/notebooklm-mcp-cli/agents-md"><img src="https://agentmods.dev/badge/instructions/robiton/notebooklm-mcp-cli/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for notebooklm-mcp-cli AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/robiton/notebooklm-mcp-cli/agents-md"><img src="https://agentmods.dev/badge/instructions/robiton/notebooklm-mcp-cli/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4,189 This file is loaded in full into every session.
When invoked 4,189 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin fork From a forked repository.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.04189 $0.04189
Opus 5.5 $0.01676 $0.01676
Sonnet 5.5 $0.00838 $0.00838
Haiku 4.5 $0.00419 $0.00419

Measured 12d ago against content hash 58595e3a51f8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

notebooklm-mcp-cli AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

AGENTS.md · 297 lines

How it starts

The opening of the file, as written. The whole thing — 297 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AI Context Bootstrap

Mission

Read ai/STANDARDS.md and load all files in the order it specifies before beginning any work. Do not start coding, planning, or responding until the full load order is complete.

This project uses version format: MAJOR.MINOR.PATCH.YYYYMMDD.HHMM Example: 1.0.0.20260325.0624

Never store credentials, secrets, or sensitive data in any ai/ file.

Project Commands

Action Command
Build / package uv build (local install: uv tool install --force .)
Test uv run pytest -m "not e2e"
Lint / validate uv run --extra dev ruff check . && uv run --extra dev ruff format --check . (pinned ruff — not uvx ruff)
Run locally uv run nlm --help (CLI) · uv run notebooklm-mcp (MCP server)

In a multi-component repo, each component directory may carry its own small AGENTS.md with that component's commands and facts — nearest file wins, additively. See ai/STANDARDS.md → Nested AGENTS.md.

Self-hosted runners: unsetting the variable silently routes the job away

If your workflows resolve runs-on: through a variable — ${{ vars.SCAFFOLD_RUNNER || 'ubuntu-latest' }} is the shipped shape — then unsetting that variable does not fail, it reroutes. The job lands on a runner that may not exist, may not be paid for, or may not have your toolchain, and the symptom is a CI that looks dead rather than red. tools/ci_status.sh checks the variable is set and that every runs-on: reads it.

tools/preflight.sh is not the whole gate — CI stops at its first red step, so a push teaches you about exactly one failure. Run preflight before every push anyway.

Version stamps: the two halves must agree

MAJOR.MINOR.PATCH.YYYYMMDD.HHMM only works if sorting by version and sorting by timestamp give the same order. Fabricate a stamp once — round it forward to a nicer time, or stamp a release before you cut it — and the next release stamped truthfully sorts earlier than its predecessor. Every benchmark row and every envelope carries a version, so the corpus sorts wrong from then on.

Read the full file on GitHub · 297 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago Changed · +268 lines · +3,911 tokens per session 58595e3a51f8
  2. 1mo ago First seen · 29 lines · 278 tokens per session scan A 1dae8734b836

Subscribe to this mod's changes

notebooklm-mcp-cli AGENTS.md is an instructions file published in the GitHub repository Robiton/notebooklm-mcp-cli (0 stars, last pushed 5d ago), licensed MIT. It adds 4,189 tokens to every session, about $0.0168 per session on Opus 5.5. A static security scan graded it A with 0 findings. It comes from a forked repository.

Related

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,715 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,581 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,731 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 4,261 tokens