Skip to content
Development
Skill

/cm-notebooklm

Sync high-value dev knowledge (skills, decisions, lessons) into Google NotebookLM for cloud recall, podcasts, and flashcards. Pairs with Dockit/deep-search. Use for NotebookLM, nlm, knowledge base, skill sync, or cross-machine AI memory.

From plugin
cm
5662 skills8 agents11 commands3 hooks
+1

Claude Code

$ npx -y skills add tody-agent/codymaster --skill cm-notebooklm --agent claude-code

SKILL.md

cm-notebooklm.SKILL.md
name: cm-notebooklm
description: "Sync high-value dev knowledge (skills, decisions, lessons) into Google NotebookLM for cloud recall, podcasts, and flashcards. Pairs with Dockit/deep-search. Use for NotebookLM, nlm, knowledge base, skill sync, or cross-machine AI memory."

Goal

Cloud brain / soul cho AI — lưu trữ kiến thức **giá trị nhất**, đồng bộ qua nhiều máy tính. `brain.md` = compiled source of truth, upload 1 lần thay vì 50.

How It Works

Skills + Lessons + Experiences
        ↓ compile
  ~/.codymaster/brain.md  (local file = backup)
        ↓ upload (1 API call)
  NotebookLM (cloud = cross-machine sync)

All automation via `scripts/brain-sync.sh` — AI chỉ cần gọi script.

Instructions

The Dual-Brain Architecture

CodyMaster uses a **Dual-Brain** approach to scale memory across multiple projects without context collapse:

1. **Master Brain (`codymaster`)**: Global brain storing Meta-Learnings, proven Architecture Decisions, and universal patterns. Evolved via the "Rule of 3" (knowledge graduation). 2. **Project Brain (Isolated)**: Optional local brain created per project to hold internal PRDs, APIs, and local code context from `./docs`.

| Level | Goal | Query Command | |-------|------|---------------| | **Master** | Tìm pattern chung | `nlm notebook query codymaster "..."` | | **Project** | Tìm context domain | `nlm notebook query $(cat .cm/notebook_id) "..."` |

> 🤖 **AI Rule:** Tự đưa quyết định khi hỏi: Hỏi `codymaster` cho các giải pháp mang tính hệ thống chung. Hỏi qua `.cm/notebook_id` cho các business logic đặc thù dự án đang làm.

Master Brain Setup (Global)

# 1. Install CLI
uv tool install notebooklm-mcp-cli

# 2. Setup Master Brain
bash ~/.gemini/antigravity/skills/cm-notebooklm/scripts/brain-sync.sh init

Project Brain Setup (Local - Optional)

Nếu dự án đủ lớn và nhiều doc:

# Tạo Project Brain riêng cho thư mục hiện tại
bash ~/.gemini/antigravity/skills/cm-notebooklm/scripts/brain-sync.sh init-project

Daily Usage

SCRIPT=~/.gemini/antigravity/skills/cm-notebooklm/scripts/brain-sync.sh

# Add a lesson learned
bash $SCRIPT lesson "Tên bài học"
# → Edit ~/.codymaster/lessons.md → fill in details

# Add coding experience
bash $SCRIPT experience "Tên pattern"
# → Edit ~/.codymaster/experiences.md → fill in details

# Sync to Master Brain (Thêm rule of 3)
bash $SCRIPT sync

# Sync to Project Brain (Up tài liệu local docs/)
bash $SCRIPT sync-project

# Check status
bash $SCRIPT status

# Query
nlm notebook query codymaster "your question"

Auto-Sync Triggers

AI detect và **hỏi user** (không tự động):

| Trigger | Prompt | |---------|--------| | Skill mới tạo | "Sync skill mới vào brain?" → `bash $SCRIPT sync` | | Bug fixed / post-mortem | "Lưu bài học?" → `bash $SCRIPT lesson "..."` | | Architecture changed | "Update brain?" → `bash $SCRIPT sync` | | User nói "sync/update" | → `bash $SCRIPT sync` |

Cross-Machine (Máy Mới)

uv tool install notebooklm-mcp-cli
nlm login
nlm notebook list          # CodyMaster Brain already there
nlm alias set codymaster <id>
# Done! Query ngay: nlm notebook query codymaster "..."

Content Generation

nlm audio create codymaster --format deep_dive --confirm   # Podcast
nlm report create codymaster --format "Study Guide" --confirm
nlm flashcards create codymaster --difficulty medium --confirm
nlm studio status codymaster

What Gets Indexed

✅ HIGH-VALUE (auto-compiled into brain.md):
├── Skill Index (names + descriptions — NOT full SKILL.md)
├── Lessons Learned (~/.codymaster/lessons.md)
├── Coding Experiences (~/.codymaster/experiences.md)
└── AGENTS.md (project identity)

❌ NOT INDEXED (use qmd/cm-deep-search instead):
├── Full SKILL.md files (too many, hard to maintain)
├── Source code, tests, configs
└── Duplicated content

Memory Architecture

Session  → variables        → temporary
Working  → CONTINUITY.md    → ~500 words/turn
Local    → qmd              → BM25+vector, offline, stable
Cloud    → NotebookLM       → AI brain, cross-machine, podcast

Integration

| Skill | Role | |-------|------| | `cm-deep-search` | Local search complement (code) | | `cm-dockit` | Generate docs → select high-value → feed to brain | | `cm-continuity` | Session memory, brain = long-term | | `skill-creator-ultra` | TRIGGER: new skill → prompt sync | | `cm-debugging` | TRIGGER: bug fixed → prompt lesson |

Constraints

  • 🔌 `nlm` CLI = **third-party** (jacob-bd). May break. Fallback: cm-deep-search.
  • 🧠 **Selective only** — quality > quantity. Don't dump everything.
  • 🔐 NO secrets in NotebookLM — cloud service.
  • ❌ NO delete without user confirmation.
  • 🤖 NO `nlm chat start` — use `nlm notebook query` only.
  • 🔄 Auto-sync = **ask first**, never silent upload.

<!-- Generated by Skill Creator Ultra v1.0 -->

Read more
@tody-agent
Ships withcm

"I can't write code. But in 6 months, I shipped 12 real products using AI. CodyMaster is everything I learned — so you don't have to repeat my mistakes." — Tody Le, Head of Product, Creator of CodyMaster 50+ skills. One install.

5662 skills8 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
56
Star history of tody-agent/codymaster on GitHub, a chart by star-history.com

Other skills on cm.

cm-autopilot

cm-autopilot

Easy-to-use conversational CLI (Claude Code style) for non-technical users to spawn parallel AI tasks supervised by a visual web…

@tody-agent@tody-agentInstall Skill
cm-brainstorm-idea

cm-brainstorm-idea

Strategic analysis gate for existing products — multi-dimensional evaluation (tech, product, design, business) using Design…

@tody-agent@tody-agentInstall Skill
cm-browse

cm-browse

Fallback local Playwright daemon for real-browser visual QA / screenshots / smoke. Use ONLY when the host platform has no native…

@tody-agent@tody-agentInstall Skill
cm-clean-code

cm-clean-code

Code hygiene gate — detect and eliminate dead code, duplicates, naming mess, and code smells. TRIZ-powered. Run after features,…

@tody-agent@tody-agentInstall Skill
cm-code-review

cm-code-review

Full review lifecycle — request reviews, handle feedback with technical rigor, and complete branch integration. Use when…

@tody-agent@tody-agentInstall Skill
cm-codeintell

cm-codeintell

Unified code intelligence — routes to Skeleton Index, CodeGraph, Architecture Diagram, or Smart Context Builder based on task…

@tody-agent@tody-agentInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills10d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc12d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react1d252k
@facebook@facebookInstall Skill

Questions about cm-notebooklm.

Which coding agents can use cm-notebooklm?
cm-notebooklm installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.