/search-research:gitingestfrom search-research
Ingest GitHub repos into NotebookLM — clone, slice, and upload in one pipeline.
Ships in search-research. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Goal: Ingest GitHub repos into NotebookLM — clone, slice, and upload in one pipeline.
Prerequisites: nlm CLI from jacob-bd/notebooklm-mcp-cli — install via uv tool install notebooklm-mcp-cli. The runner auto-detects bare nlm (on PATH) or uv tool run invocation.
# 1. Copy the config template to .staging
cp references/repos-template.yaml P://.staging/my-repos.yaml
# 2. Edit the config — add your repos and notebook ID
vim P://.staging/my-repos.yaml
# 3. Dry run (verify what would happen)
python scripts/gitingest_runner.py --config P://.staging/my-repos.yaml --dry-run
# 4. Run for real
python scripts/gitingest_runner.py --config P://.staging/my-repos.yaml
references/repos-template.yaml)Config files are templates in references/ — actual configs live in P://.staging/ (not /tmp/), never in the skill itself.
Note: On this system,
/tmpis blocked byPreToolUse_directory_policy.py. UseP://.staging/instead.
notebooklm_id: "your-notebook-id-from-url"
repos:
- url: "https://github.com/owner/repo"
branch: "main" # optional, default: main
path: "" # optional: sparse checkout path
skip: false # optional: skip this repo
scripts/gitingest_runner.py)git clone --depth=1 --filter=blob:none, optionally sparsegit ls-files (repo), .claude/ configs, docs/ + top-level README--file <slice> --wait) + web source (--url <repo_url> for clickable GitHub link)status.json to staging dir after each repoNotebookLM has no native replace API. Sources are deduplicated by title:
nlm source listsource_idnlm source delete <source_id>If poll confirmation fails after max attempts, the upload is skipped with a warning.
NotebookLM has two source types with different behaviors:
nlm source add flag | NotebookLM type | Clickable? | Content |
|---|---|---|---|
--file <path> | generated_text | No | Full file content (slice) |
--url <url> | web_page | Yes | Link to original page |
The runner automatically adds both for each repo:
https://github.com/owner/repo (clickable in the NotebookLM UI)The web source title is set to GitHub - owner/repo so it's easy to identify. This is what users click to go straight to GitHub.
You can also add additional web sources via config:
notebooklm_id: "your-notebook-id-from-url"
repos:
- url: "https://github.com/owner/repo"
sources:
web:
- url: "https://example.com/docs"
label: "Example Docs" # used as title in NotebookLM
All web sources use the same dedup lifecycle (delete → poll → re-add).
If you need to add a clickable link outside the pipeline:
nlm source add "<notebook-id>" --url "https://github.com/owner/repo" --title "GitHub - owner/repo"
This creates a web_page source that appears as a clickable link in NotebookLM's source list.
The runner auto-detects how to invoke nlm:
nlm — if nlm is on PATH (pip install or uv tool install with ~/.local/bin on PATH)uv tool run --from notebooklm-mcp-cli nlm — fallback for uv-based installs where nlm isn't on PATHInstall: uv tool install notebooklm-mcp-cli
Auth check runs before any operations. If not authenticated, the runner prints the login command and aborts (unless --dry-run).
=== [1/17] owner/repo ===
--- clone ---
$ git clone ...
--- file lists ---
→ 42 repo files, 3 agent configs, 2 docs
--- slices ---
→ slice: repo-index-part-1.md (8.2 KB)
→ slice: agent-configs-part-1.md (1.1 KB)
--- upload ---
✓ repo-index-part-1.md uploaded
✓ agent-configs-part-1.md uploaded
✓ owner/repo done
=== Summary ===
✓ 15 succeeded
✗ 2 failed:
- owner/bad-repo: clone failed
references/repos-template.yaml — config template (copy to /tmp/ before use)references/github-urls.md — URL parsing + clone commandsreferences/notebooklm-upload.md — nlm CLI commandsscripts/gitingest_runner.py — the pipeline engineLICENSE (opens in a new tab)README.md (opens in a new tab)claude-code-qmd-repos.yaml (opens in a new tab)karpathy-llm-wiki.md (opens in a new tab)references/github-urls.md (opens in a new tab)references/notebooklm-upload.md (opens in a new tab)references/repos-template.yaml (opens in a new tab)rohitg00-llm-wiki-v2.md (opens in a new tab)scripts/gitingest_runner.py (opens in a new tab)tests/__init__.py (opens in a new tab)tests/test_gitingest_runner.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
Generated from the plugin's indexed repository (enduser123/search-research) — no native marketplace selected
npx claudepluginhub p/enduser123-search-research16 skills in this plugin
/aidAI-Distiller wrapper for code analysis - refactoring, security, performance, architecture./allCompatibility wrapper for the canonical /research workflow; preserves the historical /all invocation./chsDedicated chat history search with summarization, workspace aliases, tool filtering, context preview, session stats, and branch filtering/chs-evalRun golden-case retrieval evaluation against the CHS database and report per-case + mean recall