Note Toolbar API
SkillDocs & knowledgeWrite, 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.
Account requirements not reviewed. Check the skill instructions before use; ahel provides instructions and does not run this skill.
No other account needed.
Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
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 barenavigator) for clipboard/permission-sensitive APIs. - Use
normalizePath()for vault paths. - Keep scripts minimal; avoid unnecessary variables.
- Null-check all UI method results — every
ntbUI call returnsnullif 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
github.com/chrisgurney/obsidian-note-toolbar
Related picks
Skill · thedaviddias
The pick for JavaScriptmodern-javascript-patterns
Skill · wshobson
The pick for JavaScripthandoff
Skill · mattpocock
More in Docs & knowledgecanvas-design
Skill · anthropics
More in Docs & knowledgedoc-coauthoring
Skill · anthropics
More in Docs & knowledgepopups
Skill · coreyhaines31
More in Docs & knowledge