Note Toolbar API

SkillDocs & knowledge

Write, edit, or debug JavaScript that uses the Note Toolbar `ntb` API inside Obsidian. Use this skill whenever the user wants to script a toolbar item, use ntb.prompt / ntb.suggester / ntb.fileSuggester / ntb.menu / ntb.modal, read or write note properties via ntb.getProperty / ntb.setProperty, work with toolbar items via ntb.getItem / ntb.getToolbars, or combine the ntb API with Dataview JS, JS Engine, or Templater. Also trigger for any script that references `ntb`, `NtbSuggester`, or 'Note Toolbar API'.

Use Note Toolbar API in Claude, ChatGPT or Ahel Desktop

Free. Sign in, add Note Toolbar API and connect your AI. About a minute.

Also: Claude Code · Cursor · Codex

Then ask your AI: use the Note Toolbar API skill

Details

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

Note Toolbar APIStart free

What this skill tells your AI

The instructions your AI receives, as published by chrisgurney/obsidian-note-toolbar in skills/note-toolbar-api/SKILL.md and read by ahel’s review.

Full reference: https://raw.githubusercontent.com/wiki/chrisgurney/obsidian-note-toolbar/Note-Toolbar-API.md

Fetch the full reference before writing or editing any script.

Code conventions

  • Comments start with a lower-case character.
  • Use activeWindow.navigator (not bare navigator) for clipboard/permission-sensitive APIs.
  • Use normalizePath() for vault paths.
  • Keep scripts minimal; avoid unnecessary variables.
  • Null-check all UI method results — every ntb UI call returns null if dismissed: if (!result) return;
  • Inline scripts are plain JS; no type annotations.

Signals

GitHub stars
785
Forks
24
Last commit
Oct 2026
Advanced
Item type
skill
Key
note-toolbar-api
Source
github.com/chrisgurney/obsidian-note-toolbar