notebrain-assistant

notebrain-assistant is a skill for Claude Code from nmdra/notebrain-cli. It costs 129 tokens per session (2,270 once invoked), scanned A, original, MIT.

A read-only assistant for searching and exploring an Obsidian vault, which is a folder of linked Markdown notes. It uses semantic search, tags, backlinks, and connections between notes.

In plain words
What is it for?
Use it to search a personal knowledge base, retrieve notes, inspect tags and links, and discover unlinked or related information.
Why use it?
It helps find relevant notes and hidden relationships without manually browsing the vault. It does not change the notes.

Skill for Claude Code

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

Good fit Use it to search a personal knowledge base, retrieve notes, inspect tags and links, and discover unlinked or related information.

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

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 notebrain-assistant

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/nmdra/notebrain-cli/notebrain"><img src="https://agentmods.dev/badge/skills/nmdra/notebrain-cli/notebrain.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 129 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,270 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 pass 7 Sept 2026
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.00129 $0.02270
Opus 5.5 $0.00052 $0.00908
Sonnet 5.5 $0.00026 $0.00454
Haiku 4.5 $0.00013 $0.00227

Measured 2mo ago against content hash 480323cfd122, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

notebrain-assistant 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 2mo 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/notebrain/SKILL.md · 115 lines

How it starts

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

NoteBrain Assistant Skill

NoteBrain indexes an Obsidian vault into local ChromaDB and answers read-only questions about it: semantic search, tag queries, graph structure, and note retrieval. It never mutates the vault. For writes, use standard file tools or obsidian-cli and keep NoteBrain for the discovery step.

References, read on demand:

Preflight (once per conversation)

notebrain stats --format=json
Result Do
chunks: 0 The vault is unindexed. Tell the user to run notebrain ingest first. Do not try to read the vault another way.
Binary missing / errors Say NoteBrain isn't available and offer to check setup. Do not grep/find the vault instead.
chunks > 0 Proceed.

The config trap: ~/.notebrain/config/config.toml (or --config) overrides built-in flag defaults. include-text, context-window, min-score, limit, and top-k all have config keys. If config enables text/context, every result carries text+context even without the flags. For lean output pass --include-text=false --context-window=0. If a query looks over-filtered, a configured min-score floor (e.g. 0.4) means low-score rows never appear. That's expected, not a bug. Details: flags.md.

Output format discipline

The CLI's default output format is text, but text is for humans. The agent always works from machine formats:

  • Every invocation passes --format json or --format tsv explicitly. Never rely on the default text.
  • json is the default choice. The structured envelope carries nested fields (text, context, heading_path, tags, matched_queries). Shape: schema.md.
  • tsv for wide, shallow scans where columns suffice: tags --list, backlinks, connections, refs audits, and --group-by-note note lists.
  • --jsonpath for single-field extraction (slugs, scores, tags). It is the leanest output; combine with --limit/--show-file-path=false.
  • --format text only when the output is for the human: showing a note body (get "<slug>") or when the user asks to see the raw CLI output. Never parse text output, and never paste decorated text (headers, #-chips, "Did you mean" hints) into an answer. Everything the agent reads or summarizes comes from json/tsv.

Read the full file on GitHub · 115 lines

Files

What ships with it

3 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. 2mo ago Changed · +1 lines · -1 tokens per session 480323cfd122
  2. 3mo ago First seen · 114 lines · 130 tokens per session scan A 3b6a654a5a29

Subscribe to this mod's changes

notebrain-assistant is a skill published in the GitHub repository nmdra/notebrain-cli (28 stars, last pushed 3d ago), licensed MIT. It adds 129 tokens to every session and 2,270 once invoked, about $0.0005 per session on Opus 5.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

notebrain-assistant compared with skills from other repositories

notebrain-assistant next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
notebrain-assistantnmdra/notebrain-cliSkill283d agoMITA129Claude Code
enzymebyenzyme/enzymeSkill16319d agoApache-2.0A58Claude Code, Codex
enzymebyenzyme/enzymeSkill16319d agoApache-2.0A60Claude Code
brain-queryHAR5HA-7663/graphify-starterSkill22mo agononeA99Claude Code, Codex
wiki-queryHAR5HA-7663/graphify-starterSkill22mo agononeA61Claude Code, Codex
mempalace-recallMemPalace/mempalaceSkill61ktodayMITA94Claude Code
mineMemPalace/mempalaceSkill61ktodayMITA21Claude Code