원클릭으로
manage-notes
// Manage the Notes window — creating, searching, editing, and automating notes via the SDK and automation protocol.
// Manage the Notes window — creating, searching, editing, and automating notes via the SDK and automation protocol.
Use the local agy CLI as a fast Script Kit GPUI app inspector by prompting it to drive existing script-kit-devtools primitives, capture logs, and produce a compact investigation result from a user bug report or inspection prompt.
Create mdflow-backed agent files for Script Kit. Compatibility path — prefer creating skills (SKILL.md under a plugin's skills/ directory) for new reusable AI work.
Canonical bootstrap for isolated Script Kit GPUI DevTools sessions: one front door script (classify, verify-script, start, prove, cleanup), repo-level helpers under scripts/agentic/, bounded timeouts, JSON stdout, progress stderr. Use when agents need parallel DevTools workers, isolated runtime proof, SK_VERIFY script gates, or dev-watch reuse without starting a second GPUI under ./dev.sh.
ACP Agent Chat lifecycle, AcpChatView, embedded/detached chat windows, agent/model selection, setup cards, streaming, cancellation, and chat close/reuse behavior.
ACP composer input, slash commands, @mentions, context parts, attachment tokens, pasted text/image, /new-script, focused target, and context staging.
Cmd+K, actions dialog, action sections, PromptPopup, confirm popup, attached popup, popup registry, popup resize/focus, and action execution routing.
| name | manage-notes |
| description | Manage the Notes window — creating, searching, editing, and automating notes via the SDK and automation protocol. |
Create and automate notes in Script Kit's floating Notes window.
Notes are stored in SQLite at ~/.scriptkit/db/notes.sqlite. The Notes window manages them directly. Scripts and agents must use the runtime write ports (kit/notes_create, kit/notes_update, kit/notes_delete) or the Notes automation target; do not raw-write the database.
notesHotkey in config.ts to enable// ~/.scriptkit/config.ts
notesHotkey: {
modifiers: ["meta", "shift"],
key: "KeyN"
}
#tag markdown[[Note Title]]Use the MCP notes tools when creating or organizing notes from an agent. They route through the app runtime, save any dirty open Notes editor before mutation, update the durable metadata index, and optionally open/select the changed note in the Notes window.
{
"name": "kit/notes_create",
"arguments": {
"title": "Project Plan",
"body": "# Project Plan\n\n#planning [[Research Notes]]",
"tags": ["planning", "projects/script-kit"],
"aliases": ["Plan"],
"open": true,
"select": true
}
}
{
"name": "kit/notes_update",
"arguments": {
"id": "NOTE_UUID",
"content": "# Project Plan\n\nUpdated body with [[Decision Log]].",
"tags": ["planning", "decisions"],
"aliases": ["Plan", "Project Plan"],
"open": true,
"select": true
}
}
Tags and aliases passed to the mutation tools are written into visible YAML frontmatter so users can edit them directly. Markdown #tags and [[Wiki Links]] are indexed from the note body. Backlinks are derived from the normalized link index; they are not copied into note content.
Read kit://notes to inspect organized notes. The resource returns each note's tags, aliases, outbound link count, and backlink count, and supports ?tag=..., ?alias=..., ?link=..., or ?q=... filters. Read kit://notes/{id} for full note content plus the same metadata.
The Notes window is a first-class automation target. Use target: { "type": "kind", "kind": "notes" } to address it.
| Semantic ID | Element |
|---|---|
panel:notes-window | The Notes window container |
input:notes-editor | The active editor area |
{
"type": "getElements",
"requestId": "elm-notes",
"target": { "type": "kind", "kind": "notes" },
"limit": 10
}
{
"type": "waitFor",
"requestId": "w-notes",
"target": { "type": "kind", "kind": "notes" },
"condition": {
"type": "elementExists",
"semanticId": "input:notes-editor"
},
"timeout": 3000,
"pollInterval": 25
}
{
"type": "batch",
"requestId": "b-notes",
"target": { "type": "kind", "kind": "notes" },
"commands": [
{ "type": "setInput", "text": "Hello from automation" }
]
}
Use the Notes UI actions for cross-surface handoffs:
These are UI actions, not JavaScript globals. The current public Notes script surface is the automation target (kind: notes) plus the runtime MCP notes tools above unless real Notes functions are added to scripts/kit-sdk.ts.
notes.sqlite directly from scripts. Use the MCP notes tools for creation/update/delete and the automation protocol for window/editor control.notesHotkey in config before it appears in the launcher shortcuts.getElements and batch commands targeting Notes require the Notes window to be open. Use waitFor with a timeout to handle the case where it is not yet visible.kind: notes) and MCP notes tools. Do not document or rely on notesOpen(), notesCreate(), or similar JavaScript globals unless they are added to scripts/kit-sdk.ts.~/.scriptkit/plugins/examples/scriptlets/notes/main.md — copy-ready Notes automation payloads for getElements, waitFor, and batch~/.scriptkit/plugins/examples/scriptlets/notes.md — auto-generated flat copy of the canonical sourcekit/notes_create can create a tagged/linked note and open/select it in NotesgetElements returns elements with panel:notes-window and input:notes-editor semantic IDsbatch commands successfully set editor content