| id | notebooklm-second-brain |
| name | notebooklm-second-brain |
| type | skill |
| version | 1.0.0 |
| created | 20/03/2026 |
| modified | 20/03/2026 |
| status | active |
| category | meta-orchestration |
| tags | ["retrieval","knowledge-management","notebooklm","second-brain"] |
| triggers | ["onboarding","debugging","architecture","security","post-build"] |
| description | Notebook First retrieval policy — query NotebookLM notebooks before web search or context dumping
|
| context | fork |
NotebookLM Second Brain
Policy: Query the relevant NotebookLM notebook before web search or dumping full docs into context.
Description
This skill enforces a "Notebook First" retrieval policy. Instead of loading entire markdown files or running web searches for architecture decisions, debugging patterns, or security knowledge, the agent queries purpose-built NotebookLM notebooks via the nlm CLI. This keeps the agent context window lean and retrieval fast.
When to Apply
| Scenario | Notebook | Why |
|---|
| "How does auth work?" | project_sot | Architecture decisions live here |
| "Why is this test failing?" | debug_kb | Error patterns and debugging playbooks |
| "Is this input sanitised?" | security_handbook | OWASP patterns and security reviews |
| "Explain the codebase" | repo_onboarding | Codebase atlas and mind maps |
| After successful build/verify | project_sot | Auto-sync implementation notes |
Core Directives
1. Notebook ID Location
All notebook IDs are stored in .claude/notebooklm/notebooks.json. Never hard-code or fabricate IDs.
cat .claude/notebooklm/notebooks.json
2. Notebook Routing
| Query Type | Target Notebook | Fallback |
|---|
| Architecture, feature specs, implementation history | project_sot | Read CLAUDE.md directly |
| Error patterns, test failures, debugging steps | debug_kb | Search codebase with grep |
| OWASP, auth patterns, security reviews | security_handbook | Web search security docs |
| "How does X work?", codebase overview, onboarding | repo_onboarding |