You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Delete from a specific folder (useful if multiple notes have the same title)
150
+
notes delete "Draft" --folder "Work"
151
+
```
152
+
75
153
### Manage index
76
154
77
155
```bash
@@ -91,6 +169,28 @@ The index uses **incremental updates** by default:
91
169
- Detects and removes deleted notes
92
170
- Much faster than full rebuild for small changes
93
171
172
+
## Claude Code Plugin
173
+
174
+
When installed as a plugin, you get:
175
+
176
+
**Skill** (auto-invoked): Claude automatically searches notes when you ask things like:
177
+
- "What's in my notes about recipes?"
178
+
- "Find my notes about the project"
179
+
- "Create a note about the meeting"
180
+
- "Delete my draft notes"
181
+
182
+
**Slash Commands**:
183
+
184
+
| Command | Description |
185
+
|---------|-------------|
186
+
|`/notes:search <query>`| Fuzzy search with optional filters |
187
+
|`/notes:recent`| Show recently modified notes |
188
+
|`/notes:folders`| List all folders with note counts |
189
+
|`/notes:folder "Name"`| List notes in a specific folder |
190
+
|`/notes:read <id>`| Read full note content by ID |
191
+
|`/notes:create <title>`| Create a new note |
192
+
|`/notes:delete <title>`| Delete a note by title |
193
+
94
194
## MCP Server
95
195
96
196
Run as an MCP server for Claude Code integration:
@@ -109,17 +209,19 @@ notes --mcp
109
209
|`list_folders`| List all folders with note counts |
110
210
|`notes_in_folder`| List notes in a specific folder |
111
211
|`get_note_stats`| Get index statistics |
212
+
|`create_note`| Create a new note |
213
+
|`delete_note`| Delete a note by title |
112
214
113
-
### Claude Code Configuration
215
+
### Manual MCP Configuration
114
216
115
-
Add to your MCP settings:
217
+
For Claude Desktop or VS Code, add to your MCP configuration:
116
218
117
219
```json
118
220
{
119
221
"mcpServers": {
120
222
"notes": {
121
-
"command": "notes",
122
-
"args": ["--mcp"]
223
+
"command": "npx",
224
+
"args": ["-y", "@cardmagic/notes", "--mcp"]
123
225
}
124
226
}
125
227
}
@@ -187,6 +289,7 @@ src/
187
289
├── index.ts # Entry point - routes to CLI or MCP
188
290
├── cli.ts # Commander-based CLI
189
291
├── mcp.ts # MCP server implementation
292
+
├── applescript.ts # AppleScript automation for create/delete
190
293
├── indexer.ts # Builds search indexes from Notes database
191
294
├── searcher.ts # Query engine with fuzzy matching
192
295
├── attachments.ts # PDF text extraction
@@ -196,7 +299,7 @@ src/
196
299
197
300
## Privacy
198
301
199
-
This tool only reads your local Notes database. No data is sent externally. The search index is stored locally in `~/.notes/`.
302
+
This tool accesses your local Notes database for reading and uses AppleScript to create/delete notes. No data is sent externally. The search index is stored locally in `~/.notes/`.
Copy file name to clipboardExpand all lines: skills/notes/SKILL.md
+19-2Lines changed: 19 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
name: notes
3
-
description: Searchand browse Apple Notes. Use when user asks about notes, wants to find something in notes, or list their notes.
3
+
description: Search, browse, create, and delete Apple Notes. Use when user asks about notes, wants to find something in notes, create a new note, or delete notes.
4
4
triggers:
5
5
- "notes"
6
6
- "apple notes"
@@ -9,11 +9,16 @@ triggers:
9
9
- "my notes"
10
10
- "list notes"
11
11
- "read note"
12
+
- "create note"
13
+
- "add note"
14
+
- "new note"
15
+
- "delete note"
16
+
- "remove note"
12
17
---
13
18
14
19
# Apple Notes Skill
15
20
16
-
Searchand browse Apple Notes with fuzzy matching.
21
+
Search, browse, create, and delete Apple Notes with fuzzy matching.
0 commit comments