Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add commands/creatmanceo/notebooklm-claude-workflows/edit-sourcegit clone --depth 1 https://github.com/CreatmanCEO/notebooklm-claude-workflowsWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.00618 |
| Opus 5 | $0.00000 | $0.00309 |
| Sonnet 5 | $0.00000 | $0.00124 |
| Haiku 4.5 | $0.00000 | $0.00062 |
Grade A, and why
edit-source 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 3d 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.
How it starts
The opening of the file, as written. The whole thing — 50 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/edit-source — Редактирование источника в NotebookLM
NotebookLM API не поддерживает прямое редактирование источников. Эта команда обходит ограничение: извлекает контент, позволяет отредактировать, удаляет старый и создаёт новый.
Параметр
$ARGUMENTS — название ноутбука или notebook_id
Действия
Шаг 1: Выбор источника
- Получи список источников через
notebook_getдля указанного ноутбука - Покажи пользователю пронумерованный список источников с типом и названием
- Спроси какой источник нужно отредактировать
Шаг 2: Извлечение контента
- Получи содержимое через
source_get_contentпо source_id - Покажи пользователю текущий контент (или первые 500 символов если большой)
- Сохрани: source_id, title, полный текст
Шаг 3: Редактирование
- Спроси пользователя что нужно изменить. Варианты:
- Заменить текст: "замени X на Y"
- Добавить текст: "добавь в конец/начало: ..."
- Удалить часть: "удали абзац про X"
- Полная замена: пользователь вставляет новый текст целиком
- Примени изменения к полному тексту
Шаг 4: Замена источника
- Покажи превью изменённого контента (первые 500 символов + diff если возможно)
- Спроси подтверждение: "Заменить источник? Старый будет удалён."
- Если да:
- Удали старый:
source_deleteсsource_idиconfirm=true - Создай новый:
source_addсsource_type=text,title(оригинальное название),text(изменённый контент),wait=true
- Удали старый:
- Покажи результат: "Источник обновлён. Новый source_id: ..."
Ограничения
- Работает только с текстовыми источниками (
source_type=text) - Для URL/YouTube/файловых источников: контент можно извлечь через
source_get_content, но при замене тип станетtext(теряется привязка к URL) - Для Google Drive источников лучше: отредактировать документ в Drive →
source_sync_drive
Для Drive-источников (альтернативный путь)
Если источник из Google Drive:
- Сообщи пользователю: "Этот источник из Google Drive. Отредактируй документ в Drive, затем я синхронизирую."
- Дождись подтверждения
- Выполни
source_sync_driveсsource_idsиconfirm=true
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.
- 3d ago First seen · 50 lines · 0 tokens per session scan A 6971d6bb311d
edit-source is a command published in the GitHub repository CreatmanCEO/notebooklm-claude-workflows (5 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 618 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
build
Run full verification pipeline.
fest-show
Show festival progression (in-progress tasks, roadmap, and dependency view).
camera-ready
Convert an accepted anonymous-submission LaTeX paper (AAAI/AIES/ACM-style) to camera-ready and implement the accepted reviews. Use when a paper is accepted with no rebuttal and you need to de-anonymize, add copyright, turn on section numbering, implement each reviewer's minor revisions, optionally move proofs to a…
superpowers-execute
Execute the current GSD phase plan with Superpowers instead of gsd-execute-phase.
generate-rules
Generate development rules and standards into RULES.md.
config
Command "config" from sdebruyn/fabric-dw-mcp-cli, covering configuration & defaults, http retry budget, sql retry budget, mcp workspace allowlist {#mcp-workspace-allowlist} and mcp server log level.