nlm-skill

nlm-skill is a skill for Claude Code from afaraha8403/balakit. It costs 126 tokens per session (1,735 once invoked), scanned A, original, MIT.

A guide to the NotebookLM command-line tool and its connected service for organizing sources and creating study materials from them.

In plain words
What is it for?
It helps manage notebooks and sources such as web pages, videos, text, Drive files, and documents, then create reports, quizzes, audio, slides, and other artifacts.
Why use it?
It provides a defined process for choosing available tools, adding source material, and managing generated results.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: installed under .agents/ (shared by several agents).

Good fit It helps manage notebooks and sources such as web pages, videos, text, Drive files, and documents, then create reports, quizzes, audio, slides, and other artifacts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/afaraha8403/balakit/nlm-skill
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 afaraha8403/balakit --skill nlm-skill
Clone the repo
git clone --depth 1 https://github.com/afaraha8403/balakit

Made for: Claude Code.

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 nlm-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/afaraha8403/balakit/nlm-skill/github.svg)](https://agentmods.dev/skills/afaraha8403/balakit/nlm-skill)
Your own site
<a href="https://agentmods.dev/skills/afaraha8403/balakit/nlm-skill"><img src="https://agentmods.dev/badge/skills/afaraha8403/balakit/nlm-skill/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 nlm-skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/afaraha8403/balakit/nlm-skill"><img src="https://agentmods.dev/badge/skills/afaraha8403/balakit/nlm-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 126 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,735 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.
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.00126 $0.01735
Opus 5 $0.00063 $0.00868
Sonnet 5 $0.00025 $0.00347
Haiku 4.5 $0.00013 $0.00173

Measured 8d ago against content hash 13d3f9a571bb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

nlm-skill 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 8d 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.

.agents/skills/nlm-skill/SKILL.md · 165 lines

How it starts

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

NotebookLM CLI & MCP Expert

Leading words: nlm, NotebookLM, audio overview, studio artifacts, progressive disclosure, phase separation, confirm-required, capture IDs, alias shortcuts, no REPL.

This skill provides comprehensive guidance for using NotebookLM via both the nlm CLI and MCP tools. The body carries the critical rules, the tool detection decision tree, and the 3-phase workflow. Depth lives in references/ behind context pointers.

Tool Detection (CRITICAL — read first)

ALWAYS check which tools are available before proceeding:

  1. Check for MCP tools: Look for tools starting with mcp__notebooklm-mcp__*.
  2. If BOTH MCP tools AND CLI are available: ASK the user which they prefer.
  3. If only MCP tools are available: Use them directly (see references/mcp_tools.md).
  4. If only CLI is available: Use nlm CLI commands via Bash (see references/command_reference.md).
has_mcp_tools = check_available_tools()  # mcp__notebooklm-mcp__*
has_cli = check_bash_available()         # Can run nlm commands

if has_mcp_tools and has_cli:
    user_preference = ask_user()
else if has_mcp_tools:
    use_mcp_tools()
else:
    use_cli()

Critical Rules (read first)

  1. Always authenticate first: Run nlm login before any operations.
  2. Sessions expire in ~20 minutes: Re-run nlm login if commands start failing with auth errors.
  3. ⚠️ ALWAYS ASK USER BEFORE DELETE: Deletions are irreversible. Show what will be deleted and warn about permanent data loss.
  4. --confirm is REQUIRED: All generation and delete commands need --confirm / -y (CLI) or confirm=True (MCP).
  5. Research requires --notebook-id: The flag is mandatory, not positional.
  6. Capture IDs from output: Create/start commands return IDs needed for subsequent operations.
  7. Use aliases: nlm alias set <name> <uuid> simplifies long UUIDs.
  8. Check aliases before creating: nlm alias list first to avoid name conflicts.
  9. DO NOT launch REPL: Never nlm chat start — it opens an interactive REPL that AI tools cannot control. Use nlm notebook query for one-shot Q&A.
  10. Output format: Default (no flags) = compact + token-efficient. --quiet captures IDs for piping. --json only when parsing fields.
  11. Use --help when unsure: nlm <command> --help shows options.

Read the full file on GitHub · 165 lines

Files

What ships with it

4 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. 8d ago First seen · 165 lines · 126 tokens per session scan A 13d3f9a571bb

Subscribe to this mod's changes

nlm-skill is a skill published in the GitHub repository afaraha8403/balakit (1 stars, last pushed 11d ago), licensed MIT. It adds 126 tokens to every session and 1,735 once invoked, about $0.0006 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-31.