notebook-pack

notebook-pack is a skill for Claude Code from sanic732/P2P-4PDA-edition. It costs 151 tokens per session (916 once invoked), scanned A, original, MIT.

A tool that turns a collection of raw documents into an organized source bundle for NotebookLM, Claude Projects, or Cowork. These are tools that let an AI answer questions from uploaded reference material.

In plain words
What is it for?
It prepares multi-file knowledge bases for retrieval-augmented generation (RAG), including a master prompt, file index, glossary, and structured source files.
Why use it?
It removes the manual work of cleaning documents, organizing them, building an index and glossary, and writing instructions for source-based answers.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Part of the p2p-v8c3 plugin — 9 skills, 13 commands, 8 agents, 2 hooks shipped together

Good fit It prepares multi-file knowledge bases for retrieval-augmented generation (RAG), including a master prompt, file index, glossary, and structured source files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sanic732/p2p-4pda-edition/notebook-pack
Install

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.

Any agent
npx skills add sanic732/P2P-4PDA-edition --skill notebook-pack
Clone the repo
git clone --depth 1 https://github.com/sanic732/P2P-4PDA-edition

Made for: Claude Code.

Or install p2p-v8c3, the plugin that ships this one along with the rest of its 9 skills, 13 commands, 8 agents, 2 hooks.

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 notebook-pack

README.md
[![agentmods](https://agentmods.dev/badge/skills/sanic732/p2p-4pda-edition/notebook-pack/github.svg)](https://agentmods.dev/skills/sanic732/p2p-4pda-edition/notebook-pack)
Your own site
<a href="https://agentmods.dev/skills/sanic732/p2p-4pda-edition/notebook-pack"><img src="https://agentmods.dev/badge/skills/sanic732/p2p-4pda-edition/notebook-pack/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 notebook-pack

Your own site · 80×15
<a href="https://agentmods.dev/skills/sanic732/p2p-4pda-edition/notebook-pack"><img src="https://agentmods.dev/badge/skills/sanic732/p2p-4pda-edition/notebook-pack.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 151 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 916 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium analysis-evasion · line 1
    Suspicious Unicode normalization or mixed-script content
    Fix: Review the flagged content for security risks. Ensure no credentials, secrets, or sensitive data are exposed.
How audits are shown
Origin original No closer match found in the catalogue.
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.00151 $0.00916
Opus 5 $0.00076 $0.00458
Sonnet 5 $0.00030 $0.00183
Haiku 4.5 $0.00015 $0.00092

Measured 10d ago against content hash 084e64a779e2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

notebook-pack 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 10d 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.

editions/8.4.6-C/plugin/.claude/skills/notebook-pack/SKILL.md · 60 lines

How it starts

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

notebook-pack — готовый комплект источников под RAG

End-to-end сборка: из набора сырых материалов делает структурированную базу, которую остаётся загрузить в NotebookLM / Project / Cowork и сразу спрашивать. Объединяет rag-prep (чистка/структура), rag-grounding (мастер-промпт) и rag-router (выбор стратегии).

Когда применять / НЕ применять

Применять: есть материалы → нужен цельный комплект под загрузку. НЕ применять: надо обработать один файл (→ rag-prep) или только собрать запрос (→ rag-grounding).

Что собирает (структура комплекта)

notebook/
├── _MASTER_PROMPT.md   grounding-каркас (PERSONA/TASK/CONTEXT/OUTPUT/GUARD),
│                        в синтаксисе целевой модели — системный промпт блокнота
├── _INDEX.md           карта файлов + граф зависимостей (тег → файлы)
├── _GLOSSARY.md        термины проекта (терминологический якорь)
└── <зоны>.md           источники: одна зона = один файл, frontmatter+TAGS+якоря

Процесс

  1. Маршрут (rag-router): оцени объём/тип → стратегия (naive/RAPTOR/LongRAG), среда (NotebookLM/Cowork), целевая модель.
  2. Подготовка (rag-prep): каждый источник → чистый Markdown, одна зона = один файл, заголовки под чанкинг, frontmatter + ## TAGS + якоря, без разрыва IF/THEN.
  3. Индекс и глоссарий: собери _INDEX.md (таблица «ID → назначение → связи») и _GLOSSARY.md (ключевые термины с определениями своими словами).
  4. Мастер-промпт (rag-grounding): _MASTER_PROMPT.md под целевую модель, с принуждением к цитатам и маркером UNKNOWN, guard сформулирован позитивно.
  5. Чек запуска: прогнать чек-лист готовности (ниже).

Полные образцы и стандарт — в reference/rag_notebook_prompt.md (готовый системный промпт + рабочая инструкция) и reference/rag_metaprompt_standard.md (стандарт разметки мультифайловых систем). Открывать при сборке.

Чек-лист готовности комплекта

  • _MASTER_PROMPT вставлен, значения подставлены под проект и модель.
  • Есть _INDEX.md с картой и зависимостями; есть _GLOSSARY.md.
  • Каждый файл: одна зона, frontmatter + ## TAGS, якоря; нет «простыней».
  • Дубли заменены ссылками; IF/THEN не разорваны.
  • Версия = отдельный блокнот (для крупных версий).
  • Прогон 10 тестовых запросов: цитаты точные? правильный файл? нет смешения тем?
  • Все файлы — UTF-8.

Read the full file on GitHub · 60 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 10d ago First seen · 60 lines · 151 tokens per session scan A 084e64a779e2

Subscribe to this mod's changes

notebook-pack is a skill published in the GitHub repository sanic732/P2P-4PDA-edition (17 stars, last pushed 22d ago), licensed MIT. It adds 151 tokens to every session and 916 once invoked, about $0.0008 per session on Opus 5. 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-30.

Related

Other skills, from other repositories

wegent-knowledge

Knowledge base management and search tools for Wegent. Provides capabilities to list, create, update, and search knowledge bases and documents using RAG retrieval. Use this skill when the user wants to manage knowledge bases, documents, or search for information programmatically.

wecode-ai/Wegent · 51 tokens

karpathy-llm-wiki

Use when building or maintaining a personal LLM-powered knowledge base. Triggers: ingesting sources into a wiki, querying wiki knowledge, linting wiki quality, 'add to wiki', 'what do I know about', or any mention of 'LLM wiki' or 'Karpathy wiki'.

Astro-Han/karpathy-llm-wiki · 67 tokens

qi-cli

Guide for using qi, a local knowledge search CLI for macOS and Linux. Use this skill when the user wants to index documents into a searchable knowledge base, search or retrieve from one, configure qi's collections or embedding providers (Ollama, OpenAI-compatible), choose between its search modes (BM25, hybrid…

itsmostafa/qi · 88 tokens

retrieval-workflow

Retrieve ranked evidence bundles from the published DocMason knowledge base.

JetXu-LLM/DocMason · 18 tokens

build-kb

Build the project's vector-indexed knowledge base from files plus database metadata — optionally scoped to specific files / tables / datasources / domains. Scan the in-scope material, classify it into business domains, explore each domain's tables and docs in parallel with explore subagents (the validated-query SQL…

Datus-ai/Datus-agent · 158 tokens

ingest

Populate the gnosis-mcp knowledge base — from local files, git history, or a crawled website. Handles the full matrix of flags (--force, --prune, --wipe, --embed, --include-crawled) in one place.

nicholasglazer/gnosis-mcp · 54 tokens