notebook

An agent configuration for using the nb note-taking system through an MCP server. nb is a tool for storing notes and task lists.

In plain words
What is it for?
Use it for project coordination, issue tracking, meeting notes, procedures, and reusable technical knowledge.
Why use it?
It helps keep project notes, tasks, handoffs, and shared knowledge organized without creating unnecessary duplicate records.

Agent

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.

agentmods
npx agentmods add agents/emcd/nb-mcp-server/notebook
Clone the repo
git clone --depth 1 https://github.com/emcd/nb-mcp-server
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,248 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.01248
Opus 5 $0.00000 $0.00624
Sonnet 5 $0.00000 $0.00250
Haiku 4.5 $0.00000 $0.00125

Measured yesterday against content hash 7bd7b9158c3c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

notebook 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 yesterday.

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.

documentation/agents/notebook.md · 69 lines

How it starts

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

nb MCP Tools

The nb MCP server provides LLM-friendly access to the nb note-taking system with proper escaping and project-specific notebook context.

When to Use

  • Project coordination: Record handoffs, document project policies and procedures, maintain task lists.
  • Issue tracking: Create and manage todos with status tracking.
  • Knowledge sharing: Document patterns, APIs, and project-specific knowledge.
  • Meeting notes: Record discussions and action items.

Scope and Noise Control

  • Prefer to update an existing related note/todo over creating a new one when context already exists.
  • Avoid logging routine, immediately completed mechanical actions in separate notes.
  • Create new notes/todos when information is likely to be useful across sessions or for other collaborators.

Tagging Conventions

Use consistent tags for discoverability:

  • Project Component: #component-<name> (e.g., #component-data-models)
  • Task Type: #task-<type> (e.g., #task-design, #task-bug)
  • Status: #status-<state> (e.g., #status-in-progress, #status-review)
  • Coordination: #handoff, #coordination
  • Assignment: Avoid owner tags (for example #llm-*) for task ownership. Use lane/folder ownership and explicit owner text in the note body when needed.

Common Patterns

  • Check for handoffs: use search with #handoff and #status-review tags.
  • Find active component work: use search with #component-<name> and #status-in-progress tags.
  • Track todos: use the todo, tasks, do, and undo tools.
  • Organize with folders: use folders and mkdir.

Choosing todo vs add

  • Use the todo tool for any item with actionable state (open/done): todos, bugs, and issues. This gives the note a checkbox, enables do/undo state tracking, and makes it appear in tasks output.
  • Use the add tool for everything else: coordination notes, decisions, designs, ideas, reference material, handoffs, and meeting notes.
  • Always specify a folder when creating a note. A note created without a folder lands at the notebook root and is invisible to folder-scoped list views.
  • Do not duplicate: if a bug or task is already tracked in issues/<component>/ or todos/<component>/, do not also create a matching todo. Reference the existing selector in coordination notes or related todo bodies instead.

Read the full file on GitHub · 69 lines

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. yesterday First seen · 69 lines · 0 tokens per session scan A 7bd7b9158c3c

Subscribe to this mod's changes

notebook is an agent published in the GitHub repository emcd/nb-mcp-server (1 stars, last pushed 18d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,248 tokens. 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.