/school:notebooklm-course-syncfrom school
Keeps a course's NotebookLM notebook in sync with the local course files (Syllabus, Lectures, assignment writeups, COURSE_SCHEDULE.md) under ~/Desktop/School, using a per-course manifest so repeat syncs only touch what changed. Use when Hunter asks to sync course files to NotebookLM, e.g. "sync my 4610 files to notebooklm", "make sure the databases notebook has everything thats here locally", "whats missing from the notebook", "update my calc 2 notebook", or otherwise wants to check a course notebook against what's on disk.
Ships in school. 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.
Keeps one NotebookLM notebook per course current with the course's local files. Wraps the notebooklm CLI (see the notebooklm skill for the full command surface) with a registry that maps each course to its notebook, and a manifest that tracks what has already been uploaded so re-runs are incremental instead of re-uploading everything.
Each course under ~/Desktop/School/<Semester>/<Course>/ has exactly one NotebookLM notebook. This skill:
It never creates a notebook. If a course has no notebook mapped yet, it asks Hunter which existing notebook to use and stops if none exists.
notebooklm CLI installed and authenticated. Verify with notebooklm status; if that fails, run notebooklm auth check then notebooklm login. Follow the notebooklm skill for anything beyond what's covered here (rate limits, retries, source processing waits).
Registry file ~/Desktop/School/school.json, maintained by hand. Schema:
{
"courses": {
"4610": {
"name": "Concurrent and Parallel Programming",
"path": "~/Desktop/School/Summer 26/4610",
"canvas_id": 97411,
"notebook": null,
"grades_file": null,
"semester": "Summer 26"
}
}
}
This skill reads path and reads/writes only the notebook field (a NotebookLM notebook UUID, or null if unresolved). Leave every other field alone. If the registry or the course entry is missing, add the entry by hand in this format rather than inventing a parallel one.
python3 (stdlib only, no pip install needed) for scripts/inventory.py.
Figure out which course Hunter means (from what he says, or the current directory). Look it up under the courses key in school.json, matching loosely on the course key or name (e.g. "4610" or "physics" both resolve to one entry; if more than one matches, ask which). Use the entry's path as the course folder.
Read school.json:
courses with the standard fields and "notebook": null.notebook is null: run notebooklm list --json, show Hunter the notebook titles, and ask which one belongs to this course. Write the chosen ID back into school.json under that course's notebook field.notebooklm skill directly) and come back. This skill never runs notebooklm create.Run the bundled script against the course folder:
python3 scripts/inventory.py "~/Desktop/School/<Semester>/<Course>"
It defaults to the manifest at <course>/.notebooklm-sync.json. Pass --manifest <path> to override. It walks the tree and includes:
.md file anywhere in the tree (this covers assignment writeups and COURSE_SCHEDULE.md wherever it lives).It excludes, regardless of location: code files (.py, .cpp, .ipynb, .js, .sql, shell scripts, etc.), images, binaries/archives (.zip, .exe, .so, extensionless executables), anything inside a Submission/, .venv, .firecrawl, __pycache__, .git, .claude, .devcontainer, or node_modules directory, dotfiles, and anything over 50MB (--max-size-mb to change).
It prints JSON: to_upload (new or changed, with sha256), unchanged, and missing_manifest_entries (manifest rows whose file no longer exists locally). It never touches the network or the manifest file, read-only.
notebooklm source list -n <notebook_id> --json
Note each source's id and title.
to_upload needs uploading, unchanged needs nothing.to_upload with no history to compare against), don't assume every file is actually missing from the notebook. For each to_upload entry, check whether a source with a matching title (by filename) already exists in step 3's list. If so, treat it as already synced: drop it from the upload plan and seed a manifest entry for it (sha256 from the inventory, source_id from the match, uploaded_at noted as backfilled) instead of re-uploading.missing_manifest_entries, check whether its source_id is still in step 3's live list. If yes, it's a genuine stale source (local file is gone, but the notebook still has it), so carry it into the plan below. If no, the source is already gone from the notebook too; just drop it from the manifest quietly, no need to surface it.Show Hunter, before touching anything:
Ask him to confirm the upload. Ask separately if he wants any stale sources deleted; don't bundle that into the same yes/no as the upload.
For each approved file:
notebooklm source add "<absolute path>" -n <notebook_id> --json
Capture source_id from the output. For more than a couple of files, add them all first, then wait for processing (use a background subagent per the notebooklm skill's pattern rather than blocking the conversation):
notebooklm source wait <source_id> -n <notebook_id> --timeout 120
After each successful upload, update the manifest entry for that file: {"sha256": ..., "uploaded_at": "<ISO 8601 now>", "source_id": ...}. Write the whole manifest back to <course>/.notebooklm-sync.json as pretty-printed JSON once all uploads for the run are done.
For stale sources Hunter approved deleting:
notebooklm source delete <source_id> -n <notebook_id> -y
(or notebooklm source delete-by-title "<exact title>" -n <notebook_id> -y if the ID wasn't captured). Remove the corresponding entry from the manifest.
--dry-run modeWhen Hunter asks for a dry run (or says "what's missing" without asking to actually sync), stop after step 5. Report the plan and don't call source add, source delete, or write the manifest. Resolving the notebook mapping in step 1 is fine to persist even in dry-run, since it's local bookkeeping, not a NotebookLM mutation.
Report in this shape:
Course: <course name> (<semester>)
Notebook: <title> (<id>)
To upload (<n>):
- <path> (new|changed)
...
Stale sources (<n>) - reported only:
- <path> -> source "<title>" (<source_id>)
Unchanged: <n> files already in sync.
After execution, follow with a short confirmation: how many files uploaded, how many stale sources deleted (if any), and that the manifest at <course>/.notebooklm-sync.json was updated.
What SKILL.md sets; muted values are Claude Code's defaults
3 skills in this plugin
/rubric-checkRuns a pre-submission review that grades draft work strictly against its assignment spec, using a fresh-context subagent with zero knowledge of the session that produced the work, so the verdict reflects only what's on disk versus what the spec asks. Produces a requirement-by-requirement table, a predicted score, an ordered fix list, and the exact files to turn in. Use when the user says things like "grade my assignment against the spec", "check my submission before i turn it in", "spawn a subagent and grade this explicitly off the assignment details", or "what files do i need to turn in", or asks to double-check work against a rubric before submitting. Do NOT use to grade someone else's work or to invent a rubric from scratch./sapling-ai-detectorUse when the user wants to scan, analyze, or grade text for AI-generated content using the Sapling API and produce a sentence-by-sentence report. Triggers on phrases like "check this for AI", "is this AI-generated", "scan this writing for AI", "detect AI in this text", "grade this writing for AI content", "run this through Sapling", or when a file/passage is provided alongside a question about authorship or AI authorship probability. Produces a structured markdown report with overall score, per-sentence breakdown, flagged passages, and threshold-based verdict. Do NOT use for general writing feedback, grammar checking, or paraphrasing — only for AI-detection analysis.Other plugins' skills for the same job
npx claudepluginhub hunterbrewer04/claude-toolkit --plugin school